{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
}
}
}
},
"basePath": "",
"baseUrl": "https://contactcenterinsights.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Contactcenterinsights",
"description": "",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/contact-center/insights/docs",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "contactcenterinsights:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://contactcenterinsights.mtls.googleapis.com/",
"name": "contactcenterinsights",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"projects": {
"resources": {
"locations": {
"methods": {
"bulkDeleteFeedbackLabels": {
"description": "Delete feedback labels in bulk using a filter.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:bulkDeleteFeedbackLabels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.bulkDeleteFeedbackLabels",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:bulkDeleteFeedbackLabels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"bulkDownloadFeedbackLabels": {
"description": "Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:bulkDownloadFeedbackLabels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.bulkDownloadFeedbackLabels",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:bulkDownloadFeedbackLabels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"bulkUploadFeedbackLabels": {
"description": "Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:bulkUploadFeedbackLabels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.bulkUploadFeedbackLabels",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:bulkUploadFeedbackLabels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"generativeInsights": {
"description": "Natural language based Insights which powers the next generation of dashboards in Insights. Next generation of QueryMetrics.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:generativeInsights",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.generativeInsights",
"parameterOrder": [
"location"
],
"parameters": {
"location": {
"description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+location}:generativeInsights",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getCorrelationConfig": {
"description": "Gets correlation config.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/correlationConfig",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.getCorrelationConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the correlation config resource to get. Format: projects/{project}/locations/{location}/correlationConfig",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/correlationConfig$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1CorrelationConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getEncryptionSpec": {
"description": "Gets location-level encryption key specification.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/encryptionSpec",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.getEncryptionSpec",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the encryption spec resource to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1EncryptionSpec"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getSettings": {
"description": "Gets project-level settings.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.getSettings",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the settings resource to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/settings$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Settings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"listAllFeedbackLabels": {
"description": "List all feedback labels by project number.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:listAllFeedbackLabels",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.listAllFeedbackLabels",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset in the entire project. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListAllFeedbackLabels` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of all feedback labels per project.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:listAllFeedbackLabels",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"queryMetrics": {
"description": "Query metrics.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:queryMetrics",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.queryMetrics",
"parameterOrder": [
"location"
],
"parameters": {
"location": {
"description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+location}:queryMetrics",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"queryPerformanceOverview": {
"description": "Generates a summary of predefined performance metrics for a set of conversations. Conversations can be specified by specifying a time window and an agent id, for now. The summary includes a comparison of metrics computed for conversations in the previous time period, and also a comparison with peers in the same time period.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:queryPerformanceOverview",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.queryPerformanceOverview",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the conversations to derive performance stats from. \"projects/{project}/locations/{location}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:queryPerformanceOverview",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testCorrelationConfig": {
"description": "Tests correlation config on a conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:testCorrelationConfig",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.testCorrelationConfig",
"parameterOrder": [
"location"
],
"parameters": {
"location": {
"description": "Required. The location to test correlation config. Format: projects/{project}/locations/{location}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+location}:testCorrelationConfig",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateCorrelationConfig": {
"description": "Updates correlation config.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/correlationConfig",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.updateCorrelationConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. Identifier. The resource name of the correlation config. Format: projects/{project}/locations/{location}/correlationConfig",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/correlationConfig$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1CorrelationConfig"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1CorrelationConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateSettings": {
"description": "Updates project-level settings.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.updateSettings",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/settings$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Settings"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Settings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"analysisRules": {
"methods": {
"create": {
"description": "Creates a analysis rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/analysisRules",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.analysisRules.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: `projects//locations/` or `projects//locations/`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/analysisRules",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AnalysisRule"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AnalysisRule"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a analysis rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/analysisRules/{analysisRulesId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.analysisRules.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the analysis rule to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/analysisRules/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get a analysis rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/analysisRules/{analysisRulesId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.analysisRules.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the AnalysisRule to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/analysisRules/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AnalysisRule"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists analysis rules.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/analysisRules",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.analysisRules.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "Optional. The maximum number of analysis rule to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListAnalysisRulesResponse`; indicates that this is a continuation of a prior `ListAnalysisRules` call and the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the analysis rules.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/analysisRules",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a analysis rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/analysisRules/{analysisRulesId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.analysisRules.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/analysisRules/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AnalysisRule"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AnalysisRule"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"assessmentRules": {
"methods": {
"create": {
"description": "Creates an assessment rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/assessmentRules",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.assessmentRules.create",
"parameterOrder": [
"parent"
],
"parameters": {
"assessmentRuleId": {
"description": "Optional. A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule'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])?$`.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the assessment rule. Required. The location to create a assessment rule for. Format: `projects//locations/` or `projects//locations/`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/assessmentRules",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AssessmentRule"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AssessmentRule"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an assessment rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/assessmentRules/{assessmentRulesId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.assessmentRules.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment rule to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/assessmentRules/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get an assessment rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/assessmentRules/{assessmentRulesId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.assessmentRules.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment rule to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/assessmentRules/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AssessmentRule"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists assessment rules.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/assessmentRules",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.assessmentRules.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "Optional. The maximum number of assessment rule to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListAssessmentRulesResponse`; indicates that this is a continuation of a prior `ListAssessmentRules` call and the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the assessment rules.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/assessmentRules",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates an assessment rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/assessmentRules/{assessmentRulesId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.assessmentRules.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/assessmentRules/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AssessmentRule"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AssessmentRule"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"authorizedViewSets": {
"methods": {
"create": {
"description": "Create AuthorizedViewSet",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.create",
"parameterOrder": [
"parent"
],
"parameters": {
"authorizedViewSetId": {
"description": "Optional. 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",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the AuthorizedViewSet.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/authorizedViewSets",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an AuthorizedViewSet.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.delete",
"parameterOrder": [
"name"
],
"parameters": {
"force": {
"description": "Optional. If set to true, all of this AuthorizedViewSet's child resources will also be deleted. Otherwise, the request will only succeed if it has none.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. The name of the AuthorizedViewSet to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get AuthorizedViewSet",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the AuthorizedViewSet to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List AuthorizedViewSets",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. The filter expression to filter authorized view sets listed in the response.",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. The order by expression to order authorized view sets listed in the response.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of view sets to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListAuthorizedViewSetsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViewSets` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the AuthorizedViewSets.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/authorizedViewSets",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates an AuthorizedViewSet.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"authorizedViews": {
"methods": {
"create": {
"description": "Create AuthorizedView",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.create",
"parameterOrder": [
"parent"
],
"parameters": {
"authorizedViewId": {
"description": "Optional. 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",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the AuthorizedView.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/authorizedViews",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an AuthorizedView.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the AuthorizedView to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"generativeInsights": {
"description": "Natural language based Insights which powers the next generation of dashboards in Insights. Next generation of QueryMetrics.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:generativeInsights",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.generativeInsights",
"parameterOrder": [
"location"
],
"parameters": {
"location": {
"description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+location}:generativeInsights",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get AuthorizedView",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the AuthorizedView to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getIamPolicy": {
"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:getIamPolicy",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.getIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"options.requestedPolicyVersion": {
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"location": "query",
"type": "integer"
},
"resource": {
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+resource}:getIamPolicy",
"response": {
"$ref": "GoogleIamV1Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List AuthorizedViewSets",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. The filter expression to filter authorized views listed in the response.",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. The order by expression to order authorized views listed in the response.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListAuthorizedViewsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViews` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/authorizedViews",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates an AuthorizedView.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `conversation_filter` * `display_name`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"queryMetrics": {
"description": "Query metrics.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:queryMetrics",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics",
"parameterOrder": [
"location"
],
"parameters": {
"location": {
"description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+location}:queryMetrics",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"queryPerformanceOverview": {
"description": "Generates a summary of predefined performance metrics for a set of conversations. Conversations can be specified by specifying a time window and an agent id, for now. The summary includes a comparison of metrics computed for conversations in the previous time period, and also a comparison with peers in the same time period.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:queryPerformanceOverview",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryPerformanceOverview",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the conversations to derive performance stats from. \"projects/{project}/locations/{location}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:queryPerformanceOverview",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"search": {
"description": "SearchAuthorizedViewSets",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews:search",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.search",
"parameterOrder": [
"parent"
],
"parameters": {
"orderBy": {
"description": "Optional. The order by expression to order authorized views listed in the response.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of view to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListAuthorizedViewsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViews` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
"required": true,
"type": "string"
},
"query": {
"description": "Optional. The query expression to search authorized views.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/authorizedViews:search",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:setIamPolicy",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.setIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+resource}:setIamPolicy",
"request": {
"$ref": "GoogleIamV1SetIamPolicyRequest"
},
"response": {
"$ref": "GoogleIamV1Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:testIamPermissions",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.testIamPermissions",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+resource}:testIamPermissions",
"request": {
"$ref": "GoogleIamV1TestIamPermissionsRequest"
},
"response": {
"$ref": "GoogleIamV1TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"conversations": {
"methods": {
"calculateStats": {
"description": "Gets conversation statistics.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations:calculateStats",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats",
"parameterOrder": [
"location"
],
"parameters": {
"filter": {
"description": "A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.",
"location": "query",
"type": "string"
},
"location": {
"description": "Required. The location of the conversations.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+location}/conversations:calculateStats",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.delete",
"parameterOrder": [
"name"
],
"parameters": {
"force": {
"description": "If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. The name of the conversation to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"generateSignedAudio": {
"description": "Gets the signed URI for the audio for the given conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}:generateSignedAudio",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.generateSignedAudio",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the conversation to sign.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:generateSignedAudio",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the conversation to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
},
"view": {
"description": "The level of details of the conversation. Default is `FULL`.",
"enum": [
"CONVERSATION_VIEW_UNSPECIFIED",
"FULL",
"BASIC"
],
"enumDescriptions": [
"The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.",
"Populates all fields in the conversation.",
"Populates all fields in the conversation except the transcript."
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists conversations.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the conversation.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
},
"view": {
"description": "The level of details of the conversation. Default is `BASIC`.",
"enum": [
"CONVERSATION_VIEW_UNSPECIFIED",
"FULL",
"BASIC"
],
"enumDescriptions": [
"The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.",
"Populates all fields in the conversation.",
"Populates all fields in the conversation except the transcript."
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/conversations",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListConversationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"assessments": {
"methods": {
"appeal": {
"description": "Appeal an Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}:appeal",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.appeal",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment to appeal.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:appeal",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AppealAssessmentRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Create Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the assessment.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/assessments",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Delete an Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.delete",
"parameterOrder": [
"name"
],
"parameters": {
"force": {
"description": "Optional. If set to true, all of this assessment's notes will also be deleted. Otherwise, the request will only succeed if it has no notes.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. The name of the assessment to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"finalize": {
"description": "Finalize an Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}:finalize",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.finalize",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment to finalize.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:finalize",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List Assessments.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supported filters include: * `state` - The state of the assessment * `agent_info.agent_id` - The ID of the agent the assessment is for",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of assessments to list. If zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListAssessmentRulesResponse`; indicates that this is a continuation of a prior `ListAssessmentRules` call and the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the assessments. To list all assessments in a location, substitute the conversation ID with a '-' character.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/assessments",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAssessmentsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"publish": {
"description": "Publish an Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}:publish",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.publish",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment to publish.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:publish",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1PublishAssessmentRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"notes": {
"methods": {
"create": {
"description": "Create Note.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the note.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/notes",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Note"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Note"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a Note.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes/{notesId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the note to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+/notes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List Notes.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "Optional. The maximum number of notes to return in the response. If zero the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListNotesResponse`. This value indicates that this is a continuation of a prior `ListNotes` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the notes.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/notes",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListNotesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Update Note.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes/{notesId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+/notes/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Note"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Note"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"feedbackLabels": {
"methods": {
"create": {
"description": "Create feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.create",
"parameterOrder": [
"parent"
],
"parameters": {
"feedbackLabelId": {
"description": "Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the feedback label.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/feedbackLabels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Delete feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the feedback label to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the feedback label to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List feedback labels.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the feedback labels.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/feedbackLabels",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Update feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"operations": {
"methods": {
"cancel": {
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/operations/{operationsId}:cancel",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource to be cancelled.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:cancel",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/operations/{operationsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/operations",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.list",
"parameterOrder": [
"name"
],
"parameters": {
"filter": {
"description": "The standard list filter.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name of the operation's parent resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The standard list page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The standard list page token.",
"location": "query",
"type": "string"
},
"returnPartialSuccess": {
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
"location": "query",
"type": "boolean"
}
},
"path": "v1/{+name}/operations",
"response": {
"$ref": "GoogleLongrunningListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
},
"autoLabelingRules": {
"methods": {
"create": {
"description": "Creates an auto labeling rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.autoLabelingRules.create",
"parameterOrder": [
"parent"
],
"parameters": {
"autoLabelingRuleId": {
"description": "Required. The ID to use for the auto labeling rule, which will become the final component of the auto labeling rule's resource name.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The project and location to create the auto labeling rule in. Format: projects/{project}/locations/{location}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/autoLabelingRules",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AutoLabelingRule"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AutoLabelingRule"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an auto labeling rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules/{autoLabelingRulesId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.autoLabelingRules.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the auto labeling rule to delete. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/autoLabelingRules/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets an auto labeling rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules/{autoLabelingRulesId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.autoLabelingRules.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the auto labeling rule to get. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/autoLabelingRules/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AutoLabelingRule"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists auto labeling rules.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.autoLabelingRules.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "Optional. The maximum number of auto labeling rules to return in a single response. If unspecified, at most 100 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The next_page_token value returned from a previous List request, if any.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The project and location to list auto labeling rules from. Format: projects/{project}/locations/{location}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/autoLabelingRules",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates an auto labeling rule.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules/{autoLabelingRulesId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.autoLabelingRules.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The resource name of the auto-labeling rule. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/autoLabelingRules/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AutoLabelingRule"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1AutoLabelingRule"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"test": {
"description": "Tests auto labeling rules against a conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules:test",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.autoLabelingRules.test",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent project and location. Format: projects/{project}/locations/{location}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/autoLabelingRules:test",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"conversations": {
"methods": {
"bulkAnalyze": {
"description": "Analyzes multiple conversations in a single request.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:bulkAnalyze",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.bulkAnalyze",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource to create analyses in.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/conversations:bulkAnalyze",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"bulkDelete": {
"description": "Deletes multiple conversations in a single request.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:bulkDelete",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.bulkDelete",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/conversations:bulkDelete",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"calculateStats": {
"description": "Gets conversation statistics.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:calculateStats",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.calculateStats",
"parameterOrder": [
"location"
],
"parameters": {
"filter": {
"description": "A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.",
"location": "query",
"type": "string"
},
"location": {
"description": "Required. The location of the conversations.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+location}/conversations:calculateStats",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.create",
"parameterOrder": [
"parent"
],
"parameters": {
"conversationId": {
"description": "A unique ID for the new conversation. This ID will become the final component of the conversation'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-`",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the conversation.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/conversations",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.conversations.delete",
"parameterOrder": [
"name"
],
"parameters": {
"force": {
"description": "If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. The name of the conversation to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"generateSignedAudio": {
"description": "Gets the signed URI for the audio for the given conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}:generateSignedAudio",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.generateSignedAudio",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the conversation to sign.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:generateSignedAudio",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the conversation to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
},
"view": {
"description": "The level of details of the conversation. Default is `FULL`.",
"enum": [
"CONVERSATION_VIEW_UNSPECIFIED",
"FULL",
"BASIC"
],
"enumDescriptions": [
"The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.",
"Populates all fields in the conversation.",
"Populates all fields in the conversation except the transcript."
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"ingest": {
"description": "Imports conversations and processes them according to the user's configuration.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:ingest",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.ingest",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource for new conversations.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/conversations:ingest",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists conversations.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the conversation.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"view": {
"description": "The level of details of the conversation. Default is `BASIC`.",
"enum": [
"CONVERSATION_VIEW_UNSPECIFIED",
"FULL",
"BASIC"
],
"enumDescriptions": [
"The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.",
"Populates all fields in the conversation.",
"Populates all fields in the conversation except the transcript."
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/conversations",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListConversationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.conversations.patch",
"parameterOrder": [
"name"
],
"parameters": {
"allowMissing": {
"description": "Optional. Defaults to false. If set to true, and the conversation is not found, a new conversation will be created. In this situation, `update_mask` is ignored.",
"location": "query",
"type": "boolean"
},
"conversationAutoLabelingUpdateConfig.allowAutoLabelingUpdate": {
"description": "Optional. If set to true, the conversation will be updated with auto labeling results.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or * `data_source.dialogflow_source.audio_uri` * `data_source.screen_recordings`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"sample": {
"description": "Samples conversations based on user configuration and handles the sampled conversations for different use cases.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:sample",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.sample",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the dataset.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/conversations:sample",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1SampleConversationsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"upload": {
"description": "Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:upload",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.upload",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the conversation.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/conversations:upload",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1UploadConversationRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"analyses": {
"methods": {
"create": {
"description": "Creates an analysis. The long running operation is done when the analysis has completed.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.analyses.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the analysis.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/analyses",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Analysis"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an analysis.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses/{analysesId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.conversations.analyses.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the analysis to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/analyses/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets an analysis.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses/{analysesId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.analyses.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the analysis to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/analyses/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Analysis"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists analyses.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.analyses.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the analyses.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/analyses",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAnalysesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"assessments": {
"methods": {
"appeal": {
"description": "Appeal an Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}:appeal",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.assessments.appeal",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment to appeal.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:appeal",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1AppealAssessmentRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Create Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.assessments.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the assessment.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/assessments",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Delete an Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.conversations.assessments.delete",
"parameterOrder": [
"name"
],
"parameters": {
"force": {
"description": "Optional. If set to true, all of this assessment's notes will also be deleted. Otherwise, the request will only succeed if it has no notes.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. The name of the assessment to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"finalize": {
"description": "Finalize an Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}:finalize",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.assessments.finalize",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment to finalize.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:finalize",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.assessments.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List Assessments.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.assessments.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supported filters include: * `state` - The state of the assessment * `agent_info.agent_id` - The ID of the agent the assessment is for",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of assessments to list. If zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListAssessmentRulesResponse`; indicates that this is a continuation of a prior `ListAssessmentRules` call and the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the assessments. To list all assessments in a location, substitute the conversation ID with a '-' character.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/assessments",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAssessmentsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"publish": {
"description": "Publish an Assessment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}:publish",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.assessments.publish",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the assessment to publish.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:publish",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1PublishAssessmentRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"notes": {
"methods": {
"create": {
"description": "Create Note.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.assessments.notes.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the note.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/notes",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Note"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Note"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a Note.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes/{notesId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.conversations.assessments.notes.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the note to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+/notes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List Notes.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.assessments.notes.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "Optional. The maximum number of notes to return in the response. If zero the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListNotesResponse`. This value indicates that this is a continuation of a prior `ListNotes` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the notes.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/notes",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListNotesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Update Note.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes/{notesId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.conversations.assessments.notes.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+/notes/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to be updated. If the update_mask is empty, all updateable fields will be updated. Acceptable fields include: * `content`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Note"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Note"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"feedbackLabels": {
"methods": {
"create": {
"description": "Create feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.create",
"parameterOrder": [
"parent"
],
"parameters": {
"feedbackLabelId": {
"description": "Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the feedback label.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/feedbackLabels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Delete feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the feedback label to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the feedback label to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List feedback labels.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the feedback labels.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/feedbackLabels",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Update feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"segments": {
"methods": {
"bulkAnalyze": {
"description": "Analyzes multiple conversations in a single request.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/segments:bulkAnalyze",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.conversations.segments.bulkAnalyze",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource to create analyses in.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/segments:bulkAnalyze",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"dashboards": {
"methods": {
"create": {
"description": "Creates a Dashboard.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.dashboards.create",
"parameterOrder": [
"parent"
],
"parameters": {
"dashboardId": {
"description": "Optional. A unique ID for the new Dashboard. This ID will become the final component of the Dashboard'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])?$`.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the dashboard.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/dashboards",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Dashboard"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Dashboard"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a Dashboard.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.dashboards.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the dashboard to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a Dashboard.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.dashboards.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the dashboard to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Dashboard"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists Dashboards.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.dashboards.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. The filter expression to filter dashboards listed in the response.",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. The order by expression to order dashboards listed in the response.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of dashboards to return. The service may return fewer than this value. The default and maximum value is 100.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListDashboardsResponse`. This value indicates that this is a continuation of a prior `ListDashboards` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the dashboards.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/dashboards",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListDashboardsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a Dashboard.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.dashboards.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. Dashboard resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. List of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name` * `root_container` * `description`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Dashboard"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Dashboard"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"charts": {
"methods": {
"create": {
"description": "Creates a Chart.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.dashboards.charts.create",
"parameterOrder": [
"parent"
],
"parameters": {
"chartId": {
"description": "Optional. A unique ID for the new Chart. This ID will become the final component of the Chart'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])?$`.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the chart.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/charts",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Chart"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Chart"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a Chart.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts/{chartsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.dashboards.charts.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the chart to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a Chart.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts/{chartsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.dashboards.charts.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the chart to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Chart"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists Charts.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.dashboards.charts.list",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the charts.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/charts",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListChartsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a Chart.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts/{chartsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.dashboards.charts.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. Chart resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. List of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Chart"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Chart"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"datasets": {
"methods": {
"bulkDeleteFeedbackLabels": {
"description": "Delete feedback labels in bulk using a filter.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:bulkDeleteFeedbackLabels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.bulkDeleteFeedbackLabels",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:bulkDeleteFeedbackLabels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"bulkDownloadFeedbackLabels": {
"description": "Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:bulkDownloadFeedbackLabels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.bulkDownloadFeedbackLabels",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:bulkDownloadFeedbackLabels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"bulkUploadFeedbackLabels": {
"description": "Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:bulkUploadFeedbackLabels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.bulkUploadFeedbackLabels",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:bulkUploadFeedbackLabels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a dataset.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.create",
"parameterOrder": [
"parent"
],
"parameters": {
"datasetId": {
"description": "Optional. The ID to use for the dataset.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the dataset.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/datasets",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Dataset"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Dataset"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Delete a dataset.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.datasets.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the dataset to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a dataset.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.datasets.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the dataset to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Dataset"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List datasets matching the input.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.datasets.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Useful for querying datasets with specific properties. Supported fields include, for Q2 though we only support list by project: - `type` - `description` - `project_number`",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of datasets to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListDatasetsResponse`; indicates that this is a continuation of a prior `ListDatasets` call and the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the dataset.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/datasets",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListDatasetsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"listAllFeedbackLabels": {
"description": "List all feedback labels by project number.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:listAllFeedbackLabels",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.datasets.listAllFeedbackLabels",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset in the entire project. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListAllFeedbackLabels` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of all feedback labels per project.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:listAllFeedbackLabels",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a dataset.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.datasets.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to update.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Dataset"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Dataset"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"conversations": {
"methods": {
"bulkDelete": {
"description": "Deletes multiple conversations in a single request.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:bulkDelete",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.conversations.bulkDelete",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/conversations:bulkDelete",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"calculateStats": {
"description": "Gets conversation statistics.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:calculateStats",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.conversations.calculateStats",
"parameterOrder": [
"location"
],
"parameters": {
"location": {
"description": "Required. The location of the conversations.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+location}/conversations:calculateStats",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.datasets.conversations.delete",
"parameterOrder": [
"name"
],
"parameters": {
"force": {
"description": "If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. The name of the conversation to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"generateSignedAudio": {
"description": "Gets the signed URI for the audio for the given conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}:generateSignedAudio",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.datasets.conversations.generateSignedAudio",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the conversation to sign.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:generateSignedAudio",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a conversation.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.datasets.conversations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the conversation to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
},
"view": {
"description": "The level of details of the conversation. Default is `FULL`.",
"enum": [
"CONVERSATION_VIEW_UNSPECIFIED",
"FULL",
"BASIC"
],
"enumDescriptions": [
"The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.",
"Populates all fields in the conversation.",
"Populates all fields in the conversation except the transcript."
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"ingest": {
"description": "Imports conversations and processes them according to the user's configuration.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:ingest",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.conversations.ingest",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource for new conversations.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/conversations:ingest",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists conversations.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.datasets.conversations.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the conversation.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
},
"view": {
"description": "The level of details of the conversation. Default is `BASIC`.",
"enum": [
"CONVERSATION_VIEW_UNSPECIFIED",
"FULL",
"BASIC"
],
"enumDescriptions": [
"The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.",
"Populates all fields in the conversation.",
"Populates all fields in the conversation except the transcript."
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/conversations",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListConversationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"sample": {
"description": "Samples conversations based on user configuration and handles the sampled conversations for different use cases.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:sample",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.conversations.sample",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the dataset.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/conversations:sample",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1SampleConversationsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"feedbackLabels": {
"methods": {
"create": {
"description": "Create feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.create",
"parameterOrder": [
"parent"
],
"parameters": {
"feedbackLabelId": {
"description": "Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the feedback label.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/feedbackLabels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Delete feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the feedback label to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the feedback label to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "List feedback labels.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the feedback labels.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/feedbackLabels",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Update feedback label.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"insightsdata": {
"methods": {
"export": {
"description": "Export insights data to a destination defined in the request body.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/insightsdata:export",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.datasets.insightsdata.export",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource to export data from.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/insightsdata:export",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"encryptionSpec": {
"methods": {
"initialize": {
"description": "Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/encryptionSpec:initialize",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.encryptionSpec.initialize",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:initialize",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"insightsdata": {
"methods": {
"export": {
"description": "Export insights data to a destination defined in the request body.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/insightsdata:export",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.insightsdata.export",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource to export data from.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/insightsdata:export",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"issueModels": {
"methods": {
"calculateIssueModelStats": {
"description": "Gets an issue model's statistics.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:calculateIssueModelStats",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.issueModels.calculateIssueModelStats",
"parameterOrder": [
"issueModel"
],
"parameters": {
"issueModel": {
"description": "Required. The resource name of the issue model to query against.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+issueModel}:calculateIssueModelStats",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates an issue model.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.issueModels.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the issue model.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/issueModels",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModel"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an issue model.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.issueModels.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the issue model to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"deploy": {
"description": "Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:deploy",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.issueModels.deploy",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The issue model to deploy.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:deploy",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"export": {
"description": "Exports an issue model to the provided destination.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:export",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.issueModels.export",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The issue model to export.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:export",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets an issue model.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.issueModels.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the issue model to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"import": {
"description": "Imports an issue model from a Cloud Storage bucket.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels:import",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.issueModels.import",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the issue model.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/issueModels:import",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists issue models.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.issueModels.list",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the issue model.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/issueModels",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListIssueModelsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates an issue model.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.issueModels.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModel"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModel"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"undeploy": {
"description": "Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:undeploy",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.issueModels.undeploy",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The issue model to undeploy.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:undeploy",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"issues": {
"methods": {
"create": {
"description": "Creates an issue.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.issueModels.issues.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the issue.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/issues",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Issue"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an issue.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.issueModels.issues.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the issue to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+/issues/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets an issue.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.issueModels.issues.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the issue to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+/issues/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Issue"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists issues.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.issueModels.issues.list",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the issue.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/issues",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListIssuesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates an issue.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.issueModels.issues.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+/issues/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1Issue"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1Issue"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"operations": {
"methods": {
"cancel": {
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.operations.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource to be cancelled.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:cancel",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.operations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.operations.list",
"parameterOrder": [
"name"
],
"parameters": {
"filter": {
"description": "The standard list filter.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name of the operation's parent resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The standard list page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The standard list page token.",
"location": "query",
"type": "string"
},
"returnPartialSuccess": {
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
"location": "query",
"type": "boolean"
}
},
"path": "v1/{+name}/operations",
"response": {
"$ref": "GoogleLongrunningListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"phraseMatchers": {
"methods": {
"create": {
"description": "Creates a phrase matcher.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseMatchers",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.phraseMatchers.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: `projects//locations/` or `projects//locations/`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/phraseMatchers",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a phrase matcher.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseMatchers/{phraseMatchersId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.phraseMatchers.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the phrase matcher to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/phraseMatchers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a phrase matcher.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseMatchers/{phraseMatchersId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.phraseMatchers.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the phrase matcher to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/phraseMatchers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists phrase matchers.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseMatchers",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.phraseMatchers.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "A filter to reduce results to a specific subset. Useful for querying phrase matchers with specific properties.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of phrase matchers to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The value returned by the last `ListPhraseMatchersResponse`. This value indicates that this is a continuation of a prior `ListPhraseMatchers` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the phrase matcher.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/phraseMatchers",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a phrase matcher.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseMatchers/{phraseMatchersId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.phraseMatchers.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/phraseMatchers/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"qaQuestionTags": {
"methods": {
"create": {
"description": "Creates a QaQuestionTag.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.qaQuestionTags.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the QaQuestionTag.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"qaQuestionTagId": {
"description": "Optional. 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-`.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/qaQuestionTags",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionTag"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionTag"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a QaQuestionTag.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags/{qaQuestionTagsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.qaQuestionTags.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the QaQuestionTag to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaQuestionTags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a QaQuestionTag.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags/{qaQuestionTagsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.qaQuestionTags.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the QaQuestionTag to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaQuestionTags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionTag"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists the question tags.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.qaQuestionTags.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supports conjunctions (ie. AND operators). Supported fields include the following: * `project_id` - id of the project to list tags for * `qa_scorecard_id` - id of the scorecard to list tags for * `revision_id` - id of the scorecard revision to list tags for` * `qa_question_id - id of the question to list tags for`",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the QaQuestionTags.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/qaQuestionTags",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a QaQuestionTag.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags/{qaQuestionTagsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.qaQuestionTags.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaQuestionTags/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `qa_question_tag_name` - the name of the tag * `qa_question_ids` - the list of questions the tag applies to",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionTag"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"qaScorecards": {
"methods": {
"create": {
"description": "Create a QaScorecard.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.qaScorecards.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the QaScorecard.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"qaScorecardId": {
"description": "Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard'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-`.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/qaScorecards",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecard"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecard"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a QaScorecard.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.qaScorecards.delete",
"parameterOrder": [
"name"
],
"parameters": {
"force": {
"description": "Optional. If set to true, all of this QaScorecard's child resources will also be deleted. Otherwise, the request will only succeed if it has none.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. The name of the QaScorecard to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a QaScorecard.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.qaScorecards.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the QaScorecard to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecard"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists QaScorecards.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.qaScorecards.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "Optional. The maximum number of scorecards to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListQaScorecardsResponse`. This value indicates that this is a continuation of a prior `ListQaScorecards` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the scorecards.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"qaScorecardSources": {
"description": "Optional. The source of scorecards are based on how those Scorecards were created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This field is used to retrieve Scorecards of one or more sources.",
"enum": [
"QA_SCORECARD_SOURCE_UNSPECIFIED",
"QA_SCORECARD_SOURCE_CUSTOMER_DEFINED",
"QA_SCORECARD_SOURCE_DISCOVERY_ENGINE"
],
"enumDescriptions": [
"The source of the scorecard is unspecified. Default to QA_SCORECARD_SOURCE_CUSTOMER_DEFINED.",
"The scorecard is a custom scorecard created by the user.",
"The scorecard is a scorecard created through discovery engine deployment."
],
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "v1/{+parent}/qaScorecards",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a QaScorecard.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.qaScorecards.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `description` * `display_name`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecard"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecard"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"revisions": {
"methods": {
"create": {
"description": "Creates a QaScorecardRevision.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the QaScorecardRevision.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
"required": true,
"type": "string"
},
"qaScorecardRevisionId": {
"description": "Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision'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-`.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/revisions",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardRevision"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardRevision"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a QaScorecardRevision.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.delete",
"parameterOrder": [
"name"
],
"parameters": {
"force": {
"description": "Optional. If set to true, all of this QaScorecardRevision's child resources will also be deleted. Otherwise, the request will only succeed if it has none.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. The name of the QaScorecardRevision to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"deploy": {
"description": "Deploy a QaScorecardRevision.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}:deploy",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.deploy",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the QaScorecardRevision to deploy.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:deploy",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1DeployQaScorecardRevisionRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardRevision"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a QaScorecardRevision.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the QaScorecardRevision to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardRevision"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all revisions under the parent QaScorecard.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Useful for querying scorecard revisions with specific properties.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of scorecard revisions to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListQaScorecardRevisionsResponse`. This value indicates that this is a continuation of a prior `ListQaScorecardRevisions` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the scorecard revisions. To list all revisions of all scorecards, substitute the QaScorecard ID with a '-' character.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
"required": true,
"type": "string"
},
"qaScorecardSources": {
"description": "Optional. The source of scorecards are based on how those Scorecards were created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This field is used to retrieve Scorecards Revisions from Scorecards of one or more sources.",
"enum": [
"QA_SCORECARD_SOURCE_UNSPECIFIED",
"QA_SCORECARD_SOURCE_CUSTOMER_DEFINED",
"QA_SCORECARD_SOURCE_DISCOVERY_ENGINE"
],
"enumDescriptions": [
"The source of the scorecard is unspecified. Default to QA_SCORECARD_SOURCE_CUSTOMER_DEFINED.",
"The scorecard is a custom scorecard created by the user.",
"The scorecard is a scorecard created through discovery engine deployment."
],
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "v1/{+parent}/revisions",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"tuneQaScorecardRevision": {
"description": "Fine tune one or more QaModels.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}:tuneQaScorecardRevision",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.tuneQaScorecardRevision",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource for new fine tuning job instance.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:tuneQaScorecardRevision",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1TuneQaScorecardRevisionRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"undeploy": {
"description": "Undeploy a QaScorecardRevision.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}:undeploy",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.undeploy",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the QaScorecardRevision to undeploy.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:undeploy",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1UndeployQaScorecardRevisionRequest"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardRevision"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"qaQuestions": {
"methods": {
"create": {
"description": "Create a QaQuestion.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the QaQuestion.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
"required": true,
"type": "string"
},
"qaQuestionId": {
"description": "Optional. A unique ID for the new question. This ID will become the final component of the question'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-`.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/qaQuestions",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestion"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestion"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a QaQuestion.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions/{qaQuestionsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the QaQuestion to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+/qaQuestions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a QaQuestion.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions/{qaQuestionsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the QaQuestion to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+/qaQuestions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestion"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists QaQuestions.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "Optional. The maximum number of questions to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. The value returned by the last `ListQaQuestionsResponse`. This value indicates that this is a continuation of a prior `ListQaQuestions` call and that the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the questions.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/qaQuestions",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a QaQuestion.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions/{qaQuestionsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+/qaQuestions/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `abbreviation` * `answer_choices` * `answer_instructions` * `order` * `question_body` * `tags`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestion"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestion"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
},
"views": {
"methods": {
"create": {
"description": "Creates a view.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/views",
"httpMethod": "POST",
"id": "contactcenterinsights.projects.locations.views.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the view. Required. The location to create a view for. Format: `projects//locations/` or `projects//locations/`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/views",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1View"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1View"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a view.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/views/{viewsId}",
"httpMethod": "DELETE",
"id": "contactcenterinsights.projects.locations.views.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the view to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/views/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets a view.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/views/{viewsId}",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.views.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the view to get.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/views/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1View"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists views.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/views",
"httpMethod": "GET",
"id": "contactcenterinsights.projects.locations.views.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "The maximum number of views to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The value returned by the last `ListViewsResponse`; indicates that this is a continuation of a prior `ListViews` call and the system should return the next page of data.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the views.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/views",
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1ListViewsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a view.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/views/{viewsId}",
"httpMethod": "PATCH",
"id": "contactcenterinsights.projects.locations.views.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/views/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "The list of fields to be updated.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1View"
},
"response": {
"$ref": "GoogleCloudContactcenterinsightsV1View"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
},
"revision": "20260219",
"rootUrl": "https://contactcenterinsights.googleapis.com/",
"schemas": {
"GoogleCloudContactcenterinsightsV1Analysis": {
"description": "The analysis resource.",
"id": "GoogleCloudContactcenterinsightsV1Analysis",
"properties": {
"analysisResult": {
"$ref": "GoogleCloudContactcenterinsightsV1AnalysisResult",
"description": "Output only. The result of the analysis, which is populated when the analysis finishes.",
"readOnly": true
},
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelector",
"description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run."
},
"createTime": {
"description": "Output only. The time at which the analysis was created, which occurs when the long-running operation completes.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}",
"type": "string"
},
"requestTime": {
"description": "Output only. The time at which the analysis was requested.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AnalysisResult": {
"description": "The result of an analysis.",
"id": "GoogleCloudContactcenterinsightsV1AnalysisResult",
"properties": {
"callAnalysisMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata",
"description": "Call-specific metadata created by the analysis."
},
"endTime": {
"description": "The time at which the analysis ended.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata": {
"description": "Call-specific metadata created during analysis.",
"id": "GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata",
"properties": {
"annotations": {
"description": "A list of call annotations that apply to this call.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1CallAnnotation"
},
"type": "array"
},
"entities": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1Entity"
},
"description": "All the entities in the call.",
"type": "object"
},
"intents": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1Intent"
},
"description": "All the matched intents in the call.",
"type": "object"
},
"issueModelResult": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModelResult",
"description": "Overall conversation-level issue modeling result."
},
"phraseMatchers": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchData"
},
"description": "All the matched phrase matchers in the call.",
"type": "object"
},
"qaScorecardResults": {
"description": "Results of scoring QaScorecards.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardResult"
},
"type": "array"
},
"sentiments": {
"description": "Overall conversation-level sentiment for each channel of the call.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationLevelSentiment"
},
"type": "array"
},
"silence": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationLevelSilence",
"description": "Overall conversation-level silence during the call."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AnalysisRule": {
"description": "The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.",
"id": "GoogleCloudContactcenterinsightsV1AnalysisRule",
"properties": {
"active": {
"description": "If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.",
"type": "boolean"
},
"analysisPercentage": {
"description": "Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage & upload percentage will be replaced by defining filters on the conversation.",
"format": "double",
"type": "number"
},
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelector",
"description": "Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run."
},
"conversationFilter": {
"description": "Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.",
"type": "string"
},
"createTime": {
"description": "Output only. The time at which this analysis rule was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Display Name of the analysis rule.",
"type": "string"
},
"name": {
"description": "Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}",
"type": "string"
},
"updateTime": {
"description": "Output only. The most recent time at which this analysis rule was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AnnotationBoundary": {
"description": "A point in a conversation that marks the start or the end of an annotation.",
"id": "GoogleCloudContactcenterinsightsV1AnnotationBoundary",
"properties": {
"transcriptIndex": {
"description": "The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.",
"format": "int32",
"type": "integer"
},
"wordIndex": {
"description": "The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AnnotatorSelector": {
"description": "Selector of all available annotators and phrase matchers to run.",
"id": "GoogleCloudContactcenterinsightsV1AnnotatorSelector",
"properties": {
"issueModels": {
"description": "The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.",
"items": {
"type": "string"
},
"type": "array"
},
"phraseMatchers": {
"description": "The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}",
"items": {
"type": "string"
},
"type": "array"
},
"qaConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig",
"description": "Configuration for the QA annotator."
},
"runEntityAnnotator": {
"description": "Whether to run the entity annotator.",
"type": "boolean"
},
"runIntentAnnotator": {
"description": "Whether to run the intent annotator.",
"type": "boolean"
},
"runInterruptionAnnotator": {
"description": "Whether to run the interruption annotator.",
"type": "boolean"
},
"runIssueModelAnnotator": {
"description": "Whether to run the issue model annotator. A model should have already been deployed for this to take effect.",
"type": "boolean"
},
"runPhraseMatcherAnnotator": {
"description": "Whether to run the active phrase matcher annotator(s).",
"type": "boolean"
},
"runQaAnnotator": {
"description": "Whether to run the QA annotator.",
"type": "boolean"
},
"runSentimentAnnotator": {
"description": "Whether to run the sentiment annotator.",
"type": "boolean"
},
"runSilenceAnnotator": {
"description": "Whether to run the silence annotator.",
"type": "boolean"
},
"runSummarizationAnnotator": {
"description": "Whether to run the summarization annotator.",
"type": "boolean"
},
"summarizationConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig",
"description": "Configuration for the summarization annotator."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig": {
"description": "Configuration for the QA feature.",
"id": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig",
"properties": {
"scorecardList": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList",
"description": "A manual list of scorecards to score."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList": {
"description": "Container for a list of scorecards.",
"id": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList",
"properties": {
"qaScorecardRevisions": {
"description": "List of QaScorecardRevisions.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig": {
"description": "Configuration for summarization.",
"id": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig",
"properties": {
"conversationProfile": {
"description": "Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}",
"type": "string"
},
"generator": {
"description": "The resource name of the existing created generator. Format: projects//locations//generators/",
"type": "string"
},
"summarizationModel": {
"description": "Default summarization model to be used.",
"enum": [
"SUMMARIZATION_MODEL_UNSPECIFIED",
"BASELINE_MODEL",
"BASELINE_MODEL_V2_0"
],
"enumDeprecated": [
false,
true,
true
],
"enumDescriptions": [
"Unspecified summarization model.",
"The CCAI baseline model. This model is deprecated and will be removed in the future. We recommend using `generator` instead.",
"The CCAI baseline model, V2.0. This model is deprecated and will be removed in the future. We recommend using `generator` instead."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AnswerFeedback": {
"description": "The feedback that the customer has about a certain answer in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1AnswerFeedback",
"properties": {
"clicked": {
"description": "Indicates whether an answer or item was clicked by the human agent.",
"type": "boolean"
},
"correctnessLevel": {
"description": "The correctness level of an answer.",
"enum": [
"CORRECTNESS_LEVEL_UNSPECIFIED",
"NOT_CORRECT",
"PARTIALLY_CORRECT",
"FULLY_CORRECT"
],
"enumDescriptions": [
"Correctness level unspecified.",
"Answer is totally wrong.",
"Answer is partially correct.",
"Answer is fully correct."
],
"type": "string"
},
"displayed": {
"description": "Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AppealAssessmentRequest": {
"description": "The message to appeal an assessment.",
"id": "GoogleCloudContactcenterinsightsV1AppealAssessmentRequest",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ArticleSuggestionData": {
"description": "Agent Assist Article Suggestion data.",
"id": "GoogleCloudContactcenterinsightsV1ArticleSuggestionData",
"properties": {
"confidenceScore": {
"description": "The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "float",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the Article Suggestion and the document that it originates from.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"source": {
"description": "The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}",
"type": "string"
},
"title": {
"description": "Article title.",
"type": "string"
},
"uri": {
"description": "Article URI.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Assessment": {
"description": "The assessment resource.",
"id": "GoogleCloudContactcenterinsightsV1Assessment",
"properties": {
"agentInfo": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo",
"description": "Information about the agent the assessment is for."
},
"createTime": {
"description": "Output only. The time at which the assessment was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Identifier. The resource name of the assessment. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}",
"type": "string"
},
"state": {
"description": "Output only. The state of the assessment.",
"enum": [
"STATE_UNSPECIFIED",
"DRAFT",
"PUBLISHED",
"APPEALED",
"FINALIZED"
],
"enumDescriptions": [
"The state is unspecified. This value should not be used.",
"The default state of all new assessments.",
"The assessment has been published.",
"The assessment has been appealed.",
"The assessment has been finalized."
],
"readOnly": true,
"type": "string"
},
"updateTime": {
"description": "Output only. The time at which the assessment was last updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AssessmentRule": {
"description": "The CCAI Insights project wide assessment rule. This assessment rule will be applied to all conversations from the previous sampling cycle that match the sample rule defined in the assessment rule. One project can have multiple assessment rules.",
"id": "GoogleCloudContactcenterinsightsV1AssessmentRule",
"properties": {
"active": {
"description": "If true, apply this rule to conversations. Otherwise, this rule is inactive.",
"type": "boolean"
},
"createTime": {
"description": "Output only. The time at which this assessment rule was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Display Name of the assessment rule.",
"type": "string"
},
"name": {
"description": "Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}",
"type": "string"
},
"sampleRule": {
"$ref": "GoogleCloudContactcenterinsightsV1SampleRule",
"description": "The sample rule for the assessment rule."
},
"scheduleInfo": {
"$ref": "GoogleCloudContactcenterinsightsV1ScheduleInfo",
"description": "Schedule info for the assessment rule."
},
"updateTime": {
"description": "Output only. The most recent time at which this assessment rule was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AuthorizedView": {
"description": "An AuthorizedView represents a view of accessible Insights resources (for example, Conversation and Scorecard). Who have read access to the AuthorizedView resource will have access to these Insight resources as well.",
"id": "GoogleCloudContactcenterinsightsV1AuthorizedView",
"properties": {
"conversationFilter": {
"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.",
"type": "string"
},
"createTime": {
"description": "Output only. The time at which the authorized view was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Display Name. Limit 64 characters.",
"type": "string"
},
"name": {
"description": "Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}",
"type": "string"
},
"updateTime": {
"description": "Output only. The most recent time at which the authorized view was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AuthorizedViewSet": {
"description": "An AuthorizedViewSet contains a set of AuthorizedView resources.",
"id": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet",
"properties": {
"createTime": {
"description": "Output only. Create time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Display Name. Limit 64 characters.",
"type": "string"
},
"name": {
"description": "Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}",
"type": "string"
},
"updateTime": {
"description": "Output only. Update time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AutoLabelingRule": {
"description": "Rule for auto-labeling conversations.",
"id": "GoogleCloudContactcenterinsightsV1AutoLabelingRule",
"properties": {
"active": {
"description": "Whether the rule is active.",
"type": "boolean"
},
"conditions": {
"description": "Conditions to apply for auto-labeling the label_key. Representing sequential block of if .. else if .. else statements. The value of the first matching condition will be used.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1AutoLabelingRuleLabelingCondition"
},
"type": "array"
},
"createTime": {
"description": "Output only. The time at which this rule was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"description": {
"description": "The description of the rule.",
"type": "string"
},
"displayName": {
"description": "The user-provided display name of the rule.",
"type": "string"
},
"labelKey": {
"description": "The label key. This is also the {auto_labeling_rule} in the resource name. Only settable if label_key_type is LABEL_KEY_TYPE_CUSTOM.",
"type": "string"
},
"labelKeyType": {
"description": "The type of the label key.",
"enum": [
"LABEL_KEY_TYPE_UNSPECIFIED",
"LABEL_KEY_TYPE_CUSTOM"
],
"enumDescriptions": [
"Unspecified label key type.",
"The label key is custom defined by the user."
],
"type": "string"
},
"name": {
"description": "Identifier. The resource name of the auto-labeling rule. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}",
"type": "string"
},
"updateTime": {
"description": "Output only. The most recent time at which the rule was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1AutoLabelingRuleLabelingCondition": {
"description": "Condition for auto-labeling conversations.",
"id": "GoogleCloudContactcenterinsightsV1AutoLabelingRuleLabelingCondition",
"properties": {
"condition": {
"description": "A optional CEL expression to be evaluated as a boolean value. Once evaluated as true, then we will proceed with the value evaluation. An empty condition will be auto evaluated as true.",
"type": "string"
},
"value": {
"description": "CEL expression to be evaluated as the value.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata": {
"description": "The metadata for a bulk analyze conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata",
"properties": {
"completedAnalysesCount": {
"description": "The number of requested analyses that have completed successfully so far.",
"format": "int32",
"type": "integer"
},
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"failedAnalysesCount": {
"description": "The number of requested analyses that have failed so far.",
"format": "int32",
"type": "integer"
},
"partialErrors": {
"description": "Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"readOnly": true,
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest",
"description": "The original request for bulk analyze."
},
"totalRequestedAnalysesCount": {
"description": "Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest": {
"description": "The request to analyze conversations in bulk.",
"id": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest",
"properties": {
"analysisPercentage": {
"description": "Required. Percentage of selected conversation to analyze, between [0, 100].",
"format": "float",
"type": "number"
},
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelector",
"description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run."
},
"filter": {
"description": "Required. Filter used to select the subset of conversations to analyze.",
"type": "string"
},
"parent": {
"description": "Required. The parent resource to create analyses in.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse": {
"description": "The response for a bulk analyze conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse",
"properties": {
"failedAnalysisCount": {
"description": "Count of failed analyses.",
"format": "int32",
"type": "integer"
},
"successfulAnalysisCount": {
"description": "Count of successful analyses.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata": {
"description": "The metadata for a bulk delete conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata",
"properties": {
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"partialErrors": {
"description": "Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest",
"description": "The original request for bulk delete."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest": {
"description": "The request to delete conversations in bulk.",
"id": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest",
"properties": {
"filter": {
"description": "Filter used to select the subset of conversations to delete.",
"type": "string"
},
"force": {
"description": "If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.",
"type": "boolean"
},
"maxDeleteCount": {
"description": "Maximum number of conversations to delete.",
"format": "int32",
"type": "integer"
},
"parent": {
"description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse": {
"description": "The response for a bulk delete conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata": {
"description": "Metadata for the BulkDeleteFeedbackLabels endpoint.",
"id": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata",
"properties": {
"partialErrors": {
"description": "Partial errors during deletion operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest",
"description": "Output only. The original request for delete.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest": {
"description": "Request for the BulkDeleteFeedbackLabels endpoint.",
"id": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest",
"properties": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"type": "string"
},
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse": {
"description": "Response for the BulkDeleteFeedbackLabels endpoint.",
"id": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata": {
"description": "Metadata for the BulkDownloadFeedbackLabel endpoint.",
"id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"downloadStats": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats",
"description": "Output only. Statistics for BulkDownloadFeedbackLabels operation.",
"readOnly": true
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"partialErrors": {
"description": "Partial errors during ingest operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest",
"description": "Output only. The original request for download.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats": {
"description": "Statistics for BulkDownloadFeedbackLabels operation.",
"id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats",
"properties": {
"fileNames": {
"description": "Output only. Full name of the files written to Cloud storage.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"processedObjectCount": {
"description": "The number of objects processed during the download operation.",
"format": "int32",
"type": "integer"
},
"successfulDownloadCount": {
"description": "The number of new feedback labels downloaded during this operation. Different from \"processed\" because some labels might not be downloaded because an error.",
"format": "int32",
"type": "integer"
},
"totalFilesWritten": {
"description": "Total number of files written to the provided Cloud Storage bucket.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest": {
"description": "Request for the BulkDownloadFeedbackLabel endpoint.",
"id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest",
"properties": {
"conversationFilter": {
"description": "Optional. Filter parent conversations to download feedback labels for. When specified, the feedback labels will be downloaded for the conversations that match the filter. If `template_qa_scorecard_id` is set, all the conversations that match the filter will be paired with the questions under the scorecard for labeling.",
"type": "string"
},
"feedbackLabelType": {
"description": "Optional. The type of feedback labels that will be downloaded.",
"enum": [
"FEEDBACK_LABEL_TYPE_UNSPECIFIED",
"QUALITY_AI",
"TOPIC_MODELING",
"AGENT_ASSIST_SUMMARY"
],
"enumDescriptions": [
"Unspecified format",
"Downloaded file will contain all Quality AI labels from the latest scorecard revision.",
"Downloaded file will contain only Topic Modeling labels.",
"Agent Assist Summarization labels."
],
"type": "string"
},
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"type": "string"
},
"gcsDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestGcsDestination",
"description": "A cloud storage bucket destination."
},
"maxDownloadCount": {
"description": "Optional. Limits the maximum number of feedback labels that will be downloaded. The first `N` feedback labels will be downloaded.",
"format": "int32",
"type": "integer"
},
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"type": "string"
},
"sheetsDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination",
"description": "A sheets document destination."
},
"templateQaScorecardId": {
"description": "Optional. If set, a template for labeling conversations and scorecard questions will be created from the conversation_filter and the questions under the scorecard(s). The feedback label `filter` will be ignored.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestGcsDestination": {
"description": "Google Cloud Storage Object details to write the feedback labels to.",
"id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestGcsDestination",
"properties": {
"addWhitespace": {
"description": "Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format.",
"type": "boolean"
},
"alwaysPrintEmptyFields": {
"description": "Optional. Always print fields with no presence. This is useful for printing fields that are not set, like implicit 0 value or empty lists/maps. Only applicable for JSON format.",
"type": "boolean"
},
"format": {
"description": "Required. File format in which the labels will be exported.",
"enum": [
"FORMAT_UNSPECIFIED",
"CSV",
"JSON"
],
"enumDescriptions": [
"Unspecified format.",
"CSV format. 1,000 labels are stored per CSV file by default.",
"JSON format. 1 label stored per JSON file by default."
],
"type": "string"
},
"objectUri": {
"description": "Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. `gs://bucket_name/object_uri_prefix`",
"type": "string"
},
"recordsPerFileCount": {
"description": "Optional. The number of records per file. Applicable for either format.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination": {
"description": "Google Sheets document details to write the feedback labels to.",
"id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination",
"properties": {
"sheetTitle": {
"description": "Optional. The title of the new sheet to write the feedback labels to.",
"type": "string"
},
"spreadsheetUri": {
"description": "Required. The Google Sheets document to write the feedback labels to. Retrieved from Google Sheets URI. E.g. `https://docs.google.com/spreadsheets/d/1234567890` The spreadsheet must be shared with the Insights P4SA. The spreadsheet ID written to will be returned as `file_names` in the BulkDownloadFeedbackLabelsMetadata.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsResponse": {
"description": "Response for the BulkDownloadFeedbackLabel endpoint.",
"id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest": {
"description": "The request for bulk uploading feedback labels.",
"id": "GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest",
"properties": {
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource",
"description": "A cloud storage bucket source."
},
"sheetsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource",
"description": "A sheets document source."
},
"validateOnly": {
"description": "Optional. If set, upload will not happen and the labels will be validated. If not set, then default behavior will be to upload the labels after validation is complete.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource": {
"description": "Google Cloud Storage Object details to get the feedback label file from.",
"id": "GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource",
"properties": {
"format": {
"description": "Required. File format which will be ingested.",
"enum": [
"FORMAT_UNSPECIFIED",
"CSV",
"JSON"
],
"enumDescriptions": [
"Unspecified format.",
"CSV format.",
"JSON format."
],
"type": "string"
},
"objectUri": {
"description": "Required. The Google Cloud Storage URI of the file to import. Format: `gs://bucket_name/object_name`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource": {
"description": "Google Sheets document details to get the feedback label file from.",
"id": "GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource",
"properties": {
"spreadsheetUri": {
"description": "Required. The Google Sheets document to write the feedback labels to. Retrieved from Google Sheets URI. E.g. `https://docs.google.com/spreadsheets/d/1234567890` The spreadsheet must be shared with the Insights P4SA.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse": {
"description": "Response of querying an issue model's statistics.",
"id": "GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse",
"properties": {
"currentStats": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModelLabelStats",
"description": "The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CalculateStatsRequest": {
"description": "The request for calculating conversation statistics.",
"id": "GoogleCloudContactcenterinsightsV1CalculateStatsRequest",
"properties": {
"filter": {
"description": "A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CalculateStatsResponse": {
"description": "The response for calculating conversation statistics.",
"id": "GoogleCloudContactcenterinsightsV1CalculateStatsResponse",
"properties": {
"averageDuration": {
"description": "The average duration of all conversations. The average is calculated using only conversations that have a time duration.",
"format": "google-duration",
"type": "string"
},
"averageTurnCount": {
"description": "The average number of turns per conversation.",
"format": "int32",
"type": "integer"
},
"conversationCount": {
"description": "The total number of conversations.",
"format": "int32",
"type": "integer"
},
"conversationCountTimeSeries": {
"$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries",
"description": "A time series representing the count of conversations created over time that match that requested filter criteria."
},
"customHighlighterMatches": {
"additionalProperties": {
"format": "int32",
"type": "integer"
},
"description": "A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.",
"type": "object"
},
"issueMatches": {
"additionalProperties": {
"format": "int32",
"type": "integer"
},
"deprecated": true,
"description": "A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: `projects//locations//issueModels//issues/` Deprecated, use `issue_matches_stats` field instead.",
"type": "object"
},
"issueMatchesStats": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats"
},
"description": "A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: `projects//locations//issueModels//issues/`",
"type": "object"
},
"smartHighlighterMatches": {
"additionalProperties": {
"format": "int32",
"type": "integer"
},
"description": "A map associating each smart highlighter display name with its respective number of matches in the set of conversations.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries": {
"description": "A time series representing conversations over time.",
"id": "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries",
"properties": {
"intervalDuration": {
"description": "The duration of each interval.",
"format": "google-duration",
"type": "string"
},
"points": {
"description": "An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval": {
"description": "A single interval in a time series.",
"id": "GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval",
"properties": {
"conversationCount": {
"description": "The number of conversations created in this interval.",
"format": "int32",
"type": "integer"
},
"startTime": {
"description": "The start time of this interval.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CallAnnotation": {
"description": "A piece of metadata that applies to a window of a call.",
"id": "GoogleCloudContactcenterinsightsV1CallAnnotation",
"properties": {
"annotationEndBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary",
"description": "The boundary in the conversation where the annotation ends, inclusive."
},
"annotationStartBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary",
"description": "The boundary in the conversation where the annotation starts, inclusive."
},
"channelTag": {
"description": "The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.",
"format": "int32",
"type": "integer"
},
"entityMentionData": {
"$ref": "GoogleCloudContactcenterinsightsV1EntityMentionData",
"description": "Data specifying an entity mention."
},
"holdData": {
"$ref": "GoogleCloudContactcenterinsightsV1HoldData",
"description": "Data specifying a hold."
},
"intentMatchData": {
"$ref": "GoogleCloudContactcenterinsightsV1IntentMatchData",
"description": "Data specifying an intent match."
},
"interruptionData": {
"$ref": "GoogleCloudContactcenterinsightsV1InterruptionData",
"description": "Data specifying an interruption."
},
"issueMatchData": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueMatchData",
"description": "Data specifying an issue match."
},
"phraseMatchData": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchData",
"description": "Data specifying a phrase match."
},
"sentimentData": {
"$ref": "GoogleCloudContactcenterinsightsV1SentimentData",
"description": "Data specifying sentiment."
},
"silenceData": {
"$ref": "GoogleCloudContactcenterinsightsV1SilenceData",
"description": "Data specifying silence."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Chart": {
"description": "Configurable dashboard's widget that displays data as a chart.",
"id": "GoogleCloudContactcenterinsightsV1Chart",
"properties": {
"chartType": {
"description": "Output only. Chart type.",
"enum": [
"CHART_TYPE_UNSPECIFIED",
"SYSTEM_DEFINED",
"USER_DEFINED"
],
"enumDescriptions": [
"Unspecified chart type.",
"Pre-defined chart type.",
"Configurable chart type."
],
"readOnly": true,
"type": "string"
},
"chartVisualizationType": {
"description": "Chart visualization type.",
"enum": [
"CHART_VISUALIZATION_TYPE_UNSPECIFIED",
"BAR",
"LINE",
"AREA",
"PIE",
"SCATTER",
"TABLE",
"SCORE_CARD",
"SUNBURST",
"GAUGE",
"SANKEY"
],
"enumDescriptions": [
"Unspecified chart visualization type.",
"Bar chart.",
"Line chart.",
"Area chart.",
"Pie chart.",
"Scatter chart.",
"Table chart.",
"Score card chart.",
"Sunburst chart.",
"Gauge chart.",
"Sankey chart."
],
"type": "string"
},
"createTime": {
"description": "Output only. Chart create time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"dataSource": {
"$ref": "GoogleCloudContactcenterinsightsV1ChartDataSource"
},
"dateRangeConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1DateRangeConfig",
"description": "Date range config applied to the chart."
},
"description": {
"description": "Chart description",
"type": "string"
},
"displayName": {
"description": "User provided display name of the chart.",
"type": "string"
},
"filter": {
"description": "Filter applied to all charts in the container. Should support scope later.",
"type": "string"
},
"height": {
"description": "The height of the chart in grid units.",
"format": "int32",
"type": "integer"
},
"name": {
"description": "Identifier. Chart resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}",
"type": "string"
},
"updateTime": {
"description": "Output only. Chart last update time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"width": {
"description": "The width of the chart in grid units.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ChartDataSource": {
"description": "The request data for visualizing the dataset in the chart.",
"id": "GoogleCloudContactcenterinsightsV1ChartDataSource",
"properties": {
"generativeInsights": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsights",
"description": "Use natural language query to generate the chart."
},
"queryMetrics": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetrics",
"description": "Use the existing QueryMetrics to generate the chart."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult": {
"description": "The result of testing a constraint expression on a pair of conversations.",
"id": "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult",
"properties": {
"conversationA": {
"description": "The first conversation resource name.",
"type": "string"
},
"conversationB": {
"description": "The second conversation resource name.",
"type": "string"
},
"ruleConstraintResults": {
"description": "The results for each applicable constraint rule.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult": {
"description": "The result of a single constraint rule on the pair of conversations.",
"id": "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult",
"properties": {
"constraintMet": {
"description": "Whether the constraint expression evaluated to true for (A, B) or (B, A).",
"type": "boolean"
},
"error": {
"$ref": "GoogleRpcStatus",
"description": "The error status if the constraint expression failed to evaluate."
},
"ruleId": {
"description": "The rule ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Container": {
"description": "Configurable dashboard's container. Container can contain multiple widgets.",
"id": "GoogleCloudContactcenterinsightsV1Container",
"properties": {
"containerId": {
"description": "Output only. Unique ID for the container.",
"readOnly": true,
"type": "string"
},
"dateRangeConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1DateRangeConfig",
"description": "Date range config applied to all charts in the container."
},
"description": {
"description": "Container description",
"type": "string"
},
"displayName": {
"description": "User provided display name of the Container.",
"type": "string"
},
"filter": {
"description": "Filter applied to all charts in the container. Should support scope later.",
"type": "string"
},
"height": {
"description": "The height of the container in grid units.",
"format": "int32",
"type": "integer"
},
"widgets": {
"description": "Widgets in the Container.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Widget"
},
"type": "array"
},
"width": {
"description": "The width of the container in grid units.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Conversation": {
"description": "The conversation resource.",
"id": "GoogleCloudContactcenterinsightsV1Conversation",
"properties": {
"agentId": {
"description": "An opaque, user-specified string representing the human agent who handled the conversation.",
"type": "string"
},
"callMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationCallMetadata",
"description": "Call-specific metadata."
},
"correlationInfo": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo",
"description": "Output only. Info for correlating across conversations.",
"readOnly": true
},
"createTime": {
"description": "Output only. The time at which the conversation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"dataSource": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationDataSource",
"description": "The source of the audio and transcription for the conversation."
},
"dialogflowIntents": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1DialogflowIntent"
},
"description": "Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}",
"readOnly": true,
"type": "object"
},
"duration": {
"description": "Output only. The duration of the conversation.",
"format": "google-duration",
"readOnly": true,
"type": "string"
},
"expireTime": {
"description": "The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.",
"format": "google-datetime",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "A map for the user to specify any custom fields. A maximum of 100 labels per conversation is allowed, with a maximum of 256 characters per entry.",
"type": "object"
},
"languageCode": {
"description": "A user-specified language code for the conversation.",
"type": "string"
},
"latestAnalysis": {
"$ref": "GoogleCloudContactcenterinsightsV1Analysis",
"description": "Output only. The conversation's latest analysis, if one exists.",
"readOnly": true
},
"latestSummary": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData",
"description": "Output only. Latest summary of the conversation.",
"readOnly": true
},
"medium": {
"description": "Immutable. The conversation medium.",
"enum": [
"MEDIUM_UNSPECIFIED",
"PHONE_CALL",
"CHAT"
],
"enumDescriptions": [
"Default value for unspecified.",
"The format for conversations that took place over the phone.",
"The format for conversations that took place over chat."
],
"type": "string"
},
"metadataJson": {
"description": "Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telephony systems and must be in one of Insight's supported formats.",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}",
"type": "string"
},
"obfuscatedUserId": {
"description": "Obfuscated user ID which the customer sent to us.",
"type": "string"
},
"qualityMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationQualityMetadata",
"description": "Conversation metadata related to quality management."
},
"runtimeAnnotations": {
"description": "Output only. The annotations that were generated during the customer and agent interaction.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1RuntimeAnnotation"
},
"readOnly": true,
"type": "array"
},
"startTime": {
"description": "The time at which the conversation started.",
"format": "google-datetime",
"type": "string"
},
"transcript": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscript",
"description": "Output only. The conversation transcript.",
"readOnly": true
},
"ttl": {
"description": "Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.",
"format": "google-duration",
"type": "string"
},
"turnCount": {
"description": "Output only. The number of turns in the conversation.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"updateTime": {
"description": "Output only. The most recent time at which the conversation was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationCallMetadata": {
"description": "Call-specific metadata.",
"id": "GoogleCloudContactcenterinsightsV1ConversationCallMetadata",
"properties": {
"agentChannel": {
"description": "The audio channel that contains the agent.",
"format": "int32",
"type": "integer"
},
"customerChannel": {
"description": "The audio channel that contains the customer.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo": {
"description": "Info for correlating across conversations.",
"id": "GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo",
"properties": {
"correlationTypes": {
"description": "Output only. The correlation types of this conversation. A single conversation can have multiple correlation types. For example a conversation that only has a single segment is both a SEGMENT and a FULL_CONVERSATION.",
"items": {
"enum": [
"CORRELATION_TYPE_UNSPECIFIED",
"SEGMENT",
"PARTIAL",
"FULL",
"SYNTHETIC"
],
"enumDescriptions": [
"Default value for unspecified.",
"This conversation represents a segment of a full conversation. The lowest level of granularity.",
"This conversation represents a partial conversation of potentially multiple segments but is not a full conversation.",
"This conversation represents a full conversation of potentially multiple segments.",
"This conversation represents a synthetic conversation."
],
"type": "string"
},
"readOnly": true,
"type": "array"
},
"fullConversationCorrelationId": {
"description": "Output only. The full conversation correlation id this conversation is a segment of.",
"readOnly": true,
"type": "string"
},
"mergedFullConversationCorrelationId": {
"description": "Output only. The full conversation correlation id this conversation is a merged conversation of.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationCorrelationResult": {
"description": "The result of testing correlation config on a single conversation.",
"id": "GoogleCloudContactcenterinsightsV1ConversationCorrelationResult",
"properties": {
"conversation": {
"description": "The conversation resource name.",
"type": "string"
},
"ruleResults": {
"description": "The results for each correlation rule.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrelationResult"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrelationResult": {
"description": "The result of a single correlation rule.",
"id": "GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrelationResult",
"properties": {
"correlationId": {
"description": "The correlation ID generated by the join key expression.",
"type": "string"
},
"error": {
"$ref": "GoogleRpcStatus",
"description": "The error status if the join key expression failed to evaluate."
},
"ruleId": {
"description": "The rule ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationDataOptions": {
"description": "Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine.",
"id": "GoogleCloudContactcenterinsightsV1ConversationDataOptions",
"properties": {
"includeDialogflowInteractionData": {
"description": "Whether to include the per turn Dialogflow interaction data in conversation transcript.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationDataSource": {
"description": "The conversation source, which is a combination of transcript and audio.",
"id": "GoogleCloudContactcenterinsightsV1ConversationDataSource",
"properties": {
"dialogflowSource": {
"$ref": "GoogleCloudContactcenterinsightsV1DialogflowSource",
"description": "The source when the conversation comes from Dialogflow."
},
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1GcsSource",
"description": "A Cloud Storage location specification for the audio and transcript."
},
"metadataUri": {
"description": "Cloud Storage URI that points to a file that contains the conversation metadata.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio": {
"description": "A wrapper for holding the audio for any given turn.",
"id": "GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio",
"properties": {
"audioDuration": {
"description": "The duration of the audio.",
"format": "google-duration",
"type": "string"
},
"audioGcsUri": {
"description": "The Cloud Storage URI of the audio for any given turn.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationLevelSentiment": {
"description": "One channel of conversation-level sentiment data.",
"id": "GoogleCloudContactcenterinsightsV1ConversationLevelSentiment",
"properties": {
"channelTag": {
"description": "The channel of the audio that the data applies to.",
"format": "int32",
"type": "integer"
},
"sentimentData": {
"$ref": "GoogleCloudContactcenterinsightsV1SentimentData",
"description": "Data specifying sentiment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationLevelSilence": {
"description": "Conversation-level silence data.",
"id": "GoogleCloudContactcenterinsightsV1ConversationLevelSilence",
"properties": {
"silenceDuration": {
"description": "Amount of time calculated to be in silence.",
"format": "google-duration",
"type": "string"
},
"silencePercentage": {
"description": "Percentage of the total conversation spent in silence.",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationParticipant": {
"description": "The call participant speaking for a given utterance.",
"id": "GoogleCloudContactcenterinsightsV1ConversationParticipant",
"properties": {
"dialogflowParticipant": {
"deprecated": true,
"description": "Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
"type": "string"
},
"dialogflowParticipantName": {
"description": "The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
"type": "string"
},
"obfuscatedExternalUserId": {
"description": "Obfuscated user ID from Dialogflow.",
"type": "string"
},
"role": {
"description": "The role of the participant.",
"enum": [
"ROLE_UNSPECIFIED",
"HUMAN_AGENT",
"AUTOMATED_AGENT",
"END_USER",
"ANY_AGENT"
],
"enumDescriptions": [
"Participant's role is not set.",
"Participant is a human agent.",
"Participant is an automated agent.",
"Participant is an end user who conversed with the contact center.",
"Participant is either a human or automated agent."
],
"type": "string"
},
"userId": {
"description": "A user-specified ID representing the participant.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationQualityMetadata": {
"description": "Conversation metadata related to quality management.",
"id": "GoogleCloudContactcenterinsightsV1ConversationQualityMetadata",
"properties": {
"agentInfo": {
"description": "Information about agents involved in the call.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo"
},
"type": "array"
},
"customerSatisfactionRating": {
"description": "An arbitrary integer value indicating the customer's satisfaction rating.",
"format": "int32",
"type": "integer"
},
"feedbackLabels": {
"description": "Input only. The feedback labels associated with the conversation.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"type": "array"
},
"menuPath": {
"description": "An arbitrary string value specifying the menu path the customer took.",
"type": "string"
},
"waitDuration": {
"description": "The amount of time the customer waited to connect with an agent.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo": {
"description": "Information about an agent involved in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo",
"properties": {
"agentId": {
"description": "A user-specified string representing the agent.",
"type": "string"
},
"agentType": {
"description": "The agent type, e.g. HUMAN_AGENT.",
"enum": [
"ROLE_UNSPECIFIED",
"HUMAN_AGENT",
"AUTOMATED_AGENT",
"END_USER",
"ANY_AGENT"
],
"enumDescriptions": [
"Participant's role is not set.",
"Participant is a human agent.",
"Participant is an automated agent.",
"Participant is an end user who conversed with the contact center.",
"Participant is either a human or automated agent."
],
"type": "string"
},
"deploymentDisplayName": {
"description": "The agent's deployment display name. Only applicable to automated agents.",
"type": "string"
},
"deploymentId": {
"description": "The agent's deployment ID. Only applicable to automated agents.",
"type": "string"
},
"displayName": {
"description": "The agent's name.",
"type": "string"
},
"dispositionCode": {
"description": "A user-provided string indicating the outcome of the agent's segment of the call.",
"type": "string"
},
"location": {
"description": "The agent's location.",
"type": "string"
},
"team": {
"deprecated": true,
"description": "A user-specified string representing the agent's team. Deprecated in favor of the `teams` field.",
"type": "string"
},
"teams": {
"description": "User-specified strings representing the agent's teams.",
"items": {
"type": "string"
},
"type": "array"
},
"versionDisplayName": {
"description": "The agent's version display name. Only applicable to automated agents.",
"type": "string"
},
"versionId": {
"description": "The agent's version ID. Only applicable to automated agents.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData": {
"description": "Conversation summarization suggestion data.",
"id": "GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData",
"properties": {
"answerRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"confidence": {
"description": "The confidence score of the summarization.",
"format": "float",
"type": "number"
},
"conversationModel": {
"description": "The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}",
"type": "string"
},
"generatorId": {
"description": "Agent Assist generator ID.",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "A map that contains metadata about the summarization and the document from which it originates.",
"type": "object"
},
"text": {
"description": "The summarization content that is concatenated into one string.",
"type": "string"
},
"textSections": {
"additionalProperties": {
"type": "string"
},
"description": "The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationTranscript": {
"description": "A message representing the transcript of a conversation.",
"id": "GoogleCloudContactcenterinsightsV1ConversationTranscript",
"properties": {
"transcriptSegments": {
"description": "A list of sequential transcript segments that comprise the conversation.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment": {
"description": "A segment of a full transcript.",
"id": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment",
"properties": {
"channelTag": {
"description": "For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from '1' to 'N'. A channel tag of 0 indicates that the audio is mono.",
"format": "int32",
"type": "integer"
},
"confidence": {
"description": "A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. A default value of 0.0 indicates that the value is unset.",
"format": "float",
"type": "number"
},
"dialogflowSegmentMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata",
"description": "CCAI metadata relating to the current transcript segment."
},
"languageCode": {
"description": "The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\".",
"type": "string"
},
"messageTime": {
"description": "The time that the message occurred, if provided.",
"format": "google-datetime",
"type": "string"
},
"segmentParticipant": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationParticipant",
"description": "The participant of this segment."
},
"sentiment": {
"$ref": "GoogleCloudContactcenterinsightsV1SentimentData",
"description": "The sentiment for this transcript segment."
},
"text": {
"description": "The text of this segment.",
"type": "string"
},
"words": {
"description": "A list of the word-specific information for each word in the segment.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata": {
"description": "Metadata from Dialogflow relating to the current transcript segment.",
"id": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata",
"properties": {
"smartReplyAllowlistCovered": {
"description": "Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo": {
"description": "Word-level info for words in a transcript.",
"id": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo",
"properties": {
"confidence": {
"description": "A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset.",
"format": "float",
"type": "number"
},
"endOffset": {
"description": "Time offset of the end of this word relative to the beginning of the total conversation.",
"format": "google-duration",
"type": "string"
},
"startOffset": {
"description": "Time offset of the start of this word relative to the beginning of the total conversation.",
"format": "google-duration",
"type": "string"
},
"word": {
"description": "The word itself. Includes punctuation marks that surround the word.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CorrelationConfig": {
"description": "A configuration that defines how to correlate conversations for a given a given project.",
"id": "GoogleCloudContactcenterinsightsV1CorrelationConfig",
"properties": {
"createTime": {
"description": "Output only. The time at which the correlation config was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"fullConversationConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1CorrelationTypeConfig",
"description": "The correlation type config for full conversations."
},
"name": {
"description": "Immutable. Identifier. The resource name of the correlation config. Format: projects/{project}/locations/{location}/correlationConfig",
"type": "string"
},
"updateTime": {
"description": "Output only. The time at which the correlation config was last updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CorrelationRule": {
"description": "A correlation rule that defines how to join conversations for a given correlation type.",
"id": "GoogleCloudContactcenterinsightsV1CorrelationRule",
"properties": {
"active": {
"description": "Optional. Whether the config is active to be evaluated.",
"type": "boolean"
},
"constraintExpression": {
"description": "Optional. A cel expression (go/cel) to be evaluated as a boolean value. Two variables conversation_a and conversation_b will be available for evaluation. This expression should evaluate to true if conversation_a and conversation_b should be joined. This is used as an extra constraint on top of the join_key_expression to further refine the group of conversations that are joined together and will be evaluated in both directions. for two conversations c1 and c2 and the result will be OR'd. We will evaluate: f(c1, c2) OR f(c2, c1)",
"type": "string"
},
"joinKeyExpression": {
"description": "Optional. A cel expression (go/cel) to be evaluated as a string value. This string value will be used as the join key for the correlation.",
"type": "string"
},
"ruleId": {
"description": "Required. The unique identifier of the rule.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CorrelationTypeConfig": {
"description": "A list of correlation rules for a given correlation type.",
"id": "GoogleCloudContactcenterinsightsV1CorrelationTypeConfig",
"properties": {
"correlationRules": {
"description": "A list of correlation rules to be evaluated for correlation.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1CorrelationRule"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata": {
"description": "Metadata for a create analysis operation.",
"id": "GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata",
"properties": {
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelector",
"description": "Output only. The annotator selector used for the analysis (if any).",
"readOnly": true
},
"conversation": {
"description": "Output only. The Conversation that this Analysis Operation belongs to.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CreateIssueMetadata": {
"description": "Metadata for creating an issue.",
"id": "GoogleCloudContactcenterinsightsV1CreateIssueMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1CreateIssueRequest",
"description": "The original request for creation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata": {
"description": "Metadata for creating an issue model.",
"id": "GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1CreateIssueModelRequest",
"description": "The original request for creation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CreateIssueModelRequest": {
"description": "The request to create an issue model.",
"id": "GoogleCloudContactcenterinsightsV1CreateIssueModelRequest",
"properties": {
"issueModel": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModel",
"description": "Required. The issue model to create."
},
"parent": {
"description": "Required. The parent resource of the issue model.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1CreateIssueRequest": {
"description": "The request to create an issue.",
"id": "GoogleCloudContactcenterinsightsV1CreateIssueRequest",
"properties": {
"issue": {
"$ref": "GoogleCloudContactcenterinsightsV1Issue",
"description": "Required. The values for the new issue."
},
"parent": {
"description": "Required. The parent resource of the issue.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Dashboard": {
"description": "Configurable dashboard",
"id": "GoogleCloudContactcenterinsightsV1Dashboard",
"properties": {
"createTime": {
"description": "Output only. Dashboard creation time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"dateRangeConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1DateRangeConfig",
"description": "Date range config applied to all charts in the dashboard."
},
"description": {
"description": "Dashboard description",
"type": "string"
},
"displayName": {
"description": "User provided display name of the dashboard.",
"type": "string"
},
"filter": {
"description": "Filter applied to all charts in the dashboard. Should support scope later.",
"type": "string"
},
"name": {
"description": "Identifier. Dashboard resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}",
"type": "string"
},
"readOnly": {
"description": "Output only. Whether the dashboard is read-only. All predefined dashboards are read-only and cannot be modified by the user.",
"readOnly": true,
"type": "boolean"
},
"rootContainer": {
"$ref": "GoogleCloudContactcenterinsightsV1Container",
"description": "The dashboard's root widget container. We want to display the dashboard layout in a tree-like structure, where the root container contains other widgets (containers or charts) as children."
},
"updateTime": {
"description": "Output only. Dashboard last update time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Dataset": {
"description": "Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic)",
"id": "GoogleCloudContactcenterinsightsV1Dataset",
"properties": {
"createTime": {
"description": "Output only. Dataset create time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"description": {
"description": "Dataset description.",
"type": "string"
},
"displayName": {
"description": "Display name for the dataaset",
"type": "string"
},
"name": {
"description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}",
"type": "string"
},
"ttl": {
"description": "Optional. Option TTL for the dataset.",
"format": "google-duration",
"type": "string"
},
"type": {
"description": "Dataset usage type.",
"enum": [
"TYPE_UNSPECIFIED",
"EVAL",
"LIVE"
],
"enumDescriptions": [
"Default value for unspecified.",
"For evals only.",
"Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)"
],
"type": "string"
},
"updateTime": {
"description": "Output only. Dataset update time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DateRangeConfig": {
"description": "Date range configuration for dashboard charts.",
"id": "GoogleCloudContactcenterinsightsV1DateRangeConfig",
"properties": {
"absoluteDateRange": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryInterval",
"description": "An absolute date range."
},
"relativeDateRange": {
"$ref": "GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange",
"description": "A relative date range."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange": {
"description": "Relative date range configuration.",
"id": "GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange",
"properties": {
"quantity": {
"description": "Required. The quantity of units in the past.",
"format": "int64",
"type": "string"
},
"unit": {
"description": "Required. The unit of time.",
"enum": [
"TIME_UNIT_UNSPECIFIED",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
],
"enumDescriptions": [
"Unspecified.",
"Day.",
"Week.",
"Month.",
"Quarter.",
"Year."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata": {
"description": "Metadata for deleting an issue model.",
"id": "GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest",
"description": "The original request for deletion."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest": {
"description": "The request to delete an issue model.",
"id": "GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest",
"properties": {
"name": {
"description": "Required. The name of the issue model to delete.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata": {
"description": "The metadata for deleting a QaQuestionTag Resource.",
"id": "GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest",
"description": "Output only. The original request.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest": {
"description": "The request for deleting a QaQuestionTag.",
"id": "GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest",
"properties": {
"name": {
"description": "Required. The name of the QaQuestionTag to delete.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata": {
"description": "Metadata for deploying an issue model.",
"id": "GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest",
"description": "The original request for deployment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DeployIssueModelRequest": {
"description": "The request to deploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest",
"properties": {
"name": {
"description": "Required. The issue model to deploy.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DeployIssueModelResponse": {
"description": "The response to deploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1DeployIssueModelResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DeployQaScorecardRevisionRequest": {
"description": "The request to deploy a QaScorecardRevision",
"id": "GoogleCloudContactcenterinsightsV1DeployQaScorecardRevisionRequest",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DialogflowIntent": {
"description": "The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.",
"id": "GoogleCloudContactcenterinsightsV1DialogflowIntent",
"properties": {
"displayName": {
"description": "The human-readable name of the intent.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DialogflowInteractionData": {
"description": "Dialogflow interaction data.",
"id": "GoogleCloudContactcenterinsightsV1DialogflowInteractionData",
"properties": {
"confidence": {
"description": "The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "float",
"type": "number"
},
"dialogflowIntentId": {
"description": "The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DialogflowSource": {
"description": "A Dialogflow source of conversation data.",
"id": "GoogleCloudContactcenterinsightsV1DialogflowSource",
"properties": {
"audioUri": {
"description": "Cloud Storage URI that points to a file that contains the conversation audio.",
"type": "string"
},
"dialogflowConversation": {
"description": "Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Dimension": {
"description": "A dimension determines the grouping key for the query. In SQL terms, these would be part of both the \"SELECT\" and \"GROUP BY\" clauses.",
"id": "GoogleCloudContactcenterinsightsV1Dimension",
"properties": {
"agentDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata",
"description": "Output only. Metadata about the agent dimension.",
"readOnly": true
},
"clientSentimentCategoryDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata",
"description": "Output only. Metadata about the client sentiment category dimension.",
"readOnly": true
},
"conversationProfileDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata",
"description": "Output only. Metadata about the conversation profile dimension.",
"readOnly": true
},
"conversationalAgentsPlaybookDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata",
"description": "Output only. Metadata about the Conversational Agents playbook dimension.",
"readOnly": true
},
"conversationalAgentsToolDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata",
"description": "Output only. Metadata about the Conversational Agents tool dimension.",
"readOnly": true
},
"dimensionKey": {
"description": "The key of the dimension.",
"enum": [
"DIMENSION_KEY_UNSPECIFIED",
"ISSUE",
"ISSUE_NAME",
"AGENT",
"AGENT_TEAM",
"QA_QUESTION_ID",
"QA_QUESTION_ANSWER_VALUE",
"QA_SCORECARD_ID",
"CONVERSATION_PROFILE_ID",
"MEDIUM",
"CONVERSATIONAL_AGENTS_PLAYBOOK_ID",
"CONVERSATIONAL_AGENTS_PLAYBOOK_NAME",
"CONVERSATIONAL_AGENTS_TOOL_ID",
"CONVERSATIONAL_AGENTS_TOOL_NAME",
"CLIENT_SENTIMENT_CATEGORY",
"AGENT_VERSION_ID",
"AGENT_DEPLOYMENT_ID",
"AGENT_ASSIST_SUPERVISOR_ID",
"LABEL_KEY",
"LABEL_VALUE",
"LABEL_KEY_AND_VALUE"
],
"enumDescriptions": [
"The key of the dimension is unspecified.",
"The dimension is keyed by issues.",
"The dimension is keyed by issue names.",
"The dimension is keyed by agents.",
"The dimension is keyed by agent teams.",
"The dimension is keyed by QaQuestionIds. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing stats for the same question across different scorecard revisions.",
"The dimension is keyed by QaQuestionIds-Answer value pairs. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing distribution of answers per question across different scorecard revisions.",
"The dimension is keyed by QaScorecardIds. Note that: We only group by the ScorecardId and not the revision-id of the scorecard. This allows for showing stats for the same scorecard across different revisions. This metric is mostly only useful if querying the average normalized score per scorecard.",
"The dimension is keyed by the conversation profile ID.",
"The dimension is keyed by the conversation medium.",
"The dimension is keyed by the Conversational Agents playbook ID.",
"The dimension is keyed by the Conversational Agents playbook display name.",
"The dimension is keyed by the Conversational Agents tool ID.",
"The dimension is keyed by the Conversational Agents tool display name.",
"The dimension is keyed by the client sentiment category.",
"The dimension is keyed by the agent version ID.",
"The dimension is keyed by the agent deployment ID.",
"The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents.",
"The dimension is keyed by label keys.",
"The dimension is keyed by label values.",
"The dimension is keyed by label key-value pairs."
],
"type": "string"
},
"issueDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata",
"description": "Output only. Metadata about the issue dimension.",
"readOnly": true
},
"labelDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata",
"description": "Output only. Metadata about conversation labels.",
"readOnly": true
},
"mediumDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata",
"description": "Output only. Metadata about the conversation medium dimension.",
"readOnly": true
},
"qaQuestionAnswerDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata",
"description": "Output only. Metadata about the QA question-answer dimension.",
"readOnly": true
},
"qaQuestionDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata",
"description": "Output only. Metadata about the QA question dimension.",
"readOnly": true
},
"qaScorecardDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata",
"description": "Output only. Metadata about the QA scorecard dimension.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata": {
"description": "Metadata about the agent dimension.",
"id": "GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata",
"properties": {
"agentDeploymentDisplayName": {
"description": "Optional. The agent's deployment display name. Only applicable to automated agents. This will be populated for AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentDeploymentId": {
"description": "Optional. The agent's deployment ID. Only applicable to automated agents. This will be populated for AGENT and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentDisplayName": {
"description": "Optional. The agent's name This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentId": {
"description": "Optional. A user-specified string representing the agent. This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentTeam": {
"description": "Optional. A user-specified string representing the agent's team.",
"type": "string"
},
"agentVersionDisplayName": {
"description": "Optional. The agent's version display name. Only applicable to automated agents. This will be populated for AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentVersionId": {
"description": "Optional. The agent's version ID. Only applicable to automated agents. This will be populated for AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata": {
"description": "Metadata about the client sentiment category dimension.",
"id": "GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata",
"properties": {
"sentimentCategory": {
"description": "Optional. The client sentiment category.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata": {
"description": "Metadata about the conversation profile dimension.",
"id": "GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata",
"properties": {
"conversationProfileId": {
"description": "Optional. The conversation profile ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata": {
"description": "Metadata about the Conversational Agents playbook dimension.",
"id": "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata",
"properties": {
"playbookDisplayName": {
"description": "Optional. The dialogflow playbook display name.",
"type": "string"
},
"playbookId": {
"description": "Optional. The dialogflow playbook ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata": {
"description": "Metadata about the Conversational Agents tool dimension.",
"id": "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata",
"properties": {
"toolDisplayName": {
"description": "Optional. The dialogflow tool display name.",
"type": "string"
},
"toolId": {
"description": "Optional. The dialogflow tool ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata": {
"description": "Metadata about the issue dimension.",
"id": "GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata",
"properties": {
"issueDisplayName": {
"description": "The issue display name.",
"type": "string"
},
"issueId": {
"description": "The issue ID.",
"type": "string"
},
"issueModelId": {
"description": "The parent issue model ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata": {
"description": "Metadata about conversation labels.",
"id": "GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata",
"properties": {
"labelKey": {
"description": "Optional. The label key.",
"type": "string"
},
"labelValue": {
"description": "Optional. The label value.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata": {
"description": "Metadata about the conversation medium dimension.",
"id": "GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata",
"properties": {
"medium": {
"description": "Optional. The conversation medium. Currently supports : PHONE_CALL, CHAT.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata": {
"description": "Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.",
"id": "GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata",
"properties": {
"answerValue": {
"description": "Optional. The full body of the question.",
"type": "string"
},
"qaQuestionId": {
"description": "Optional. The QA question ID.",
"type": "string"
},
"qaScorecardId": {
"description": "Optional. The QA scorecard ID.",
"type": "string"
},
"questionBody": {
"description": "Optional. The full body of the question.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata": {
"description": "Metadata about the QA question dimension.",
"id": "GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata",
"properties": {
"qaQuestionId": {
"description": "Optional. The QA question ID.",
"type": "string"
},
"qaScorecardId": {
"description": "Optional. The QA scorecard ID.",
"type": "string"
},
"questionBody": {
"description": "Optional. The full body of the question.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata": {
"description": "Metadata about the QA scorecard dimension.",
"id": "GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata",
"properties": {
"qaScorecardId": {
"description": "Optional. The QA scorecard ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1EncryptionSpec": {
"description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`).",
"id": "GoogleCloudContactcenterinsightsV1EncryptionSpec",
"properties": {
"kmsKey": {
"description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by our default encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Entity": {
"description": "The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location.",
"id": "GoogleCloudContactcenterinsightsV1Entity",
"properties": {
"displayName": {
"description": "The representative name for the entity.",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below.",
"type": "object"
},
"salience": {
"description": "The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.",
"format": "float",
"type": "number"
},
"sentiment": {
"$ref": "GoogleCloudContactcenterinsightsV1SentimentData",
"description": "The aggregate sentiment expressed for this entity in the conversation."
},
"type": {
"description": "The entity type.",
"enum": [
"TYPE_UNSPECIFIED",
"PERSON",
"LOCATION",
"ORGANIZATION",
"EVENT",
"WORK_OF_ART",
"CONSUMER_GOOD",
"OTHER",
"PHONE_NUMBER",
"ADDRESS",
"DATE",
"NUMBER",
"PRICE"
],
"enumDescriptions": [
"Unspecified.",
"Person.",
"Location.",
"Organization.",
"Event.",
"Artwork.",
"Consumer product.",
"Other types of entities.",
"Phone number. The metadata lists the phone number (formatted according to local convention), plus whichever additional elements appear in the text: * `number` - The actual number, broken down into sections according to local convention. * `national_prefix` - Country code, if detected. * `area_code` - Region or area code, if detected. * `extension` - Phone extension (to be dialed after connection), if detected.",
"Address. The metadata identifies the street number and locality plus whichever additional elements appear in the text: * `street_number` - Street number. * `locality` - City or town. * `street_name` - Street/route name, if detected. * `postal_code` - Postal code, if detected. * `country` - Country, if detected. * `broad_region` - Administrative area, such as the state, if detected. * `narrow_region` - Smaller administrative area, such as county, if detected. * `sublocality` - Used in Asian addresses to demark a district within a city, if detected.",
"Date. The metadata identifies the components of the date: * `year` - Four digit year, if detected. * `month` - Two digit month number, if detected. * `day` - Two digit day number, if detected.",
"Number. The metadata is the number itself.",
"Price. The metadata identifies the `value` and `currency`."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1EntityMentionData": {
"description": "The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1EntityMentionData",
"properties": {
"entityUniqueId": {
"description": "The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to.",
"type": "string"
},
"sentiment": {
"$ref": "GoogleCloudContactcenterinsightsV1SentimentData",
"description": "Sentiment expressed for this mention of the entity."
},
"type": {
"description": "The type of the entity mention.",
"enum": [
"MENTION_TYPE_UNSPECIFIED",
"PROPER",
"COMMON"
],
"enumDescriptions": [
"Unspecified.",
"Proper noun.",
"Common noun (or noun compound)."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ExactMatchConfig": {
"description": "Exact match configuration.",
"id": "GoogleCloudContactcenterinsightsV1ExactMatchConfig",
"properties": {
"caseSensitive": {
"description": "Whether to consider case sensitivity when performing an exact match.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata": {
"description": "Metadata for an export insights operation.",
"id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata",
"properties": {
"completedExportCount": {
"description": "The number of conversations that were exported successfully.",
"format": "int32",
"type": "integer"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"failedExportCount": {
"description": "The number of conversations that failed to be exported.",
"format": "int32",
"type": "integer"
},
"partialErrors": {
"description": "Partial errors during export operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest",
"description": "The original request for export."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest": {
"description": "The request to export insights.",
"id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest",
"properties": {
"bigQueryDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination",
"description": "Specified if sink is a BigQuery table."
},
"exportSchemaVersion": {
"description": "Optional. Version of the export schema.",
"enum": [
"EXPORT_SCHEMA_VERSION_UNSPECIFIED",
"EXPORT_V1",
"EXPORT_V2",
"EXPORT_V3",
"EXPORT_V4",
"EXPORT_V5",
"EXPORT_V6",
"EXPORT_V7",
"EXPORT_V8",
"EXPORT_V9",
"EXPORT_V10",
"EXPORT_V11",
"EXPORT_V12",
"EXPORT_V13",
"EXPORT_V14",
"EXPORT_V15",
"EXPORT_V16",
"EXPORT_V17",
"EXPORT_VERSION_LATEST_AVAILABLE"
],
"enumDescriptions": [
"Unspecified. Defaults to EXPORT_V3.",
"Export schema version 1.",
"Export schema version 2.",
"Export schema version 3.",
"Export schema version 4.",
"Export schema version 5.",
"Export schema version 6.",
"Export schema version 7.",
"Export schema version 8.",
"Export schema version 9.",
"Export schema version 10.",
"Export schema version 11.",
"Export schema version 12.",
"Export schema version 13.",
"Export schema version 14.",
"Export schema version 15.",
"Export schema version 16.",
"Export schema version 17.",
"Export schema version latest available."
],
"type": "string"
},
"filter": {
"description": "A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.",
"type": "string"
},
"kmsKey": {
"description": "A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}",
"type": "string"
},
"parent": {
"description": "Required. The parent resource to export data from.",
"type": "string"
},
"writeDisposition": {
"description": "Options for what to do if the destination table already exists.",
"enum": [
"WRITE_DISPOSITION_UNSPECIFIED",
"WRITE_TRUNCATE",
"WRITE_APPEND"
],
"enumDescriptions": [
"Write disposition is not specified. Defaults to WRITE_TRUNCATE.",
"If the table already exists, BigQuery will overwrite the table data and use the schema from the load.",
"If the table already exists, BigQuery will append data to the table."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination": {
"description": "A BigQuery Table Reference.",
"id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination",
"properties": {
"dataset": {
"description": "Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.",
"type": "string"
},
"projectId": {
"description": "A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.",
"type": "string"
},
"table": {
"description": "The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse": {
"description": "Response for an export insights operation.",
"id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata": {
"description": "Metadata used for export issue model.",
"id": "GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata",
"properties": {
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequest",
"description": "The original export request."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ExportIssueModelRequest": {
"description": "Request to export an issue model.",
"id": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequest",
"properties": {
"gcsDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination",
"description": "Google Cloud Storage URI to export the issue model to."
},
"name": {
"description": "Required. The issue model to export.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination": {
"description": "Google Cloud Storage Object URI to save the issue model to.",
"id": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination",
"properties": {
"objectUri": {
"description": "Required. Format: `gs:///`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ExportIssueModelResponse": {
"description": "Response from export issue model",
"id": "GoogleCloudContactcenterinsightsV1ExportIssueModelResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1FaqAnswerData": {
"description": "Agent Assist frequently-asked-question answer data.",
"id": "GoogleCloudContactcenterinsightsV1FaqAnswerData",
"properties": {
"answer": {
"description": "The piece of text from the `source` knowledge base document.",
"type": "string"
},
"confidenceScore": {
"description": "The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "float",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the FAQ answer and the document that it originates from.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"question": {
"description": "The corresponding FAQ question.",
"type": "string"
},
"source": {
"description": "The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1FeedbackLabel": {
"description": "Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.",
"id": "GoogleCloudContactcenterinsightsV1FeedbackLabel",
"properties": {
"createTime": {
"description": "Output only. Create time of the label.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"label": {
"description": "String label used for Topic Modeling.",
"type": "string"
},
"labeledResource": {
"description": "Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}`",
"type": "string"
},
"name": {
"description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
"type": "string"
},
"qaAnswerLabel": {
"$ref": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue",
"description": "QaAnswer label used for Quality AI example conversations."
},
"updateTime": {
"description": "Output only. Update time of the label.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest": {
"description": "The message to finalize an assessment. Finalizing makes an assessment and its notes immutable.",
"id": "GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GcsSource": {
"description": "A Cloud Storage source of conversation data.",
"id": "GoogleCloudContactcenterinsightsV1GcsSource",
"properties": {
"audioUri": {
"description": "Cloud Storage URI that points to a file that contains the conversation audio.",
"type": "string"
},
"transcriptUri": {
"description": "Immutable. Cloud Storage URI that points to a file that contains the conversation transcript.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse": {
"description": "The response from a GenerateConversationSignedAudio request.",
"id": "GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse",
"properties": {
"signedAudioUris": {
"$ref": "GoogleCloudContactcenterinsightsV1SignedAudioUris",
"description": "The signed uris for the audio."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript": {
"description": "The conversation transcript for the chart.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript",
"properties": {
"conversationId": {
"description": "The conversation id of the chart.",
"type": "string"
},
"createTime": {
"description": "Output only. The create time of the conversation.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"messages": {
"description": "Ordered list of messages, including user inputs and system responses.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage"
},
"type": "array"
},
"updateTime": {
"description": "Output only. The update time of the conversation.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage": {
"description": "The message in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage",
"properties": {
"createTime": {
"description": "Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"messageId": {
"description": "The message id of the message.",
"type": "string"
},
"systemMessageWrapper": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages",
"description": "A wrapper for system messages per turn."
},
"userMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage",
"description": "A message from the user that is interacting with the system."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage": {
"description": "A message from the system in response to the user. This message can also be a message from the user as historical context for multiturn conversations with the system.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage",
"properties": {
"chartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Chart spec from LLM",
"type": "object"
},
"generatedSqlQuery": {
"description": "Raw SQL from LLM, before templatization",
"type": "string"
},
"textMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput",
"description": "A direct natural language response to the user message."
},
"userProvidedChartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Optional. User provided chart spec",
"type": "object"
},
"userProvidedSqlQuery": {
"description": "Optional. User provided SQL query",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput": {
"description": "A text output message from the system.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput",
"properties": {
"text": {
"description": "The parts of the message.",
"items": {
"type": "string"
},
"type": "array"
},
"textType": {
"description": "The type of the text message.",
"enum": [
"TYPE_UNSPECIFIED",
"THOUGHT",
"FINAL_RESPONSE",
"PROGRESS"
],
"enumDescriptions": [
"The default text type.",
"The text is a thinking plan generated by the thinking tool.",
"The text is a final response to the user question.",
"The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (`THOUGHT`) and the final answer to the user (`FINAL_RESPONSE`). These messages provide insight into the agent's actions."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages": {
"description": "A wrapper for system messages per turn.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages",
"properties": {
"systemMessages": {
"description": "A message from the system in response to the user.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage": {
"description": "The user message.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage",
"properties": {
"text": {
"description": "A message from the user that is interacting with the system.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsights": {
"description": "Request that use natural language query to generate the chart.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsights",
"properties": {
"chartCheckpoint": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint",
"description": "The chart checkpoint used to generate the chart."
},
"chartConversations": {
"deprecated": true,
"description": "Output only. The chart conversations used to generate the chart.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation"
},
"readOnly": true,
"type": "array"
},
"chartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Chart spec for the chart.",
"type": "object"
},
"request": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
},
"sqlComparisonKey": {
"description": "Optional. For charts with comparison, this key will determine the metric that will be compared between the current and another dataset.",
"type": "string"
},
"sqlQuery": {
"description": "SQL query used to generate the chart.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint": {
"description": "The current chart checkpoint state.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint",
"properties": {
"revisionId": {
"description": "The revision id of the chart.",
"type": "string"
},
"sessionId": {
"description": "The session id of the chart.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation": {
"description": "The conversation used to generate the chart.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation",
"properties": {
"conversationId": {
"description": "The conversation id of the chart.",
"type": "string"
},
"createTime": {
"description": "The create time of the conversation.",
"format": "google-datetime",
"type": "string"
},
"messages": {
"description": "Ordered list of messages, including user inputs and system responses.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage"
},
"type": "array"
},
"updateTime": {
"description": "The update time of the conversation.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage": {
"description": "The message in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage",
"properties": {
"createTime": {
"description": "For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.",
"format": "google-datetime",
"type": "string"
},
"messageId": {
"description": "The message id of the message.",
"type": "string"
},
"systemMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage",
"description": "A message from the system in response to the user."
},
"userMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage",
"description": "A message from the user that is interacting with the system."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage": {
"description": "A message from the system in response to the user. This message can also be a message from the user as historical context for multiturn conversations with the system.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage",
"properties": {
"chartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Chart spec from LLM",
"type": "object"
},
"generatedSqlQuery": {
"description": "Raw SQL from LLM, before templatization",
"type": "string"
},
"textOutput": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput",
"description": "A direct natural language response to the user message."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput": {
"description": "A text output message from the system.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput",
"properties": {
"texts": {
"description": "The parts of the message.",
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"description": "The type of the text message.",
"enum": [
"TYPE_UNSPECIFIED",
"THOUGHT",
"FINAL_RESPONSE",
"PROGRESS"
],
"enumDescriptions": [
"The default text type.",
"The text is a thinking plan generated by the thinking tool.",
"The text is a final response to the user question.",
"The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (`THOUGHT`) and the final answer to the user (`FINAL_RESPONSE`). These messages provide insight into the agent's actions."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage": {
"description": "The user message.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage",
"properties": {
"text": {
"description": "A message from the user that is interacting with the system.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata": {
"description": "The metadata for generative insights.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata",
"properties": {
"errorMessages": {
"description": "The error message when the generative insights request fails.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest": {
"description": "The request for generative insights.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest",
"properties": {
"chart": {
"description": "The full name of the chart resource this request corresponds to. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}",
"type": "string"
},
"comparisonFilter": {
"description": "Optional. Filter for the data that can be specified in addition to the natural language query. This `filter` is specifically used for charts where comparisons are possible. For example, \"compare to last month\" or \"compare to previous quarter\".",
"type": "string"
},
"filter": {
"description": "Filter for the data that can be specified in addition to the natural language query. Users are encouraged to use this field to populate time-windows.",
"type": "string"
},
"naturalLanguageQuery": {
"description": "The natural language query specified by the user. If this field is specified, `sql_query` will be ignored.",
"type": "string"
},
"revisionId": {
"description": "Optional. The revision id that maps to the state of the chart state revision. When specified, the backend will reload the chart with the sql and visual spec from that revision.",
"type": "string"
},
"sessionId": {
"description": "Optional. The session id of the conversation. If the session id is not specified, backend will generate a random session id. If the session id is specified, will associate user-provided user_query with the provided session id.",
"type": "string"
},
"sqlComparisonKey": {
"description": "Optional. For charts with comparison, this key will determine the metric that will be compared between the current and another dataset.",
"type": "string"
},
"sqlQuery": {
"description": "Optional. The SQL query specified by the user. This query must be in BigQuery SQL dialect. The `filter` field will also be ignored, as it is assumed that any filtering is already included in the SQL query.",
"type": "string"
},
"userProvidedChartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Optional. The user provided chart spec for the chart. This will be used to override the visual spec generated by the LLM.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsResponse": {
"description": "The response for generative insights.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponse",
"properties": {
"generativeResponses": {
"description": "The full list of generative responses. Each response is ordered by time.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse"
},
"type": "array"
},
"transcript": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript",
"description": "The transcript of the generative insights conversation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse": {
"description": "Wrapper for storing the generative response for a chart.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse",
"properties": {
"chartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The chart spec for the data. This will be specified in the vega-lite or vega format.",
"type": "object"
},
"generatedSqlQuery": {
"description": "The generated SQL query from the LLM. Will be populated during the chart building phase. The generated SQL will be cached in the corresponding chart resource.",
"type": "string"
},
"textMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput",
"description": "The text output from the LLM. Will be populated during the chart building phase. For a reloaded chart, this will NOT be populated. May contain THOUGHT or a FINAL response or some in-progress response."
},
"textOutput": {
"deprecated": true,
"description": "The text output from the LLM. Will be populated during the chart building phase. For a reloaded chart, this will NOT be populated. May contain THOUGHT or a FINAL response or some in-progress response.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput": {
"description": "Wrapper for text output.",
"id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput",
"properties": {
"text": {
"description": "The text output from the LLM.",
"items": {
"type": "string"
},
"type": "array"
},
"textType": {
"description": "The type of text output.",
"enum": [
"TYPE_UNSPECIFIED",
"THOUGHT",
"FINAL_RESPONSE",
"PROGRESS"
],
"enumDescriptions": [
"The type is unspecified.",
"The text is part of LLM reasoning.",
"The text is the final answer from LLM.",
"The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (`THOUGHT`) and the final answer to the user (`FINAL_RESPONSE`). These messages provide insight into the agent's actions."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1HoldData": {
"description": "The data for a hold annotation.",
"id": "GoogleCloudContactcenterinsightsV1HoldData",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata": {
"description": "Metadata used for import issue model.",
"id": "GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata",
"properties": {
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequest",
"description": "The original import request."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ImportIssueModelRequest": {
"description": "Request to import an issue model.",
"id": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequest",
"properties": {
"createNewModel": {
"description": "Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.",
"type": "boolean"
},
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource",
"description": "Google Cloud Storage source message."
},
"parent": {
"description": "Required. The parent resource of the issue model.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource": {
"description": "Google Cloud Storage Object URI to get the issue model file from.",
"id": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource",
"properties": {
"objectUri": {
"description": "Required. Format: `gs:///`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ImportIssueModelResponse": {
"description": "Response from import issue model",
"id": "GoogleCloudContactcenterinsightsV1ImportIssueModelResponse",
"properties": {
"issueModel": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModel",
"description": "The issue model that was imported."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IngestConversationsMetadata": {
"description": "The metadata for an IngestConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1IngestConversationsMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"ingestConversationsStats": {
"$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats",
"description": "Output only. Statistics for IngestConversations operation.",
"readOnly": true
},
"partialErrors": {
"description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"readOnly": true,
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest",
"description": "Output only. The original request for ingest.",
"readOnly": true
},
"sampledConversations": {
"description": "Output only. Stores the conversation resources produced by ingest sampling operations.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats": {
"description": "Statistics for IngestConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats",
"properties": {
"duplicatesSkippedCount": {
"description": "Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"failedIngestCount": {
"description": "Output only. The number of objects which were unable to be ingested due to errors. The errors are populated in the partial_errors field.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"processedObjectCount": {
"description": "Output only. The number of objects processed during the ingest operation.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"successfulIngestCount": {
"description": "Output only. The number of new conversations added during this ingest operation.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IngestConversationsRequest": {
"description": "The request to ingest conversations.",
"id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest",
"properties": {
"conversationConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig",
"description": "Configuration that applies to all conversations."
},
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource",
"description": "A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication."
},
"parent": {
"description": "Required. The parent resource for new conversations.",
"type": "string"
},
"redactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig",
"description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings."
},
"sampleSize": {
"description": "Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.",
"format": "int32",
"type": "integer"
},
"speechConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1SpeechConfig",
"description": "Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings."
},
"transcriptObjectConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig",
"description": "Configuration for when `source` contains conversation transcripts."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig": {
"description": "Configuration that applies to all conversations.",
"id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig",
"properties": {
"agentChannel": {
"description": "Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.",
"format": "int32",
"type": "integer"
},
"agentId": {
"description": "Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the `metadata_bucket_uri`.",
"type": "string"
},
"customerChannel": {
"description": "Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource": {
"description": "Configuration for Cloud Storage bucket sources.",
"id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource",
"properties": {
"audioBucketUri": {
"description": "Optional. The Cloud Storage path to the conversation audio file. Note that: [1] Audio files will be transcribed if not already. [2] Audio files and transcript files must be in separate buckets / folders. [3] A source file and its corresponding audio file must share the same name to be properly ingested, E.g. `gs://bucket/transcript/conversation1.json` and `gs://bucket/audio/conversation1.mp3`.",
"type": "string"
},
"bucketObjectType": {
"description": "Optional. Specifies the type of the objects in `bucket_uri`. Avoid passing this. This is inferred from the `transcript_bucket_uri`, `audio_bucket_uri`.",
"enum": [
"BUCKET_OBJECT_TYPE_UNSPECIFIED",
"TRANSCRIPT",
"AUDIO"
],
"enumDescriptions": [
"The object type is unspecified and will default to `TRANSCRIPT`.",
"The object is a transcript.",
"The object is an audio file."
],
"type": "string"
},
"bucketUri": {
"description": "Optional. The Cloud Storage bucket containing source objects. Avoid passing this. Pass this through one of `transcript_bucket_uri` or `audio_bucket_uri`.",
"type": "string"
},
"customMetadataKeys": {
"description": "Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation.",
"items": {
"type": "string"
},
"type": "array"
},
"metadataBucketUri": {
"description": "Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.",
"type": "string"
},
"transcriptBucketUri": {
"description": "Optional. The Cloud Storage path to the conversation transcripts. Note that: [1] Transcript files are expected to be in JSON format. [2] Transcript, audio, metadata files must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig": {
"description": "Configuration for processing transcript objects.",
"id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig",
"properties": {
"medium": {
"description": "Required. The medium transcript objects represent.",
"enum": [
"MEDIUM_UNSPECIFIED",
"PHONE_CALL",
"CHAT"
],
"enumDescriptions": [
"Default value for unspecified.",
"The format for conversations that took place over the phone.",
"The format for conversations that took place over chat."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IngestConversationsResponse": {
"description": "The response to an IngestConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1IngestConversationsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata": {
"description": "Metadata for initializing a location-level encryption specification.",
"id": "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"partialErrors": {
"description": "Partial errors during initializing operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest",
"description": "Output only. The original request for initialization.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest": {
"description": "The request to initialize a location-level encryption specification.",
"id": "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest",
"properties": {
"encryptionSpec": {
"$ref": "GoogleCloudContactcenterinsightsV1EncryptionSpec",
"description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the `kms_key_name` field is left empty, no encryption will be enforced."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecResponse": {
"description": "The response to initialize a location-level encryption specification.",
"id": "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Intent": {
"description": "The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.",
"id": "GoogleCloudContactcenterinsightsV1Intent",
"properties": {
"displayName": {
"description": "The human-readable name of the intent.",
"type": "string"
},
"id": {
"description": "The unique identifier of the intent.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IntentMatchData": {
"description": "The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences.",
"id": "GoogleCloudContactcenterinsightsV1IntentMatchData",
"properties": {
"intentUniqueId": {
"description": "The id of the matched intent. Can be used to retrieve the corresponding intent information.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1InterruptionData": {
"description": "The data for an interruption annotation.",
"id": "GoogleCloudContactcenterinsightsV1InterruptionData",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Issue": {
"description": "The issue resource.",
"id": "GoogleCloudContactcenterinsightsV1Issue",
"properties": {
"createTime": {
"description": "Output only. The time at which this issue was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayDescription": {
"description": "Representative description of the issue.",
"type": "string"
},
"displayName": {
"description": "The representative name for the issue.",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
"type": "string"
},
"sampleUtterances": {
"description": "Output only. Resource names of the sample representative utterances that match to this issue.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"updateTime": {
"description": "Output only. The most recent time that this issue was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IssueAssignment": {
"description": "Information about the issue.",
"id": "GoogleCloudContactcenterinsightsV1IssueAssignment",
"properties": {
"displayName": {
"description": "Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then.",
"type": "string"
},
"issue": {
"description": "Resource name of the assigned issue.",
"type": "string"
},
"score": {
"description": "Score indicating the likelihood of the issue assignment. currently bounded on [0,1].",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IssueMatchData": {
"description": "The data for an issue match annotation.",
"id": "GoogleCloudContactcenterinsightsV1IssueMatchData",
"properties": {
"issueAssignment": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueAssignment",
"description": "Information about the issue's assignment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IssueModel": {
"description": "The issue model resource.",
"id": "GoogleCloudContactcenterinsightsV1IssueModel",
"properties": {
"createTime": {
"description": "Output only. The time at which this issue model was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "The representative name for the issue model.",
"type": "string"
},
"inputDataConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig",
"description": "Configs for the input data that used to create the issue model."
},
"issueCount": {
"description": "Output only. Number of issues in this issue model.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"languageCode": {
"description": "Language of the model.",
"type": "string"
},
"modelType": {
"description": "Type of the model.",
"enum": [
"MODEL_TYPE_UNSPECIFIED",
"TYPE_V1",
"TYPE_V2"
],
"enumDescriptions": [
"Unspecified model type.",
"Type V1.",
"Type V2."
],
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
"type": "string"
},
"state": {
"description": "Output only. State of the model.",
"enum": [
"STATE_UNSPECIFIED",
"UNDEPLOYED",
"DEPLOYING",
"DEPLOYED",
"UNDEPLOYING",
"DELETING"
],
"enumDescriptions": [
"Unspecified.",
"Model is not deployed but is ready to deploy.",
"Model is being deployed.",
"Model is deployed and is ready to be used. A model can only be used in analysis if it's in this state.",
"Model is being undeployed.",
"Model is being deleted."
],
"readOnly": true,
"type": "string"
},
"trainingStats": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModelLabelStats",
"description": "Output only. Immutable. The issue model's label statistics on its training data.",
"readOnly": true
},
"updateTime": {
"description": "Output only. The most recent time at which the issue model was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig": {
"description": "Configs for the input data used to create the issue model.",
"id": "GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig",
"properties": {
"filter": {
"description": "A filter to reduce the conversations used for training the model to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.",
"type": "string"
},
"medium": {
"deprecated": true,
"description": "Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the `medium` field on `filter`.",
"enum": [
"MEDIUM_UNSPECIFIED",
"PHONE_CALL",
"CHAT"
],
"enumDescriptions": [
"Default value for unspecified.",
"The format for conversations that took place over the phone.",
"The format for conversations that took place over chat."
],
"type": "string"
},
"trainingConversationsCount": {
"description": "Output only. Number of conversations used in training. Output only.",
"format": "int64",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IssueModelLabelStats": {
"description": "Aggregated statistics about an issue model.",
"id": "GoogleCloudContactcenterinsightsV1IssueModelLabelStats",
"properties": {
"analyzedConversationsCount": {
"description": "Number of conversations the issue model has analyzed at this point in time.",
"format": "int64",
"type": "string"
},
"issueStats": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats"
},
"description": "Statistics on each issue. Key is the issue's resource name.",
"type": "object"
},
"unclassifiedConversationsCount": {
"description": "Number of analyzed conversations for which no issue was applicable at this point in time.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats": {
"description": "Aggregated statistics about an issue.",
"id": "GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats",
"properties": {
"displayName": {
"description": "Display name of the issue.",
"type": "string"
},
"issue": {
"description": "Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
"type": "string"
},
"labeledConversationsCount": {
"description": "Number of conversations attached to the issue at this point in time.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1IssueModelResult": {
"description": "Issue Modeling result on a conversation.",
"id": "GoogleCloudContactcenterinsightsV1IssueModelResult",
"properties": {
"issueModel": {
"description": "Issue model that generates the result. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
"type": "string"
},
"issues": {
"description": "All the matched issues.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueAssignment"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse": {
"description": "The response for listing all feedback labels.",
"id": "GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse",
"properties": {
"feedbackLabels": {
"description": "The feedback labels that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListAnalysesResponse": {
"description": "The response to list analyses.",
"id": "GoogleCloudContactcenterinsightsV1ListAnalysesResponse",
"properties": {
"analyses": {
"description": "The analyses that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Analysis"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse": {
"description": "The response of listing views.",
"id": "GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse",
"properties": {
"analysisRules": {
"description": "The analysis_rule that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1AnalysisRule"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse": {
"description": "The response of listing assessment rules.",
"id": "GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse",
"properties": {
"assessmentRules": {
"description": "The assessment rules that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1AssessmentRule"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListAssessmentsResponse": {
"description": "The response of listing assessments.",
"id": "GoogleCloudContactcenterinsightsV1ListAssessmentsResponse",
"properties": {
"assessments": {
"description": "The assessments that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Assessment"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse": {
"description": "The response from a ListAuthorizedViewSet request.",
"id": "GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse",
"properties": {
"authorizedViewSets": {
"description": "The AuthorizedViewSets under the parent.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedViewSet"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse": {
"description": "The response from a ListAuthorizedViews request.",
"id": "GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse",
"properties": {
"authorizedViews": {
"description": "The AuthorizedViews under the parent.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse": {
"description": "The response message for listing auto labeling rules.",
"id": "GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse",
"properties": {
"autoLabelingRules": {
"description": "The auto labeling rules.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1AutoLabelingRule"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListChartsResponse": {
"description": "The response of listing charts.",
"id": "GoogleCloudContactcenterinsightsV1ListChartsResponse",
"properties": {
"charts": {
"description": "The charts under the parent.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Chart"
},
"type": "array"
},
"nextPageToken": {
"description": "The value returned by the last `ListChartsResponse`. This value indicates that this is a continuation of a prior `ListCharts` call and that the system should return the next page of data.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListConversationsResponse": {
"description": "The response of listing conversations.",
"id": "GoogleCloudContactcenterinsightsV1ListConversationsResponse",
"properties": {
"conversations": {
"description": "The conversations that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation"
},
"type": "array"
},
"nextPageToken": {
"description": "A token which can be sent as `page_token` to retrieve the next page. If this field is set, it means there is another page available. If it is not set, it means no other pages are available.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListDashboardsResponse": {
"description": "The response of listing dashboards.",
"id": "GoogleCloudContactcenterinsightsV1ListDashboardsResponse",
"properties": {
"dashboards": {
"description": "The dashboards under the parent.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Dashboard"
},
"type": "array"
},
"nextPageToken": {
"description": "The value returned by the last `ListDashboardsResponse`. This value indicates that this is a continuation of a prior `ListDashboards` call and that the system should return the next page of data.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListDatasetsResponse": {
"description": "The response to list datasets.",
"id": "GoogleCloudContactcenterinsightsV1ListDatasetsResponse",
"properties": {
"datasets": {
"description": "The datasets that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Dataset"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse": {
"description": "The response for listing feedback labels.",
"id": "GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse",
"properties": {
"feedbackLabels": {
"description": "The feedback labels that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
},
"type": "array"
},
"nextPageToken": {
"description": "The next page token.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListIssueModelsResponse": {
"description": "The response of listing issue models.",
"id": "GoogleCloudContactcenterinsightsV1ListIssueModelsResponse",
"properties": {
"issueModels": {
"description": "The issue models that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1IssueModel"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListIssuesResponse": {
"description": "The response of listing issues.",
"id": "GoogleCloudContactcenterinsightsV1ListIssuesResponse",
"properties": {
"issues": {
"description": "The issues that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Issue"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListNotesResponse": {
"description": "The response of listing notes.",
"id": "GoogleCloudContactcenterinsightsV1ListNotesResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"notes": {
"description": "The notes that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Note"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse": {
"description": "The response of listing phrase matchers.",
"id": "GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"phraseMatchers": {
"description": "The phrase matchers that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatcher"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse": {
"description": "The response from a ListQaQuestionTags request.",
"id": "GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"qaQuestionTags": {
"description": "The parent resource of the questions.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionTag"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse": {
"description": "The response from a ListQaQuestions request.",
"id": "GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"qaQuestions": {
"description": "The QaQuestions under the parent.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestion"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse": {
"description": "The response from a ListQaScorecardRevisions request.",
"id": "GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"qaScorecardRevisions": {
"description": "The QaScorecards under the parent.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardRevision"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse": {
"description": "The response from a ListQaScorecards request.",
"id": "GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"qaScorecards": {
"description": "The QaScorecards under the parent.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecard"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ListViewsResponse": {
"description": "The response of listing views.",
"id": "GoogleCloudContactcenterinsightsV1ListViewsResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"views": {
"description": "The views that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1View"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Note": {
"description": "The conversation assessment note resource.",
"id": "GoogleCloudContactcenterinsightsV1Note",
"properties": {
"assessmentNote": {
"$ref": "GoogleCloudContactcenterinsightsV1NoteAssessmentNote",
"description": "The note is associated to the entire parent assessment."
},
"content": {
"description": "The note content.",
"type": "string"
},
"conversationTurnNote": {
"$ref": "GoogleCloudContactcenterinsightsV1NoteConversationTurnNote",
"description": "The note is associated with a conversation turn."
},
"createTime": {
"description": "Output only. The time at which the note was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note}",
"type": "string"
},
"noteCreator": {
"$ref": "GoogleCloudContactcenterinsightsV1UserInfo",
"description": "Output only. The user that created the note.",
"readOnly": true
},
"qaQuestionNote": {
"$ref": "GoogleCloudContactcenterinsightsV1NoteQaQuestionNote",
"description": "The note is associated with a QA question in one of the conversation's scorecard results."
},
"updateTime": {
"description": "Output only. The time at which the note was last updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1NoteAssessmentNote": {
"description": "A note about the entire parent assessment.",
"id": "GoogleCloudContactcenterinsightsV1NoteAssessmentNote",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1NoteConversationTurnNote": {
"description": "A note about a conversation turn.",
"id": "GoogleCloudContactcenterinsightsV1NoteConversationTurnNote",
"properties": {
"turnIndex": {
"description": "The conversation turn index that the note is associated with.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1NoteQaQuestionNote": {
"description": "A note about a QA question.",
"id": "GoogleCloudContactcenterinsightsV1NoteQaQuestionNote",
"properties": {
"qaQuestion": {
"description": "The question resource that the note is associated with.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1PhraseMatchData": {
"description": "The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.",
"id": "GoogleCloudContactcenterinsightsV1PhraseMatchData",
"properties": {
"displayName": {
"description": "The human-readable name of the phrase matcher.",
"type": "string"
},
"phraseMatcher": {
"description": "The unique identifier (the resource name) of the phrase matcher.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1PhraseMatchRule": {
"description": "The data for a phrase match rule.",
"id": "GoogleCloudContactcenterinsightsV1PhraseMatchRule",
"properties": {
"config": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig",
"description": "Provides additional information about the rule that specifies how to apply the rule."
},
"negated": {
"description": "Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.",
"type": "boolean"
},
"query": {
"description": "Required. The phrase to be matched.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig": {
"description": "Configuration information of a phrase match rule.",
"id": "GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig",
"properties": {
"exactMatchConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1ExactMatchConfig",
"description": "The configuration for the exact match rule."
},
"regexMatchConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1RegexMatchConfig",
"description": "The configuration for the regex match rule."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup": {
"description": "A message representing a rule in the phrase matcher.",
"id": "GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup",
"properties": {
"phraseMatchRules": {
"description": "A list of phrase match rules that are included in this group.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchRule"
},
"type": "array"
},
"type": {
"description": "Required. The type of this phrase match rule group.",
"enum": [
"PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED",
"ALL_OF",
"ANY_OF"
],
"enumDescriptions": [
"Unspecified.",
"Must meet all phrase match rules or there is no match.",
"If any of the phrase match rules are met, there is a match."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1PhraseMatcher": {
"description": "The phrase matcher resource.",
"id": "GoogleCloudContactcenterinsightsV1PhraseMatcher",
"properties": {
"activationUpdateTime": {
"description": "Output only. The most recent time at which the activation status was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"active": {
"description": "Applies the phrase matcher only when it is active.",
"type": "boolean"
},
"displayName": {
"description": "The human-readable name of the phrase matcher.",
"type": "string"
},
"name": {
"description": "The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}",
"type": "string"
},
"phraseMatchRuleGroups": {
"description": "A list of phase match rule groups that are included in this matcher.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup"
},
"type": "array"
},
"revisionCreateTime": {
"description": "Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"revisionId": {
"description": "Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567",
"readOnly": true,
"type": "string"
},
"roleMatch": {
"description": "The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.",
"enum": [
"ROLE_UNSPECIFIED",
"HUMAN_AGENT",
"AUTOMATED_AGENT",
"END_USER",
"ANY_AGENT"
],
"enumDescriptions": [
"Participant's role is not set.",
"Participant is a human agent.",
"Participant is an automated agent.",
"Participant is an end user who conversed with the contact center.",
"Participant is either a human or automated agent."
],
"type": "string"
},
"type": {
"description": "Required. The type of this phrase matcher.",
"enum": [
"PHRASE_MATCHER_TYPE_UNSPECIFIED",
"ALL_OF",
"ANY_OF"
],
"enumDescriptions": [
"Unspecified.",
"Must meet all phrase match rule groups or there is no match.",
"If any of the phrase match rule groups are met, there is a match."
],
"type": "string"
},
"updateTime": {
"description": "Output only. The most recent time at which the phrase matcher was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"versionTag": {
"description": "The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1PublishAssessmentRequest": {
"description": "The message to publish an assessment. Draft and appealed assessments can be published. Publishing simply changes the state of the assessment to published, allowing the console and authorized views to filter on the state.",
"id": "GoogleCloudContactcenterinsightsV1PublishAssessmentRequest",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaAnswer": {
"description": "An answer to a QaQuestion.",
"id": "GoogleCloudContactcenterinsightsV1QaAnswer",
"properties": {
"answerSources": {
"description": "Lists all answer sources containing one or more answer values of a specific source type, e.g., all system-generated answer sources, or all manual edit answer sources.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource"
},
"type": "array"
},
"answerValue": {
"$ref": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue",
"description": "The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead."
},
"conversation": {
"description": "The conversation the answer applies to.",
"type": "string"
},
"qaQuestion": {
"description": "The QaQuestion answered by this answer.",
"type": "string"
},
"questionBody": {
"description": "Question text. E.g., \"Did the agent greet the customer?\"",
"type": "string"
},
"tags": {
"description": "User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource": {
"description": "A question may have multiple answers from varying sources, one of which becomes the \"main\" answer above. AnswerSource represents each individual answer.",
"id": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource",
"properties": {
"answerValue": {
"$ref": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue",
"description": "The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead."
},
"sourceType": {
"description": "What created the answer.",
"enum": [
"SOURCE_TYPE_UNSPECIFIED",
"SYSTEM_GENERATED",
"MANUAL_EDIT"
],
"enumDescriptions": [
"Source type is unspecified.",
"Answer was system-generated; created during an Insights analysis.",
"Answer was created by a human via manual edit."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue": {
"description": "Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.",
"id": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue",
"properties": {
"boolValue": {
"description": "Boolean value.",
"type": "boolean"
},
"key": {
"description": "A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.",
"type": "string"
},
"naValue": {
"description": "A value of \"Not Applicable (N/A)\". Should only ever be `true`.",
"type": "boolean"
},
"normalizedScore": {
"description": "Output only. Normalized score of the questions. Calculated as score / potential_score.",
"format": "double",
"readOnly": true,
"type": "number"
},
"numValue": {
"description": "Numerical value.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "Output only. The maximum potential score of the question.",
"format": "double",
"readOnly": true,
"type": "number"
},
"score": {
"description": "Output only. Numerical score of the answer.",
"format": "double",
"readOnly": true,
"type": "number"
},
"skipValue": {
"description": "Output only. A value of \"Skip\". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.",
"readOnly": true,
"type": "boolean"
},
"strValue": {
"description": "String value.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaQuestion": {
"description": "A single question to be scored by the Insights QA feature.",
"id": "GoogleCloudContactcenterinsightsV1QaQuestion",
"properties": {
"abbreviation": {
"description": "Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., \"Greeting\".",
"type": "string"
},
"answerChoices": {
"description": "A list of valid answers to the question, which the LLM must choose from.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice"
},
"type": "array"
},
"answerInstructions": {
"description": "Instructions describing how to determine the answer.",
"type": "string"
},
"createTime": {
"description": "Output only. The time at which this question was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"metrics": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionMetrics",
"description": "Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned."
},
"name": {
"description": "Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}",
"type": "string"
},
"order": {
"description": "Defines the order of the question within its parent scorecard revision.",
"format": "int32",
"type": "integer"
},
"predefinedQuestionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig",
"description": "The configuration of the predefined question. This field will only be set if the Question Type is predefined."
},
"qaQuestionDataOptions": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionQaQuestionDataOptions",
"description": "Options for configuring the data used to generate the QA question."
},
"questionBody": {
"description": "Question text. E.g., \"Did the agent greet the customer?\"",
"type": "string"
},
"questionType": {
"description": "The type of question.",
"enum": [
"QA_QUESTION_TYPE_UNSPECIFIED",
"CUSTOMIZABLE",
"PREDEFINED"
],
"enumDescriptions": [
"The type of the question is unspecified.",
"The default question type. The question is fully customizable by the user.",
"The question type is using a predefined model provided by CCAI teams. Users are not allowed to edit the question_body, answer_choices, upload feedback labels for the question nor fine-tune the question. However, users may edit other fields like question tags, question order, etc."
],
"type": "string"
},
"tags": {
"description": "Questions are tagged for categorization and scoring. Tags can either be: - Default Tags: These are predefined categories. They are identified by their string value (e.g., \"BUSINESS\", \"COMPLIANCE\", and \"CUSTOMER\"). - Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.",
"items": {
"type": "string"
},
"type": "array"
},
"tuningMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata",
"description": "Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned."
},
"updateTime": {
"description": "Output only. The most recent time at which the question was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice": {
"description": "Message representing a possible answer to the question.",
"id": "GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice",
"properties": {
"boolValue": {
"description": "Boolean value.",
"type": "boolean"
},
"key": {
"description": "A short string used as an identifier.",
"type": "string"
},
"naValue": {
"description": "A value of \"Not Applicable (N/A)\". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations.",
"type": "boolean"
},
"numValue": {
"description": "Numerical value.",
"format": "double",
"type": "number"
},
"score": {
"description": "Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.",
"format": "double",
"type": "number"
},
"strValue": {
"description": "String value.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaQuestionMetrics": {
"description": "A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question.",
"id": "GoogleCloudContactcenterinsightsV1QaQuestionMetrics",
"properties": {
"accuracy": {
"description": "Output only. Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.",
"format": "double",
"readOnly": true,
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig": {
"description": "Configuration for a predefined question. This field will only be set if the Question Type is predefined.",
"id": "GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig",
"properties": {
"type": {
"description": "The type of the predefined question.",
"enum": [
"PREDEFINED_QUESTION_TYPE_UNSPECIFIED",
"CONVERSATION_OUTCOME",
"CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE"
],
"enumDescriptions": [
"The type of the predefined question is unspecified.",
"A prebuilt classifier classfying the outcome of the conversation. For example, if the customer issue mentioned in a conversation has been resolved or not.",
"A prebuilt classifier classfying the initiator of the conversation escalation. For example, if it was initiated by the customer or the agent."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaQuestionQaQuestionDataOptions": {
"description": "Options for configuring the data used to generate the QA question.",
"id": "GoogleCloudContactcenterinsightsV1QaQuestionQaQuestionDataOptions",
"properties": {
"conversationDataOptions": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationDataOptions",
"description": "Options for configuring the conversation data used to generate the QA question."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaQuestionTag": {
"description": "A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., \"Customer Satisfaction\",\"Billing\", etc.",
"id": "GoogleCloudContactcenterinsightsV1QaQuestionTag",
"properties": {
"createTime": {
"description": "Output only. The time at which the question tag was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Required. A user-specified display name for the tag.",
"type": "string"
},
"name": {
"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.",
"type": "string"
},
"qaQuestionIds": {
"description": "Optional. 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.",
"items": {
"type": "string"
},
"type": "array"
},
"updateTime": {
"description": "Output only. The most recent time at which the question tag was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata": {
"description": "Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned.",
"id": "GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata",
"properties": {
"datasetValidationWarnings": {
"description": "A list of any applicable data validation warnings about the question's feedback labels.",
"items": {
"enum": [
"DATASET_VALIDATION_WARNING_UNSPECIFIED",
"TOO_MANY_INVALID_FEEDBACK_LABELS",
"INSUFFICIENT_FEEDBACK_LABELS",
"INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER",
"ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER"
],
"enumDescriptions": [
"Unspecified data validation warning.",
"A non-trivial percentage of the feedback labels are invalid.",
"The quantity of valid feedback labels provided is less than the recommended minimum.",
"One or more of the answers have less than the recommended minimum of feedback labels.",
"All the labels in the dataset come from a single answer choice."
],
"type": "string"
},
"type": "array"
},
"totalValidLabelCount": {
"description": "Total number of valid labels provided for the question at the time of tuining.",
"format": "int64",
"type": "string"
},
"tuningError": {
"description": "Error status of the tuning operation for the question. Will only be set if the tuning operation failed.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaScorecard": {
"description": "A QaScorecard represents a collection of questions to be scored during analysis.",
"id": "GoogleCloudContactcenterinsightsV1QaScorecard",
"properties": {
"createTime": {
"description": "Output only. The time at which this scorecard was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"description": {
"description": "A text description explaining the intent of the scorecard.",
"type": "string"
},
"displayName": {
"description": "The user-specified display name of the scorecard.",
"type": "string"
},
"isDefault": {
"description": "Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.",
"type": "boolean"
},
"name": {
"description": "Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}",
"type": "string"
},
"source": {
"description": "Output only. The source of the scorecard.",
"enum": [
"QA_SCORECARD_SOURCE_UNSPECIFIED",
"QA_SCORECARD_SOURCE_CUSTOMER_DEFINED",
"QA_SCORECARD_SOURCE_DISCOVERY_ENGINE"
],
"enumDescriptions": [
"The source of the scorecard is unspecified. Default to QA_SCORECARD_SOURCE_CUSTOMER_DEFINED.",
"The scorecard is a custom scorecard created by the user.",
"The scorecard is a scorecard created through discovery engine deployment."
],
"readOnly": true,
"type": "string"
},
"updateTime": {
"description": "Output only. The most recent time at which the scorecard was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaScorecardResult": {
"description": "The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.",
"id": "GoogleCloudContactcenterinsightsV1QaScorecardResult",
"properties": {
"agentId": {
"description": "ID of the agent that handled the conversation.",
"type": "string"
},
"conversation": {
"description": "The conversation scored by this result.",
"type": "string"
},
"createTime": {
"description": "Output only. The timestamp that the revision was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}",
"type": "string"
},
"normalizedScore": {
"description": "The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
"format": "double",
"type": "number"
},
"qaAnswers": {
"description": "Set of QaAnswers represented in the result.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaAnswer"
},
"type": "array"
},
"qaScorecardRevision": {
"description": "The QaScorecardRevision scored by this result.",
"type": "string"
},
"qaTagResults": {
"description": "Collection of tags and their scores.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult"
},
"type": "array"
},
"score": {
"description": "The overall numerical score of the result, incorporating any manual edits if they exist.",
"format": "double",
"type": "number"
},
"scoreSources": {
"description": "List of all individual score sets.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult": {
"description": "Tags and their corresponding results.",
"id": "GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult",
"properties": {
"normalizedScore": {
"description": "The normalized score the tag applies to.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "The potential score the tag applies to.",
"format": "double",
"type": "number"
},
"score": {
"description": "The score the tag applies to.",
"format": "double",
"type": "number"
},
"tag": {
"description": "The tag the score applies to.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource": {
"description": "A scorecard result may have multiple sets of scores from varying sources, one of which becomes the \"main\" answer above. A ScoreSource represents each individual set of scores.",
"id": "GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource",
"properties": {
"normalizedScore": {
"description": "The normalized score, which is the score divided by the potential score.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
"format": "double",
"type": "number"
},
"qaTagResults": {
"description": "Collection of tags and their scores.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult"
},
"type": "array"
},
"score": {
"description": "The overall numerical score of the result.",
"format": "double",
"type": "number"
},
"sourceType": {
"description": "What created the score.",
"enum": [
"SOURCE_TYPE_UNSPECIFIED",
"SYSTEM_GENERATED_ONLY",
"INCLUDES_MANUAL_EDITS"
],
"enumDescriptions": [
"Source type is unspecified.",
"Score is derived only from system-generated answers.",
"Score is derived from both system-generated answers, and includes any manual edits if they exist."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QaScorecardRevision": {
"description": "A revision of a QaScorecard. Modifying published scorecard fields would invalidate existing scorecard results \u2014 the questions may have changed, or the score weighting will make existing scores impossible to understand. So changes must create a new revision, rather than modifying the existing resource.",
"id": "GoogleCloudContactcenterinsightsV1QaScorecardRevision",
"properties": {
"alternateIds": {
"description": "Output only. Alternative IDs for this revision of the scorecard, e.g., `latest`.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"createTime": {
"description": "Output only. The timestamp that the revision was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Identifier. The name of the scorecard revision. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}",
"type": "string"
},
"snapshot": {
"$ref": "GoogleCloudContactcenterinsightsV1QaScorecard",
"description": "The snapshot of the scorecard at the time of this revision's creation."
},
"state": {
"description": "Output only. State of the scorecard revision, indicating whether it's ready to be used in analysis.",
"enum": [
"STATE_UNSPECIFIED",
"EDITABLE",
"TRAINING",
"TRAINING_FAILED",
"READY",
"DELETING",
"TRAINING_CANCELLED"
],
"enumDescriptions": [
"Unspecified.",
"The scorecard revision can be edited.",
"Scorecard model training is in progress.",
"Scorecard revision model training failed.",
"The revision can be used in analysis.",
"Scorecard is being deleted.",
"Scorecard model training was explicitly cancelled by the user."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryInterval": {
"description": "A time window for querying conversations.",
"id": "GoogleCloudContactcenterinsightsV1QueryInterval",
"properties": {
"endTime": {
"description": "Required. The end time of the time window.",
"format": "google-datetime",
"type": "string"
},
"startTime": {
"description": "Required. The start time of the time window.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetrics": {
"description": "Request data that use the existing QueryMetrics.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetrics",
"properties": {
"request": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsMetadata": {
"description": "The metadata from querying metrics.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsMetadata",
"properties": {
"resultIsTruncated": {
"description": "Whether the result rows were truncated because the result row size is too large to materialize.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsRequest": {
"description": "The request for querying metrics.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsRequest",
"properties": {
"dimensions": {
"description": "The dimensions that determine the grouping key for the query. Defaults to no dimension if this field is unspecified. If a dimension is specified, its key must also be specified. Each dimension's key must be unique. If a time granularity is also specified, metric values in the dimension will be bucketed by this granularity. Up to one dimension is supported for now.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Dimension"
},
"type": "array"
},
"filter": {
"description": "Required. Filter to select a subset of conversations to compute the metrics. Must specify a window of the conversation create time to compute the metrics. The returned metrics will be from the range [DATE(starting create time), DATE(ending create time)). ",
"type": "string"
},
"measureMask": {
"description": "Measures to return. Defaults to all measures if this field is unspecified. A valid mask should traverse from the `measure` field from the response. For example, a path from a measure mask to get the conversation count is \"conversation_measure.count\".",
"format": "google-fieldmask",
"type": "string"
},
"timeGranularity": {
"description": "The time granularity of each data point in the time series. Defaults to NONE if this field is unspecified.",
"enum": [
"TIME_GRANULARITY_UNSPECIFIED",
"NONE",
"DAILY",
"HOURLY",
"PER_MINUTE",
"PER_5_MINUTES",
"MONTHLY"
],
"enumDescriptions": [
"The time granularity is unspecified and will default to NONE.",
"No time granularity. The response won't contain a time series. This is the default value if no time granularity is specified.",
"Data points in the time series will aggregate at a daily granularity. 1 day means [midnight to midnight).",
"Data points in the time series will aggregate at a daily granularity. 1 HOUR means [01:00 to 02:00).",
"Data points in the time series will aggregate at a daily granularity. PER_MINUTE means [01:00 to 01:01).",
"Data points in the time series will aggregate at a 1 minute granularity. PER_5_MINUTES means [01:00 to 01:05).",
"Data points in the time series will aggregate at a monthly granularity. 1 MONTH means [01st of the month to 1st of the next month)."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsResponse": {
"description": "The response for querying metrics.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponse",
"properties": {
"location": {
"description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
"type": "string"
},
"macroAverageSlice": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice",
"description": "The macro average slice contains aggregated averages across all selected dimensions. i.e. if group_by agent and scorecard_id is specified, this field will contain the average across all agents and all scorecards. This field is only populated if the request specifies a Dimension."
},
"slices": {
"description": "A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice"
},
"type": "array"
},
"updateTime": {
"description": "The metrics last update time.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice": {
"description": "A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request. For example, if the request specifies a single ISSUE dimension and it has a cardinality of 2 (i.e. the data used to compute the metrics has 2 issues in total), the response will have 2 slices: * Slice 1 -> dimensions=[Issue 1] * Slice 2 -> dimensions=[Issue 2]",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice",
"properties": {
"dimensions": {
"description": "A unique combination of dimensions that this slice represents.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Dimension"
},
"type": "array"
},
"timeSeries": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries",
"description": "A time series of metric values. This is only populated if the request specifies a time granularity other than NONE."
},
"total": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint",
"description": "The total metric value. The interval of this data point is [starting create time, ending create time) from the request."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint": {
"description": "A data point contains the metric values mapped to an interval.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint",
"properties": {
"conversationMeasure": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure",
"description": "The measure related to conversations."
},
"dialogflowInteractionMeasure": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure",
"description": "The measure related to dialogflow interactions."
},
"interval": {
"$ref": "GoogleTypeInterval",
"description": "The interval that this data point represents. * If this is the total data point, the interval is [starting create time, ending create time) from the request. * If this a data point from the time series, the interval is [time, time + time granularity from the request)."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure": {
"description": "The measure related to conversations.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure",
"properties": {
"aaSupervisorAssignedConversationsCount": {
"description": "The number of conversations that were assigned to an AA human supervisor.",
"format": "int32",
"type": "integer"
},
"aaSupervisorDroppedConversationsCount": {
"description": "The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor.",
"format": "int32",
"type": "integer"
},
"aaSupervisorEscalatedConversationsCount": {
"description": "The number of conversations that were escalated to an AA human supervisor for intervention.",
"format": "int32",
"type": "integer"
},
"aaSupervisorMonitoredConversationsCount": {
"description": "The number of conversations scanned by the AA human supervisor.",
"format": "int32",
"type": "integer"
},
"aaSupervisorTransferredToHumanAgentConvCount": {
"description": "The number of conversations transferred to a human agent.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionAgentMessageTriggerCount": {
"description": "Count of agent messages that triggered an Ai Coach Suggestion.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionAgentUsageCount": {
"description": "Count of Ai Coach Suggestion that has been used by agents.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionAgentUsageRatio": {
"description": "Proportion of Ai Coach Suggestion that has been used by agents.",
"format": "double",
"type": "number"
},
"aiCoachSuggestionCustomerMessageTriggerCount": {
"description": "Count of customer messages that triggered an Ai Coach Suggestion.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionCustomerMessageTriggerRatio": {
"description": "Proportion of customer messages that triggered an Ai Coach Suggestion.",
"format": "double",
"type": "number"
},
"aiCoachSuggestionMessageTriggerCount": {
"description": "Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionMessageTriggerRatio": {
"description": "Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
"format": "double",
"type": "number"
},
"averageAgentSentimentScore": {
"description": "The average agent's sentiment score.",
"format": "float",
"type": "number"
},
"averageClientSentimentScore": {
"description": "The average client's sentiment score.",
"format": "float",
"type": "number"
},
"averageCustomerSatisfactionRating": {
"description": "The average customer satisfaction rating.",
"format": "double",
"type": "number"
},
"averageDuration": {
"description": "The average duration.",
"format": "google-duration",
"type": "string"
},
"averageQaNormalizedScore": {
"description": "The average normalized QA score for a scorecard. When computing the average across a set of conversations, if a conversation has been evaluated with multiple revisions of a scorecard, only the latest revision results will be used. Will exclude 0's in average calculation. Will be only populated if the request specifies a dimension of QA_SCORECARD_ID.",
"format": "double",
"type": "number"
},
"averageQaQuestionNormalizedScore": {
"description": "Average QA normalized score averaged for questions averaged across all revisions of the parent scorecard. Will be only populated if the request specifies a dimension of QA_QUESTION_ID.",
"format": "double",
"type": "number"
},
"averageSilencePercentage": {
"description": "The average silence percentage.",
"format": "float",
"type": "number"
},
"averageSummarizationSuggestionEditDistance": {
"description": "Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion.",
"format": "double",
"type": "number"
},
"averageSummarizationSuggestionNormalizedEditDistance": {
"description": "Normalized Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. Normalized edit distance is the average of (edit distance / summary length).",
"format": "double",
"type": "number"
},
"averageTurnCount": {
"description": "The average turn count.",
"format": "float",
"type": "number"
},
"avgConversationClientTurnSentimentEma": {
"description": "The exponential moving average of the sentiment score of client turns in the conversation.",
"format": "double",
"type": "number"
},
"containedConversationCount": {
"description": "The number of conversations that were contained.",
"format": "int32",
"type": "integer"
},
"containedConversationRatio": {
"description": "The percentage of conversations that were contained.",
"format": "double",
"type": "number"
},
"conversationAiCoachSuggestionCount": {
"description": "Count of conversations that has Ai Coach Suggestions.",
"format": "int32",
"type": "integer"
},
"conversationAiCoachSuggestionRatio": {
"description": "Proportion of conversations that has Ai Coach Suggestions.",
"format": "double",
"type": "number"
},
"conversationCount": {
"description": "The conversation count.",
"format": "int32",
"type": "integer"
},
"conversationSuggestedSummaryRatio": {
"description": "Proportion of conversations that had a suggested summary.",
"format": "double",
"type": "number"
},
"conversationTotalAgentMessageCount": {
"description": "The agent message count.",
"format": "int32",
"type": "integer"
},
"conversationTotalCustomerMessageCount": {
"description": "The customer message count.",
"format": "int32",
"type": "integer"
},
"conversationalAgentsAverageAudioInAudioOutLatency": {
"description": "The average latency of conversational agents' audio in audio out latency per interaction. This is computed as the average of the all the interactions' audio in audio out latencies in a conversation and averaged across conversations.",
"format": "double",
"type": "number"
},
"conversationalAgentsAverageEndToEndLatency": {
"description": "The average latency of conversational agents' latency per interaction. This is computed as the average of the all the iteractions' end to end latencies in a conversation and averaged across conversations. The e2e latency is the time between the end of the user utterance and the start of the agent utterance on the interaction level.",
"format": "double",
"type": "number"
},
"conversationalAgentsAverageLlmCallLatency": {
"description": "The average latency of conversational agents' LLM call latency per interaction. This is computed as the average of the all the interactions LLM call latencies in a conversation and averaged across conversations.",
"format": "double",
"type": "number"
},
"conversationalAgentsAverageTtsLatency": {
"description": "The macro average latency of conversational agents' TTS latency per interaction. This is computed as the average of the all the interactions' TTS latencies in a conversation and averaged across conversations.",
"format": "double",
"type": "number"
},
"dialogflowAverageWebhookLatency": {
"description": "Average latency of dialogflow webhook calls.",
"format": "double",
"type": "number"
},
"dialogflowConversationsEscalationCount": {
"description": "count of conversations that was handed off from virtual agent to human agent.",
"format": "double",
"type": "number"
},
"dialogflowConversationsEscalationRatio": {
"description": "Proportion of conversations that was handed off from virtual agent to human agent.",
"format": "double",
"type": "number"
},
"dialogflowInteractionsNoInputRatio": {
"description": "Proportion of dialogflow interactions that has empty input.",
"format": "double",
"type": "number"
},
"dialogflowInteractionsNoMatchRatio": {
"description": "Proportion of dialogflow interactions that has no intent match for the input.",
"format": "double",
"type": "number"
},
"dialogflowWebhookFailureRatio": {
"description": "Proportion of dialogflow webhook calls that failed.",
"format": "double",
"type": "number"
},
"dialogflowWebhookTimeoutRatio": {
"description": "Proportion of dialogflow webhook calls that timed out.",
"format": "double",
"type": "number"
},
"knowledgeAssistNegativeFeedbackRatio": {
"description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback.",
"format": "double",
"type": "number"
},
"knowledgeAssistPositiveFeedbackRatio": {
"description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback.",
"format": "double",
"type": "number"
},
"knowledgeAssistResultCount": {
"description": "Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user.",
"format": "int32",
"type": "integer"
},
"knowledgeAssistUriClickRatio": {
"description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked.",
"format": "double",
"type": "number"
},
"knowledgeSearchAgentQuerySourceRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made.",
"format": "double",
"type": "number"
},
"knowledgeSearchNegativeFeedbackRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback.",
"format": "double",
"type": "number"
},
"knowledgeSearchPositiveFeedbackRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback.",
"format": "double",
"type": "number"
},
"knowledgeSearchResultCount": {
"description": "Count of knowledge search results (Generative Knowledge Assist) shown to the user.",
"format": "int32",
"type": "integer"
},
"knowledgeSearchSuggestedQuerySourceRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made.",
"format": "double",
"type": "number"
},
"knowledgeSearchUriClickRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked.",
"format": "double",
"type": "number"
},
"qaTagScores": {
"description": "Average QA normalized score for all the tags.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore"
},
"type": "array"
},
"summarizationSuggestionEditRatio": {
"description": "Proportion of summarization suggestions that were manually edited.",
"format": "double",
"type": "number"
},
"summarizationSuggestionResultCount": {
"description": "Count of summarization suggestions results.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore": {
"description": "Average QA normalized score for the tag.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore",
"properties": {
"averageTagNormalizedScore": {
"description": "Average tag normalized score per tag.",
"format": "double",
"type": "number"
},
"tag": {
"description": "Tag name.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure": {
"description": "The measure related to dialogflow interactions.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure",
"properties": {
"percentileAudioInAudioOutLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level."
},
"percentileEndToEndLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for end to end chat latency in milliseconds per dialogflow interaction level."
},
"percentileLlmCallLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for LLM latency in milliseconds per dialogflow interaction level."
},
"percentileToolUseLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for tool use latency in milliseconds per dialogflow interaction level."
},
"percentileTtsLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for TTS latency in milliseconds per dialogflow interaction level."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult": {
"description": "The percentile result. Currently supported percentiles are 50th, 90th, and 99th.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult",
"properties": {
"p50": {
"description": "The 50th percentile value.",
"format": "double",
"type": "number"
},
"p90": {
"description": "The 90th percentile value.",
"format": "double",
"type": "number"
},
"p99": {
"description": "The 99th percentile value.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries": {
"description": "A time series of metric values.",
"id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries",
"properties": {
"dataPoints": {
"description": "The data points that make up the time series .",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewMetadata": {
"description": "The metadata for querying performance overview.",
"id": "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewMetadata",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest": {
"description": "The request for summarizing performance according to different metrics for conversations over a specified time window.",
"id": "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest",
"properties": {
"agentPerformanceSource": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource",
"description": "Conversations are from a single agent."
},
"comparisonQueryInterval": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryInterval",
"description": "The time window of the conversations to compare the performance to."
},
"filter": {
"description": "Optional. Filter to select a subset of conversations to compute the performance overview. Supports the same filters as the filter field in QueryMetricsRequest. The source and query interval/comparison query interval should not be included here.",
"type": "string"
},
"queryInterval": {
"$ref": "GoogleCloudContactcenterinsightsV1QueryInterval",
"description": "Required. The time window of the conversations to derive performance stats from."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource": {
"description": "The entity whose performance is being queried is a single agent.",
"id": "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource",
"properties": {
"agentId": {
"description": "Required. Agent id to query performance overview for.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse": {
"description": "The response for querying performance overview.",
"id": "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse",
"properties": {
"summaryText": {
"description": "The summary text of the performance.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1RedactionConfig": {
"description": "DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations, redaction should be performed in Dialogflow / Agent Assist.",
"id": "GoogleCloudContactcenterinsightsV1RedactionConfig",
"properties": {
"deidentifyTemplate": {
"description": "The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`",
"type": "string"
},
"inspectTemplate": {
"description": "The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1RegexMatchConfig": {
"description": "Regex match configuration.",
"id": "GoogleCloudContactcenterinsightsV1RegexMatchConfig",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1RuntimeAnnotation": {
"description": "An annotation that was generated during the customer and agent interaction.",
"id": "GoogleCloudContactcenterinsightsV1RuntimeAnnotation",
"properties": {
"annotationId": {
"description": "The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}",
"type": "string"
},
"answerFeedback": {
"$ref": "GoogleCloudContactcenterinsightsV1AnswerFeedback",
"description": "The feedback that the customer has about the answer in `data`."
},
"articleSuggestion": {
"$ref": "GoogleCloudContactcenterinsightsV1ArticleSuggestionData",
"description": "Agent Assist Article Suggestion data."
},
"conversationSummarizationSuggestion": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData",
"description": "Conversation summarization suggestion data."
},
"createTime": {
"description": "The time at which this annotation was created.",
"format": "google-datetime",
"type": "string"
},
"dialogflowInteraction": {
"$ref": "GoogleCloudContactcenterinsightsV1DialogflowInteractionData",
"description": "Dialogflow interaction data."
},
"endBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary",
"description": "The boundary in the conversation where the annotation ends, inclusive."
},
"faqAnswer": {
"$ref": "GoogleCloudContactcenterinsightsV1FaqAnswerData",
"description": "Agent Assist FAQ answer data."
},
"smartComposeSuggestion": {
"$ref": "GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData",
"description": "Agent Assist Smart Compose suggestion data."
},
"smartReply": {
"$ref": "GoogleCloudContactcenterinsightsV1SmartReplyData",
"description": "Agent Assist Smart Reply data."
},
"startBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary",
"description": "The boundary in the conversation where the annotation starts, inclusive."
},
"userInput": {
"$ref": "GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput",
"description": "Explicit input used for generating the answer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput": {
"description": "Explicit input used for generating the answer",
"id": "GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput",
"properties": {
"generatorName": {
"description": "The resource name of associated generator. Format: `projects//locations//generators/`",
"type": "string"
},
"query": {
"description": "Query text. Article Search uses this to store the input query used to generate the search results.",
"type": "string"
},
"querySource": {
"description": "Query source for the answer.",
"enum": [
"QUERY_SOURCE_UNSPECIFIED",
"AGENT_QUERY",
"SUGGESTED_QUERY"
],
"enumDescriptions": [
"Unknown query source.",
"The query is from agents.",
"The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SampleConversationsMetadata": {
"description": "The metadata for an SampleConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1SampleConversationsMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"partialErrors": {
"description": "Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"readOnly": true,
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1SampleConversationsRequest",
"description": "Output only. The original request for sample conversations to dataset.",
"readOnly": true
},
"sampleConversationsStats": {
"$ref": "GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats",
"description": "Output only. Statistics for SampleConversations operation.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats": {
"description": "Statistics for SampleConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats",
"properties": {
"failedSampleCount": {
"description": "Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"successfulSampleCount": {
"description": "Output only. The number of new conversations added during this sample operation.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SampleConversationsRequest": {
"description": "The request to sample conversations to a dataset.",
"id": "GoogleCloudContactcenterinsightsV1SampleConversationsRequest",
"properties": {
"destinationDataset": {
"$ref": "GoogleCloudContactcenterinsightsV1Dataset",
"description": "The dataset resource to copy the sampled conversations to."
},
"parent": {
"description": "Required. The parent resource of the dataset.",
"type": "string"
},
"sampleRule": {
"$ref": "GoogleCloudContactcenterinsightsV1SampleRule",
"description": "Optional. The sample rule used for sampling conversations."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SampleConversationsResponse": {
"description": "The response to an SampleConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1SampleConversationsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SampleRule": {
"description": "Message for sampling conversations.",
"id": "GoogleCloudContactcenterinsightsV1SampleRule",
"properties": {
"conversationFilter": {
"description": "To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.",
"type": "string"
},
"dimension": {
"description": "Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.",
"type": "string"
},
"samplePercentage": {
"description": "Percentage of conversations that we should sample based on the dimension between [0, 100].",
"format": "double",
"type": "number"
},
"sampleRow": {
"description": "Number of the conversations that we should sample based on the dimension.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1ScheduleInfo": {
"description": "Message for schedule info.",
"id": "GoogleCloudContactcenterinsightsV1ScheduleInfo",
"properties": {
"endTime": {
"description": "End time of the schedule. If not specified, will keep scheduling new pipelines for execution util the schedule is no longer active or deleted.",
"format": "google-datetime",
"type": "string"
},
"schedule": {
"description": "The groc expression. Format: `every number [synchronized]` Time units can be: minutes, hours Synchronized is optional and indicates that the schedule should be synchronized to the start of the interval: every 5 minutes synchronized means 00:00, 00:05 ... Otherwise the start time is random within the interval. Example: `every 5 minutes` could be 00:02, 00:07, 00:12, ...",
"type": "string"
},
"startTime": {
"description": "Start time of the schedule. If not specified, will start as soon as the schedule is created.",
"format": "google-datetime",
"type": "string"
},
"timeZone": {
"description": "The timezone to use for the groc expression. If not specified, defaults to UTC.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse": {
"description": "The response from a ListAuthorizedViews request.",
"id": "GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse",
"properties": {
"authorizedViews": {
"description": "The AuthorizedViews under the parent.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1AuthorizedView"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SentimentData": {
"description": "The data for a sentiment annotation.",
"id": "GoogleCloudContactcenterinsightsV1SentimentData",
"properties": {
"magnitude": {
"description": "A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score.",
"format": "float",
"type": "number"
},
"score": {
"description": "The sentiment score between -1.0 (negative) and 1.0 (positive).",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Settings": {
"description": "The CCAI Insights project wide settings. Use these settings to configure the behavior of Insights. View these settings with [`getsettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/getSettings) and change the settings with [`updateSettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/updateSettings).",
"id": "GoogleCloudContactcenterinsightsV1Settings",
"properties": {
"analysisConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig",
"description": "Default analysis settings."
},
"conversationTtl": {
"description": "The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.",
"format": "google-duration",
"type": "string"
},
"createTime": {
"description": "Output only. The time at which the settings was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"languageCode": {
"description": "A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to \"en-US\" if it is neither specified on the segment nor here.",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings",
"type": "string"
},
"pubsubNotificationSettings": {
"additionalProperties": {
"type": "string"
},
"description": "A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * \"all-triggers\": Notify each time any of the supported triggers occurs. * \"create-analysis\": Notify each time an analysis is created. * \"create-conversation\": Notify each time a conversation is created. * \"export-insights-data\": Notify each time an export is complete. * \"ingest-conversations\": Notify each time an IngestConversations LRO is complete. * \"update-conversation\": Notify each time a conversation is updated via UpdateConversation. * \"upload-conversation\": Notify when an UploadConversation LRO is complete. * \"update-or-analyze-conversation\": Notify when an analysis for a conversation is completed or when the conversation is updated. The message will contain the conversation with transcript, analysis and other metadata. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}",
"type": "object"
},
"redactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig",
"description": "Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversations coming from CCAI Platform."
},
"screenRecordingBucketUri": {
"description": "Optional. The path to a Cloud Storage bucket containing conversation screen recordings. If provided, Insights will search in the bucket for a screen recording file matching the conversation data source object name prefix. If matches are found, these file URIs will be stored in the conversation screen recordings field.",
"type": "string"
},
"speechConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1SpeechConfig",
"description": "Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversations coming from CCAI Platform."
},
"updateTime": {
"description": "Output only. The time at which the settings were last updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig": {
"description": "Default configuration when creating Analyses in Insights.",
"id": "GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig",
"properties": {
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelector",
"description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run."
},
"runtimeIntegrationAnalysisPercentage": {
"description": "Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100].",
"format": "double",
"type": "number"
},
"uploadConversationAnalysisPercentage": {
"description": "Percentage of conversations created using the UploadConversation endpoint to analyze automatically, between [0, 100].",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SignedAudioUris": {
"description": "Signed audio URIs for a conversation.",
"id": "GoogleCloudContactcenterinsightsV1SignedAudioUris",
"properties": {
"signedDialogflowAudioUri": {
"description": "The signed URI for the audio from the Dialogflow conversation source.",
"type": "string"
},
"signedGcsAudioUri": {
"description": "The signed URI for the audio from the Cloud Storage conversation source.",
"type": "string"
},
"signedTurnLevelAudios": {
"description": "The signed URI for the audio corresponding to each turn in the conversation.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SilenceData": {
"description": "The data for a silence annotation.",
"id": "GoogleCloudContactcenterinsightsV1SilenceData",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData": {
"description": "Agent Assist Smart Compose suggestion data.",
"id": "GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData",
"properties": {
"confidenceScore": {
"description": "The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "double",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the Smart Compose suggestion and the document from which it originates.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"suggestion": {
"description": "The content of the suggestion.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SmartReplyData": {
"description": "Agent Assist Smart Reply data.",
"id": "GoogleCloudContactcenterinsightsV1SmartReplyData",
"properties": {
"confidenceScore": {
"description": "The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "double",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the Smart Reply and the document from which it originates.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"reply": {
"description": "The content of the reply.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1SpeechConfig": {
"description": "Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint.",
"id": "GoogleCloudContactcenterinsightsV1SpeechConfig",
"properties": {
"disableWordTimeOffsets": {
"description": "Whether to disable word time offsets. If true, the `enable_word_time_offsets` field in the recognition config will be set to false.",
"type": "boolean"
},
"speechRecognizer": {
"description": "The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest": {
"description": "The request message for testing auto labeling rules.",
"id": "GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest",
"properties": {
"autoLabelingRule": {
"$ref": "GoogleCloudContactcenterinsightsV1AutoLabelingRule",
"description": "Required. The auto labeling rule to test."
},
"conversation": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation",
"description": "Required. Conversation data to test rules against."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse": {
"description": "The response message for testing auto labeling rules.",
"id": "GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse",
"properties": {
"labelResult": {
"description": "The result of the test auto labeling rule.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadata": {
"description": "Metadata for testing correlation config.",
"id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"dataset": {
"description": "The dataset used for sampling conversations.",
"type": "string"
},
"stats": {
"$ref": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStats",
"description": "The statistics for the operation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStats": {
"description": "Statistics for TestCorrelationConfig operation.",
"id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStats",
"properties": {
"conversationCorrelationErrors": {
"description": "A list of errors that occurred during correlation, one for each conversation that failed.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError"
},
"type": "array"
},
"correlatedConversationsCount": {
"description": "The number of conversations correlated.",
"format": "int32",
"type": "integer"
},
"failedConversationsCount": {
"description": "The number of conversations that failed correlation.",
"format": "int32",
"type": "integer"
},
"partialErrors": {
"description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"sampledConversationsCount": {
"description": "The number of conversations sampled.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError": {
"description": "An error that occurred during correlation for a specific conversation.",
"id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError",
"properties": {
"conversation": {
"description": "The conversation resource name that had an error during correlation.",
"type": "string"
},
"status": {
"$ref": "GoogleRpcStatus",
"description": "The error status."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequest": {
"description": "The request to test correlation config.",
"id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequest",
"properties": {
"conversations": {
"$ref": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequestConversations",
"description": "Optional. A list of conversations to test against."
},
"correlationConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1CorrelationConfig",
"description": "Required. The correlation config to test."
},
"filter": {
"description": "Optional. Filter to select conversations to test correlation against. Conversations matching this filter will be sampled based on start time. The most recent `max_sample_count` conversations will be selected. If no conversations match the filter, the request will fail with an `INVALID_ARGUMENT` error.",
"type": "string"
},
"maxSampleCount": {
"description": "Optional. The maximum number of conversations to sample when using the `filter`. If not set, defaults to 1000. Values greater than 1000 are coerced to 1000. This field is ignored if `conversations` is provided.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequestConversations": {
"description": "Wrapper for a list of conversations.",
"id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequestConversations",
"properties": {
"conversations": {
"description": "Optional. The conversations.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponse": {
"description": "The response of testing correlation config.",
"id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponse",
"properties": {
"detailedResults": {
"$ref": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults",
"description": "Results for the DETAILED_SYNC execution mode."
},
"partialErrors": {
"description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults": {
"description": "Wrapper for detailed, step-by-step results.",
"id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults",
"properties": {
"constraintResults": {
"description": "A list of constraint evaluation results for each pair of conversations.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult"
},
"type": "array"
},
"joinKeyResults": {
"description": "A list of join key correlation results for each conversation tested.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1ConversationCorrelationResult"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1TuneQaScorecardRevisionRequest": {
"description": "Request for TuneQaScorecardRevision endpoint.",
"id": "GoogleCloudContactcenterinsightsV1TuneQaScorecardRevisionRequest",
"properties": {
"filter": {
"description": "Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc.",
"type": "string"
},
"validateOnly": {
"description": "Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata": {
"description": "Metadata for undeploying an issue model.",
"id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest",
"description": "The original request for undeployment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest": {
"description": "The request to undeploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest",
"properties": {
"name": {
"description": "Required. The issue model to undeploy.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse": {
"description": "The response to undeploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1UndeployQaScorecardRevisionRequest": {
"description": "The request to undeploy a QaScorecardRevision",
"id": "GoogleCloudContactcenterinsightsV1UndeployQaScorecardRevisionRequest",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata": {
"description": "The metadata for updating a QaQuestionTag Resource.",
"id": "GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest",
"description": "Output only. The original request.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest": {
"description": "The request for updating a QaQuestionTag.",
"id": "GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest",
"properties": {
"qaQuestionTag": {
"$ref": "GoogleCloudContactcenterinsightsV1QaQuestionTag",
"description": "Required. The QaQuestionTag to update."
},
"updateMask": {
"description": "Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `qa_question_tag_name` - the name of the tag * `qa_question_ids` - the list of questions the tag applies to",
"format": "google-fieldmask",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1UploadConversationMetadata": {
"description": "The metadata for an `UploadConversation` operation.",
"id": "GoogleCloudContactcenterinsightsV1UploadConversationMetadata",
"properties": {
"analysisOperation": {
"description": "Output only. The operation name for a successfully created analysis operation, if any.",
"readOnly": true,
"type": "string"
},
"appliedRedactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig",
"description": "Output only. The redaction config applied to the uploaded conversation.",
"readOnly": true
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1UploadConversationRequest",
"description": "Output only. The original request.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1UploadConversationRequest": {
"description": "Request to upload a conversation.",
"id": "GoogleCloudContactcenterinsightsV1UploadConversationRequest",
"properties": {
"conversation": {
"$ref": "GoogleCloudContactcenterinsightsV1Conversation",
"description": "Required. The conversation resource to create."
},
"conversationId": {
"description": "Optional. A unique ID for the new conversation. This ID will become the final component of the conversation'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-`",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the conversation.",
"type": "string"
},
"redactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig",
"description": "Optional. DLP settings for transcript redaction. Will default to the config specified in Settings."
},
"speechConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1SpeechConfig",
"description": "Optional. Speech-to-Text configuration. Will default to the config specified in Settings."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1UserInfo": {
"description": "Information about a user.",
"id": "GoogleCloudContactcenterinsightsV1UserInfo",
"properties": {
"username": {
"description": "The user's username.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1View": {
"description": "The View resource.",
"id": "GoogleCloudContactcenterinsightsV1View",
"properties": {
"createTime": {
"description": "Output only. The time at which this view was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "The human-readable display name of the view.",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}",
"type": "string"
},
"updateTime": {
"description": "Output only. The most recent time at which the view was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"value": {
"description": "A filter to reduce conversation results to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1Widget": {
"description": "Represents a dashboard element, could be a nested Container or Chart.",
"id": "GoogleCloudContactcenterinsightsV1Widget",
"properties": {
"chart": {
"$ref": "GoogleCloudContactcenterinsightsV1Chart",
"description": "A chart widget."
},
"chartReference": {
"description": "A reference to a chart widget. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}",
"type": "string"
},
"container": {
"$ref": "GoogleCloudContactcenterinsightsV1Container",
"description": "A container widget."
},
"filter": {
"description": "Filter applied to all charts in the container. Should support scope later.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1Analysis": {
"description": "The analysis resource.",
"id": "GoogleCloudContactcenterinsightsV1alpha1Analysis",
"properties": {
"analysisResult": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisResult",
"description": "Output only. The result of the analysis, which is populated when the analysis finishes.",
"readOnly": true
},
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector",
"description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run."
},
"createTime": {
"description": "Output only. The time at which the analysis was created, which occurs when the long-running operation completes.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}",
"type": "string"
},
"requestTime": {
"description": "Output only. The time at which the analysis was requested.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1AnalysisResult": {
"description": "The result of an analysis.",
"id": "GoogleCloudContactcenterinsightsV1alpha1AnalysisResult",
"properties": {
"callAnalysisMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata",
"description": "Call-specific metadata created by the analysis."
},
"endTime": {
"description": "The time at which the analysis ended.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata": {
"description": "Call-specific metadata created during analysis.",
"id": "GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata",
"properties": {
"annotations": {
"description": "A list of call annotations that apply to this call.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1CallAnnotation"
},
"type": "array"
},
"entities": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1Entity"
},
"description": "All the entities in the call.",
"type": "object"
},
"intents": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1Intent"
},
"description": "All the matched intents in the call.",
"type": "object"
},
"issueModelResult": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelResult",
"description": "Overall conversation-level issue modeling result."
},
"phraseMatchers": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData"
},
"description": "All the matched phrase matchers in the call.",
"type": "object"
},
"qaScorecardResults": {
"description": "Results of scoring QaScorecards.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult"
},
"type": "array"
},
"sentiments": {
"description": "Overall conversation-level sentiment for each channel of the call.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment"
},
"type": "array"
},
"silence": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence",
"description": "Overall conversation-level silence during the call."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary": {
"description": "A point in a conversation that marks the start or the end of an annotation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary",
"properties": {
"transcriptIndex": {
"description": "The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.",
"format": "int32",
"type": "integer"
},
"wordIndex": {
"description": "The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector": {
"description": "Selector of all available annotators and phrase matchers to run.",
"id": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector",
"properties": {
"issueModels": {
"description": "The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.",
"items": {
"type": "string"
},
"type": "array"
},
"phraseMatchers": {
"description": "The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}",
"items": {
"type": "string"
},
"type": "array"
},
"qaConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfig",
"description": "Configuration for the QA annotator."
},
"runEntityAnnotator": {
"description": "Whether to run the entity annotator.",
"type": "boolean"
},
"runIntentAnnotator": {
"description": "Whether to run the intent annotator.",
"type": "boolean"
},
"runInterruptionAnnotator": {
"description": "Whether to run the interruption annotator.",
"type": "boolean"
},
"runIssueModelAnnotator": {
"description": "Whether to run the issue model annotator. A model should have already been deployed for this to take effect.",
"type": "boolean"
},
"runPhraseMatcherAnnotator": {
"description": "Whether to run the active phrase matcher annotator(s).",
"type": "boolean"
},
"runQaAnnotator": {
"description": "Whether to run the QA annotator.",
"type": "boolean"
},
"runSentimentAnnotator": {
"description": "Whether to run the sentiment annotator.",
"type": "boolean"
},
"runSilenceAnnotator": {
"description": "Whether to run the silence annotator.",
"type": "boolean"
},
"runSummarizationAnnotator": {
"description": "Whether to run the summarization annotator.",
"type": "boolean"
},
"summarizationConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig",
"description": "Configuration for the summarization annotator."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfig": {
"description": "Configuration for the QA feature.",
"id": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfig",
"properties": {
"scorecardList": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfigScorecardList",
"description": "A manual list of scorecards to score."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfigScorecardList": {
"description": "Container for a list of scorecards.",
"id": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfigScorecardList",
"properties": {
"qaScorecardRevisions": {
"description": "List of QaScorecardRevisions.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig": {
"description": "Configuration for summarization.",
"id": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig",
"properties": {
"conversationProfile": {
"description": "Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}",
"type": "string"
},
"generator": {
"description": "The resource name of the existing created generator. Format: projects//locations//generators/",
"type": "string"
},
"summarizationModel": {
"description": "Default summarization model to be used.",
"enum": [
"SUMMARIZATION_MODEL_UNSPECIFIED",
"BASELINE_MODEL",
"BASELINE_MODEL_V2_0"
],
"enumDeprecated": [
false,
true,
true
],
"enumDescriptions": [
"Unspecified summarization model.",
"The CCAI baseline model. This model is deprecated and will be removed in the future. We recommend using `generator` instead.",
"The CCAI baseline model, V2.0. This model is deprecated and will be removed in the future. We recommend using `generator` instead."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback": {
"description": "The feedback that the customer has about a certain answer in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback",
"properties": {
"clicked": {
"description": "Indicates whether an answer or item was clicked by the human agent.",
"type": "boolean"
},
"correctnessLevel": {
"description": "The correctness level of an answer.",
"enum": [
"CORRECTNESS_LEVEL_UNSPECIFIED",
"NOT_CORRECT",
"PARTIALLY_CORRECT",
"FULLY_CORRECT"
],
"enumDescriptions": [
"Correctness level unspecified.",
"Answer is totally wrong.",
"Answer is partially correct.",
"Answer is fully correct."
],
"type": "string"
},
"displayed": {
"description": "Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData": {
"description": "Agent Assist Article Suggestion data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData",
"properties": {
"confidenceScore": {
"description": "The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "float",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the Article Suggestion and the document that it originates from.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"source": {
"description": "The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}",
"type": "string"
},
"title": {
"description": "Article title.",
"type": "string"
},
"uri": {
"description": "Article URI.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata": {
"description": "The metadata for a bulk analyze conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata",
"properties": {
"completedAnalysesCount": {
"description": "The number of requested analyses that have completed successfully so far.",
"format": "int32",
"type": "integer"
},
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"failedAnalysesCount": {
"description": "The number of requested analyses that have failed so far.",
"format": "int32",
"type": "integer"
},
"partialErrors": {
"description": "Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"readOnly": true,
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest",
"description": "The original request for bulk analyze."
},
"totalRequestedAnalysesCount": {
"description": "Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest": {
"description": "The request to analyze conversations in bulk.",
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest",
"properties": {
"analysisPercentage": {
"description": "Required. Percentage of selected conversation to analyze, between [0, 100].",
"format": "float",
"type": "number"
},
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector",
"description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run."
},
"filter": {
"description": "Required. Filter used to select the subset of conversations to analyze.",
"type": "string"
},
"parent": {
"description": "Required. The parent resource to create analyses in.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse": {
"description": "The response for a bulk analyze conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse",
"properties": {
"failedAnalysisCount": {
"description": "Count of failed analyses.",
"format": "int32",
"type": "integer"
},
"successfulAnalysisCount": {
"description": "Count of successful analyses.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata": {
"description": "The metadata for a bulk delete conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata",
"properties": {
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"partialErrors": {
"description": "Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest",
"description": "The original request for bulk delete."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest": {
"description": "The request to delete conversations in bulk.",
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest",
"properties": {
"filter": {
"description": "Filter used to select the subset of conversations to delete.",
"type": "string"
},
"force": {
"description": "If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.",
"type": "boolean"
},
"maxDeleteCount": {
"description": "Maximum number of conversations to delete.",
"format": "int32",
"type": "integer"
},
"parent": {
"description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse": {
"description": "The response for a bulk delete conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata": {
"description": "Metadata for the BulkDeleteFeedbackLabels endpoint.",
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata",
"properties": {
"partialErrors": {
"description": "Partial errors during deletion operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest",
"description": "Output only. The original request for delete.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest": {
"description": "Request for the BulkDeleteFeedbackLabels endpoint.",
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest",
"properties": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"type": "string"
},
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse": {
"description": "Response for the BulkDeleteFeedbackLabels endpoint.",
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1CallAnnotation": {
"description": "A piece of metadata that applies to a window of a call.",
"id": "GoogleCloudContactcenterinsightsV1alpha1CallAnnotation",
"properties": {
"annotationEndBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary",
"description": "The boundary in the conversation where the annotation ends, inclusive."
},
"annotationStartBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary",
"description": "The boundary in the conversation where the annotation starts, inclusive."
},
"channelTag": {
"description": "The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.",
"format": "int32",
"type": "integer"
},
"entityMentionData": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1EntityMentionData",
"description": "Data specifying an entity mention."
},
"holdData": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1HoldData",
"description": "Data specifying a hold."
},
"intentMatchData": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IntentMatchData",
"description": "Data specifying an intent match."
},
"interruptionData": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1InterruptionData",
"description": "Data specifying an interruption."
},
"issueMatchData": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueMatchData",
"description": "Data specifying an issue match."
},
"phraseMatchData": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData",
"description": "Data specifying a phrase match."
},
"sentimentData": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData",
"description": "Data specifying sentiment."
},
"silenceData": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SilenceData",
"description": "Data specifying silence."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult": {
"description": "The result of testing a constraint expression on a pair of conversations.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult",
"properties": {
"conversationA": {
"description": "The first conversation resource name.",
"type": "string"
},
"conversationB": {
"description": "The second conversation resource name.",
"type": "string"
},
"ruleConstraintResults": {
"description": "The results for each applicable constraint rule.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult": {
"description": "The result of a single constraint rule on the pair of conversations.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult",
"properties": {
"constraintMet": {
"description": "Whether the constraint expression evaluated to true for (A, B) or (B, A).",
"type": "boolean"
},
"error": {
"$ref": "GoogleRpcStatus",
"description": "The error status if the constraint expression failed to evaluate."
},
"ruleId": {
"description": "The rule ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1Conversation": {
"description": "The conversation resource.",
"id": "GoogleCloudContactcenterinsightsV1alpha1Conversation",
"properties": {
"agentId": {
"description": "An opaque, user-specified string representing the human agent who handled the conversation.",
"type": "string"
},
"callMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata",
"description": "Call-specific metadata."
},
"correlationInfo": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo",
"description": "Output only. Info for correlating across conversations.",
"readOnly": true
},
"createTime": {
"description": "Output only. The time at which the conversation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"dataSource": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource",
"description": "The source of the audio and transcription for the conversation."
},
"dialogflowIntents": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent"
},
"description": "Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}",
"readOnly": true,
"type": "object"
},
"duration": {
"description": "Output only. The duration of the conversation.",
"format": "google-duration",
"readOnly": true,
"type": "string"
},
"expireTime": {
"description": "The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.",
"format": "google-datetime",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "A map for the user to specify any custom fields. A maximum of 100 labels per conversation is allowed, with a maximum of 256 characters per entry.",
"type": "object"
},
"languageCode": {
"description": "A user-specified language code for the conversation.",
"type": "string"
},
"latestAnalysis": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1Analysis",
"description": "Output only. The conversation's latest analysis, if one exists.",
"readOnly": true
},
"latestSummary": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData",
"description": "Output only. Latest summary of the conversation.",
"readOnly": true
},
"medium": {
"description": "Immutable. The conversation medium.",
"enum": [
"MEDIUM_UNSPECIFIED",
"PHONE_CALL",
"CHAT"
],
"enumDescriptions": [
"Default value for unspecified.",
"The format for conversations that took place over the phone.",
"The format for conversations that took place over chat."
],
"type": "string"
},
"metadataJson": {
"description": "Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telephony systems and must be in one of Insight's supported formats.",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}",
"type": "string"
},
"obfuscatedUserId": {
"description": "Obfuscated user ID which the customer sent to us.",
"type": "string"
},
"qualityMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata",
"description": "Conversation metadata related to quality management."
},
"runtimeAnnotations": {
"description": "Output only. The annotations that were generated during the customer and agent interaction.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation"
},
"readOnly": true,
"type": "array"
},
"startTime": {
"description": "The time at which the conversation started.",
"format": "google-datetime",
"type": "string"
},
"transcript": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript",
"description": "Output only. The conversation transcript.",
"readOnly": true
},
"ttl": {
"description": "Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.",
"format": "google-duration",
"type": "string"
},
"turnCount": {
"description": "Output only. The number of turns in the conversation.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"updateTime": {
"description": "Output only. The most recent time at which the conversation was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata": {
"description": "Call-specific metadata.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata",
"properties": {
"agentChannel": {
"description": "The audio channel that contains the agent.",
"format": "int32",
"type": "integer"
},
"customerChannel": {
"description": "The audio channel that contains the customer.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo": {
"description": "Info for correlating across conversations.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo",
"properties": {
"correlationTypes": {
"description": "Output only. The correlation types of this conversation. A single conversation can have multiple correlation types. For example a conversation that only has a single segment is both a SEGMENT and a FULL_CONVERSATION.",
"items": {
"enum": [
"CORRELATION_TYPE_UNSPECIFIED",
"SEGMENT",
"PARTIAL",
"FULL",
"SYNTHETIC"
],
"enumDescriptions": [
"Default value for unspecified.",
"This conversation represents a segment of a full conversation. The lowest level of granularity.",
"This conversation represents a partial conversation of potentially multiple segments but is not a full conversation.",
"This conversation represents a full conversation of potentially multiple segments.",
"This conversation represents a synthetic conversation."
],
"type": "string"
},
"readOnly": true,
"type": "array"
},
"fullConversationCorrelationId": {
"description": "Output only. The full conversation correlation id this conversation is a segment of.",
"readOnly": true,
"type": "string"
},
"mergedFullConversationCorrelationId": {
"description": "Output only. The full conversation correlation id this conversation is a merged conversation of.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult": {
"description": "The result of testing correlation config on a single conversation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult",
"properties": {
"conversation": {
"description": "The conversation resource name.",
"type": "string"
},
"ruleResults": {
"description": "The results for each correlation rule.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult": {
"description": "The result of a single correlation rule.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult",
"properties": {
"correlationId": {
"description": "The correlation ID generated by the join key expression.",
"type": "string"
},
"error": {
"$ref": "GoogleRpcStatus",
"description": "The error status if the join key expression failed to evaluate."
},
"ruleId": {
"description": "The rule ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource": {
"description": "The conversation source, which is a combination of transcript and audio.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource",
"properties": {
"dialogflowSource": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DialogflowSource",
"description": "The source when the conversation comes from Dialogflow."
},
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1GcsSource",
"description": "A Cloud Storage location specification for the audio and transcript."
},
"metadataUri": {
"description": "Cloud Storage URI that points to a file that contains the conversation metadata.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment": {
"description": "One channel of conversation-level sentiment data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment",
"properties": {
"channelTag": {
"description": "The channel of the audio that the data applies to.",
"format": "int32",
"type": "integer"
},
"sentimentData": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData",
"description": "Data specifying sentiment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence": {
"description": "Conversation-level silence data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence",
"properties": {
"silenceDuration": {
"description": "Amount of time calculated to be in silence.",
"format": "google-duration",
"type": "string"
},
"silencePercentage": {
"description": "Percentage of the total conversation spent in silence.",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant": {
"description": "The call participant speaking for a given utterance.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant",
"properties": {
"dialogflowParticipant": {
"deprecated": true,
"description": "Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
"type": "string"
},
"dialogflowParticipantName": {
"description": "The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
"type": "string"
},
"obfuscatedExternalUserId": {
"description": "Obfuscated user ID from Dialogflow.",
"type": "string"
},
"role": {
"description": "The role of the participant.",
"enum": [
"ROLE_UNSPECIFIED",
"HUMAN_AGENT",
"AUTOMATED_AGENT",
"END_USER",
"ANY_AGENT"
],
"enumDescriptions": [
"Participant's role is not set.",
"Participant is a human agent.",
"Participant is an automated agent.",
"Participant is an end user who conversed with the contact center.",
"Participant is either a human or automated agent."
],
"type": "string"
},
"userId": {
"description": "A user-specified ID representing the participant.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata": {
"description": "Conversation metadata related to quality management.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata",
"properties": {
"agentInfo": {
"description": "Information about agents involved in the call.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo"
},
"type": "array"
},
"customerSatisfactionRating": {
"description": "An arbitrary integer value indicating the customer's satisfaction rating.",
"format": "int32",
"type": "integer"
},
"feedbackLabels": {
"description": "Input only. The feedback labels associated with the conversation.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
},
"type": "array"
},
"menuPath": {
"description": "An arbitrary string value specifying the menu path the customer took.",
"type": "string"
},
"waitDuration": {
"description": "The amount of time the customer waited to connect with an agent.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo": {
"description": "Information about an agent involved in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo",
"properties": {
"agentId": {
"description": "A user-specified string representing the agent.",
"type": "string"
},
"agentType": {
"description": "The agent type, e.g. HUMAN_AGENT.",
"enum": [
"ROLE_UNSPECIFIED",
"HUMAN_AGENT",
"AUTOMATED_AGENT",
"END_USER",
"ANY_AGENT"
],
"enumDescriptions": [
"Participant's role is not set.",
"Participant is a human agent.",
"Participant is an automated agent.",
"Participant is an end user who conversed with the contact center.",
"Participant is either a human or automated agent."
],
"type": "string"
},
"deploymentDisplayName": {
"description": "The agent's deployment display name. Only applicable to automated agents.",
"type": "string"
},
"deploymentId": {
"description": "The agent's deployment ID. Only applicable to automated agents.",
"type": "string"
},
"displayName": {
"description": "The agent's name.",
"type": "string"
},
"dispositionCode": {
"description": "A user-provided string indicating the outcome of the agent's segment of the call.",
"type": "string"
},
"location": {
"description": "The agent's location.",
"type": "string"
},
"team": {
"deprecated": true,
"description": "A user-specified string representing the agent's team. Deprecated in favor of the `teams` field.",
"type": "string"
},
"teams": {
"description": "User-specified strings representing the agent's teams.",
"items": {
"type": "string"
},
"type": "array"
},
"versionDisplayName": {
"description": "The agent's version display name. Only applicable to automated agents.",
"type": "string"
},
"versionId": {
"description": "The agent's version ID. Only applicable to automated agents.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData": {
"description": "Conversation summarization suggestion data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData",
"properties": {
"answerRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"confidence": {
"description": "The confidence score of the summarization.",
"format": "float",
"type": "number"
},
"conversationModel": {
"description": "The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}",
"type": "string"
},
"generatorId": {
"description": "Agent Assist generator ID.",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "A map that contains metadata about the summarization and the document from which it originates.",
"type": "object"
},
"text": {
"description": "The summarization content that is concatenated into one string.",
"type": "string"
},
"textSections": {
"additionalProperties": {
"type": "string"
},
"description": "The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript": {
"description": "A message representing the transcript of a conversation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript",
"properties": {
"transcriptSegments": {
"description": "A list of sequential transcript segments that comprise the conversation.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment": {
"description": "A segment of a full transcript.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment",
"properties": {
"channelTag": {
"description": "For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from '1' to 'N'. A channel tag of 0 indicates that the audio is mono.",
"format": "int32",
"type": "integer"
},
"confidence": {
"description": "A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. A default value of 0.0 indicates that the value is unset.",
"format": "float",
"type": "number"
},
"dialogflowSegmentMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata",
"description": "CCAI metadata relating to the current transcript segment."
},
"languageCode": {
"description": "The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\".",
"type": "string"
},
"messageTime": {
"description": "The time that the message occurred, if provided.",
"format": "google-datetime",
"type": "string"
},
"segmentParticipant": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant",
"description": "The participant of this segment."
},
"sentiment": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData",
"description": "The sentiment for this transcript segment."
},
"text": {
"description": "The text of this segment.",
"type": "string"
},
"words": {
"description": "A list of the word-specific information for each word in the segment.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata": {
"description": "Metadata from Dialogflow relating to the current transcript segment.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata",
"properties": {
"smartReplyAllowlistCovered": {
"description": "Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo": {
"description": "Word-level info for words in a transcript.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo",
"properties": {
"confidence": {
"description": "A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset.",
"format": "float",
"type": "number"
},
"endOffset": {
"description": "Time offset of the end of this word relative to the beginning of the total conversation.",
"format": "google-duration",
"type": "string"
},
"startOffset": {
"description": "Time offset of the start of this word relative to the beginning of the total conversation.",
"format": "google-duration",
"type": "string"
},
"word": {
"description": "The word itself. Includes punctuation marks that surround the word.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata": {
"description": "Metadata for a create analysis operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata",
"properties": {
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector",
"description": "Output only. The annotator selector used for the analysis (if any).",
"readOnly": true
},
"conversation": {
"description": "Output only. The Conversation that this Analysis Operation belongs to.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata": {
"description": "Metadata for creating an issue.",
"id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest",
"description": "The original request for creation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata": {
"description": "Metadata for creating an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest",
"description": "The original request for creation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest": {
"description": "The request to create an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest",
"properties": {
"issueModel": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel",
"description": "Required. The issue model to create."
},
"parent": {
"description": "Required. The parent resource of the issue model.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest": {
"description": "The request to create an issue.",
"id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest",
"properties": {
"issue": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1Issue",
"description": "Required. The values for the new issue."
},
"parent": {
"description": "Required. The parent resource of the issue.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1Dataset": {
"description": "Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic)",
"id": "GoogleCloudContactcenterinsightsV1alpha1Dataset",
"properties": {
"createTime": {
"description": "Output only. Dataset create time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"description": {
"description": "Dataset description.",
"type": "string"
},
"displayName": {
"description": "Display name for the dataaset",
"type": "string"
},
"name": {
"description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}",
"type": "string"
},
"ttl": {
"description": "Optional. Option TTL for the dataset.",
"format": "google-duration",
"type": "string"
},
"type": {
"description": "Dataset usage type.",
"enum": [
"TYPE_UNSPECIFIED",
"EVAL",
"LIVE"
],
"enumDescriptions": [
"Default value for unspecified.",
"For evals only.",
"Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)"
],
"type": "string"
},
"updateTime": {
"description": "Output only. Dataset update time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata": {
"description": "Metadata for deleting an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest",
"description": "The original request for deletion."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest": {
"description": "The request to delete an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest",
"properties": {
"name": {
"description": "Required. The name of the issue model to delete.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata": {
"description": "The metadata for deleting a QaQuestionTag Resource.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest",
"description": "Output only. The original request.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest": {
"description": "The request for deleting a QaQuestionTag.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest",
"properties": {
"name": {
"description": "Required. The name of the QaQuestionTag to delete.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata": {
"description": "Metadata for deploying an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest",
"description": "The original request for deployment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest": {
"description": "The request to deploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest",
"properties": {
"name": {
"description": "Required. The issue model to deploy.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse": {
"description": "The response to deploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent": {
"description": "The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent",
"properties": {
"displayName": {
"description": "The human-readable name of the intent.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData": {
"description": "Dialogflow interaction data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData",
"properties": {
"confidence": {
"description": "The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "float",
"type": "number"
},
"dialogflowIntentId": {
"description": "The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DialogflowSource": {
"description": "A Dialogflow source of conversation data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DialogflowSource",
"properties": {
"audioUri": {
"description": "Cloud Storage URI that points to a file that contains the conversation audio.",
"type": "string"
},
"dialogflowConversation": {
"description": "Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1Dimension": {
"description": "A dimension determines the grouping key for the query. In SQL terms, these would be part of both the \"SELECT\" and \"GROUP BY\" clauses.",
"id": "GoogleCloudContactcenterinsightsV1alpha1Dimension",
"properties": {
"agentDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata",
"description": "Output only. Metadata about the agent dimension.",
"readOnly": true
},
"clientSentimentCategoryDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionClientSentimentCategoryDimensionMetadata",
"description": "Output only. Metadata about the client sentiment category dimension.",
"readOnly": true
},
"conversationProfileDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata",
"description": "Output only. Metadata about the conversation profile dimension.",
"readOnly": true
},
"conversationalAgentsPlaybookDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata",
"description": "Output only. Metadata about the Conversational Agents playbook dimension.",
"readOnly": true
},
"conversationalAgentsToolDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata",
"description": "Output only. Metadata about the Conversational Agents tool dimension.",
"readOnly": true
},
"dimensionKey": {
"description": "The key of the dimension.",
"enum": [
"DIMENSION_KEY_UNSPECIFIED",
"ISSUE",
"ISSUE_NAME",
"AGENT",
"AGENT_TEAM",
"QA_QUESTION_ID",
"QA_QUESTION_ANSWER_VALUE",
"QA_SCORECARD_ID",
"CONVERSATION_PROFILE_ID",
"MEDIUM",
"CONVERSATIONAL_AGENTS_PLAYBOOK_ID",
"CONVERSATIONAL_AGENTS_PLAYBOOK_NAME",
"CONVERSATIONAL_AGENTS_TOOL_ID",
"CONVERSATIONAL_AGENTS_TOOL_NAME",
"CLIENT_SENTIMENT_CATEGORY",
"AGENT_VERSION_ID",
"AGENT_DEPLOYMENT_ID",
"AGENT_ASSIST_SUPERVISOR_ID",
"LABEL_KEY",
"LABEL_VALUE",
"LABEL_KEY_AND_VALUE"
],
"enumDescriptions": [
"The key of the dimension is unspecified.",
"The dimension is keyed by issues.",
"The dimension is keyed by issue names.",
"The dimension is keyed by agents.",
"The dimension is keyed by agent teams.",
"The dimension is keyed by QaQuestionIds. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing stats for the same question across different scorecard revisions.",
"The dimension is keyed by QaQuestionIds-Answer value pairs. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing distribution of answers per question across different scorecard revisions.",
"The dimension is keyed by QaScorecardIds. Note that: We only group by the ScorecardId and not the revision-id of the scorecard. This allows for showing stats for the same scorecard across different revisions. This metric is mostly only useful if querying the average normalized score per scorecard.",
"The dimension is keyed by the conversation profile ID.",
"The dimension is keyed by the conversation medium.",
"The dimension is keyed by the Conversational Agents playbook ID.",
"The dimension is keyed by the Conversational Agents playbook display name.",
"The dimension is keyed by the Conversational Agents tool ID.",
"The dimension is keyed by the Conversational Agents tool display name.",
"The dimension is keyed by the client sentiment category.",
"The dimension is keyed by the agent version ID.",
"The dimension is keyed by the agent deployment ID.",
"The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents.",
"The dimension is keyed by label keys.",
"The dimension is keyed by label values.",
"The dimension is keyed by label key-value pairs."
],
"type": "string"
},
"issueDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata",
"description": "Output only. Metadata about the issue dimension.",
"readOnly": true
},
"labelDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata",
"description": "Output only. Metadata about conversation labels.",
"readOnly": true
},
"mediumDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata",
"description": "Output only. Metadata about the conversation medium dimension.",
"readOnly": true
},
"qaQuestionAnswerDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata",
"description": "Output only. Metadata about the QA question-answer dimension.",
"readOnly": true
},
"qaQuestionDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata",
"description": "Output only. Metadata about the QA question dimension.",
"readOnly": true
},
"qaScorecardDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata",
"description": "Output only. Metadata about the QA scorecard dimension.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata": {
"description": "Metadata about the agent dimension.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata",
"properties": {
"agentDeploymentDisplayName": {
"description": "Optional. The agent's deployment display name. Only applicable to automated agents. This will be populated for AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentDeploymentId": {
"description": "Optional. The agent's deployment ID. Only applicable to automated agents. This will be populated for AGENT and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentDisplayName": {
"description": "Optional. The agent's name This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentId": {
"description": "Optional. A user-specified string representing the agent. This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentTeam": {
"description": "Optional. A user-specified string representing the agent's team.",
"type": "string"
},
"agentVersionDisplayName": {
"description": "Optional. The agent's version display name. Only applicable to automated agents. This will be populated for AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentVersionId": {
"description": "Optional. The agent's version ID. Only applicable to automated agents. This will be populated for AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionClientSentimentCategoryDimensionMetadata": {
"description": "Metadata about the client sentiment category dimension.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionClientSentimentCategoryDimensionMetadata",
"properties": {
"sentimentCategory": {
"description": "Optional. The client sentiment category.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata": {
"description": "Metadata about the conversation profile dimension.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata",
"properties": {
"conversationProfileId": {
"description": "Optional. The conversation profile ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata": {
"description": "Metadata about the Conversational Agents playbook dimension.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata",
"properties": {
"playbookDisplayName": {
"description": "Optional. The dialogflow playbook display name.",
"type": "string"
},
"playbookId": {
"description": "Optional. The dialogflow playbook ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata": {
"description": "Metadata about the Conversational Agents tool dimension.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata",
"properties": {
"toolDisplayName": {
"description": "Optional. The dialogflow tool display name.",
"type": "string"
},
"toolId": {
"description": "Optional. The dialogflow tool ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata": {
"description": "Metadata about the issue dimension.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata",
"properties": {
"issueDisplayName": {
"description": "The issue display name.",
"type": "string"
},
"issueId": {
"description": "The issue ID.",
"type": "string"
},
"issueModelId": {
"description": "The parent issue model ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata": {
"description": "Metadata about conversation labels.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata",
"properties": {
"labelKey": {
"description": "Optional. The label key.",
"type": "string"
},
"labelValue": {
"description": "Optional. The label value.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata": {
"description": "Metadata about the conversation medium dimension.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata",
"properties": {
"medium": {
"description": "Optional. The conversation medium. Currently supports : PHONE_CALL, CHAT.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata": {
"description": "Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata",
"properties": {
"answerValue": {
"description": "Optional. The full body of the question.",
"type": "string"
},
"qaQuestionId": {
"description": "Optional. The QA question ID.",
"type": "string"
},
"qaScorecardId": {
"description": "Optional. The QA scorecard ID.",
"type": "string"
},
"questionBody": {
"description": "Optional. The full body of the question.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata": {
"description": "Metadata about the QA question dimension.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata",
"properties": {
"qaQuestionId": {
"description": "Optional. The QA question ID.",
"type": "string"
},
"qaScorecardId": {
"description": "Optional. The QA scorecard ID.",
"type": "string"
},
"questionBody": {
"description": "Optional. The full body of the question.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata": {
"description": "Metadata about the QA scorecard dimension.",
"id": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata",
"properties": {
"qaScorecardId": {
"description": "Optional. The QA scorecard ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec": {
"description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`).",
"id": "GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec",
"properties": {
"kmsKey": {
"description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by our default encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1Entity": {
"description": "The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location.",
"id": "GoogleCloudContactcenterinsightsV1alpha1Entity",
"properties": {
"displayName": {
"description": "The representative name for the entity.",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below.",
"type": "object"
},
"salience": {
"description": "The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.",
"format": "float",
"type": "number"
},
"sentiment": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData",
"description": "The aggregate sentiment expressed for this entity in the conversation."
},
"type": {
"description": "The entity type.",
"enum": [
"TYPE_UNSPECIFIED",
"PERSON",
"LOCATION",
"ORGANIZATION",
"EVENT",
"WORK_OF_ART",
"CONSUMER_GOOD",
"OTHER",
"PHONE_NUMBER",
"ADDRESS",
"DATE",
"NUMBER",
"PRICE"
],
"enumDescriptions": [
"Unspecified.",
"Person.",
"Location.",
"Organization.",
"Event.",
"Artwork.",
"Consumer product.",
"Other types of entities.",
"Phone number. The metadata lists the phone number (formatted according to local convention), plus whichever additional elements appear in the text: * `number` - The actual number, broken down into sections according to local convention. * `national_prefix` - Country code, if detected. * `area_code` - Region or area code, if detected. * `extension` - Phone extension (to be dialed after connection), if detected.",
"Address. The metadata identifies the street number and locality plus whichever additional elements appear in the text: * `street_number` - Street number. * `locality` - City or town. * `street_name` - Street/route name, if detected. * `postal_code` - Postal code, if detected. * `country` - Country, if detected. * `broad_region` - Administrative area, such as the state, if detected. * `narrow_region` - Smaller administrative area, such as county, if detected. * `sublocality` - Used in Asian addresses to demark a district within a city, if detected.",
"Date. The metadata identifies the components of the date: * `year` - Four digit year, if detected. * `month` - Two digit month number, if detected. * `day` - Two digit day number, if detected.",
"Number. The metadata is the number itself.",
"Price. The metadata identifies the `value` and `currency`."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1EntityMentionData": {
"description": "The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1EntityMentionData",
"properties": {
"entityUniqueId": {
"description": "The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to.",
"type": "string"
},
"sentiment": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData",
"description": "Sentiment expressed for this mention of the entity."
},
"type": {
"description": "The type of the entity mention.",
"enum": [
"MENTION_TYPE_UNSPECIFIED",
"PROPER",
"COMMON"
],
"enumDescriptions": [
"Unspecified.",
"Proper noun.",
"Common noun (or noun compound)."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata": {
"description": "Metadata for an export insights operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata",
"properties": {
"completedExportCount": {
"description": "The number of conversations that were exported successfully.",
"format": "int32",
"type": "integer"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"failedExportCount": {
"description": "The number of conversations that failed to be exported.",
"format": "int32",
"type": "integer"
},
"partialErrors": {
"description": "Partial errors during export operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest",
"description": "The original request for export."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest": {
"description": "The request to export insights.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest",
"properties": {
"bigQueryDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination",
"description": "Specified if sink is a BigQuery table."
},
"exportSchemaVersion": {
"description": "Optional. Version of the export schema.",
"enum": [
"EXPORT_SCHEMA_VERSION_UNSPECIFIED",
"EXPORT_V1",
"EXPORT_V2",
"EXPORT_V3",
"EXPORT_V4",
"EXPORT_V5",
"EXPORT_V6",
"EXPORT_V7",
"EXPORT_V8",
"EXPORT_V9",
"EXPORT_V10",
"EXPORT_V11",
"EXPORT_V12",
"EXPORT_V13",
"EXPORT_V14",
"EXPORT_V15",
"EXPORT_V16",
"EXPORT_V17",
"EXPORT_VERSION_LATEST_AVAILABLE"
],
"enumDescriptions": [
"Unspecified. Defaults to EXPORT_V3.",
"Export schema version 1.",
"Export schema version 2.",
"Export schema version 3.",
"Export schema version 4.",
"Export schema version 5.",
"Export schema version 6.",
"Export schema version 7.",
"Export schema version 8.",
"Export schema version 9.",
"Export schema version 10.",
"Export schema version 11.",
"Export schema version 12.",
"Export schema version 13.",
"Export schema version 14.",
"Export schema version 15.",
"Export schema version 16.",
"Export schema version 17.",
"Export schema version latest available."
],
"type": "string"
},
"filter": {
"description": "A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.",
"type": "string"
},
"kmsKey": {
"description": "A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}",
"type": "string"
},
"parent": {
"description": "Required. The parent resource to export data from.",
"type": "string"
},
"writeDisposition": {
"description": "Options for what to do if the destination table already exists.",
"enum": [
"WRITE_DISPOSITION_UNSPECIFIED",
"WRITE_TRUNCATE",
"WRITE_APPEND"
],
"enumDescriptions": [
"Write disposition is not specified. Defaults to WRITE_TRUNCATE.",
"If the table already exists, BigQuery will overwrite the table data and use the schema from the load.",
"If the table already exists, BigQuery will append data to the table."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination": {
"description": "A BigQuery Table Reference.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination",
"properties": {
"dataset": {
"description": "Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.",
"type": "string"
},
"projectId": {
"description": "A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.",
"type": "string"
},
"table": {
"description": "The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse": {
"description": "Response for an export insights operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata": {
"description": "Metadata used for export issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata",
"properties": {
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest",
"description": "The original export request."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest": {
"description": "Request to export an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest",
"properties": {
"gcsDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination",
"description": "Google Cloud Storage URI to export the issue model to."
},
"name": {
"description": "Required. The issue model to export.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination": {
"description": "Google Cloud Storage Object URI to save the issue model to.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination",
"properties": {
"objectUri": {
"description": "Required. Format: `gs:///`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse": {
"description": "Response from export issue model",
"id": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData": {
"description": "Agent Assist frequently-asked-question answer data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData",
"properties": {
"answer": {
"description": "The piece of text from the `source` knowledge base document.",
"type": "string"
},
"confidenceScore": {
"description": "The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "float",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the FAQ answer and the document that it originates from.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"question": {
"description": "The corresponding FAQ question.",
"type": "string"
},
"source": {
"description": "The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel": {
"description": "Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.",
"id": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel",
"properties": {
"createTime": {
"description": "Output only. Create time of the label.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"label": {
"description": "String label used for Topic Modeling.",
"type": "string"
},
"labeledResource": {
"description": "Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}`",
"type": "string"
},
"name": {
"description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
"type": "string"
},
"qaAnswerLabel": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue",
"description": "QaAnswer label used for Quality AI example conversations."
},
"updateTime": {
"description": "Output only. Update time of the label.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GcsSource": {
"description": "A Cloud Storage source of conversation data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GcsSource",
"properties": {
"audioUri": {
"description": "Cloud Storage URI that points to a file that contains the conversation audio.",
"type": "string"
},
"transcriptUri": {
"description": "Immutable. Cloud Storage URI that points to a file that contains the conversation transcript.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript": {
"description": "The conversation transcript for the chart.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript",
"properties": {
"conversationId": {
"description": "The conversation id of the chart.",
"type": "string"
},
"createTime": {
"description": "Output only. The create time of the conversation.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"messages": {
"description": "Ordered list of messages, including user inputs and system responses.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage"
},
"type": "array"
},
"updateTime": {
"description": "Output only. The update time of the conversation.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage": {
"description": "The message in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage",
"properties": {
"createTime": {
"description": "Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"messageId": {
"description": "The message id of the message.",
"type": "string"
},
"systemMessageWrapper": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages",
"description": "A wrapper for system messages per turn."
},
"userMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage",
"description": "A message from the user that is interacting with the system."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage": {
"description": "A message from the system in response to the user. This message can also be a message from the user as historical context for multiturn conversations with the system.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage",
"properties": {
"chartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Chart spec from LLM",
"type": "object"
},
"generatedSqlQuery": {
"description": "Raw SQL from LLM, before templatization",
"type": "string"
},
"textMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput",
"description": "A direct natural language response to the user message."
},
"userProvidedChartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Optional. User provided chart spec",
"type": "object"
},
"userProvidedSqlQuery": {
"description": "Optional. User provided SQL query",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput": {
"description": "A text output message from the system.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput",
"properties": {
"text": {
"description": "The parts of the message.",
"items": {
"type": "string"
},
"type": "array"
},
"textType": {
"description": "The type of the text message.",
"enum": [
"TYPE_UNSPECIFIED",
"THOUGHT",
"FINAL_RESPONSE",
"PROGRESS"
],
"enumDescriptions": [
"The default text type.",
"The text is a thinking plan generated by the thinking tool.",
"The text is a final response to the user question.",
"The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (`THOUGHT`) and the final answer to the user (`FINAL_RESPONSE`). These messages provide insight into the agent's actions."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages": {
"description": "A wrapper for system messages per turn.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages",
"properties": {
"systemMessages": {
"description": "A message from the system in response to the user.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage": {
"description": "The user message.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage",
"properties": {
"text": {
"description": "A message from the user that is interacting with the system.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata": {
"description": "The metadata for generative insights.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata",
"properties": {
"errorMessages": {
"description": "The error message when the generative insights request fails.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse": {
"description": "The response for generative insights.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse",
"properties": {
"generativeResponses": {
"description": "The full list of generative responses. Each response is ordered by time.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse"
},
"type": "array"
},
"transcript": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript",
"description": "The transcript of the generative insights conversation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse": {
"description": "Wrapper for storing the generative response for a chart.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse",
"properties": {
"chartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The chart spec for the data. This will be specified in the vega-lite or vega format.",
"type": "object"
},
"generatedSqlQuery": {
"description": "The generated SQL query from the LLM. Will be populated during the chart building phase. The generated SQL will be cached in the corresponding chart resource.",
"type": "string"
},
"textMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput",
"description": "The text output from the LLM. Will be populated during the chart building phase. For a reloaded chart, this will NOT be populated. May contain THOUGHT or a FINAL response or some in-progress response."
},
"textOutput": {
"deprecated": true,
"description": "The text output from the LLM. Will be populated during the chart building phase. For a reloaded chart, this will NOT be populated. May contain THOUGHT or a FINAL response or some in-progress response.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput": {
"description": "Wrapper for text output.",
"id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput",
"properties": {
"text": {
"description": "The text output from the LLM.",
"items": {
"type": "string"
},
"type": "array"
},
"textType": {
"description": "The type of text output.",
"enum": [
"TYPE_UNSPECIFIED",
"THOUGHT",
"FINAL_RESPONSE",
"PROGRESS"
],
"enumDescriptions": [
"The type is unspecified.",
"The text is part of LLM reasoning.",
"The text is the final answer from LLM.",
"The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (`THOUGHT`) and the final answer to the user (`FINAL_RESPONSE`). These messages provide insight into the agent's actions."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1HoldData": {
"description": "The data for a hold annotation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1HoldData",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata": {
"description": "Metadata used for import issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata",
"properties": {
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest",
"description": "The original import request."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest": {
"description": "Request to import an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest",
"properties": {
"createNewModel": {
"description": "Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.",
"type": "boolean"
},
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource",
"description": "Google Cloud Storage source message."
},
"parent": {
"description": "Required. The parent resource of the issue model.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource": {
"description": "Google Cloud Storage Object URI to get the issue model file from.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource",
"properties": {
"objectUri": {
"description": "Required. Format: `gs:///`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse": {
"description": "Response from import issue model",
"id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse",
"properties": {
"issueModel": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel",
"description": "The issue model that was imported."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata": {
"description": "The metadata for an IngestConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"ingestConversationsStats": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats",
"description": "Output only. Statistics for IngestConversations operation.",
"readOnly": true
},
"partialErrors": {
"description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"readOnly": true,
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest",
"description": "Output only. The original request for ingest.",
"readOnly": true
},
"sampledConversations": {
"description": "Output only. Stores the conversation resources produced by ingest sampling operations.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats": {
"description": "Statistics for IngestConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats",
"properties": {
"duplicatesSkippedCount": {
"description": "Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"failedIngestCount": {
"description": "Output only. The number of objects which were unable to be ingested due to errors. The errors are populated in the partial_errors field.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"processedObjectCount": {
"description": "Output only. The number of objects processed during the ingest operation.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"successfulIngestCount": {
"description": "Output only. The number of new conversations added during this ingest operation.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest": {
"description": "The request to ingest conversations.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest",
"properties": {
"conversationConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig",
"description": "Configuration that applies to all conversations."
},
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource",
"description": "A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication."
},
"parent": {
"description": "Required. The parent resource for new conversations.",
"type": "string"
},
"redactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig",
"description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings."
},
"sampleSize": {
"description": "Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.",
"format": "int32",
"type": "integer"
},
"speechConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig",
"description": "Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings."
},
"transcriptObjectConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig",
"description": "Configuration for when `source` contains conversation transcripts."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig": {
"description": "Configuration that applies to all conversations.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig",
"properties": {
"agentChannel": {
"description": "Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.",
"format": "int32",
"type": "integer"
},
"agentId": {
"description": "Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the `metadata_bucket_uri`.",
"type": "string"
},
"customerChannel": {
"description": "Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource": {
"description": "Configuration for Cloud Storage bucket sources.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource",
"properties": {
"audioBucketUri": {
"description": "Optional. The Cloud Storage path to the conversation audio file. Note that: [1] Audio files will be transcribed if not already. [2] Audio files and transcript files must be in separate buckets / folders. [3] A source file and its corresponding audio file must share the same name to be properly ingested, E.g. `gs://bucket/transcript/conversation1.json` and `gs://bucket/audio/conversation1.mp3`.",
"type": "string"
},
"bucketObjectType": {
"description": "Optional. Specifies the type of the objects in `bucket_uri`. Avoid passing this. This is inferred from the `transcript_bucket_uri`, `audio_bucket_uri`.",
"enum": [
"BUCKET_OBJECT_TYPE_UNSPECIFIED",
"TRANSCRIPT",
"AUDIO"
],
"enumDescriptions": [
"The object type is unspecified and will default to `TRANSCRIPT`.",
"The object is a transcript.",
"The object is an audio file."
],
"type": "string"
},
"bucketUri": {
"description": "Optional. The Cloud Storage bucket containing source objects. Avoid passing this. Pass this through one of `transcript_bucket_uri` or `audio_bucket_uri`.",
"type": "string"
},
"customMetadataKeys": {
"description": "Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation.",
"items": {
"type": "string"
},
"type": "array"
},
"metadataBucketUri": {
"description": "Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.",
"type": "string"
},
"transcriptBucketUri": {
"description": "Optional. The Cloud Storage path to the conversation transcripts. Note that: [1] Transcript files are expected to be in JSON format. [2] Transcript, audio, metadata files must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig": {
"description": "Configuration for processing transcript objects.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig",
"properties": {
"medium": {
"description": "Required. The medium transcript objects represent.",
"enum": [
"MEDIUM_UNSPECIFIED",
"PHONE_CALL",
"CHAT"
],
"enumDescriptions": [
"Default value for unspecified.",
"The format for conversations that took place over the phone.",
"The format for conversations that took place over chat."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse": {
"description": "The response to an IngestConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata": {
"description": "Metadata for initializing a location-level encryption specification.",
"id": "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"partialErrors": {
"description": "Partial errors during initializing operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest",
"description": "Output only. The original request for initialization.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest": {
"description": "The request to initialize a location-level encryption specification.",
"id": "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest",
"properties": {
"encryptionSpec": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec",
"description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the `kms_key_name` field is left empty, no encryption will be enforced."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecResponse": {
"description": "The response to initialize a location-level encryption specification.",
"id": "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1Intent": {
"description": "The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.",
"id": "GoogleCloudContactcenterinsightsV1alpha1Intent",
"properties": {
"displayName": {
"description": "The human-readable name of the intent.",
"type": "string"
},
"id": {
"description": "The unique identifier of the intent.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IntentMatchData": {
"description": "The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IntentMatchData",
"properties": {
"intentUniqueId": {
"description": "The id of the matched intent. Can be used to retrieve the corresponding intent information.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1InterruptionData": {
"description": "The data for an interruption annotation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1InterruptionData",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1Issue": {
"description": "The issue resource.",
"id": "GoogleCloudContactcenterinsightsV1alpha1Issue",
"properties": {
"createTime": {
"description": "Output only. The time at which this issue was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayDescription": {
"description": "Representative description of the issue.",
"type": "string"
},
"displayName": {
"description": "The representative name for the issue.",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
"type": "string"
},
"sampleUtterances": {
"description": "Output only. Resource names of the sample representative utterances that match to this issue.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"updateTime": {
"description": "Output only. The most recent time that this issue was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IssueAssignment": {
"description": "Information about the issue.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IssueAssignment",
"properties": {
"displayName": {
"description": "Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then.",
"type": "string"
},
"issue": {
"description": "Resource name of the assigned issue.",
"type": "string"
},
"score": {
"description": "Score indicating the likelihood of the issue assignment. currently bounded on [0,1].",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IssueMatchData": {
"description": "The data for an issue match annotation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IssueMatchData",
"properties": {
"issueAssignment": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueAssignment",
"description": "Information about the issue's assignment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IssueModel": {
"description": "The issue model resource.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IssueModel",
"properties": {
"createTime": {
"description": "Output only. The time at which this issue model was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "The representative name for the issue model.",
"type": "string"
},
"inputDataConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig",
"description": "Configs for the input data that used to create the issue model."
},
"issueCount": {
"description": "Output only. Number of issues in this issue model.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"languageCode": {
"description": "Language of the model.",
"type": "string"
},
"modelType": {
"description": "Type of the model.",
"enum": [
"MODEL_TYPE_UNSPECIFIED",
"TYPE_V1",
"TYPE_V2"
],
"enumDescriptions": [
"Unspecified model type.",
"Type V1.",
"Type V2."
],
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
"type": "string"
},
"state": {
"description": "Output only. State of the model.",
"enum": [
"STATE_UNSPECIFIED",
"UNDEPLOYED",
"DEPLOYING",
"DEPLOYED",
"UNDEPLOYING",
"DELETING"
],
"enumDescriptions": [
"Unspecified.",
"Model is not deployed but is ready to deploy.",
"Model is being deployed.",
"Model is deployed and is ready to be used. A model can only be used in analysis if it's in this state.",
"Model is being undeployed.",
"Model is being deleted."
],
"readOnly": true,
"type": "string"
},
"trainingStats": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats",
"description": "Output only. Immutable. The issue model's label statistics on its training data.",
"readOnly": true
},
"updateTime": {
"description": "Output only. The most recent time at which the issue model was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig": {
"description": "Configs for the input data used to create the issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig",
"properties": {
"filter": {
"description": "A filter to reduce the conversations used for training the model to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.",
"type": "string"
},
"medium": {
"deprecated": true,
"description": "Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the `medium` field on `filter`.",
"enum": [
"MEDIUM_UNSPECIFIED",
"PHONE_CALL",
"CHAT"
],
"enumDescriptions": [
"Default value for unspecified.",
"The format for conversations that took place over the phone.",
"The format for conversations that took place over chat."
],
"type": "string"
},
"trainingConversationsCount": {
"description": "Output only. Number of conversations used in training. Output only.",
"format": "int64",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats": {
"description": "Aggregated statistics about an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats",
"properties": {
"analyzedConversationsCount": {
"description": "Number of conversations the issue model has analyzed at this point in time.",
"format": "int64",
"type": "string"
},
"issueStats": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats"
},
"description": "Statistics on each issue. Key is the issue's resource name.",
"type": "object"
},
"unclassifiedConversationsCount": {
"description": "Number of analyzed conversations for which no issue was applicable at this point in time.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats": {
"description": "Aggregated statistics about an issue.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats",
"properties": {
"displayName": {
"description": "Display name of the issue.",
"type": "string"
},
"issue": {
"description": "Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
"type": "string"
},
"labeledConversationsCount": {
"description": "Number of conversations attached to the issue at this point in time.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1IssueModelResult": {
"description": "Issue Modeling result on a conversation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelResult",
"properties": {
"issueModel": {
"description": "Issue model that generates the result. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
"type": "string"
},
"issues": {
"description": "All the matched issues.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueAssignment"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ListAllFeedbackLabelsResponse": {
"description": "The response for listing all feedback labels.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ListAllFeedbackLabelsResponse",
"properties": {
"feedbackLabels": {
"description": "The feedback labels that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1ListFeedbackLabelsResponse": {
"description": "The response for listing feedback labels.",
"id": "GoogleCloudContactcenterinsightsV1alpha1ListFeedbackLabelsResponse",
"properties": {
"feedbackLabels": {
"description": "The feedback labels that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
},
"type": "array"
},
"nextPageToken": {
"description": "The next page token.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData": {
"description": "The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.",
"id": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData",
"properties": {
"displayName": {
"description": "The human-readable name of the phrase matcher.",
"type": "string"
},
"phraseMatcher": {
"description": "The unique identifier (the resource name) of the phrase matcher.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QaAnswer": {
"description": "An answer to a QaQuestion.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QaAnswer",
"properties": {
"answerSources": {
"description": "Lists all answer sources containing one or more answer values of a specific source type, e.g., all system-generated answer sources, or all manual edit answer sources.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource"
},
"type": "array"
},
"answerValue": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue",
"description": "The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead."
},
"conversation": {
"description": "The conversation the answer applies to.",
"type": "string"
},
"qaQuestion": {
"description": "The QaQuestion answered by this answer.",
"type": "string"
},
"questionBody": {
"description": "Question text. E.g., \"Did the agent greet the customer?\"",
"type": "string"
},
"tags": {
"description": "User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource": {
"description": "A question may have multiple answers from varying sources, one of which becomes the \"main\" answer above. AnswerSource represents each individual answer.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource",
"properties": {
"answerValue": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue",
"description": "The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead."
},
"sourceType": {
"description": "What created the answer.",
"enum": [
"SOURCE_TYPE_UNSPECIFIED",
"SYSTEM_GENERATED",
"MANUAL_EDIT"
],
"enumDescriptions": [
"Source type is unspecified.",
"Answer was system-generated; created during an Insights analysis.",
"Answer was created by a human via manual edit."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue": {
"description": "Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue",
"properties": {
"boolValue": {
"description": "Boolean value.",
"type": "boolean"
},
"key": {
"description": "A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.",
"type": "string"
},
"naValue": {
"description": "A value of \"Not Applicable (N/A)\". Should only ever be `true`.",
"type": "boolean"
},
"normalizedScore": {
"description": "Output only. Normalized score of the questions. Calculated as score / potential_score.",
"format": "double",
"readOnly": true,
"type": "number"
},
"numValue": {
"description": "Numerical value.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "Output only. The maximum potential score of the question.",
"format": "double",
"readOnly": true,
"type": "number"
},
"score": {
"description": "Output only. Numerical score of the answer.",
"format": "double",
"readOnly": true,
"type": "number"
},
"skipValue": {
"description": "Output only. A value of \"Skip\". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.",
"readOnly": true,
"type": "boolean"
},
"strValue": {
"description": "String value.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag": {
"description": "A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., \"Customer Satisfaction\",\"Billing\", etc.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag",
"properties": {
"createTime": {
"description": "Output only. The time at which the question tag was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Required. A user-specified display name for the tag.",
"type": "string"
},
"name": {
"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.",
"type": "string"
},
"qaQuestionIds": {
"description": "Optional. 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.",
"items": {
"type": "string"
},
"type": "array"
},
"updateTime": {
"description": "Output only. The most recent time at which the question tag was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult": {
"description": "The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult",
"properties": {
"agentId": {
"description": "ID of the agent that handled the conversation.",
"type": "string"
},
"conversation": {
"description": "The conversation scored by this result.",
"type": "string"
},
"createTime": {
"description": "Output only. The timestamp that the revision was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}",
"type": "string"
},
"normalizedScore": {
"description": "The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
"format": "double",
"type": "number"
},
"qaAnswers": {
"description": "Set of QaAnswers represented in the result.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswer"
},
"type": "array"
},
"qaScorecardRevision": {
"description": "The QaScorecardRevision scored by this result.",
"type": "string"
},
"qaTagResults": {
"description": "Collection of tags and their scores.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult"
},
"type": "array"
},
"score": {
"description": "The overall numerical score of the result, incorporating any manual edits if they exist.",
"format": "double",
"type": "number"
},
"scoreSources": {
"description": "List of all individual score sets.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultScoreSource"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult": {
"description": "Tags and their corresponding results.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult",
"properties": {
"normalizedScore": {
"description": "The normalized score the tag applies to.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "The potential score the tag applies to.",
"format": "double",
"type": "number"
},
"score": {
"description": "The score the tag applies to.",
"format": "double",
"type": "number"
},
"tag": {
"description": "The tag the score applies to.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultScoreSource": {
"description": "A scorecard result may have multiple sets of scores from varying sources, one of which becomes the \"main\" answer above. A ScoreSource represents each individual set of scores.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultScoreSource",
"properties": {
"normalizedScore": {
"description": "The normalized score, which is the score divided by the potential score.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
"format": "double",
"type": "number"
},
"qaTagResults": {
"description": "Collection of tags and their scores.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult"
},
"type": "array"
},
"score": {
"description": "The overall numerical score of the result.",
"format": "double",
"type": "number"
},
"sourceType": {
"description": "What created the score.",
"enum": [
"SOURCE_TYPE_UNSPECIFIED",
"SYSTEM_GENERATED_ONLY",
"INCLUDES_MANUAL_EDITS"
],
"enumDescriptions": [
"Source type is unspecified.",
"Score is derived only from system-generated answers.",
"Score is derived from both system-generated answers, and includes any manual edits if they exist."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata": {
"description": "The metadata from querying metrics.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata",
"properties": {
"resultIsTruncated": {
"description": "Whether the result rows were truncated because the result row size is too large to materialize.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponse": {
"description": "The response for querying metrics.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponse",
"properties": {
"location": {
"description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
"type": "string"
},
"macroAverageSlice": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice",
"description": "The macro average slice contains aggregated averages across all selected dimensions. i.e. if group_by agent and scorecard_id is specified, this field will contain the average across all agents and all scorecards. This field is only populated if the request specifies a Dimension."
},
"slices": {
"description": "A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice"
},
"type": "array"
},
"updateTime": {
"description": "The metrics last update time.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice": {
"description": "A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request. For example, if the request specifies a single ISSUE dimension and it has a cardinality of 2 (i.e. the data used to compute the metrics has 2 issues in total), the response will have 2 slices: * Slice 1 -> dimensions=[Issue 1] * Slice 2 -> dimensions=[Issue 2]",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice",
"properties": {
"dimensions": {
"description": "A unique combination of dimensions that this slice represents.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1Dimension"
},
"type": "array"
},
"timeSeries": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries",
"description": "A time series of metric values. This is only populated if the request specifies a time granularity other than NONE."
},
"total": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint",
"description": "The total metric value. The interval of this data point is [starting create time, ending create time) from the request."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint": {
"description": "A data point contains the metric values mapped to an interval.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint",
"properties": {
"conversationMeasure": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure",
"description": "The measure related to conversations."
},
"dialogflowInteractionMeasure": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure",
"description": "The measure related to dialogflow interactions."
},
"interval": {
"$ref": "GoogleTypeInterval",
"description": "The interval that this data point represents. * If this is the total data point, the interval is [starting create time, ending create time) from the request. * If this a data point from the time series, the interval is [time, time + time granularity from the request)."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure": {
"description": "The measure related to conversations.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure",
"properties": {
"aaSupervisorAssignedConversationsCount": {
"description": "The number of conversations that were assigned to an AA human supervisor.",
"format": "int32",
"type": "integer"
},
"aaSupervisorDroppedConversationsCount": {
"description": "The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor.",
"format": "int32",
"type": "integer"
},
"aaSupervisorEscalatedConversationsCount": {
"description": "The number of conversations that were escalated to an AA human supervisor for intervention.",
"format": "int32",
"type": "integer"
},
"aaSupervisorMonitoredConversationsCount": {
"description": "The number of conversations scanned by the AA human supervisor.",
"format": "int32",
"type": "integer"
},
"aaSupervisorTransferredToHumanAgentConvCount": {
"description": "The number of conversations transferred to a human agent.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionAgentMessageTriggerCount": {
"description": "Count of agent messages that triggered an Ai Coach Suggestion.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionAgentUsageCount": {
"description": "Count of Ai Coach Suggestion that has been used by agents.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionAgentUsageRatio": {
"description": "Proportion of Ai Coach Suggestion that has been used by agents.",
"format": "double",
"type": "number"
},
"aiCoachSuggestionCustomerMessageTriggerCount": {
"description": "Count of customer messages that triggered an Ai Coach Suggestion.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionCustomerMessageTriggerRatio": {
"description": "Proportion of customer messages that triggered an Ai Coach Suggestion.",
"format": "double",
"type": "number"
},
"aiCoachSuggestionMessageTriggerCount": {
"description": "Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionMessageTriggerRatio": {
"description": "Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
"format": "double",
"type": "number"
},
"averageAgentSentimentScore": {
"description": "The average agent's sentiment score.",
"format": "float",
"type": "number"
},
"averageClientSentimentScore": {
"description": "The average client's sentiment score.",
"format": "float",
"type": "number"
},
"averageCustomerSatisfactionRating": {
"description": "The average customer satisfaction rating.",
"format": "double",
"type": "number"
},
"averageDuration": {
"description": "The average duration.",
"format": "google-duration",
"type": "string"
},
"averageQaNormalizedScore": {
"description": "The average normalized QA score for a scorecard. When computing the average across a set of conversations, if a conversation has been evaluated with multiple revisions of a scorecard, only the latest revision results will be used. Will exclude 0's in average calculation. Will be only populated if the request specifies a dimension of QA_SCORECARD_ID.",
"format": "double",
"type": "number"
},
"averageQaQuestionNormalizedScore": {
"description": "Average QA normalized score averaged for questions averaged across all revisions of the parent scorecard. Will be only populated if the request specifies a dimension of QA_QUESTION_ID.",
"format": "double",
"type": "number"
},
"averageSilencePercentage": {
"description": "The average silence percentage.",
"format": "float",
"type": "number"
},
"averageSummarizationSuggestionEditDistance": {
"description": "Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion.",
"format": "double",
"type": "number"
},
"averageSummarizationSuggestionNormalizedEditDistance": {
"description": "Normalized Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. Normalized edit distance is the average of (edit distance / summary length).",
"format": "double",
"type": "number"
},
"averageTurnCount": {
"description": "The average turn count.",
"format": "float",
"type": "number"
},
"avgConversationClientTurnSentimentEma": {
"description": "The exponential moving average of the sentiment score of client turns in the conversation.",
"format": "double",
"type": "number"
},
"containedConversationCount": {
"description": "The number of conversations that were contained.",
"format": "int32",
"type": "integer"
},
"containedConversationRatio": {
"description": "The percentage of conversations that were contained.",
"format": "double",
"type": "number"
},
"conversationAiCoachSuggestionCount": {
"description": "Count of conversations that has Ai Coach Suggestions.",
"format": "int32",
"type": "integer"
},
"conversationAiCoachSuggestionRatio": {
"description": "Proportion of conversations that has Ai Coach Suggestions.",
"format": "double",
"type": "number"
},
"conversationCount": {
"description": "The conversation count.",
"format": "int32",
"type": "integer"
},
"conversationSuggestedSummaryRatio": {
"description": "Proportion of conversations that had a suggested summary.",
"format": "double",
"type": "number"
},
"conversationTotalAgentMessageCount": {
"description": "The agent message count.",
"format": "int32",
"type": "integer"
},
"conversationTotalCustomerMessageCount": {
"description": "The customer message count.",
"format": "int32",
"type": "integer"
},
"conversationalAgentsAverageAudioInAudioOutLatency": {
"description": "The average latency of conversational agents' audio in audio out latency per interaction. This is computed as the average of the all the interactions' audio in audio out latencies in a conversation and averaged across conversations.",
"format": "double",
"type": "number"
},
"conversationalAgentsAverageEndToEndLatency": {
"description": "The average latency of conversational agents' latency per interaction. This is computed as the average of the all the iteractions' end to end latencies in a conversation and averaged across conversations. The e2e latency is the time between the end of the user utterance and the start of the agent utterance on the interaction level.",
"format": "double",
"type": "number"
},
"conversationalAgentsAverageLlmCallLatency": {
"description": "The average latency of conversational agents' LLM call latency per interaction. This is computed as the average of the all the interactions LLM call latencies in a conversation and averaged across conversations.",
"format": "double",
"type": "number"
},
"conversationalAgentsAverageTtsLatency": {
"description": "The macro average latency of conversational agents' TTS latency per interaction. This is computed as the average of the all the interactions' TTS latencies in a conversation and averaged across conversations.",
"format": "double",
"type": "number"
},
"dialogflowAverageWebhookLatency": {
"description": "Average latency of dialogflow webhook calls.",
"format": "double",
"type": "number"
},
"dialogflowConversationsEscalationCount": {
"description": "count of conversations that was handed off from virtual agent to human agent.",
"format": "double",
"type": "number"
},
"dialogflowConversationsEscalationRatio": {
"description": "Proportion of conversations that was handed off from virtual agent to human agent.",
"format": "double",
"type": "number"
},
"dialogflowInteractionsNoInputRatio": {
"description": "Proportion of dialogflow interactions that has empty input.",
"format": "double",
"type": "number"
},
"dialogflowInteractionsNoMatchRatio": {
"description": "Proportion of dialogflow interactions that has no intent match for the input.",
"format": "double",
"type": "number"
},
"dialogflowWebhookFailureRatio": {
"description": "Proportion of dialogflow webhook calls that failed.",
"format": "double",
"type": "number"
},
"dialogflowWebhookTimeoutRatio": {
"description": "Proportion of dialogflow webhook calls that timed out.",
"format": "double",
"type": "number"
},
"knowledgeAssistNegativeFeedbackRatio": {
"description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback.",
"format": "double",
"type": "number"
},
"knowledgeAssistPositiveFeedbackRatio": {
"description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback.",
"format": "double",
"type": "number"
},
"knowledgeAssistResultCount": {
"description": "Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user.",
"format": "int32",
"type": "integer"
},
"knowledgeAssistUriClickRatio": {
"description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked.",
"format": "double",
"type": "number"
},
"knowledgeSearchAgentQuerySourceRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made.",
"format": "double",
"type": "number"
},
"knowledgeSearchNegativeFeedbackRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback.",
"format": "double",
"type": "number"
},
"knowledgeSearchPositiveFeedbackRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback.",
"format": "double",
"type": "number"
},
"knowledgeSearchResultCount": {
"description": "Count of knowledge search results (Generative Knowledge Assist) shown to the user.",
"format": "int32",
"type": "integer"
},
"knowledgeSearchSuggestedQuerySourceRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made.",
"format": "double",
"type": "number"
},
"knowledgeSearchUriClickRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked.",
"format": "double",
"type": "number"
},
"qaTagScores": {
"description": "Average QA normalized score for all the tags.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore"
},
"type": "array"
},
"summarizationSuggestionEditRatio": {
"description": "Proportion of summarization suggestions that were manually edited.",
"format": "double",
"type": "number"
},
"summarizationSuggestionResultCount": {
"description": "Count of summarization suggestions results.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore": {
"description": "Average QA normalized score for the tag.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore",
"properties": {
"averageTagNormalizedScore": {
"description": "Average tag normalized score per tag.",
"format": "double",
"type": "number"
},
"tag": {
"description": "Tag name.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure": {
"description": "The measure related to dialogflow interactions.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure",
"properties": {
"percentileAudioInAudioOutLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level."
},
"percentileEndToEndLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for end to end chat latency in milliseconds per dialogflow interaction level."
},
"percentileLlmCallLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for LLM latency in milliseconds per dialogflow interaction level."
},
"percentileToolUseLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for tool use latency in milliseconds per dialogflow interaction level."
},
"percentileTtsLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for TTS latency in milliseconds per dialogflow interaction level."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult": {
"description": "The percentile result. Currently supported percentiles are 50th, 90th, and 99th.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult",
"properties": {
"p50": {
"description": "The 50th percentile value.",
"format": "double",
"type": "number"
},
"p90": {
"description": "The 90th percentile value.",
"format": "double",
"type": "number"
},
"p99": {
"description": "The 99th percentile value.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries": {
"description": "A time series of metric values.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries",
"properties": {
"dataPoints": {
"description": "The data points that make up the time series .",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewMetadata": {
"description": "The metadata for querying performance overview.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewMetadata",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewResponse": {
"description": "The response for querying performance overview.",
"id": "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewResponse",
"properties": {
"summaryText": {
"description": "The summary text of the performance.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1RedactionConfig": {
"description": "DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations, redaction should be performed in Dialogflow / Agent Assist.",
"id": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig",
"properties": {
"deidentifyTemplate": {
"description": "The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`",
"type": "string"
},
"inspectTemplate": {
"description": "The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation": {
"description": "An annotation that was generated during the customer and agent interaction.",
"id": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation",
"properties": {
"annotationId": {
"description": "The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}",
"type": "string"
},
"answerFeedback": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback",
"description": "The feedback that the customer has about the answer in `data`."
},
"articleSuggestion": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData",
"description": "Agent Assist Article Suggestion data."
},
"conversationSummarizationSuggestion": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData",
"description": "Conversation summarization suggestion data."
},
"createTime": {
"description": "The time at which this annotation was created.",
"format": "google-datetime",
"type": "string"
},
"dialogflowInteraction": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData",
"description": "Dialogflow interaction data."
},
"endBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary",
"description": "The boundary in the conversation where the annotation ends, inclusive."
},
"faqAnswer": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData",
"description": "Agent Assist FAQ answer data."
},
"smartComposeSuggestion": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData",
"description": "Agent Assist Smart Compose suggestion data."
},
"smartReply": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SmartReplyData",
"description": "Agent Assist Smart Reply data."
},
"startBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary",
"description": "The boundary in the conversation where the annotation starts, inclusive."
},
"userInput": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput",
"description": "Explicit input used for generating the answer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput": {
"description": "Explicit input used for generating the answer",
"id": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput",
"properties": {
"generatorName": {
"description": "The resource name of associated generator. Format: `projects//locations//generators/`",
"type": "string"
},
"query": {
"description": "Query text. Article Search uses this to store the input query used to generate the search results.",
"type": "string"
},
"querySource": {
"description": "Query source for the answer.",
"enum": [
"QUERY_SOURCE_UNSPECIFIED",
"AGENT_QUERY",
"SUGGESTED_QUERY"
],
"enumDescriptions": [
"Unknown query source.",
"The query is from agents.",
"The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata": {
"description": "The metadata for an SampleConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"partialErrors": {
"description": "Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"readOnly": true,
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest",
"description": "Output only. The original request for sample conversations to dataset.",
"readOnly": true
},
"sampleConversationsStats": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats",
"description": "Output only. Statistics for SampleConversations operation.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats": {
"description": "Statistics for SampleConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats",
"properties": {
"failedSampleCount": {
"description": "Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"successfulSampleCount": {
"description": "Output only. The number of new conversations added during this sample operation.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest": {
"description": "The request to sample conversations to a dataset.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest",
"properties": {
"destinationDataset": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1Dataset",
"description": "The dataset resource to copy the sampled conversations to."
},
"parent": {
"description": "Required. The parent resource of the dataset.",
"type": "string"
},
"sampleRule": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleRule",
"description": "Optional. The sample rule used for sampling conversations."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse": {
"description": "The response to an SampleConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SampleRule": {
"description": "Message for sampling conversations.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SampleRule",
"properties": {
"conversationFilter": {
"description": "To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.",
"type": "string"
},
"dimension": {
"description": "Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.",
"type": "string"
},
"samplePercentage": {
"description": "Percentage of conversations that we should sample based on the dimension between [0, 100].",
"format": "double",
"type": "number"
},
"sampleRow": {
"description": "Number of the conversations that we should sample based on the dimension.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SentimentData": {
"description": "The data for a sentiment annotation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SentimentData",
"properties": {
"magnitude": {
"description": "A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score.",
"format": "float",
"type": "number"
},
"score": {
"description": "The sentiment score between -1.0 (negative) and 1.0 (positive).",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SilenceData": {
"description": "The data for a silence annotation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SilenceData",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData": {
"description": "Agent Assist Smart Compose suggestion data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData",
"properties": {
"confidenceScore": {
"description": "The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "double",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the Smart Compose suggestion and the document from which it originates.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"suggestion": {
"description": "The content of the suggestion.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SmartReplyData": {
"description": "Agent Assist Smart Reply data.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SmartReplyData",
"properties": {
"confidenceScore": {
"description": "The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "double",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the Smart Reply and the document from which it originates.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"reply": {
"description": "The content of the reply.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1SpeechConfig": {
"description": "Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint.",
"id": "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig",
"properties": {
"disableWordTimeOffsets": {
"description": "Whether to disable word time offsets. If true, the `enable_word_time_offsets` field in the recognition config will be set to false.",
"type": "boolean"
},
"speechRecognizer": {
"description": "The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadata": {
"description": "Metadata for testing correlation config.",
"id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"dataset": {
"description": "The dataset used for sampling conversations.",
"type": "string"
},
"stats": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStats",
"description": "The statistics for the operation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStats": {
"description": "Statistics for TestCorrelationConfig operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStats",
"properties": {
"conversationCorrelationErrors": {
"description": "A list of errors that occurred during correlation, one for each conversation that failed.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError"
},
"type": "array"
},
"correlatedConversationsCount": {
"description": "The number of conversations correlated.",
"format": "int32",
"type": "integer"
},
"failedConversationsCount": {
"description": "The number of conversations that failed correlation.",
"format": "int32",
"type": "integer"
},
"partialErrors": {
"description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"sampledConversationsCount": {
"description": "The number of conversations sampled.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError": {
"description": "An error that occurred during correlation for a specific conversation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError",
"properties": {
"conversation": {
"description": "The conversation resource name that had an error during correlation.",
"type": "string"
},
"status": {
"$ref": "GoogleRpcStatus",
"description": "The error status."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponse": {
"description": "The response of testing correlation config.",
"id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponse",
"properties": {
"detailedResults": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults",
"description": "Results for the DETAILED_SYNC execution mode."
},
"partialErrors": {
"description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults": {
"description": "Wrapper for detailed, step-by-step results.",
"id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults",
"properties": {
"constraintResults": {
"description": "A list of constraint evaluation results for each pair of conversations.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult"
},
"type": "array"
},
"joinKeyResults": {
"description": "A list of join key correlation results for each conversation tested.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata": {
"description": "Metadata for undeploying an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest",
"description": "The original request for undeployment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest": {
"description": "The request to undeploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest",
"properties": {
"name": {
"description": "Required. The issue model to undeploy.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse": {
"description": "The response to undeploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata": {
"description": "The metadata for updating a QaQuestionTag Resource.",
"id": "GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest",
"description": "Output only. The original request.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest": {
"description": "The request for updating a QaQuestionTag.",
"id": "GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest",
"properties": {
"qaQuestionTag": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag",
"description": "Required. The QaQuestionTag to update."
},
"updateMask": {
"description": "Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `qa_question_tag_name` - the name of the tag * `qa_question_ids` - the list of questions the tag applies to",
"format": "google-fieldmask",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata": {
"description": "The metadata for an `UploadConversation` operation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata",
"properties": {
"analysisOperation": {
"description": "Output only. The operation name for a successfully created analysis operation, if any.",
"readOnly": true,
"type": "string"
},
"appliedRedactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig",
"description": "Output only. The redaction config applied to the uploaded conversation.",
"readOnly": true
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest",
"description": "Output only. The original request.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest": {
"description": "Request to upload a conversation.",
"id": "GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest",
"properties": {
"conversation": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation",
"description": "Required. The conversation resource to create."
},
"conversationId": {
"description": "Optional. A unique ID for the new conversation. This ID will become the final component of the conversation'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-`",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the conversation.",
"type": "string"
},
"redactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig",
"description": "Optional. DLP settings for transcript redaction. Will default to the config specified in Settings."
},
"speechConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig",
"description": "Optional. Speech-to-Text configuration. Will default to the config specified in Settings."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainAnalysis": {
"description": "The analysis resource.",
"id": "GoogleCloudContactcenterinsightsV1mainAnalysis",
"properties": {
"analysisResult": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnalysisResult",
"description": "Output only. The result of the analysis, which is populated when the analysis finishes.",
"readOnly": true
},
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelector",
"description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run."
},
"createTime": {
"description": "Output only. The time at which the analysis was created, which occurs when the long-running operation completes.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}",
"type": "string"
},
"requestTime": {
"description": "Output only. The time at which the analysis was requested.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainAnalysisResult": {
"description": "The result of an analysis.",
"id": "GoogleCloudContactcenterinsightsV1mainAnalysisResult",
"properties": {
"callAnalysisMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata",
"description": "Call-specific metadata created by the analysis."
},
"endTime": {
"description": "The time at which the analysis ended.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata": {
"description": "Call-specific metadata created during analysis.",
"id": "GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata",
"properties": {
"annotations": {
"description": "A list of call annotations that apply to this call.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainCallAnnotation"
},
"type": "array"
},
"entities": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1mainEntity"
},
"description": "All the entities in the call.",
"type": "object"
},
"intents": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIntent"
},
"description": "All the matched intents in the call.",
"type": "object"
},
"issueModelResult": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssueModelResult",
"description": "Overall conversation-level issue modeling result."
},
"phraseMatchers": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1mainPhraseMatchData"
},
"description": "All the matched phrase matchers in the call.",
"type": "object"
},
"qaScorecardResults": {
"description": "Results of scoring QaScorecards.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaScorecardResult"
},
"type": "array"
},
"sentiments": {
"description": "Overall conversation-level sentiment for each channel of the call.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment"
},
"type": "array"
},
"silence": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationLevelSilence",
"description": "Overall conversation-level silence during the call."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainAnnotationBoundary": {
"description": "A point in a conversation that marks the start or the end of an annotation.",
"id": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary",
"properties": {
"transcriptIndex": {
"description": "The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.",
"format": "int32",
"type": "integer"
},
"wordIndex": {
"description": "The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainAnnotatorSelector": {
"description": "Selector of all available annotators and phrase matchers to run.",
"id": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelector",
"properties": {
"issueModels": {
"description": "The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.",
"items": {
"type": "string"
},
"type": "array"
},
"phraseMatchers": {
"description": "The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}",
"items": {
"type": "string"
},
"type": "array"
},
"qaConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig",
"description": "Configuration for the QA annotator."
},
"runEntityAnnotator": {
"description": "Whether to run the entity annotator.",
"type": "boolean"
},
"runIntentAnnotator": {
"description": "Whether to run the intent annotator.",
"type": "boolean"
},
"runInterruptionAnnotator": {
"description": "Whether to run the interruption annotator.",
"type": "boolean"
},
"runIssueModelAnnotator": {
"description": "Whether to run the issue model annotator. A model should have already been deployed for this to take effect.",
"type": "boolean"
},
"runPhraseMatcherAnnotator": {
"description": "Whether to run the active phrase matcher annotator(s).",
"type": "boolean"
},
"runQaAnnotator": {
"description": "Whether to run the QA annotator.",
"type": "boolean"
},
"runSentimentAnnotator": {
"description": "Whether to run the sentiment annotator.",
"type": "boolean"
},
"runSilenceAnnotator": {
"description": "Whether to run the silence annotator.",
"type": "boolean"
},
"runSummarizationAnnotator": {
"description": "Whether to run the summarization annotator.",
"type": "boolean"
},
"summarizationConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig",
"description": "Configuration for the summarization annotator."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig": {
"description": "Configuration for the QA feature.",
"id": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig",
"properties": {
"scorecardList": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList",
"description": "A manual list of scorecards to score."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList": {
"description": "Container for a list of scorecards.",
"id": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList",
"properties": {
"qaScorecardRevisions": {
"description": "List of QaScorecardRevisions.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig": {
"description": "Configuration for summarization.",
"id": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig",
"properties": {
"conversationProfile": {
"description": "Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}",
"type": "string"
},
"generator": {
"description": "The resource name of the existing created generator. Format: projects//locations//generators/",
"type": "string"
},
"summarizationModel": {
"description": "Default summarization model to be used.",
"enum": [
"SUMMARIZATION_MODEL_UNSPECIFIED",
"BASELINE_MODEL",
"BASELINE_MODEL_V2_0"
],
"enumDeprecated": [
false,
true,
true
],
"enumDescriptions": [
"Unspecified summarization model.",
"The CCAI baseline model. This model is deprecated and will be removed in the future. We recommend using `generator` instead.",
"The CCAI baseline model, V2.0. This model is deprecated and will be removed in the future. We recommend using `generator` instead."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainAnswerFeedback": {
"description": "The feedback that the customer has about a certain answer in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1mainAnswerFeedback",
"properties": {
"clicked": {
"description": "Indicates whether an answer or item was clicked by the human agent.",
"type": "boolean"
},
"correctnessLevel": {
"description": "The correctness level of an answer.",
"enum": [
"CORRECTNESS_LEVEL_UNSPECIFIED",
"NOT_CORRECT",
"PARTIALLY_CORRECT",
"FULLY_CORRECT"
],
"enumDescriptions": [
"Correctness level unspecified.",
"Answer is totally wrong.",
"Answer is partially correct.",
"Answer is fully correct."
],
"type": "string"
},
"displayed": {
"description": "Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainArticleSuggestionData": {
"description": "Agent Assist Article Suggestion data.",
"id": "GoogleCloudContactcenterinsightsV1mainArticleSuggestionData",
"properties": {
"confidenceScore": {
"description": "The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "float",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the Article Suggestion and the document that it originates from.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"source": {
"description": "The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}",
"type": "string"
},
"title": {
"description": "Article title.",
"type": "string"
},
"uri": {
"description": "Article URI.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsMetadata": {
"description": "The metadata for a bulk analyze conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsMetadata",
"properties": {
"completedAnalysesCount": {
"description": "The number of requested analyses that have completed successfully so far.",
"format": "int32",
"type": "integer"
},
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"failedAnalysesCount": {
"description": "The number of requested analyses that have failed so far.",
"format": "int32",
"type": "integer"
},
"partialErrors": {
"description": "Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"readOnly": true,
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest",
"description": "The original request for bulk analyze."
},
"totalRequestedAnalysesCount": {
"description": "Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest": {
"description": "The request to analyze conversations in bulk.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest",
"properties": {
"analysisPercentage": {
"description": "Required. Percentage of selected conversation to analyze, between [0, 100].",
"format": "float",
"type": "number"
},
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelector",
"description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run."
},
"filter": {
"description": "Required. Filter used to select the subset of conversations to analyze.",
"type": "string"
},
"parent": {
"description": "Required. The parent resource to create analyses in.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsResponse": {
"description": "The response for a bulk analyze conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsResponse",
"properties": {
"failedAnalysisCount": {
"description": "Count of failed analyses.",
"format": "int32",
"type": "integer"
},
"successfulAnalysisCount": {
"description": "Count of successful analyses.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsMetadata": {
"description": "The metadata for a bulk delete conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsMetadata",
"properties": {
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"partialErrors": {
"description": "Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest",
"description": "The original request for bulk delete."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest": {
"description": "The request to delete conversations in bulk.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest",
"properties": {
"filter": {
"description": "Filter used to select the subset of conversations to delete.",
"type": "string"
},
"force": {
"description": "If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.",
"type": "boolean"
},
"maxDeleteCount": {
"description": "Maximum number of conversations to delete.",
"format": "int32",
"type": "integer"
},
"parent": {
"description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsResponse": {
"description": "The response for a bulk delete conversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsMetadata": {
"description": "Metadata for the BulkDeleteFeedbackLabels endpoint.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsMetadata",
"properties": {
"partialErrors": {
"description": "Partial errors during deletion operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest",
"description": "Output only. The original request for delete.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest": {
"description": "Request for the BulkDeleteFeedbackLabels endpoint.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest",
"properties": {
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"type": "string"
},
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsResponse": {
"description": "Response for the BulkDeleteFeedbackLabels endpoint.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadata": {
"description": "Metadata for the BulkDownloadFeedbackLabel endpoint.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"downloadStats": {
"$ref": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats",
"description": "Output only. Statistics for BulkDownloadFeedbackLabels operation.",
"readOnly": true
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"partialErrors": {
"description": "Partial errors during ingest operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest",
"description": "Output only. The original request for download.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats": {
"description": "Statistics for BulkDownloadFeedbackLabels operation.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats",
"properties": {
"fileNames": {
"description": "Output only. Full name of the files written to Cloud storage.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"processedObjectCount": {
"description": "The number of objects processed during the download operation.",
"format": "int32",
"type": "integer"
},
"successfulDownloadCount": {
"description": "The number of new feedback labels downloaded during this operation. Different from \"processed\" because some labels might not be downloaded because an error.",
"format": "int32",
"type": "integer"
},
"totalFilesWritten": {
"description": "Total number of files written to the provided Cloud Storage bucket.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest": {
"description": "Request for the BulkDownloadFeedbackLabel endpoint.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest",
"properties": {
"conversationFilter": {
"description": "Optional. Filter parent conversations to download feedback labels for. When specified, the feedback labels will be downloaded for the conversations that match the filter. If `template_qa_scorecard_id` is set, all the conversations that match the filter will be paired with the questions under the scorecard for labeling.",
"type": "string"
},
"feedbackLabelType": {
"description": "Optional. The type of feedback labels that will be downloaded.",
"enum": [
"FEEDBACK_LABEL_TYPE_UNSPECIFIED",
"QUALITY_AI",
"TOPIC_MODELING",
"AGENT_ASSIST_SUMMARY"
],
"enumDescriptions": [
"Unspecified format",
"Downloaded file will contain all Quality AI labels from the latest scorecard revision.",
"Downloaded file will contain only Topic Modeling labels.",
"Agent Assist Summarization labels."
],
"type": "string"
},
"filter": {
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING",
"type": "string"
},
"gcsDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination",
"description": "A cloud storage bucket destination."
},
"maxDownloadCount": {
"description": "Optional. Limits the maximum number of feedback labels that will be downloaded. The first `N` feedback labels will be downloaded.",
"format": "int32",
"type": "integer"
},
"parent": {
"description": "Required. The parent resource for new feedback labels.",
"type": "string"
},
"sheetsDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination",
"description": "A sheets document destination."
},
"templateQaScorecardId": {
"description": "Optional. If set, a template for labeling conversations and scorecard questions will be created from the conversation_filter and the questions under the scorecard(s). The feedback label `filter` will be ignored.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination": {
"description": "Google Cloud Storage Object details to write the feedback labels to.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination",
"properties": {
"addWhitespace": {
"description": "Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format.",
"type": "boolean"
},
"alwaysPrintEmptyFields": {
"description": "Optional. Always print fields with no presence. This is useful for printing fields that are not set, like implicit 0 value or empty lists/maps. Only applicable for JSON format.",
"type": "boolean"
},
"format": {
"description": "Required. File format in which the labels will be exported.",
"enum": [
"FORMAT_UNSPECIFIED",
"CSV",
"JSON"
],
"enumDescriptions": [
"Unspecified format.",
"CSV format. 1,000 labels are stored per CSV file by default.",
"JSON format. 1 label stored per JSON file by default."
],
"type": "string"
},
"objectUri": {
"description": "Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. `gs://bucket_name/object_uri_prefix`",
"type": "string"
},
"recordsPerFileCount": {
"description": "Optional. The number of records per file. Applicable for either format.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination": {
"description": "Google Sheets document details to write the feedback labels to.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination",
"properties": {
"sheetTitle": {
"description": "Optional. The title of the new sheet to write the feedback labels to.",
"type": "string"
},
"spreadsheetUri": {
"description": "Required. The Google Sheets document to write the feedback labels to. Retrieved from Google Sheets URI. E.g. `https://docs.google.com/spreadsheets/d/1234567890` The spreadsheet must be shared with the Insights P4SA. The spreadsheet ID written to will be returned as `file_names` in the BulkDownloadFeedbackLabelsMetadata.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsResponse": {
"description": "Response for the BulkDownloadFeedbackLabel endpoint.",
"id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainCallAnnotation": {
"description": "A piece of metadata that applies to a window of a call.",
"id": "GoogleCloudContactcenterinsightsV1mainCallAnnotation",
"properties": {
"annotationEndBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary",
"description": "The boundary in the conversation where the annotation ends, inclusive."
},
"annotationStartBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary",
"description": "The boundary in the conversation where the annotation starts, inclusive."
},
"channelTag": {
"description": "The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.",
"format": "int32",
"type": "integer"
},
"entityMentionData": {
"$ref": "GoogleCloudContactcenterinsightsV1mainEntityMentionData",
"description": "Data specifying an entity mention."
},
"holdData": {
"$ref": "GoogleCloudContactcenterinsightsV1mainHoldData",
"description": "Data specifying a hold."
},
"intentMatchData": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIntentMatchData",
"description": "Data specifying an intent match."
},
"interruptionData": {
"$ref": "GoogleCloudContactcenterinsightsV1mainInterruptionData",
"description": "Data specifying an interruption."
},
"issueMatchData": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssueMatchData",
"description": "Data specifying an issue match."
},
"phraseMatchData": {
"$ref": "GoogleCloudContactcenterinsightsV1mainPhraseMatchData",
"description": "Data specifying a phrase match."
},
"sentimentData": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData",
"description": "Data specifying sentiment."
},
"silenceData": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSilenceData",
"description": "Data specifying silence."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult": {
"description": "The result of testing a constraint expression on a pair of conversations.",
"id": "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult",
"properties": {
"conversationA": {
"description": "The first conversation resource name.",
"type": "string"
},
"conversationB": {
"description": "The second conversation resource name.",
"type": "string"
},
"ruleConstraintResults": {
"description": "The results for each applicable constraint rule.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResultRuleConstraintResult"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResultRuleConstraintResult": {
"description": "The result of a single constraint rule on the pair of conversations.",
"id": "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResultRuleConstraintResult",
"properties": {
"constraintMet": {
"description": "Whether the constraint expression evaluated to true for (A, B) or (B, A).",
"type": "boolean"
},
"error": {
"$ref": "GoogleRpcStatus",
"description": "The error status if the constraint expression failed to evaluate."
},
"ruleId": {
"description": "The rule ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversation": {
"description": "The conversation resource.",
"id": "GoogleCloudContactcenterinsightsV1mainConversation",
"properties": {
"agentId": {
"description": "An opaque, user-specified string representing the human agent who handled the conversation.",
"type": "string"
},
"callMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationCallMetadata",
"description": "Call-specific metadata."
},
"correlationInfo": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo",
"description": "Output only. Info for correlating across conversations.",
"readOnly": true
},
"createTime": {
"description": "Output only. The time at which the conversation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"dataSource": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationDataSource",
"description": "The source of the audio and transcription for the conversation."
},
"dialogflowIntents": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDialogflowIntent"
},
"description": "Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}",
"readOnly": true,
"type": "object"
},
"duration": {
"description": "Output only. The duration of the conversation.",
"format": "google-duration",
"readOnly": true,
"type": "string"
},
"expireTime": {
"description": "The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.",
"format": "google-datetime",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "A map for the user to specify any custom fields. A maximum of 100 labels per conversation is allowed, with a maximum of 256 characters per entry.",
"type": "object"
},
"languageCode": {
"description": "A user-specified language code for the conversation.",
"type": "string"
},
"latestAnalysis": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnalysis",
"description": "Output only. The conversation's latest analysis, if one exists.",
"readOnly": true
},
"latestSummary": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData",
"description": "Output only. Latest summary of the conversation.",
"readOnly": true
},
"medium": {
"description": "Immutable. The conversation medium.",
"enum": [
"MEDIUM_UNSPECIFIED",
"PHONE_CALL",
"CHAT"
],
"enumDescriptions": [
"Default value for unspecified.",
"The format for conversations that took place over the phone.",
"The format for conversations that took place over chat."
],
"type": "string"
},
"metadataJson": {
"description": "Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telephony systems and must be in one of Insight's supported formats.",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}",
"type": "string"
},
"obfuscatedUserId": {
"description": "Obfuscated user ID which the customer sent to us.",
"type": "string"
},
"qualityMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata",
"description": "Conversation metadata related to quality management."
},
"runtimeAnnotations": {
"description": "Output only. The annotations that were generated during the customer and agent interaction.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation"
},
"readOnly": true,
"type": "array"
},
"startTime": {
"description": "The time at which the conversation started.",
"format": "google-datetime",
"type": "string"
},
"transcript": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationTranscript",
"description": "Output only. The conversation transcript.",
"readOnly": true
},
"ttl": {
"description": "Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.",
"format": "google-duration",
"type": "string"
},
"turnCount": {
"description": "Output only. The number of turns in the conversation.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"updateTime": {
"description": "Output only. The most recent time at which the conversation was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationCallMetadata": {
"description": "Call-specific metadata.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationCallMetadata",
"properties": {
"agentChannel": {
"description": "The audio channel that contains the agent.",
"format": "int32",
"type": "integer"
},
"customerChannel": {
"description": "The audio channel that contains the customer.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo": {
"description": "Info for correlating across conversations.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo",
"properties": {
"correlationTypes": {
"description": "Output only. The correlation types of this conversation. A single conversation can have multiple correlation types. For example a conversation that only has a single segment is both a SEGMENT and a FULL_CONVERSATION.",
"items": {
"enum": [
"CORRELATION_TYPE_UNSPECIFIED",
"SEGMENT",
"PARTIAL",
"FULL",
"SYNTHETIC"
],
"enumDescriptions": [
"Default value for unspecified.",
"This conversation represents a segment of a full conversation. The lowest level of granularity.",
"This conversation represents a partial conversation of potentially multiple segments but is not a full conversation.",
"This conversation represents a full conversation of potentially multiple segments.",
"This conversation represents a synthetic conversation."
],
"type": "string"
},
"readOnly": true,
"type": "array"
},
"fullConversationCorrelationId": {
"description": "Output only. The full conversation correlation id this conversation is a segment of.",
"readOnly": true,
"type": "string"
},
"mergedFullConversationCorrelationId": {
"description": "Output only. The full conversation correlation id this conversation is a merged conversation of.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult": {
"description": "The result of testing correlation config on a single conversation.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult",
"properties": {
"conversation": {
"description": "The conversation resource name.",
"type": "string"
},
"ruleResults": {
"description": "The results for each correlation rule.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCorrelationResult"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCorrelationResult": {
"description": "The result of a single correlation rule.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCorrelationResult",
"properties": {
"correlationId": {
"description": "The correlation ID generated by the join key expression.",
"type": "string"
},
"error": {
"$ref": "GoogleRpcStatus",
"description": "The error status if the join key expression failed to evaluate."
},
"ruleId": {
"description": "The rule ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationDataSource": {
"description": "The conversation source, which is a combination of transcript and audio.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationDataSource",
"properties": {
"dialogflowSource": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDialogflowSource",
"description": "The source when the conversation comes from Dialogflow."
},
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1mainGcsSource",
"description": "A Cloud Storage location specification for the audio and transcript."
},
"metadataUri": {
"description": "Cloud Storage URI that points to a file that contains the conversation metadata.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment": {
"description": "One channel of conversation-level sentiment data.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment",
"properties": {
"channelTag": {
"description": "The channel of the audio that the data applies to.",
"format": "int32",
"type": "integer"
},
"sentimentData": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData",
"description": "Data specifying sentiment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationLevelSilence": {
"description": "Conversation-level silence data.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationLevelSilence",
"properties": {
"silenceDuration": {
"description": "Amount of time calculated to be in silence.",
"format": "google-duration",
"type": "string"
},
"silencePercentage": {
"description": "Percentage of the total conversation spent in silence.",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationParticipant": {
"description": "The call participant speaking for a given utterance.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationParticipant",
"properties": {
"dialogflowParticipant": {
"deprecated": true,
"description": "Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
"type": "string"
},
"dialogflowParticipantName": {
"description": "The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
"type": "string"
},
"obfuscatedExternalUserId": {
"description": "Obfuscated user ID from Dialogflow.",
"type": "string"
},
"role": {
"description": "The role of the participant.",
"enum": [
"ROLE_UNSPECIFIED",
"HUMAN_AGENT",
"AUTOMATED_AGENT",
"END_USER",
"ANY_AGENT"
],
"enumDescriptions": [
"Participant's role is not set.",
"Participant is a human agent.",
"Participant is an automated agent.",
"Participant is an end user who conversed with the contact center.",
"Participant is either a human or automated agent."
],
"type": "string"
},
"userId": {
"description": "A user-specified ID representing the participant.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata": {
"description": "Conversation metadata related to quality management.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata",
"properties": {
"agentInfo": {
"description": "Information about agents involved in the call.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo"
},
"type": "array"
},
"customerSatisfactionRating": {
"description": "An arbitrary integer value indicating the customer's satisfaction rating.",
"format": "int32",
"type": "integer"
},
"feedbackLabels": {
"description": "Input only. The feedback labels associated with the conversation.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainFeedbackLabel"
},
"type": "array"
},
"menuPath": {
"description": "An arbitrary string value specifying the menu path the customer took.",
"type": "string"
},
"waitDuration": {
"description": "The amount of time the customer waited to connect with an agent.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo": {
"description": "Information about an agent involved in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo",
"properties": {
"agentId": {
"description": "A user-specified string representing the agent.",
"type": "string"
},
"agentType": {
"description": "The agent type, e.g. HUMAN_AGENT.",
"enum": [
"ROLE_UNSPECIFIED",
"HUMAN_AGENT",
"AUTOMATED_AGENT",
"END_USER",
"ANY_AGENT"
],
"enumDescriptions": [
"Participant's role is not set.",
"Participant is a human agent.",
"Participant is an automated agent.",
"Participant is an end user who conversed with the contact center.",
"Participant is either a human or automated agent."
],
"type": "string"
},
"deploymentDisplayName": {
"description": "The agent's deployment display name. Only applicable to automated agents.",
"type": "string"
},
"deploymentId": {
"description": "The agent's deployment ID. Only applicable to automated agents.",
"type": "string"
},
"displayName": {
"description": "The agent's name.",
"type": "string"
},
"dispositionCode": {
"description": "A user-provided string indicating the outcome of the agent's segment of the call.",
"type": "string"
},
"location": {
"description": "The agent's location.",
"type": "string"
},
"team": {
"deprecated": true,
"description": "A user-specified string representing the agent's team. Deprecated in favor of the `teams` field.",
"type": "string"
},
"teams": {
"description": "User-specified strings representing the agent's teams.",
"items": {
"type": "string"
},
"type": "array"
},
"versionDisplayName": {
"description": "The agent's version display name. Only applicable to automated agents.",
"type": "string"
},
"versionId": {
"description": "The agent's version ID. Only applicable to automated agents.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData": {
"description": "Conversation summarization suggestion data.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData",
"properties": {
"answerRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"confidence": {
"description": "The confidence score of the summarization.",
"format": "float",
"type": "number"
},
"conversationModel": {
"description": "The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}",
"type": "string"
},
"generatorId": {
"description": "Agent Assist generator ID.",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "A map that contains metadata about the summarization and the document from which it originates.",
"type": "object"
},
"text": {
"description": "The summarization content that is concatenated into one string.",
"type": "string"
},
"textSections": {
"additionalProperties": {
"type": "string"
},
"description": "The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.",
"type": "object"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationTranscript": {
"description": "A message representing the transcript of a conversation.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationTranscript",
"properties": {
"transcriptSegments": {
"description": "A list of sequential transcript segments that comprise the conversation.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment": {
"description": "A segment of a full transcript.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment",
"properties": {
"channelTag": {
"description": "For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from '1' to 'N'. A channel tag of 0 indicates that the audio is mono.",
"format": "int32",
"type": "integer"
},
"confidence": {
"description": "A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. A default value of 0.0 indicates that the value is unset.",
"format": "float",
"type": "number"
},
"dialogflowSegmentMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata",
"description": "CCAI metadata relating to the current transcript segment."
},
"languageCode": {
"description": "The language code of this segment as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\".",
"type": "string"
},
"messageTime": {
"description": "The time that the message occurred, if provided.",
"format": "google-datetime",
"type": "string"
},
"segmentParticipant": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationParticipant",
"description": "The participant of this segment."
},
"sentiment": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData",
"description": "The sentiment for this transcript segment."
},
"text": {
"description": "The text of this segment.",
"type": "string"
},
"words": {
"description": "A list of the word-specific information for each word in the segment.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata": {
"description": "Metadata from Dialogflow relating to the current transcript segment.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata",
"properties": {
"smartReplyAllowlistCovered": {
"description": "Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo": {
"description": "Word-level info for words in a transcript.",
"id": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo",
"properties": {
"confidence": {
"description": "A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset.",
"format": "float",
"type": "number"
},
"endOffset": {
"description": "Time offset of the end of this word relative to the beginning of the total conversation.",
"format": "google-duration",
"type": "string"
},
"startOffset": {
"description": "Time offset of the start of this word relative to the beginning of the total conversation.",
"format": "google-duration",
"type": "string"
},
"word": {
"description": "The word itself. Includes punctuation marks that surround the word.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainCreateAnalysisOperationMetadata": {
"description": "Metadata for a create analysis operation.",
"id": "GoogleCloudContactcenterinsightsV1mainCreateAnalysisOperationMetadata",
"properties": {
"annotatorSelector": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelector",
"description": "Output only. The annotator selector used for the analysis (if any).",
"readOnly": true
},
"conversation": {
"description": "Output only. The Conversation that this Analysis Operation belongs to.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainCreateIssueMetadata": {
"description": "Metadata for creating an issue.",
"id": "GoogleCloudContactcenterinsightsV1mainCreateIssueMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainCreateIssueRequest",
"description": "The original request for creation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainCreateIssueModelMetadata": {
"description": "Metadata for creating an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainCreateIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest",
"description": "The original request for creation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest": {
"description": "The request to create an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest",
"properties": {
"issueModel": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssueModel",
"description": "Required. The issue model to create."
},
"parent": {
"description": "Required. The parent resource of the issue model.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainCreateIssueRequest": {
"description": "The request to create an issue.",
"id": "GoogleCloudContactcenterinsightsV1mainCreateIssueRequest",
"properties": {
"issue": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssue",
"description": "Required. The values for the new issue."
},
"parent": {
"description": "Required. The parent resource of the issue.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDataset": {
"description": "Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic)",
"id": "GoogleCloudContactcenterinsightsV1mainDataset",
"properties": {
"createTime": {
"description": "Output only. Dataset create time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"description": {
"description": "Dataset description.",
"type": "string"
},
"displayName": {
"description": "Display name for the dataaset",
"type": "string"
},
"name": {
"description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}",
"type": "string"
},
"ttl": {
"description": "Optional. Option TTL for the dataset.",
"format": "google-duration",
"type": "string"
},
"type": {
"description": "Dataset usage type.",
"enum": [
"TYPE_UNSPECIFIED",
"EVAL",
"LIVE"
],
"enumDescriptions": [
"Default value for unspecified.",
"For evals only.",
"Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)"
],
"type": "string"
},
"updateTime": {
"description": "Output only. Dataset update time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDeleteIssueModelMetadata": {
"description": "Metadata for deleting an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainDeleteIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest",
"description": "The original request for deletion."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest": {
"description": "The request to delete an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest",
"properties": {
"name": {
"description": "Required. The name of the issue model to delete.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagMetadata": {
"description": "The metadata for deleting a QaQuestionTag Resource.",
"id": "GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest",
"description": "Output only. The original request.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest": {
"description": "The request for deleting a QaQuestionTag.",
"id": "GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest",
"properties": {
"name": {
"description": "Required. The name of the QaQuestionTag to delete.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDeployIssueModelMetadata": {
"description": "Metadata for deploying an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainDeployIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest",
"description": "The original request for deployment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest": {
"description": "The request to deploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest",
"properties": {
"name": {
"description": "Required. The issue model to deploy.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDeployIssueModelResponse": {
"description": "The response to deploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainDeployIssueModelResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDialogflowIntent": {
"description": "The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.",
"id": "GoogleCloudContactcenterinsightsV1mainDialogflowIntent",
"properties": {
"displayName": {
"description": "The human-readable name of the intent.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData": {
"description": "Dialogflow interaction data.",
"id": "GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData",
"properties": {
"confidence": {
"description": "The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "float",
"type": "number"
},
"dialogflowIntentId": {
"description": "The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDialogflowSource": {
"description": "A Dialogflow source of conversation data.",
"id": "GoogleCloudContactcenterinsightsV1mainDialogflowSource",
"properties": {
"audioUri": {
"description": "Cloud Storage URI that points to a file that contains the conversation audio.",
"type": "string"
},
"dialogflowConversation": {
"description": "Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimension": {
"description": "A dimension determines the grouping key for the query. In SQL terms, these would be part of both the \"SELECT\" and \"GROUP BY\" clauses.",
"id": "GoogleCloudContactcenterinsightsV1mainDimension",
"properties": {
"agentDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata",
"description": "Output only. Metadata about the agent dimension.",
"readOnly": true
},
"clientSentimentCategoryDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata",
"description": "Output only. Metadata about the client sentiment category dimension.",
"readOnly": true
},
"conversationProfileDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata",
"description": "Output only. Metadata about the conversation profile dimension.",
"readOnly": true
},
"conversationalAgentsPlaybookDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata",
"description": "Output only. Metadata about the Conversational Agents playbook dimension.",
"readOnly": true
},
"conversationalAgentsToolDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata",
"description": "Output only. Metadata about the Conversational Agents tool dimension.",
"readOnly": true
},
"dimensionKey": {
"description": "The key of the dimension.",
"enum": [
"DIMENSION_KEY_UNSPECIFIED",
"ISSUE",
"ISSUE_NAME",
"AGENT",
"AGENT_TEAM",
"QA_QUESTION_ID",
"QA_QUESTION_ANSWER_VALUE",
"QA_SCORECARD_ID",
"CONVERSATION_PROFILE_ID",
"MEDIUM",
"CONVERSATIONAL_AGENTS_PLAYBOOK_ID",
"CONVERSATIONAL_AGENTS_PLAYBOOK_NAME",
"CONVERSATIONAL_AGENTS_TOOL_ID",
"CONVERSATIONAL_AGENTS_TOOL_NAME",
"CLIENT_SENTIMENT_CATEGORY",
"AGENT_VERSION_ID",
"AGENT_DEPLOYMENT_ID",
"AGENT_ASSIST_SUPERVISOR_ID",
"LABEL_KEY",
"LABEL_VALUE",
"LABEL_KEY_AND_VALUE"
],
"enumDescriptions": [
"The key of the dimension is unspecified.",
"The dimension is keyed by issues.",
"The dimension is keyed by issue names.",
"The dimension is keyed by agents.",
"The dimension is keyed by agent teams.",
"The dimension is keyed by QaQuestionIds. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing stats for the same question across different scorecard revisions.",
"The dimension is keyed by QaQuestionIds-Answer value pairs. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing distribution of answers per question across different scorecard revisions.",
"The dimension is keyed by QaScorecardIds. Note that: We only group by the ScorecardId and not the revision-id of the scorecard. This allows for showing stats for the same scorecard across different revisions. This metric is mostly only useful if querying the average normalized score per scorecard.",
"The dimension is keyed by the conversation profile ID.",
"The dimension is keyed by the conversation medium.",
"The dimension is keyed by the Conversational Agents playbook ID.",
"The dimension is keyed by the Conversational Agents playbook display name.",
"The dimension is keyed by the Conversational Agents tool ID.",
"The dimension is keyed by the Conversational Agents tool display name.",
"The dimension is keyed by the client sentiment category.",
"The dimension is keyed by the agent version ID.",
"The dimension is keyed by the agent deployment ID.",
"The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents.",
"The dimension is keyed by label keys.",
"The dimension is keyed by label values.",
"The dimension is keyed by label key-value pairs."
],
"type": "string"
},
"issueDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata",
"description": "Output only. Metadata about the issue dimension.",
"readOnly": true
},
"labelDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata",
"description": "Output only. Metadata about conversation labels.",
"readOnly": true
},
"mediumDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata",
"description": "Output only. Metadata about the conversation medium dimension.",
"readOnly": true
},
"qaQuestionAnswerDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata",
"description": "Output only. Metadata about the QA question-answer dimension.",
"readOnly": true
},
"qaQuestionDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata",
"description": "Output only. Metadata about the QA question dimension.",
"readOnly": true
},
"qaScorecardDimensionMetadata": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata",
"description": "Output only. Metadata about the QA scorecard dimension.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata": {
"description": "Metadata about the agent dimension.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata",
"properties": {
"agentDeploymentDisplayName": {
"description": "Optional. The agent's deployment display name. Only applicable to automated agents. This will be populated for AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentDeploymentId": {
"description": "Optional. The agent's deployment ID. Only applicable to automated agents. This will be populated for AGENT and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentDisplayName": {
"description": "Optional. The agent's name This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentId": {
"description": "Optional. A user-specified string representing the agent. This will be populated for AGENT, AGENT_TEAM, AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentTeam": {
"description": "Optional. A user-specified string representing the agent's team.",
"type": "string"
},
"agentVersionDisplayName": {
"description": "Optional. The agent's version display name. Only applicable to automated agents. This will be populated for AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
},
"agentVersionId": {
"description": "Optional. The agent's version ID. Only applicable to automated agents. This will be populated for AGENT_VERSION_ID, and AGENT_DEPLOYMENT_ID dimensions.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata": {
"description": "Metadata about the client sentiment category dimension.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata",
"properties": {
"sentimentCategory": {
"description": "Optional. The client sentiment category.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata": {
"description": "Metadata about the conversation profile dimension.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata",
"properties": {
"conversationProfileId": {
"description": "Optional. The conversation profile ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata": {
"description": "Metadata about the Conversational Agents playbook dimension.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata",
"properties": {
"playbookDisplayName": {
"description": "Optional. The dialogflow playbook display name.",
"type": "string"
},
"playbookId": {
"description": "Optional. The dialogflow playbook ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata": {
"description": "Metadata about the Conversational Agents tool dimension.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata",
"properties": {
"toolDisplayName": {
"description": "Optional. The dialogflow tool display name.",
"type": "string"
},
"toolId": {
"description": "Optional. The dialogflow tool ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata": {
"description": "Metadata about the issue dimension.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata",
"properties": {
"issueDisplayName": {
"description": "The issue display name.",
"type": "string"
},
"issueId": {
"description": "The issue ID.",
"type": "string"
},
"issueModelId": {
"description": "The parent issue model ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata": {
"description": "Metadata about conversation labels.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata",
"properties": {
"labelKey": {
"description": "Optional. The label key.",
"type": "string"
},
"labelValue": {
"description": "Optional. The label value.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata": {
"description": "Metadata about the conversation medium dimension.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata",
"properties": {
"medium": {
"description": "Optional. The conversation medium. Currently supports : PHONE_CALL, CHAT.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata": {
"description": "Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata",
"properties": {
"answerValue": {
"description": "Optional. The full body of the question.",
"type": "string"
},
"qaQuestionId": {
"description": "Optional. The QA question ID.",
"type": "string"
},
"qaScorecardId": {
"description": "Optional. The QA scorecard ID.",
"type": "string"
},
"questionBody": {
"description": "Optional. The full body of the question.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata": {
"description": "Metadata about the QA question dimension.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata",
"properties": {
"qaQuestionId": {
"description": "Optional. The QA question ID.",
"type": "string"
},
"qaScorecardId": {
"description": "Optional. The QA scorecard ID.",
"type": "string"
},
"questionBody": {
"description": "Optional. The full body of the question.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata": {
"description": "Metadata about the QA scorecard dimension.",
"id": "GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata",
"properties": {
"qaScorecardId": {
"description": "Optional. The QA scorecard ID.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainEncryptionSpec": {
"description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`).",
"id": "GoogleCloudContactcenterinsightsV1mainEncryptionSpec",
"properties": {
"kmsKey": {
"description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by our default encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainEntity": {
"description": "The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location.",
"id": "GoogleCloudContactcenterinsightsV1mainEntity",
"properties": {
"displayName": {
"description": "The representative name for the entity.",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below.",
"type": "object"
},
"salience": {
"description": "The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.",
"format": "float",
"type": "number"
},
"sentiment": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData",
"description": "The aggregate sentiment expressed for this entity in the conversation."
},
"type": {
"description": "The entity type.",
"enum": [
"TYPE_UNSPECIFIED",
"PERSON",
"LOCATION",
"ORGANIZATION",
"EVENT",
"WORK_OF_ART",
"CONSUMER_GOOD",
"OTHER",
"PHONE_NUMBER",
"ADDRESS",
"DATE",
"NUMBER",
"PRICE"
],
"enumDescriptions": [
"Unspecified.",
"Person.",
"Location.",
"Organization.",
"Event.",
"Artwork.",
"Consumer product.",
"Other types of entities.",
"Phone number. The metadata lists the phone number (formatted according to local convention), plus whichever additional elements appear in the text: * `number` - The actual number, broken down into sections according to local convention. * `national_prefix` - Country code, if detected. * `area_code` - Region or area code, if detected. * `extension` - Phone extension (to be dialed after connection), if detected.",
"Address. The metadata identifies the street number and locality plus whichever additional elements appear in the text: * `street_number` - Street number. * `locality` - City or town. * `street_name` - Street/route name, if detected. * `postal_code` - Postal code, if detected. * `country` - Country, if detected. * `broad_region` - Administrative area, such as the state, if detected. * `narrow_region` - Smaller administrative area, such as county, if detected. * `sublocality` - Used in Asian addresses to demark a district within a city, if detected.",
"Date. The metadata identifies the components of the date: * `year` - Four digit year, if detected. * `month` - Two digit month number, if detected. * `day` - Two digit day number, if detected.",
"Number. The metadata is the number itself.",
"Price. The metadata identifies the `value` and `currency`."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainEntityMentionData": {
"description": "The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1mainEntityMentionData",
"properties": {
"entityUniqueId": {
"description": "The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to.",
"type": "string"
},
"sentiment": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData",
"description": "Sentiment expressed for this mention of the entity."
},
"type": {
"description": "The type of the entity mention.",
"enum": [
"MENTION_TYPE_UNSPECIFIED",
"PROPER",
"COMMON"
],
"enumDescriptions": [
"Unspecified.",
"Proper noun.",
"Common noun (or noun compound)."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainExportInsightsDataMetadata": {
"description": "Metadata for an export insights operation.",
"id": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataMetadata",
"properties": {
"completedExportCount": {
"description": "The number of conversations that were exported successfully.",
"format": "int32",
"type": "integer"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"failedExportCount": {
"description": "The number of conversations that failed to be exported.",
"format": "int32",
"type": "integer"
},
"partialErrors": {
"description": "Partial errors during export operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest",
"description": "The original request for export."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest": {
"description": "The request to export insights.",
"id": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest",
"properties": {
"bigQueryDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination",
"description": "Specified if sink is a BigQuery table."
},
"exportSchemaVersion": {
"description": "Optional. Version of the export schema.",
"enum": [
"EXPORT_SCHEMA_VERSION_UNSPECIFIED",
"EXPORT_V1",
"EXPORT_V2",
"EXPORT_V3",
"EXPORT_V4",
"EXPORT_V5",
"EXPORT_V6",
"EXPORT_V7",
"EXPORT_V8",
"EXPORT_V9",
"EXPORT_V10",
"EXPORT_V11",
"EXPORT_V12",
"EXPORT_V13",
"EXPORT_V14",
"EXPORT_V15",
"EXPORT_V16",
"EXPORT_V17",
"EXPORT_VERSION_LATEST_AVAILABLE"
],
"enumDescriptions": [
"Unspecified. Defaults to EXPORT_V3.",
"Export schema version 1.",
"Export schema version 2.",
"Export schema version 3.",
"Export schema version 4.",
"Export schema version 5.",
"Export schema version 6.",
"Export schema version 7.",
"Export schema version 8.",
"Export schema version 9.",
"Export schema version 10.",
"Export schema version 11.",
"Export schema version 12.",
"Export schema version 13.",
"Export schema version 14.",
"Export schema version 15.",
"Export schema version 16.",
"Export schema version 17.",
"Export schema version latest available."
],
"type": "string"
},
"filter": {
"description": "A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.",
"type": "string"
},
"kmsKey": {
"description": "A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}",
"type": "string"
},
"parent": {
"description": "Required. The parent resource to export data from.",
"type": "string"
},
"writeDisposition": {
"description": "Options for what to do if the destination table already exists.",
"enum": [
"WRITE_DISPOSITION_UNSPECIFIED",
"WRITE_TRUNCATE",
"WRITE_APPEND"
],
"enumDescriptions": [
"Write disposition is not specified. Defaults to WRITE_TRUNCATE.",
"If the table already exists, BigQuery will overwrite the table data and use the schema from the load.",
"If the table already exists, BigQuery will append data to the table."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination": {
"description": "A BigQuery Table Reference.",
"id": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination",
"properties": {
"dataset": {
"description": "Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.",
"type": "string"
},
"projectId": {
"description": "A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.",
"type": "string"
},
"table": {
"description": "The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainExportInsightsDataResponse": {
"description": "Response for an export insights operation.",
"id": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainExportIssueModelMetadata": {
"description": "Metadata used for export issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainExportIssueModelMetadata",
"properties": {
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest",
"description": "The original export request."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest": {
"description": "Request to export an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest",
"properties": {
"gcsDestination": {
"$ref": "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination",
"description": "Google Cloud Storage URI to export the issue model to."
},
"name": {
"description": "Required. The issue model to export.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination": {
"description": "Google Cloud Storage Object URI to save the issue model to.",
"id": "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination",
"properties": {
"objectUri": {
"description": "Required. Format: `gs:///`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainExportIssueModelResponse": {
"description": "Response from export issue model",
"id": "GoogleCloudContactcenterinsightsV1mainExportIssueModelResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainFaqAnswerData": {
"description": "Agent Assist frequently-asked-question answer data.",
"id": "GoogleCloudContactcenterinsightsV1mainFaqAnswerData",
"properties": {
"answer": {
"description": "The piece of text from the `source` knowledge base document.",
"type": "string"
},
"confidenceScore": {
"description": "The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "float",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the FAQ answer and the document that it originates from.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"question": {
"description": "The corresponding FAQ question.",
"type": "string"
},
"source": {
"description": "The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainFeedbackLabel": {
"description": "Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.",
"id": "GoogleCloudContactcenterinsightsV1mainFeedbackLabel",
"properties": {
"createTime": {
"description": "Output only. Create time of the label.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"label": {
"description": "String label used for Topic Modeling.",
"type": "string"
},
"labeledResource": {
"description": "Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}`",
"type": "string"
},
"name": {
"description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
"type": "string"
},
"qaAnswerLabel": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue",
"description": "QaAnswer label used for Quality AI example conversations."
},
"updateTime": {
"description": "Output only. Update time of the label.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGcsSource": {
"description": "A Cloud Storage source of conversation data.",
"id": "GoogleCloudContactcenterinsightsV1mainGcsSource",
"properties": {
"audioUri": {
"description": "Cloud Storage URI that points to a file that contains the conversation audio.",
"type": "string"
},
"transcriptUri": {
"description": "Immutable. Cloud Storage URI that points to a file that contains the conversation transcript.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript": {
"description": "The conversation transcript for the chart.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript",
"properties": {
"conversationId": {
"description": "The conversation id of the chart.",
"type": "string"
},
"createTime": {
"description": "Output only. The create time of the conversation.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"messages": {
"description": "Ordered list of messages, including user inputs and system responses.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage"
},
"type": "array"
},
"updateTime": {
"description": "Output only. The update time of the conversation.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage": {
"description": "The message in the conversation.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage",
"properties": {
"createTime": {
"description": "Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"messageId": {
"description": "The message id of the message.",
"type": "string"
},
"systemMessageWrapper": {
"$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages",
"description": "A wrapper for system messages per turn."
},
"userMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage",
"description": "A message from the user that is interacting with the system."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage": {
"description": "A message from the system in response to the user. This message can also be a message from the user as historical context for multiturn conversations with the system.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage",
"properties": {
"chartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Chart spec from LLM",
"type": "object"
},
"generatedSqlQuery": {
"description": "Raw SQL from LLM, before templatization",
"type": "string"
},
"textMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput",
"description": "A direct natural language response to the user message."
},
"userProvidedChartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Optional. User provided chart spec",
"type": "object"
},
"userProvidedSqlQuery": {
"description": "Optional. User provided SQL query",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput": {
"description": "A text output message from the system.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput",
"properties": {
"text": {
"description": "The parts of the message.",
"items": {
"type": "string"
},
"type": "array"
},
"textType": {
"description": "The type of the text message.",
"enum": [
"TYPE_UNSPECIFIED",
"THOUGHT",
"FINAL_RESPONSE",
"PROGRESS"
],
"enumDescriptions": [
"The default text type.",
"The text is a thinking plan generated by the thinking tool.",
"The text is a final response to the user question.",
"The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (`THOUGHT`) and the final answer to the user (`FINAL_RESPONSE`). These messages provide insight into the agent's actions."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages": {
"description": "A wrapper for system messages per turn.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages",
"properties": {
"systemMessages": {
"description": "A message from the system in response to the user.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage": {
"description": "The user message.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage",
"properties": {
"text": {
"description": "A message from the user that is interacting with the system.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata": {
"description": "The metadata for generative insights.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata",
"properties": {
"errorMessages": {
"description": "The error message when the generative insights request fails.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponse": {
"description": "The response for generative insights.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponse",
"properties": {
"generativeResponses": {
"description": "The full list of generative responses. Each response is ordered by time.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse"
},
"type": "array"
},
"transcript": {
"$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript",
"description": "The transcript of the generative insights conversation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse": {
"description": "Wrapper for storing the generative response for a chart.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse",
"properties": {
"chartSpec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The chart spec for the data. This will be specified in the vega-lite or vega format.",
"type": "object"
},
"generatedSqlQuery": {
"description": "The generated SQL query from the LLM. Will be populated during the chart building phase. The generated SQL will be cached in the corresponding chart resource.",
"type": "string"
},
"textMessage": {
"$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput",
"description": "The text output from the LLM. Will be populated during the chart building phase. For a reloaded chart, this will NOT be populated. May contain THOUGHT or a FINAL response or some in-progress response."
},
"textOutput": {
"deprecated": true,
"description": "The text output from the LLM. Will be populated during the chart building phase. For a reloaded chart, this will NOT be populated. May contain THOUGHT or a FINAL response or some in-progress response.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput": {
"description": "Wrapper for text output.",
"id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput",
"properties": {
"text": {
"description": "The text output from the LLM.",
"items": {
"type": "string"
},
"type": "array"
},
"textType": {
"description": "The type of text output.",
"enum": [
"TYPE_UNSPECIFIED",
"THOUGHT",
"FINAL_RESPONSE",
"PROGRESS"
],
"enumDescriptions": [
"The type is unspecified.",
"The text is part of LLM reasoning.",
"The text is the final answer from LLM.",
"The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (`THOUGHT`) and the final answer to the user (`FINAL_RESPONSE`). These messages provide insight into the agent's actions."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainHoldData": {
"description": "The data for a hold annotation.",
"id": "GoogleCloudContactcenterinsightsV1mainHoldData",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainImportIssueModelMetadata": {
"description": "Metadata used for import issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainImportIssueModelMetadata",
"properties": {
"createTime": {
"description": "The time the operation was created.",
"format": "google-datetime",
"type": "string"
},
"endTime": {
"description": "The time the operation finished running.",
"format": "google-datetime",
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest",
"description": "The original import request."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest": {
"description": "Request to import an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest",
"properties": {
"createNewModel": {
"description": "Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.",
"type": "boolean"
},
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource",
"description": "Google Cloud Storage source message."
},
"parent": {
"description": "Required. The parent resource of the issue model.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource": {
"description": "Google Cloud Storage Object URI to get the issue model file from.",
"id": "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource",
"properties": {
"objectUri": {
"description": "Required. Format: `gs:///`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainImportIssueModelResponse": {
"description": "Response from import issue model",
"id": "GoogleCloudContactcenterinsightsV1mainImportIssueModelResponse",
"properties": {
"issueModel": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssueModel",
"description": "The issue model that was imported."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadata": {
"description": "The metadata for an IngestConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"ingestConversationsStats": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats",
"description": "Output only. Statistics for IngestConversations operation.",
"readOnly": true
},
"partialErrors": {
"description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"readOnly": true,
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest",
"description": "Output only. The original request for ingest.",
"readOnly": true
},
"sampledConversations": {
"description": "Output only. Stores the conversation resources produced by ingest sampling operations.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats": {
"description": "Statistics for IngestConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats",
"properties": {
"duplicatesSkippedCount": {
"description": "Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"failedIngestCount": {
"description": "Output only. The number of objects which were unable to be ingested due to errors. The errors are populated in the partial_errors field.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"processedObjectCount": {
"description": "Output only. The number of objects processed during the ingest operation.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"successfulIngestCount": {
"description": "Output only. The number of new conversations added during this ingest operation.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest": {
"description": "The request to ingest conversations.",
"id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest",
"properties": {
"conversationConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig",
"description": "Configuration that applies to all conversations."
},
"gcsSource": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource",
"description": "A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication."
},
"parent": {
"description": "Required. The parent resource for new conversations.",
"type": "string"
},
"redactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainRedactionConfig",
"description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings."
},
"sampleSize": {
"description": "Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.",
"format": "int32",
"type": "integer"
},
"speechConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSpeechConfig",
"description": "Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings."
},
"transcriptObjectConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig",
"description": "Configuration for when `source` contains conversation transcripts."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig": {
"description": "Configuration that applies to all conversations.",
"id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig",
"properties": {
"agentChannel": {
"description": "Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.",
"format": "int32",
"type": "integer"
},
"agentId": {
"description": "Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the `metadata_bucket_uri`.",
"type": "string"
},
"customerChannel": {
"description": "Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource": {
"description": "Configuration for Cloud Storage bucket sources.",
"id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource",
"properties": {
"audioBucketUri": {
"description": "Optional. The Cloud Storage path to the conversation audio file. Note that: [1] Audio files will be transcribed if not already. [2] Audio files and transcript files must be in separate buckets / folders. [3] A source file and its corresponding audio file must share the same name to be properly ingested, E.g. `gs://bucket/transcript/conversation1.json` and `gs://bucket/audio/conversation1.mp3`.",
"type": "string"
},
"bucketObjectType": {
"description": "Optional. Specifies the type of the objects in `bucket_uri`. Avoid passing this. This is inferred from the `transcript_bucket_uri`, `audio_bucket_uri`.",
"enum": [
"BUCKET_OBJECT_TYPE_UNSPECIFIED",
"TRANSCRIPT",
"AUDIO"
],
"enumDescriptions": [
"The object type is unspecified and will default to `TRANSCRIPT`.",
"The object is a transcript.",
"The object is an audio file."
],
"type": "string"
},
"bucketUri": {
"description": "Optional. The Cloud Storage bucket containing source objects. Avoid passing this. Pass this through one of `transcript_bucket_uri` or `audio_bucket_uri`.",
"type": "string"
},
"customMetadataKeys": {
"description": "Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation.",
"items": {
"type": "string"
},
"type": "array"
},
"metadataBucketUri": {
"description": "Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.",
"type": "string"
},
"transcriptBucketUri": {
"description": "Optional. The Cloud Storage path to the conversation transcripts. Note that: [1] Transcript files are expected to be in JSON format. [2] Transcript, audio, metadata files must be in separate buckets / folders. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig": {
"description": "Configuration for processing transcript objects.",
"id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig",
"properties": {
"medium": {
"description": "Required. The medium transcript objects represent.",
"enum": [
"MEDIUM_UNSPECIFIED",
"PHONE_CALL",
"CHAT"
],
"enumDescriptions": [
"Default value for unspecified.",
"The format for conversations that took place over the phone.",
"The format for conversations that took place over chat."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIngestConversationsResponse": {
"description": "The response to an IngestConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata": {
"description": "Metadata for initializing a location-level encryption specification.",
"id": "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"partialErrors": {
"description": "Partial errors during initializing operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest",
"description": "Output only. The original request for initialization.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest": {
"description": "The request to initialize a location-level encryption specification.",
"id": "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest",
"properties": {
"encryptionSpec": {
"$ref": "GoogleCloudContactcenterinsightsV1mainEncryptionSpec",
"description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the `kms_key_name` field is left empty, no encryption will be enforced."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecResponse": {
"description": "The response to initialize a location-level encryption specification.",
"id": "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIntent": {
"description": "The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.",
"id": "GoogleCloudContactcenterinsightsV1mainIntent",
"properties": {
"displayName": {
"description": "The human-readable name of the intent.",
"type": "string"
},
"id": {
"description": "The unique identifier of the intent.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIntentMatchData": {
"description": "The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences.",
"id": "GoogleCloudContactcenterinsightsV1mainIntentMatchData",
"properties": {
"intentUniqueId": {
"description": "The id of the matched intent. Can be used to retrieve the corresponding intent information.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainInterruptionData": {
"description": "The data for an interruption annotation.",
"id": "GoogleCloudContactcenterinsightsV1mainInterruptionData",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIssue": {
"description": "The issue resource.",
"id": "GoogleCloudContactcenterinsightsV1mainIssue",
"properties": {
"createTime": {
"description": "Output only. The time at which this issue was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayDescription": {
"description": "Representative description of the issue.",
"type": "string"
},
"displayName": {
"description": "The representative name for the issue.",
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
"type": "string"
},
"sampleUtterances": {
"description": "Output only. Resource names of the sample representative utterances that match to this issue.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"updateTime": {
"description": "Output only. The most recent time that this issue was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIssueAssignment": {
"description": "Information about the issue.",
"id": "GoogleCloudContactcenterinsightsV1mainIssueAssignment",
"properties": {
"displayName": {
"description": "Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then.",
"type": "string"
},
"issue": {
"description": "Resource name of the assigned issue.",
"type": "string"
},
"score": {
"description": "Score indicating the likelihood of the issue assignment. currently bounded on [0,1].",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIssueMatchData": {
"description": "The data for an issue match annotation.",
"id": "GoogleCloudContactcenterinsightsV1mainIssueMatchData",
"properties": {
"issueAssignment": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssueAssignment",
"description": "Information about the issue's assignment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIssueModel": {
"description": "The issue model resource.",
"id": "GoogleCloudContactcenterinsightsV1mainIssueModel",
"properties": {
"createTime": {
"description": "Output only. The time at which this issue model was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "The representative name for the issue model.",
"type": "string"
},
"inputDataConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig",
"description": "Configs for the input data that used to create the issue model."
},
"issueCount": {
"description": "Output only. Number of issues in this issue model.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"languageCode": {
"description": "Language of the model.",
"type": "string"
},
"modelType": {
"description": "Type of the model.",
"enum": [
"MODEL_TYPE_UNSPECIFIED",
"TYPE_V1",
"TYPE_V2"
],
"enumDescriptions": [
"Unspecified model type.",
"Type V1.",
"Type V2."
],
"type": "string"
},
"name": {
"description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
"type": "string"
},
"state": {
"description": "Output only. State of the model.",
"enum": [
"STATE_UNSPECIFIED",
"UNDEPLOYED",
"DEPLOYING",
"DEPLOYED",
"UNDEPLOYING",
"DELETING"
],
"enumDescriptions": [
"Unspecified.",
"Model is not deployed but is ready to deploy.",
"Model is being deployed.",
"Model is deployed and is ready to be used. A model can only be used in analysis if it's in this state.",
"Model is being undeployed.",
"Model is being deleted."
],
"readOnly": true,
"type": "string"
},
"trainingStats": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats",
"description": "Output only. Immutable. The issue model's label statistics on its training data.",
"readOnly": true
},
"updateTime": {
"description": "Output only. The most recent time at which the issue model was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig": {
"description": "Configs for the input data used to create the issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig",
"properties": {
"filter": {
"description": "A filter to reduce the conversations used for training the model to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.",
"type": "string"
},
"medium": {
"deprecated": true,
"description": "Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the `medium` field on `filter`.",
"enum": [
"MEDIUM_UNSPECIFIED",
"PHONE_CALL",
"CHAT"
],
"enumDescriptions": [
"Default value for unspecified.",
"The format for conversations that took place over the phone.",
"The format for conversations that took place over chat."
],
"type": "string"
},
"trainingConversationsCount": {
"description": "Output only. Number of conversations used in training. Output only.",
"format": "int64",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats": {
"description": "Aggregated statistics about an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats",
"properties": {
"analyzedConversationsCount": {
"description": "Number of conversations the issue model has analyzed at this point in time.",
"format": "int64",
"type": "string"
},
"issueStats": {
"additionalProperties": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats"
},
"description": "Statistics on each issue. Key is the issue's resource name.",
"type": "object"
},
"unclassifiedConversationsCount": {
"description": "Number of analyzed conversations for which no issue was applicable at this point in time.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats": {
"description": "Aggregated statistics about an issue.",
"id": "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats",
"properties": {
"displayName": {
"description": "Display name of the issue.",
"type": "string"
},
"issue": {
"description": "Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
"type": "string"
},
"labeledConversationsCount": {
"description": "Number of conversations attached to the issue at this point in time.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainIssueModelResult": {
"description": "Issue Modeling result on a conversation.",
"id": "GoogleCloudContactcenterinsightsV1mainIssueModelResult",
"properties": {
"issueModel": {
"description": "Issue model that generates the result. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
"type": "string"
},
"issues": {
"description": "All the matched issues.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainIssueAssignment"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainListAllFeedbackLabelsResponse": {
"description": "The response for listing all feedback labels.",
"id": "GoogleCloudContactcenterinsightsV1mainListAllFeedbackLabelsResponse",
"properties": {
"feedbackLabels": {
"description": "The feedback labels that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainFeedbackLabel"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainListFeedbackLabelsResponse": {
"description": "The response for listing feedback labels.",
"id": "GoogleCloudContactcenterinsightsV1mainListFeedbackLabelsResponse",
"properties": {
"feedbackLabels": {
"description": "The feedback labels that match the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainFeedbackLabel"
},
"type": "array"
},
"nextPageToken": {
"description": "The next page token.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainPhraseMatchData": {
"description": "The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.",
"id": "GoogleCloudContactcenterinsightsV1mainPhraseMatchData",
"properties": {
"displayName": {
"description": "The human-readable name of the phrase matcher.",
"type": "string"
},
"phraseMatcher": {
"description": "The unique identifier (the resource name) of the phrase matcher.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQaAnswer": {
"description": "An answer to a QaQuestion.",
"id": "GoogleCloudContactcenterinsightsV1mainQaAnswer",
"properties": {
"answerSources": {
"description": "Lists all answer sources containing one or more answer values of a specific source type, e.g., all system-generated answer sources, or all manual edit answer sources.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource"
},
"type": "array"
},
"answerValue": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue",
"description": "The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead."
},
"conversation": {
"description": "The conversation the answer applies to.",
"type": "string"
},
"qaQuestion": {
"description": "The QaQuestion answered by this answer.",
"type": "string"
},
"questionBody": {
"description": "Question text. E.g., \"Did the agent greet the customer?\"",
"type": "string"
},
"tags": {
"description": "User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource": {
"description": "A question may have multiple answers from varying sources, one of which becomes the \"main\" answer above. AnswerSource represents each individual answer.",
"id": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource",
"properties": {
"answerValue": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue",
"description": "The answer value from this source. This field is populated by default, unless the question has a selection strategy configured to return multiple answer values, in which case `answer_values` will be populated instead."
},
"sourceType": {
"description": "What created the answer.",
"enum": [
"SOURCE_TYPE_UNSPECIFIED",
"SYSTEM_GENERATED",
"MANUAL_EDIT"
],
"enumDescriptions": [
"Source type is unspecified.",
"Answer was system-generated; created during an Insights analysis.",
"Answer was created by a human via manual edit."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue": {
"description": "Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.",
"id": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue",
"properties": {
"boolValue": {
"description": "Boolean value.",
"type": "boolean"
},
"key": {
"description": "A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.",
"type": "string"
},
"naValue": {
"description": "A value of \"Not Applicable (N/A)\". Should only ever be `true`.",
"type": "boolean"
},
"normalizedScore": {
"description": "Output only. Normalized score of the questions. Calculated as score / potential_score.",
"format": "double",
"readOnly": true,
"type": "number"
},
"numValue": {
"description": "Numerical value.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "Output only. The maximum potential score of the question.",
"format": "double",
"readOnly": true,
"type": "number"
},
"score": {
"description": "Output only. Numerical score of the answer.",
"format": "double",
"readOnly": true,
"type": "number"
},
"skipValue": {
"description": "Output only. A value of \"Skip\". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.",
"readOnly": true,
"type": "boolean"
},
"strValue": {
"description": "String value.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQaQuestionTag": {
"description": "A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., \"Customer Satisfaction\",\"Billing\", etc.",
"id": "GoogleCloudContactcenterinsightsV1mainQaQuestionTag",
"properties": {
"createTime": {
"description": "Output only. The time at which the question tag was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Required. A user-specified display name for the tag.",
"type": "string"
},
"name": {
"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.",
"type": "string"
},
"qaQuestionIds": {
"description": "Optional. 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.",
"items": {
"type": "string"
},
"type": "array"
},
"updateTime": {
"description": "Output only. The most recent time at which the question tag was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQaScorecardResult": {
"description": "The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.",
"id": "GoogleCloudContactcenterinsightsV1mainQaScorecardResult",
"properties": {
"agentId": {
"description": "ID of the agent that handled the conversation.",
"type": "string"
},
"conversation": {
"description": "The conversation scored by this result.",
"type": "string"
},
"createTime": {
"description": "Output only. The timestamp that the revision was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}",
"type": "string"
},
"normalizedScore": {
"description": "The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
"format": "double",
"type": "number"
},
"qaAnswers": {
"description": "Set of QaAnswers represented in the result.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswer"
},
"type": "array"
},
"qaScorecardRevision": {
"description": "The QaScorecardRevision scored by this result.",
"type": "string"
},
"qaTagResults": {
"description": "Collection of tags and their scores.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult"
},
"type": "array"
},
"score": {
"description": "The overall numerical score of the result, incorporating any manual edits if they exist.",
"format": "double",
"type": "number"
},
"scoreSources": {
"description": "List of all individual score sets.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult": {
"description": "Tags and their corresponding results.",
"id": "GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult",
"properties": {
"normalizedScore": {
"description": "The normalized score the tag applies to.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "The potential score the tag applies to.",
"format": "double",
"type": "number"
},
"score": {
"description": "The score the tag applies to.",
"format": "double",
"type": "number"
},
"tag": {
"description": "The tag the score applies to.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource": {
"description": "A scorecard result may have multiple sets of scores from varying sources, one of which becomes the \"main\" answer above. A ScoreSource represents each individual set of scores.",
"id": "GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource",
"properties": {
"normalizedScore": {
"description": "The normalized score, which is the score divided by the potential score.",
"format": "double",
"type": "number"
},
"potentialScore": {
"description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
"format": "double",
"type": "number"
},
"qaTagResults": {
"description": "Collection of tags and their scores.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult"
},
"type": "array"
},
"score": {
"description": "The overall numerical score of the result.",
"format": "double",
"type": "number"
},
"sourceType": {
"description": "What created the score.",
"enum": [
"SOURCE_TYPE_UNSPECIFIED",
"SYSTEM_GENERATED_ONLY",
"INCLUDES_MANUAL_EDITS"
],
"enumDescriptions": [
"Source type is unspecified.",
"Score is derived only from system-generated answers.",
"Score is derived from both system-generated answers, and includes any manual edits if they exist."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryMetricsMetadata": {
"description": "The metadata from querying metrics.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsMetadata",
"properties": {
"resultIsTruncated": {
"description": "Whether the result rows were truncated because the result row size is too large to materialize.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryMetricsResponse": {
"description": "The response for querying metrics.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponse",
"properties": {
"location": {
"description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
"type": "string"
},
"macroAverageSlice": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice",
"description": "The macro average slice contains aggregated averages across all selected dimensions. i.e. if group_by agent and scorecard_id is specified, this field will contain the average across all agents and all scorecards. This field is only populated if the request specifies a Dimension."
},
"slices": {
"description": "A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice"
},
"type": "array"
},
"updateTime": {
"description": "The metrics last update time.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice": {
"description": "A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request. For example, if the request specifies a single ISSUE dimension and it has a cardinality of 2 (i.e. the data used to compute the metrics has 2 issues in total), the response will have 2 slices: * Slice 1 -> dimensions=[Issue 1] * Slice 2 -> dimensions=[Issue 2]",
"id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice",
"properties": {
"dimensions": {
"description": "A unique combination of dimensions that this slice represents.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDimension"
},
"type": "array"
},
"timeSeries": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries",
"description": "A time series of metric values. This is only populated if the request specifies a time granularity other than NONE."
},
"total": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint",
"description": "The total metric value. The interval of this data point is [starting create time, ending create time) from the request."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint": {
"description": "A data point contains the metric values mapped to an interval.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint",
"properties": {
"conversationMeasure": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure",
"description": "The measure related to conversations."
},
"dialogflowInteractionMeasure": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure",
"description": "The measure related to dialogflow interactions."
},
"interval": {
"$ref": "GoogleTypeInterval",
"description": "The interval that this data point represents. * If this is the total data point, the interval is [starting create time, ending create time) from the request. * If this a data point from the time series, the interval is [time, time + time granularity from the request)."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure": {
"description": "The measure related to conversations.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure",
"properties": {
"aaSupervisorAssignedConversationsCount": {
"description": "The number of conversations that were assigned to an AA human supervisor.",
"format": "int32",
"type": "integer"
},
"aaSupervisorDroppedConversationsCount": {
"description": "The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor.",
"format": "int32",
"type": "integer"
},
"aaSupervisorEscalatedConversationsCount": {
"description": "The number of conversations that were escalated to an AA human supervisor for intervention.",
"format": "int32",
"type": "integer"
},
"aaSupervisorMonitoredConversationsCount": {
"description": "The number of conversations scanned by the AA human supervisor.",
"format": "int32",
"type": "integer"
},
"aaSupervisorTransferredToHumanAgentConvCount": {
"description": "The number of conversations transferred to a human agent.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionAgentMessageTriggerCount": {
"description": "Count of agent messages that triggered an Ai Coach Suggestion.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionAgentUsageCount": {
"description": "Count of Ai Coach Suggestion that has been used by agents.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionAgentUsageRatio": {
"description": "Proportion of Ai Coach Suggestion that has been used by agents.",
"format": "double",
"type": "number"
},
"aiCoachSuggestionCustomerMessageTriggerCount": {
"description": "Count of customer messages that triggered an Ai Coach Suggestion.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionCustomerMessageTriggerRatio": {
"description": "Proportion of customer messages that triggered an Ai Coach Suggestion.",
"format": "double",
"type": "number"
},
"aiCoachSuggestionMessageTriggerCount": {
"description": "Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
"format": "int32",
"type": "integer"
},
"aiCoachSuggestionMessageTriggerRatio": {
"description": "Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
"format": "double",
"type": "number"
},
"averageAgentSentimentScore": {
"description": "The average agent's sentiment score.",
"format": "float",
"type": "number"
},
"averageClientSentimentScore": {
"description": "The average client's sentiment score.",
"format": "float",
"type": "number"
},
"averageCustomerSatisfactionRating": {
"description": "The average customer satisfaction rating.",
"format": "double",
"type": "number"
},
"averageDuration": {
"description": "The average duration.",
"format": "google-duration",
"type": "string"
},
"averageQaNormalizedScore": {
"description": "The average normalized QA score for a scorecard. When computing the average across a set of conversations, if a conversation has been evaluated with multiple revisions of a scorecard, only the latest revision results will be used. Will exclude 0's in average calculation. Will be only populated if the request specifies a dimension of QA_SCORECARD_ID.",
"format": "double",
"type": "number"
},
"averageQaQuestionNormalizedScore": {
"description": "Average QA normalized score averaged for questions averaged across all revisions of the parent scorecard. Will be only populated if the request specifies a dimension of QA_QUESTION_ID.",
"format": "double",
"type": "number"
},
"averageSilencePercentage": {
"description": "The average silence percentage.",
"format": "float",
"type": "number"
},
"averageSummarizationSuggestionEditDistance": {
"description": "Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion.",
"format": "double",
"type": "number"
},
"averageSummarizationSuggestionNormalizedEditDistance": {
"description": "Normalized Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. Normalized edit distance is the average of (edit distance / summary length).",
"format": "double",
"type": "number"
},
"averageTurnCount": {
"description": "The average turn count.",
"format": "float",
"type": "number"
},
"avgConversationClientTurnSentimentEma": {
"description": "The exponential moving average of the sentiment score of client turns in the conversation.",
"format": "double",
"type": "number"
},
"containedConversationCount": {
"description": "The number of conversations that were contained.",
"format": "int32",
"type": "integer"
},
"containedConversationRatio": {
"description": "The percentage of conversations that were contained.",
"format": "double",
"type": "number"
},
"conversationAiCoachSuggestionCount": {
"description": "Count of conversations that has Ai Coach Suggestions.",
"format": "int32",
"type": "integer"
},
"conversationAiCoachSuggestionRatio": {
"description": "Proportion of conversations that has Ai Coach Suggestions.",
"format": "double",
"type": "number"
},
"conversationCount": {
"description": "The conversation count.",
"format": "int32",
"type": "integer"
},
"conversationSuggestedSummaryRatio": {
"description": "Proportion of conversations that had a suggested summary.",
"format": "double",
"type": "number"
},
"conversationTotalAgentMessageCount": {
"description": "The agent message count.",
"format": "int32",
"type": "integer"
},
"conversationTotalCustomerMessageCount": {
"description": "The customer message count.",
"format": "int32",
"type": "integer"
},
"conversationalAgentsAverageAudioInAudioOutLatency": {
"description": "The average latency of conversational agents' audio in audio out latency per interaction. This is computed as the average of the all the interactions' audio in audio out latencies in a conversation and averaged across conversations.",
"format": "double",
"type": "number"
},
"conversationalAgentsAverageEndToEndLatency": {
"description": "The average latency of conversational agents' latency per interaction. This is computed as the average of the all the iteractions' end to end latencies in a conversation and averaged across conversations. The e2e latency is the time between the end of the user utterance and the start of the agent utterance on the interaction level.",
"format": "double",
"type": "number"
},
"conversationalAgentsAverageLlmCallLatency": {
"description": "The average latency of conversational agents' LLM call latency per interaction. This is computed as the average of the all the interactions LLM call latencies in a conversation and averaged across conversations.",
"format": "double",
"type": "number"
},
"conversationalAgentsAverageTtsLatency": {
"description": "The macro average latency of conversational agents' TTS latency per interaction. This is computed as the average of the all the interactions' TTS latencies in a conversation and averaged across conversations.",
"format": "double",
"type": "number"
},
"dialogflowAverageWebhookLatency": {
"description": "Average latency of dialogflow webhook calls.",
"format": "double",
"type": "number"
},
"dialogflowConversationsEscalationCount": {
"description": "count of conversations that was handed off from virtual agent to human agent.",
"format": "double",
"type": "number"
},
"dialogflowConversationsEscalationRatio": {
"description": "Proportion of conversations that was handed off from virtual agent to human agent.",
"format": "double",
"type": "number"
},
"dialogflowInteractionsNoInputRatio": {
"description": "Proportion of dialogflow interactions that has empty input.",
"format": "double",
"type": "number"
},
"dialogflowInteractionsNoMatchRatio": {
"description": "Proportion of dialogflow interactions that has no intent match for the input.",
"format": "double",
"type": "number"
},
"dialogflowWebhookFailureRatio": {
"description": "Proportion of dialogflow webhook calls that failed.",
"format": "double",
"type": "number"
},
"dialogflowWebhookTimeoutRatio": {
"description": "Proportion of dialogflow webhook calls that timed out.",
"format": "double",
"type": "number"
},
"knowledgeAssistNegativeFeedbackRatio": {
"description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback.",
"format": "double",
"type": "number"
},
"knowledgeAssistPositiveFeedbackRatio": {
"description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback.",
"format": "double",
"type": "number"
},
"knowledgeAssistResultCount": {
"description": "Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user.",
"format": "int32",
"type": "integer"
},
"knowledgeAssistUriClickRatio": {
"description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked.",
"format": "double",
"type": "number"
},
"knowledgeSearchAgentQuerySourceRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made.",
"format": "double",
"type": "number"
},
"knowledgeSearchNegativeFeedbackRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback.",
"format": "double",
"type": "number"
},
"knowledgeSearchPositiveFeedbackRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback.",
"format": "double",
"type": "number"
},
"knowledgeSearchResultCount": {
"description": "Count of knowledge search results (Generative Knowledge Assist) shown to the user.",
"format": "int32",
"type": "integer"
},
"knowledgeSearchSuggestedQuerySourceRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made.",
"format": "double",
"type": "number"
},
"knowledgeSearchUriClickRatio": {
"description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked.",
"format": "double",
"type": "number"
},
"qaTagScores": {
"description": "Average QA normalized score for all the tags.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore"
},
"type": "array"
},
"summarizationSuggestionEditRatio": {
"description": "Proportion of summarization suggestions that were manually edited.",
"format": "double",
"type": "number"
},
"summarizationSuggestionResultCount": {
"description": "Count of summarization suggestions results.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore": {
"description": "Average QA normalized score for the tag.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore",
"properties": {
"averageTagNormalizedScore": {
"description": "Average tag normalized score per tag.",
"format": "double",
"type": "number"
},
"tag": {
"description": "Tag name.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure": {
"description": "The measure related to dialogflow interactions.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure",
"properties": {
"percentileAudioInAudioOutLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level."
},
"percentileEndToEndLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for end to end chat latency in milliseconds per dialogflow interaction level."
},
"percentileLlmCallLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for LLM latency in milliseconds per dialogflow interaction level."
},
"percentileToolUseLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for tool use latency in milliseconds per dialogflow interaction level."
},
"percentileTtsLatency": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult",
"description": "The percentile result for TTS latency in milliseconds per dialogflow interaction level."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult": {
"description": "The percentile result. Currently supported percentiles are 50th, 90th, and 99th.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult",
"properties": {
"p50": {
"description": "The 50th percentile value.",
"format": "double",
"type": "number"
},
"p90": {
"description": "The 90th percentile value.",
"format": "double",
"type": "number"
},
"p99": {
"description": "The 99th percentile value.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries": {
"description": "A time series of metric values.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries",
"properties": {
"dataPoints": {
"description": "The data points that make up the time series .",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewMetadata": {
"description": "The metadata for querying performance overview.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewMetadata",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewResponse": {
"description": "The response for querying performance overview.",
"id": "GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewResponse",
"properties": {
"summaryText": {
"description": "The summary text of the performance.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainRedactionConfig": {
"description": "DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations, redaction should be performed in Dialogflow / Agent Assist.",
"id": "GoogleCloudContactcenterinsightsV1mainRedactionConfig",
"properties": {
"deidentifyTemplate": {
"description": "The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`",
"type": "string"
},
"inspectTemplate": {
"description": "The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation": {
"description": "An annotation that was generated during the customer and agent interaction.",
"id": "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation",
"properties": {
"annotationId": {
"description": "The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}",
"type": "string"
},
"answerFeedback": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnswerFeedback",
"description": "The feedback that the customer has about the answer in `data`."
},
"articleSuggestion": {
"$ref": "GoogleCloudContactcenterinsightsV1mainArticleSuggestionData",
"description": "Agent Assist Article Suggestion data."
},
"conversationSummarizationSuggestion": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData",
"description": "Conversation summarization suggestion data."
},
"createTime": {
"description": "The time at which this annotation was created.",
"format": "google-datetime",
"type": "string"
},
"dialogflowInteraction": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData",
"description": "Dialogflow interaction data."
},
"endBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary",
"description": "The boundary in the conversation where the annotation ends, inclusive."
},
"faqAnswer": {
"$ref": "GoogleCloudContactcenterinsightsV1mainFaqAnswerData",
"description": "Agent Assist FAQ answer data."
},
"smartComposeSuggestion": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData",
"description": "Agent Assist Smart Compose suggestion data."
},
"smartReply": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSmartReplyData",
"description": "Agent Assist Smart Reply data."
},
"startBoundary": {
"$ref": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary",
"description": "The boundary in the conversation where the annotation starts, inclusive."
},
"userInput": {
"$ref": "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput",
"description": "Explicit input used for generating the answer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput": {
"description": "Explicit input used for generating the answer",
"id": "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput",
"properties": {
"generatorName": {
"description": "The resource name of associated generator. Format: `projects//locations//generators/`",
"type": "string"
},
"query": {
"description": "Query text. Article Search uses this to store the input query used to generate the search results.",
"type": "string"
},
"querySource": {
"description": "Query source for the answer.",
"enum": [
"QUERY_SOURCE_UNSPECIFIED",
"AGENT_QUERY",
"SUGGESTED_QUERY"
],
"enumDescriptions": [
"Unknown query source.",
"The query is from agents.",
"The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadata": {
"description": "The metadata for an SampleConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"partialErrors": {
"description": "Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"readOnly": true,
"type": "array"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest",
"description": "Output only. The original request for sample conversations to dataset.",
"readOnly": true
},
"sampleConversationsStats": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats",
"description": "Output only. Statistics for SampleConversations operation.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats": {
"description": "Statistics for SampleConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats",
"properties": {
"failedSampleCount": {
"description": "Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"successfulSampleCount": {
"description": "Output only. The number of new conversations added during this sample operation.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest": {
"description": "The request to sample conversations to a dataset.",
"id": "GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest",
"properties": {
"destinationDataset": {
"$ref": "GoogleCloudContactcenterinsightsV1mainDataset",
"description": "The dataset resource to copy the sampled conversations to."
},
"parent": {
"description": "Required. The parent resource of the dataset.",
"type": "string"
},
"sampleRule": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSampleRule",
"description": "Optional. The sample rule used for sampling conversations."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSampleConversationsResponse": {
"description": "The response to an SampleConversations operation.",
"id": "GoogleCloudContactcenterinsightsV1mainSampleConversationsResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSampleRule": {
"description": "Message for sampling conversations.",
"id": "GoogleCloudContactcenterinsightsV1mainSampleRule",
"properties": {
"conversationFilter": {
"description": "To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations.",
"type": "string"
},
"dimension": {
"description": "Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'.",
"type": "string"
},
"samplePercentage": {
"description": "Percentage of conversations that we should sample based on the dimension between [0, 100].",
"format": "double",
"type": "number"
},
"sampleRow": {
"description": "Number of the conversations that we should sample based on the dimension.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSentimentData": {
"description": "The data for a sentiment annotation.",
"id": "GoogleCloudContactcenterinsightsV1mainSentimentData",
"properties": {
"magnitude": {
"description": "A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score.",
"format": "float",
"type": "number"
},
"score": {
"description": "The sentiment score between -1.0 (negative) and 1.0 (positive).",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSilenceData": {
"description": "The data for a silence annotation.",
"id": "GoogleCloudContactcenterinsightsV1mainSilenceData",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData": {
"description": "Agent Assist Smart Compose suggestion data.",
"id": "GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData",
"properties": {
"confidenceScore": {
"description": "The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "double",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the Smart Compose suggestion and the document from which it originates.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"suggestion": {
"description": "The content of the suggestion.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSmartReplyData": {
"description": "Agent Assist Smart Reply data.",
"id": "GoogleCloudContactcenterinsightsV1mainSmartReplyData",
"properties": {
"confidenceScore": {
"description": "The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
"format": "double",
"type": "number"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Map that contains metadata about the Smart Reply and the document from which it originates.",
"type": "object"
},
"queryRecord": {
"description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
"type": "string"
},
"reply": {
"description": "The content of the reply.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainSpeechConfig": {
"description": "Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint.",
"id": "GoogleCloudContactcenterinsightsV1mainSpeechConfig",
"properties": {
"disableWordTimeOffsets": {
"description": "Whether to disable word time offsets. If true, the `enable_word_time_offsets` field in the recognition config will be set to false.",
"type": "boolean"
},
"speechRecognizer": {
"description": "The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadata": {
"description": "Metadata for testing correlation config.",
"id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"dataset": {
"description": "The dataset used for sampling conversations.",
"type": "string"
},
"stats": {
"$ref": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStats",
"description": "The statistics for the operation."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStats": {
"description": "Statistics for TestCorrelationConfig operation.",
"id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStats",
"properties": {
"conversationCorrelationErrors": {
"description": "A list of errors that occurred during correlation, one for each conversation that failed.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError"
},
"type": "array"
},
"correlatedConversationsCount": {
"description": "The number of conversations correlated.",
"format": "int32",
"type": "integer"
},
"failedConversationsCount": {
"description": "The number of conversations that failed correlation.",
"format": "int32",
"type": "integer"
},
"partialErrors": {
"description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"sampledConversationsCount": {
"description": "The number of conversations sampled.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError": {
"description": "An error that occurred during correlation for a specific conversation.",
"id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError",
"properties": {
"conversation": {
"description": "The conversation resource name that had an error during correlation.",
"type": "string"
},
"status": {
"$ref": "GoogleRpcStatus",
"description": "The error status."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponse": {
"description": "The response of testing correlation config.",
"id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponse",
"properties": {
"detailedResults": {
"$ref": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults",
"description": "Results for the DETAILED_SYNC execution mode."
},
"partialErrors": {
"description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults": {
"description": "Wrapper for detailed, step-by-step results.",
"id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults",
"properties": {
"constraintResults": {
"description": "A list of constraint evaluation results for each pair of conversations.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult"
},
"type": "array"
},
"joinKeyResults": {
"description": "A list of join key correlation results for each conversation tested.",
"items": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata": {
"description": "Metadata for undeploying an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest",
"description": "The original request for undeployment."
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest": {
"description": "The request to undeploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest",
"properties": {
"name": {
"description": "Required. The issue model to undeploy.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainUndeployIssueModelResponse": {
"description": "The response to undeploy an issue model.",
"id": "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelResponse",
"properties": {},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagMetadata": {
"description": "The metadata for updating a QaQuestionTag Resource.",
"id": "GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagMetadata",
"properties": {
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest",
"description": "Output only. The original request.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest": {
"description": "The request for updating a QaQuestionTag.",
"id": "GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest",
"properties": {
"qaQuestionTag": {
"$ref": "GoogleCloudContactcenterinsightsV1mainQaQuestionTag",
"description": "Required. The QaQuestionTag to update."
},
"updateMask": {
"description": "Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `qa_question_tag_name` - the name of the tag * `qa_question_ids` - the list of questions the tag applies to",
"format": "google-fieldmask",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainUploadConversationMetadata": {
"description": "The metadata for an `UploadConversation` operation.",
"id": "GoogleCloudContactcenterinsightsV1mainUploadConversationMetadata",
"properties": {
"analysisOperation": {
"description": "Output only. The operation name for a successfully created analysis operation, if any.",
"readOnly": true,
"type": "string"
},
"appliedRedactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainRedactionConfig",
"description": "Output only. The redaction config applied to the uploaded conversation.",
"readOnly": true
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"request": {
"$ref": "GoogleCloudContactcenterinsightsV1mainUploadConversationRequest",
"description": "Output only. The original request.",
"readOnly": true
}
},
"type": "object"
},
"GoogleCloudContactcenterinsightsV1mainUploadConversationRequest": {
"description": "Request to upload a conversation.",
"id": "GoogleCloudContactcenterinsightsV1mainUploadConversationRequest",
"properties": {
"conversation": {
"$ref": "GoogleCloudContactcenterinsightsV1mainConversation",
"description": "Required. The conversation resource to create."
},
"conversationId": {
"description": "Optional. A unique ID for the new conversation. This ID will become the final component of the conversation'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-`",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the conversation.",
"type": "string"
},
"redactionConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainRedactionConfig",
"description": "Optional. DLP settings for transcript redaction. Will default to the config specified in Settings."
},
"speechConfig": {
"$ref": "GoogleCloudContactcenterinsightsV1mainSpeechConfig",
"description": "Optional. Speech-to-Text configuration. Will default to the config specified in Settings."
}
},
"type": "object"
},
"GoogleIamV1AuditConfig": {
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
"id": "GoogleIamV1AuditConfig",
"properties": {
"auditLogConfigs": {
"description": "The configuration for logging of each type of permission.",
"items": {
"$ref": "GoogleIamV1AuditLogConfig"
},
"type": "array"
},
"service": {
"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.",
"type": "string"
}
},
"type": "object"
},
"GoogleIamV1AuditLogConfig": {
"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
"id": "GoogleIamV1AuditLogConfig",
"properties": {
"exemptedMembers": {
"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.",
"items": {
"type": "string"
},
"type": "array"
},
"logType": {
"description": "The log type that this config enables.",
"enum": [
"LOG_TYPE_UNSPECIFIED",
"ADMIN_READ",
"DATA_WRITE",
"DATA_READ"
],
"enumDescriptions": [
"Default case. Should never be this.",
"Admin reads. Example: CloudIAM getIamPolicy",
"Data writes. Example: CloudSQL Users create",
"Data reads. Example: CloudSQL Users list"
],
"type": "string"
}
},
"type": "object"
},
"GoogleIamV1Binding": {
"description": "Associates `members`, or principals, with a `role`.",
"id": "GoogleIamV1Binding",
"properties": {
"condition": {
"$ref": "GoogleTypeExpr",
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.",
"items": {
"type": "string"
},
"type": "array"
},
"role": {
"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).",
"type": "string"
}
},
"type": "object"
},
"GoogleIamV1Policy": {
"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "GoogleIamV1Policy",
"properties": {
"auditConfigs": {
"description": "Specifies cloud audit logging configuration for this policy.",
"items": {
"$ref": "GoogleIamV1AuditConfig"
},
"type": "array"
},
"bindings": {
"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.",
"items": {
"$ref": "GoogleIamV1Binding"
},
"type": "array"
},
"etag": {
"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.",
"format": "byte",
"type": "string"
},
"version": {
"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleIamV1SetIamPolicyRequest": {
"description": "Request message for `SetIamPolicy` method.",
"id": "GoogleIamV1SetIamPolicyRequest",
"properties": {
"policy": {
"$ref": "GoogleIamV1Policy",
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
},
"updateMask": {
"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`",
"format": "google-fieldmask",
"type": "string"
}
},
"type": "object"
},
"GoogleIamV1TestIamPermissionsRequest": {
"description": "Request message for `TestIamPermissions` method.",
"id": "GoogleIamV1TestIamPermissionsRequest",
"properties": {
"permissions": {
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleIamV1TestIamPermissionsResponse": {
"description": "Response message for `TestIamPermissions` method.",
"id": "GoogleIamV1TestIamPermissionsResponse",
"properties": {
"permissions": {
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleLongrunningListOperationsResponse": {
"description": "The response message for Operations.ListOperations.",
"id": "GoogleLongrunningListOperationsResponse",
"properties": {
"nextPageToken": {
"description": "The standard List next-page token.",
"type": "string"
},
"operations": {
"description": "A list of operations that matches the specified filter in the request.",
"items": {
"$ref": "GoogleLongrunningOperation"
},
"type": "array"
},
"unreachable": {
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleLongrunningOperation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "GoogleLongrunningOperation",
"properties": {
"done": {
"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
"type": "boolean"
},
"error": {
"$ref": "GoogleRpcStatus",
"description": "The error result of the operation in case of failure or cancellation."
},
"metadata": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
"type": "object"
},
"name": {
"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
"type": "string"
},
"response": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
"type": "object"
}
},
"type": "object"
},
"GoogleProtobufEmpty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
"id": "GoogleProtobufEmpty",
"properties": {},
"type": "object"
},
"GoogleRpcStatus": {
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
"id": "GoogleRpcStatus",
"properties": {
"code": {
"description": "The status code, which should be an enum value of google.rpc.Code.",
"format": "int32",
"type": "integer"
},
"details": {
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
},
"type": "array"
},
"message": {
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
"type": "string"
}
},
"type": "object"
},
"GoogleTypeExpr": {
"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
"id": "GoogleTypeExpr",
"properties": {
"description": {
"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
"type": "string"
},
"expression": {
"description": "Textual representation of an expression in Common Expression Language syntax.",
"type": "string"
},
"location": {
"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
"type": "string"
},
"title": {
"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
"type": "string"
}
},
"type": "object"
},
"GoogleTypeInterval": {
"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.",
"id": "GoogleTypeInterval",
"properties": {
"endTime": {
"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.",
"format": "google-datetime",
"type": "string"
},
"startTime": {
"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "",
"title": "Contact Center AI Insights API",
"version": "v1",
"version_module": true
}