Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions mmv1/products/contactcenterinsights/AuthorizedView.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Copyright 2026 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
name: AuthorizedView
description: Authorized view in Contact Center Insights.
base_url: projects/{{project}}/locations/{{location}}/authorizedViewSets/{{authorizedviewset}}/authorizedViews
self_link: projects/{{project}}/locations/{{location}}/authorizedViewSets/{{authorizedviewset}}/authorizedViews/{{authorized_view_id}}
create_url: projects/{{project}}/locations/{{location}}/authorizedViewSets/{{authorizedviewset}}/authorizedViews?authorizedViewId={{authorized_view_id}}
update_mask: true
update_verb: PATCH
import_format:
- projects/{{project}}/locations/{{location}}/authorizedViewSets/{{authorizedviewset}}/authorizedViews/{{authorized_view_id}}
autogen_status: QXV0aG9yaXplZFZpZXc=
examples:
- name: contact_center_insights_authorized_view_basic
primary_resource_id: default
vars:
authorized_view_id: authorized-view
parameters:
- name: location
type: String
required: true
description: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
immutable: true
url_param_only: true
- name: authorizedviewset
type: String
required: true
description: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
immutable: true
url_param_only: true
- name: authorizedViewId
type: String
required: true
description: |-
A unique ID for the new AuthorizedView. This ID will become the final
component of the AuthorizedView's resource name. If no ID is specified,
a server-generated ID will be used.

This value should be 4-64 characters and must match the regular
expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See
https://google.aip.dev/122#resource-id-segments
immutable: true
url_param_only: true
properties:
- name: conversationFilter
type: String
description: |-
A filter to reduce conversation results to a specific subset.
The AuthorizedView's assigned permission (read/write) could be applied to
the subset of conversations.

If conversation_filter is empty, there is no restriction on the
conversations that the AuthorizedView can access.

Having *authorizedViews.get* access to the AuthorizedView means having the
same read/write access to the Conversations (as well as
metadata/annotations linked to the conversation) that this AuthorizedView
has.
- name: createTime
type: String
description: The time at which the authorized view was created.
output: true
- name: displayName
type: String
description: Display Name. Limit 64 characters.
- name: name
type: String
description: |-
Identifier. The resource name of the AuthorizedView.
Format:
projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}
output: true
- name: updateTime
type: String
description: The most recent time at which the authorized view was updated.
output: true
68 changes: 68 additions & 0 deletions mmv1/products/contactcenterinsights/AuthorizedViewSet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Copyright 2026 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
name: AuthorizedViewSet
description: Set of authorized views in Contact Center Insights.
base_url: projects/{{project}}/locations/{{location}}/authorizedViewSets
self_link: projects/{{project}}/locations/{{location}}/authorizedViewSets/{{authorized_view_set_id}}
create_url: projects/{{project}}/locations/{{location}}/authorizedViewSets?authorizedViewSetId={{authorized_view_set_id}}
update_mask: true
update_verb: PATCH
import_format:
- projects/{{project}}/locations/{{location}}/authorizedViewSets/{{authorized_view_set_id}}
autogen_status: QXV0aG9yaXplZFZpZXdTZXQ=
examples:
- name: contact_center_insights_authorized_view_set_basic
primary_resource_id: set
vars:
authorized_view_set_id: authorized-view-set
parameters:
- name: location
type: String
required: true
description: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
immutable: true
url_param_only: true
- name: authorizedViewSetId
type: String
required: true
description: |-
A unique ID for the new AuthorizedViewSet. This ID will become the final
component of the AuthorizedViewSet's resource name. If no ID is specified,
a server-generated ID will be used.

This value should be 4-64 characters and must match the regular
expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See
https://google.aip.dev/122#resource-id-segments
immutable: true
url_param_only: true
properties:
- name: createTime
type: String
description: Create time.
output: true
- name: displayName
type: String
description: Display Name. Limit 64 characters.
- name: name
type: String
description: |-
Identifier. The resource name of the AuthorizedViewSet.
Format:
projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}
output: true
- name: updateTime
type: String
description: Update time.
output: true
84 changes: 84 additions & 0 deletions mmv1/products/contactcenterinsights/Dataset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Copyright 2026 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
name: Dataset
description: Dataset for evaluation and training in Contact Center Insights.
base_url: projects/{{project}}/locations/{{location}}/datasets
self_link: projects/{{project}}/locations/{{location}}/datasets/{{dataset_id}}
create_url: projects/{{project}}/locations/{{location}}/datasets?datasetId={{dataset_id}}
update_mask: true
update_verb: PATCH
import_format:
- projects/{{project}}/locations/{{location}}/datasets/{{dataset_id}}
async:
operation:
base_url: '{{op_id}}'
actions:
- delete
result:
resource_inside_response: true
autogen_status: RGF0YXNldA==
autogen_async: true
examples:
- name: contact_center_insights_dataset_basic
primary_resource_id: default
vars:
dataset_id: dataset
parameters:
- name: location
type: String
required: true
description: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
immutable: true
url_param_only: true
- name: datasetId
type: String
required: true
description: The ID to use for the dataset.
immutable: true
url_param_only: true
properties:
- name: createTime
type: String
description: Dataset create time.
output: true
- name: description
type: String
description: Dataset description.
- name: displayName
type: String
description: Display name for the dataaset
- name: name
type: String
description: |-
Identifier. Resource name of the dataset.
Format: projects/{project}/locations/{location}/datasets/{dataset}
output: true
immutable: true
- name: ttl
type: String
description: Option TTL for the dataset.
ignore_read: true
- name: type
type: String
ignore_read: true
description: |-
Dataset usage type.
Possible values:
EVAL
LIVE
- name: updateTime
type: String
description: Dataset update time.
output: true
90 changes: 90 additions & 0 deletions mmv1/products/contactcenterinsights/QaQuestionTag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Copyright 2026 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
name: QaQuestionTag
description: Tag for QaQuestions in Contact Center Insights.
base_url: projects/{{project}}/locations/{{location}}/qaQuestionTags
self_link: projects/{{project}}/locations/{{location}}/qaQuestionTags/{{qa_question_tag_id}}
create_url: projects/{{project}}/locations/{{location}}/qaQuestionTags?qaQuestionTagId={{qa_question_tag_id}}
update_mask: true
update_verb: PATCH
import_format:
- projects/{{project}}/locations/{{location}}/qaQuestionTags/{{qa_question_tag_id}}
async:
operation:
base_url: '{{op_id}}'
actions:
- update
- delete
result:
resource_inside_response: true
autogen_status: UWFRdWVzdGlvblRhZw==
autogen_async: true
examples:
- name: contact_center_insights_qa_question_tag_basic
primary_resource_id: default
vars:
qa_question_tag_id: tag
ignore_read_extra:
- 'update_time'
parameters:
- name: location
type: String
required: true
description: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
immutable: true
url_param_only: true
- name: qaQuestionTagId
type: String
required: true
description: |-
A unique ID for the new QaQuestionTag. This ID will become the final
component of the QaQuestionTag's resource name. If no ID is specified, a
server-generated ID will be used.

This value should be 4-64 characters and must match the regular
expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-`.
immutable: true
url_param_only: true
properties:
- name: createTime
type: String
description: The time at which the question tag was created.
output: true
- name: displayName
type: String
required: true
description: A user-specified display name for the tag.
- name: name
type: String
description: |-
Identifier. Resource name for the QaQuestionTag
Format
projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}
In the above format, the last segment, i.e., qa_question_tag, is a
server-generated ID corresponding to the tag resource.
output: true
- name: qaQuestionIds
type: Array
description: |-
The list of Scorecard Question IDs that the tag applies to.
Each QaQuestionId is represented as a full resource name containing the
Question ID. Lastly, Since a tag may not necessarily be referenced by any
Scorecard Questions, we treat this field as optional.
item_type:
type: String
- name: updateTime
type: String
description: The most recent time at which the question tag was updated.
output: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
resource "google_contact_center_insights_authorized_view_set" "set" {
authorized_view_set_id = "tf-test-set-{{index $.Vars "authorized_view_id"}}"
location = "us-central1"
display_name = "My Authorized View Set"
}

resource "google_contact_center_insights_authorized_view" "{{$.PrimaryResourceId}}" {
authorizedviewset = google_contact_center_insights_authorized_view_set.set.authorized_view_set_id
authorized_view_id = "{{index $.Vars "authorized_view_id"}}"
location = "us-central1"
display_name = "My Authorized View"
conversation_filter = "agent_id = \"1\""
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resource "google_contact_center_insights_authorized_view_set" "{{$.PrimaryResourceId}}" {
authorized_view_set_id = "{{index $.Vars "authorized_view_set_id"}}"
location = "us-central1"
display_name = "My Authorized View Set"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
resource "google_contact_center_insights_dataset" "{{$.PrimaryResourceId}}" {
dataset_id = "{{index $.Vars "dataset_id"}}"
location = "us-central1"
display_name = "My Dataset"
description = "My Dataset Description"
ttl = "86400s"
type = "EVAL"
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
data "google_project" "project" {}

resource "google_contact_center_insights_qa_question_tag" "{{$.PrimaryResourceId}}" {
qa_question_tag_id = "{{index $.Vars "qa_question_tag_id"}}"
location = "us-central1"
display_name = "My Question Tag {{index $.Vars "qa_question_tag_id"}}"
}






Loading
Loading