{
  "baseUrl": "https://contactcenterinsights.googleapis.com/",
  "parameters": {
    "access_token": {
      "type": "string",
      "description": "OAuth access token.",
      "location": "query"
    },
    "alt": {
      "type": "string",
      "description": "Data format for response.",
      "default": "json",
      "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"
    },
    "callback": {
      "type": "string",
      "description": "JSONP",
      "location": "query"
    },
    "fields": {
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response.",
      "location": "query"
    },
    "key": {
      "type": "string",
      "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"
    },
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "prettyPrint": {
      "type": "boolean",
      "description": "Returns response with indentations and line breaks.",
      "default": "true",
      "location": "query"
    },
    "quotaUser": {
      "type": "string",
      "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"
    },
    "upload_protocol": {
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "location": "query"
    },
    "uploadType": {
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "location": "query"
    },
    "$.xgafv": {
      "type": "string",
      "description": "V1 error format.",
      "enum": [
        "1",
        "2"
      ],
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "location": "query"
    }
  },
  "version": "v1alpha1",
  "title": "Contact Center AI Insights API",
  "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."
        }
      }
    }
  },
  "discoveryVersion": "v1",
  "basePath": "",
  "resources": {
    "projects": {
      "resources": {
        "locations": {
          "methods": {
            "diagnoseConversations": {
              "id": "contactcenterinsights.projects.locations.diagnoseConversations",
              "path": "v1alpha1/{+parent}:diagnoseConversations",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:diagnoseConversations",
              "httpMethod": "POST",
              "parameters": {
                "parent": {
                  "description": "Required. The parent resource where the analysis will be performed.",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "parent"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Analyzes conversation data using specialized agentic workflows, such as ReAct, to diagnose issues and provide insights."
            },
            "getCorrelationConfig": {
              "id": "contactcenterinsights.projects.locations.getCorrelationConfig",
              "path": "v1alpha1/{+name}",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/correlationConfig",
              "httpMethod": "GET",
              "parameters": {
                "name": {
                  "description": "Required. The name of the correlation config resource to get. Format: projects/{project}/locations/{location}/correlationConfig",
                  "pattern": "^projects/[^/]+/locations/[^/]+/correlationConfig$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1CorrelationConfig"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Gets correlation config."
            },
            "updateCorrelationConfig": {
              "id": "contactcenterinsights.projects.locations.updateCorrelationConfig",
              "path": "v1alpha1/{+name}",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/correlationConfig",
              "httpMethod": "PATCH",
              "parameters": {
                "name": {
                  "description": "Immutable. Identifier. The resource name of the correlation config. Format: projects/{project}/locations/{location}/correlationConfig",
                  "pattern": "^projects/[^/]+/locations/[^/]+/correlationConfig$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                },
                "updateMask": {
                  "description": "Optional. The list of fields to be updated.",
                  "location": "query",
                  "type": "string",
                  "format": "google-fieldmask"
                }
              },
              "parameterOrder": [
                "name"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1CorrelationConfig"
              },
              "response": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1CorrelationConfig"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Updates correlation config."
            },
            "testCorrelationConfig": {
              "id": "contactcenterinsights.projects.locations.testCorrelationConfig",
              "path": "v1alpha1/{+location}:testCorrelationConfig",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:testCorrelationConfig",
              "httpMethod": "POST",
              "parameters": {
                "location": {
                  "description": "Required. The location to test correlation config. Format: projects/{project}/locations/{location}",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "location"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Tests correlation config on a conversation."
            },
            "getSettings": {
              "id": "contactcenterinsights.projects.locations.getSettings",
              "path": "v1alpha1/{+name}",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/settings",
              "httpMethod": "GET",
              "parameters": {
                "name": {
                  "description": "Required. The name of the settings resource to get.",
                  "pattern": "^projects/[^/]+/locations/[^/]+/settings$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1Settings"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Gets project-level settings."
            },
            "updateSettings": {
              "id": "contactcenterinsights.projects.locations.updateSettings",
              "path": "v1alpha1/{+name}",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/settings",
              "httpMethod": "PATCH",
              "parameters": {
                "name": {
                  "description": "Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings",
                  "pattern": "^projects/[^/]+/locations/[^/]+/settings$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                },
                "updateMask": {
                  "description": "Required. The list of fields to be updated.",
                  "location": "query",
                  "type": "string",
                  "format": "google-fieldmask"
                }
              },
              "parameterOrder": [
                "name"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1Settings"
              },
              "response": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1Settings"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Updates project-level settings."
            },
            "getEncryptionSpec": {
              "id": "contactcenterinsights.projects.locations.getEncryptionSpec",
              "path": "v1alpha1/{+name}",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/encryptionSpec",
              "httpMethod": "GET",
              "parameters": {
                "name": {
                  "description": "Required. The name of the encryption spec resource to get.",
                  "pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Gets location-level encryption key specification."
            },
            "queryMetrics": {
              "id": "contactcenterinsights.projects.locations.queryMetrics",
              "path": "v1alpha1/{+location}:queryMetrics",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:queryMetrics",
              "httpMethod": "POST",
              "parameters": {
                "location": {
                  "description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "location"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Query metrics."
            },
            "generativeInsights": {
              "id": "contactcenterinsights.projects.locations.generativeInsights",
              "path": "v1alpha1/{+location}:generativeInsights",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:generativeInsights",
              "httpMethod": "POST",
              "parameters": {
                "location": {
                  "description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "location"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Natural language based Insights which powers the next generation of dashboards in Insights. Next generation of QueryMetrics."
            },
            "queryPerformanceOverview": {
              "id": "contactcenterinsights.projects.locations.queryPerformanceOverview",
              "path": "v1alpha1/{+parent}:queryPerformanceOverview",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:queryPerformanceOverview",
              "httpMethod": "POST",
              "parameters": {
                "parent": {
                  "description": "Required. The parent resource of the conversations to derive performance stats from. \"projects/{project}/locations/{location}\"",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "parent"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "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."
            },
            "listAllFeedbackLabels": {
              "id": "contactcenterinsights.projects.locations.listAllFeedbackLabels",
              "path": "v1alpha1/{+parent}:listAllFeedbackLabels",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:listAllFeedbackLabels",
              "httpMethod": "GET",
              "parameters": {
                "parent": {
                  "description": "Required. The parent resource of all feedback labels per project.",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "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.",
                  "location": "query",
                  "type": "integer",
                  "format": "int32"
                },
                "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"
                },
                "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"
                }
              },
              "parameterOrder": [
                "parent"
              ],
              "response": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAllFeedbackLabelsResponse"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "List all feedback labels by project number."
            },
            "bulkUploadFeedbackLabels": {
              "id": "contactcenterinsights.projects.locations.bulkUploadFeedbackLabels",
              "path": "v1alpha1/{+parent}:bulkUploadFeedbackLabels",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:bulkUploadFeedbackLabels",
              "httpMethod": "POST",
              "parameters": {
                "parent": {
                  "description": "Required. The parent resource for new feedback labels.",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "parent"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations."
            },
            "bulkDownloadFeedbackLabels": {
              "id": "contactcenterinsights.projects.locations.bulkDownloadFeedbackLabels",
              "path": "v1alpha1/{+parent}:bulkDownloadFeedbackLabels",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:bulkDownloadFeedbackLabels",
              "httpMethod": "POST",
              "parameters": {
                "parent": {
                  "description": "Required. The parent resource for new feedback labels.",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "parent"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies."
            },
            "bulkDeleteFeedbackLabels": {
              "id": "contactcenterinsights.projects.locations.bulkDeleteFeedbackLabels",
              "path": "v1alpha1/{+parent}:bulkDeleteFeedbackLabels",
              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:bulkDeleteFeedbackLabels",
              "httpMethod": "POST",
              "parameters": {
                "parent": {
                  "description": "Required. The parent resource for new feedback labels.",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "parent"
              ],
              "request": {
                "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest"
              },
              "response": {
                "$ref": "GoogleLongrunningOperation"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "description": "Delete feedback labels in bulk using a filter."
            }
          },
          "resources": {
            "operations": {
              "methods": {
                "list": {
                  "id": "contactcenterinsights.projects.locations.operations.list",
                  "path": "v1alpha1/{+name}/operations",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "The name of the operation's parent resource.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "filter": {
                      "description": "The standard list filter.",
                      "location": "query",
                      "type": "string"
                    },
                    "pageSize": {
                      "description": "The standard list page size.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningListOperationsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.operations.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "The name of the operation resource.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "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."
                },
                "cancel": {
                  "id": "contactcenterinsights.projects.locations.operations.cancel",
                  "path": "v1alpha1/{+name}:cancel",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
                  "httpMethod": "POST",
                  "parameters": {
                    "name": {
                      "description": "The name of the operation resource to be cancelled.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "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`."
                }
              }
            },
            "conversations": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.conversations.create",
                  "path": "v1alpha1/{+parent}/conversations",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the conversation.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates a conversation. Note that this method does not support audio transcription or redaction. Use `conversations.upload` instead."
                },
                "upload": {
                  "id": "contactcenterinsights.projects.locations.conversations.upload",
                  "path": "v1alpha1/{+parent}/conversations:upload",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations:upload",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the conversation.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.conversations.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                      "location": "path",
                      "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`",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates a conversation."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.conversations.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the conversation to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "view": {
                      "description": "The level of details of the conversation. Default is `FULL`.",
                      "location": "query",
                      "type": "string",
                      "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."
                      ],
                      "enum": [
                        "CONVERSATION_VIEW_UNSPECIFIED",
                        "FULL",
                        "BASIC"
                      ]
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets a conversation."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.conversations.list",
                  "path": "v1alpha1/{+parent}/conversations",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the conversation.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    },
                    "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"
                    },
                    "view": {
                      "description": "The level of details of the conversation. Default is `BASIC`.",
                      "location": "query",
                      "type": "string",
                      "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."
                      ],
                      "enum": [
                        "CONVERSATION_VIEW_UNSPECIFIED",
                        "FULL",
                        "BASIC"
                      ]
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListConversationsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists conversations."
                },
                "generateSignedAudio": {
                  "id": "contactcenterinsights.projects.locations.conversations.generateSignedAudio",
                  "path": "v1alpha1/{+name}:generateSignedAudio",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}:generateSignedAudio",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the conversation to sign.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerateConversationSignedAudioResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets the signed URI for the audio for the given conversation."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.conversations.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the conversation to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "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.",
                      "location": "query",
                      "type": "boolean"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes a conversation."
                },
                "sample": {
                  "id": "contactcenterinsights.projects.locations.conversations.sample",
                  "path": "v1alpha1/{+parent}/conversations:sample",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations:sample",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the dataset.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Samples conversations based on user configuration and handles the sampled conversations for different use cases."
                },
                "bulkAnalyze": {
                  "id": "contactcenterinsights.projects.locations.conversations.bulkAnalyze",
                  "path": "v1alpha1/{+parent}/conversations:bulkAnalyze",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations:bulkAnalyze",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource to create analyses in.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Analyzes multiple conversations in a single request."
                },
                "bulkDelete": {
                  "id": "contactcenterinsights.projects.locations.conversations.bulkDelete",
                  "path": "v1alpha1/{+parent}/conversations:bulkDelete",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations:bulkDelete",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes multiple conversations in a single request."
                },
                "ingest": {
                  "id": "contactcenterinsights.projects.locations.conversations.ingest",
                  "path": "v1alpha1/{+parent}/conversations:ingest",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations:ingest",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource for new conversations.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Imports conversations and processes them according to the user's configuration."
                },
                "calculateStats": {
                  "id": "contactcenterinsights.projects.locations.conversations.calculateStats",
                  "path": "v1alpha1/{+location}/conversations:calculateStats",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations:calculateStats",
                  "httpMethod": "GET",
                  "parameters": {
                    "location": {
                      "description": "Required. The location of the conversations.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "location"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets conversation statistics."
                }
              },
              "resources": {
                "analyses": {
                  "methods": {
                    "create": {
                      "id": "contactcenterinsights.projects.locations.conversations.analyses.create",
                      "path": "v1alpha1/{+parent}/analyses",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the analysis.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Analysis"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Creates an analysis. The long running operation is done when the analysis has completed."
                    },
                    "get": {
                      "id": "contactcenterinsights.projects.locations.conversations.analyses.get",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses/{analysesId}",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the analysis to get.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/analyses/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Analysis"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Gets an analysis."
                    },
                    "list": {
                      "id": "contactcenterinsights.projects.locations.conversations.analyses.list",
                      "path": "v1alpha1/{+parent}/analyses",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the analyses.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "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.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "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"
                        },
                        "filter": {
                          "description": "A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAnalysesResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Lists analyses."
                    },
                    "delete": {
                      "id": "contactcenterinsights.projects.locations.conversations.analyses.delete",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/analyses/{analysesId}",
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the analysis to delete.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/analyses/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Deletes an analysis."
                    }
                  }
                },
                "segments": {
                  "methods": {
                    "bulkAnalyze": {
                      "id": "contactcenterinsights.projects.locations.conversations.segments.bulkAnalyze",
                      "path": "v1alpha1/{+parent}/segments:bulkAnalyze",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/segments:bulkAnalyze",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource to create analyses in.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Analyzes multiple conversations in a single request."
                    }
                  }
                },
                "feedbackLabels": {
                  "methods": {
                    "create": {
                      "id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.create",
                      "path": "v1alpha1/{+parent}/feedbackLabels",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the feedback label.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "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"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Create feedback label."
                    },
                    "list": {
                      "id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.list",
                      "path": "v1alpha1/{+parent}/feedbackLabels",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the feedback labels.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "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.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "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"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListFeedbackLabelsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "List feedback labels."
                    },
                    "get": {
                      "id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.get",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the feedback label to get.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Get feedback label."
                    },
                    "patch": {
                      "id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.patch",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
                      "httpMethod": "PATCH",
                      "parameters": {
                        "name": {
                          "description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "updateMask": {
                          "description": "Required. The list of fields to be updated.",
                          "location": "query",
                          "type": "string",
                          "format": "google-fieldmask"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Update feedback label."
                    },
                    "delete": {
                      "id": "contactcenterinsights.projects.locations.conversations.feedbackLabels.delete",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the feedback label to delete.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Delete feedback label."
                    }
                  }
                },
                "assessments": {
                  "methods": {
                    "create": {
                      "id": "contactcenterinsights.projects.locations.conversations.assessments.create",
                      "path": "v1alpha1/{+parent}/assessments",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the assessment.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Create Assessment."
                    },
                    "get": {
                      "id": "contactcenterinsights.projects.locations.conversations.assessments.get",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the assessment to get.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Get Assessment."
                    },
                    "list": {
                      "id": "contactcenterinsights.projects.locations.conversations.assessments.list",
                      "path": "v1alpha1/{+parent}/assessments",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the assessments. To list all assessments in a location, substitute the conversation ID with a '-' character.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "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.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "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"
                        },
                        "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"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAssessmentsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "List Assessments."
                    },
                    "delete": {
                      "id": "contactcenterinsights.projects.locations.conversations.assessments.delete",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}",
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the assessment to delete.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "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"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Delete an Assessment."
                    },
                    "publish": {
                      "id": "contactcenterinsights.projects.locations.conversations.assessments.publish",
                      "path": "v1alpha1/{+name}:publish",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}:publish",
                      "httpMethod": "POST",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the assessment to publish.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1PublishAssessmentRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Publish an Assessment."
                    },
                    "appeal": {
                      "id": "contactcenterinsights.projects.locations.conversations.assessments.appeal",
                      "path": "v1alpha1/{+name}:appeal",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}:appeal",
                      "httpMethod": "POST",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the assessment to appeal.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1AppealAssessmentRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Appeal an Assessment."
                    },
                    "finalize": {
                      "id": "contactcenterinsights.projects.locations.conversations.assessments.finalize",
                      "path": "v1alpha1/{+name}:finalize",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}:finalize",
                      "httpMethod": "POST",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the assessment to finalize.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1FinalizeAssessmentRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Finalize an Assessment."
                    }
                  },
                  "resources": {
                    "notes": {
                      "methods": {
                        "create": {
                          "id": "contactcenterinsights.projects.locations.conversations.assessments.notes.create",
                          "path": "v1alpha1/{+parent}/notes",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes",
                          "httpMethod": "POST",
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent resource of the note.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "request": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Note"
                          },
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Note"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Create Note."
                        },
                        "list": {
                          "id": "contactcenterinsights.projects.locations.conversations.assessments.notes.list",
                          "path": "v1alpha1/{+parent}/notes",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes",
                          "httpMethod": "GET",
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent resource of the notes.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            },
                            "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.",
                              "location": "query",
                              "type": "integer",
                              "format": "int32"
                            },
                            "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"
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListNotesResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "List Notes."
                        },
                        "patch": {
                          "id": "contactcenterinsights.projects.locations.conversations.assessments.notes.patch",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes/{notesId}",
                          "httpMethod": "PATCH",
                          "parameters": {
                            "name": {
                              "description": "Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note}",
                              "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+/notes/[^/]+$",
                              "location": "path",
                              "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`",
                              "location": "query",
                              "type": "string",
                              "format": "google-fieldmask"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "request": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Note"
                          },
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Note"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Update Note."
                        },
                        "delete": {
                          "id": "contactcenterinsights.projects.locations.conversations.assessments.notes.delete",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes/{notesId}",
                          "httpMethod": "DELETE",
                          "parameters": {
                            "name": {
                              "description": "Required. The name of the note to delete.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/assessments/[^/]+/notes/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Deletes a Note."
                        }
                      }
                    }
                  }
                }
              }
            },
            "datasets": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.datasets.create",
                  "path": "v1alpha1/{+parent}/datasets",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the dataset.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "datasetId": {
                      "description": "Optional. The ID to use for the dataset.",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dataset"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dataset"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates a dataset."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.datasets.list",
                  "path": "v1alpha1/{+parent}/datasets",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the dataset.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListDatasetsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "List datasets matching the input."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.datasets.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the dataset to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dataset"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets a dataset."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.datasets.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "updateMask": {
                      "description": "Optional. The list of fields to update.",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dataset"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dataset"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates a dataset."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.datasets.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the dataset to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Delete a dataset."
                },
                "listAllFeedbackLabels": {
                  "id": "contactcenterinsights.projects.locations.datasets.listAllFeedbackLabels",
                  "path": "v1alpha1/{+parent}:listAllFeedbackLabels",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:listAllFeedbackLabels",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of all feedback labels per project.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                      "location": "path",
                      "required": true,
                      "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAllFeedbackLabelsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "List all feedback labels by project number."
                },
                "bulkUploadFeedbackLabels": {
                  "id": "contactcenterinsights.projects.locations.datasets.bulkUploadFeedbackLabels",
                  "path": "v1alpha1/{+parent}:bulkUploadFeedbackLabels",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:bulkUploadFeedbackLabels",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource for new feedback labels.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations."
                },
                "bulkDownloadFeedbackLabels": {
                  "id": "contactcenterinsights.projects.locations.datasets.bulkDownloadFeedbackLabels",
                  "path": "v1alpha1/{+parent}:bulkDownloadFeedbackLabels",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:bulkDownloadFeedbackLabels",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource for new feedback labels.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies."
                },
                "bulkDeleteFeedbackLabels": {
                  "id": "contactcenterinsights.projects.locations.datasets.bulkDeleteFeedbackLabels",
                  "path": "v1alpha1/{+parent}:bulkDeleteFeedbackLabels",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:bulkDeleteFeedbackLabels",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource for new feedback labels.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Delete feedback labels in bulk using a filter."
                }
              },
              "resources": {
                "conversations": {
                  "methods": {
                    "get": {
                      "id": "contactcenterinsights.projects.locations.datasets.conversations.get",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the conversation to get.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "view": {
                          "description": "The level of details of the conversation. Default is `FULL`.",
                          "location": "query",
                          "type": "string",
                          "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."
                          ],
                          "enum": [
                            "CONVERSATION_VIEW_UNSPECIFIED",
                            "FULL",
                            "BASIC"
                          ]
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Gets a conversation."
                    },
                    "list": {
                      "id": "contactcenterinsights.projects.locations.datasets.conversations.list",
                      "path": "v1alpha1/{+parent}/conversations",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the conversation.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "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.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "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"
                        },
                        "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"
                        },
                        "view": {
                          "description": "The level of details of the conversation. Default is `BASIC`.",
                          "location": "query",
                          "type": "string",
                          "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."
                          ],
                          "enum": [
                            "CONVERSATION_VIEW_UNSPECIFIED",
                            "FULL",
                            "BASIC"
                          ]
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListConversationsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Lists conversations."
                    },
                    "generateSignedAudio": {
                      "id": "contactcenterinsights.projects.locations.datasets.conversations.generateSignedAudio",
                      "path": "v1alpha1/{+name}:generateSignedAudio",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}:generateSignedAudio",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the conversation to sign.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerateConversationSignedAudioResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Gets the signed URI for the audio for the given conversation."
                    },
                    "delete": {
                      "id": "contactcenterinsights.projects.locations.datasets.conversations.delete",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}",
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the conversation to delete.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
                          "location": "path",
                          "required": true,
                          "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.",
                          "location": "query",
                          "type": "boolean"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Deletes a conversation."
                    },
                    "sample": {
                      "id": "contactcenterinsights.projects.locations.datasets.conversations.sample",
                      "path": "v1alpha1/{+parent}/conversations:sample",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:sample",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the dataset.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Samples conversations based on user configuration and handles the sampled conversations for different use cases."
                    },
                    "bulkDelete": {
                      "id": "contactcenterinsights.projects.locations.datasets.conversations.bulkDelete",
                      "path": "v1alpha1/{+parent}/conversations:bulkDelete",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:bulkDelete",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
                          "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Deletes multiple conversations in a single request."
                    },
                    "ingest": {
                      "id": "contactcenterinsights.projects.locations.datasets.conversations.ingest",
                      "path": "v1alpha1/{+parent}/conversations:ingest",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:ingest",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource for new conversations.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Imports conversations and processes them according to the user's configuration."
                    },
                    "calculateStats": {
                      "id": "contactcenterinsights.projects.locations.datasets.conversations.calculateStats",
                      "path": "v1alpha1/{+location}/conversations:calculateStats",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:calculateStats",
                      "httpMethod": "POST",
                      "parameters": {
                        "location": {
                          "description": "Required. The location of the conversations.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "location"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Gets conversation statistics."
                    }
                  },
                  "resources": {
                    "feedbackLabels": {
                      "methods": {
                        "create": {
                          "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.create",
                          "path": "v1alpha1/{+parent}/feedbackLabels",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels",
                          "httpMethod": "POST",
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent resource of the feedback label.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            },
                            "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"
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "request": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                          },
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Create feedback label."
                        },
                        "list": {
                          "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.list",
                          "path": "v1alpha1/{+parent}/feedbackLabels",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels",
                          "httpMethod": "GET",
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent resource of the feedback labels.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            },
                            "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.",
                              "location": "query",
                              "type": "integer",
                              "format": "int32"
                            },
                            "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"
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListFeedbackLabelsResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "List feedback labels."
                        },
                        "get": {
                          "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.get",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
                          "httpMethod": "GET",
                          "parameters": {
                            "name": {
                              "description": "Required. The name of the feedback label to get.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Get feedback label."
                        },
                        "patch": {
                          "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.patch",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
                          "httpMethod": "PATCH",
                          "parameters": {
                            "name": {
                              "description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
                              "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            },
                            "updateMask": {
                              "description": "Required. The list of fields to be updated.",
                              "location": "query",
                              "type": "string",
                              "format": "google-fieldmask"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "request": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                          },
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Update feedback label."
                        },
                        "delete": {
                          "id": "contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.delete",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
                          "httpMethod": "DELETE",
                          "parameters": {
                            "name": {
                              "description": "Required. The name of the feedback label to delete.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Delete feedback label."
                        }
                      }
                    }
                  }
                },
                "insightsdata": {
                  "methods": {
                    "export": {
                      "id": "contactcenterinsights.projects.locations.datasets.insightsdata.export",
                      "path": "v1alpha1/{+parent}/insightsdata:export",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/insightsdata:export",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource to export data from.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Export insights data to a destination defined in the request body."
                    }
                  }
                }
              }
            },
            "insightsdata": {
              "methods": {
                "export": {
                  "id": "contactcenterinsights.projects.locations.insightsdata.export",
                  "path": "v1alpha1/{+parent}/insightsdata:export",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/insightsdata:export",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource to export data from.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Export insights data to a destination defined in the request body."
                }
              }
            },
            "diagnostics": {
              "methods": {
                "get": {
                  "id": "contactcenterinsights.projects.locations.diagnostics.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/diagnostics/{diagnosticsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the diagnostic to retrieve.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/diagnostics/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Diagnostic"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets a diagnostic."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.diagnostics.list",
                  "path": "v1alpha1/{+parent}/diagnostics",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/diagnostics",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the diagnostics.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "pageSize": {
                      "description": "Optional. The maximum number of diagnostics to return. The service may return fewer than this value. If unspecified, at most 100 diagnostics will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "pageToken": {
                      "description": "Optional. A page token, received from a previous `ListDiagnostics` call. Provide this to retrieve the subsequent page.",
                      "location": "query",
                      "type": "string"
                    },
                    "filter": {
                      "description": "Optional. A filter to apply to the list (e.g. `create_time \u003e \"2023-01-01T00:00:00Z\"`).",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListDiagnosticsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists diagnostics."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.diagnostics.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/diagnostics/{diagnosticsId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the diagnostic to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/diagnostics/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes a diagnostic."
                }
              }
            },
            "issueModels": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.issueModels.create",
                  "path": "v1alpha1/{+parent}/issueModels",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the issue model.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates an issue model."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.issueModels.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "updateMask": {
                      "description": "The list of fields to be updated.",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates an issue model."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.issueModels.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the issue model to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets an issue model."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.issueModels.list",
                  "path": "v1alpha1/{+parent}/issueModels",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the issue model.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListIssueModelsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists issue models."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.issueModels.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the issue model to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes an issue model."
                },
                "deploy": {
                  "id": "contactcenterinsights.projects.locations.issueModels.deploy",
                  "path": "v1alpha1/{+name}:deploy",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:deploy",
                  "httpMethod": "POST",
                  "parameters": {
                    "name": {
                      "description": "Required. The issue model to deploy.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "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."
                },
                "undeploy": {
                  "id": "contactcenterinsights.projects.locations.issueModels.undeploy",
                  "path": "v1alpha1/{+name}:undeploy",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:undeploy",
                  "httpMethod": "POST",
                  "parameters": {
                    "name": {
                      "description": "Required. The issue model to undeploy.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed."
                },
                "export": {
                  "id": "contactcenterinsights.projects.locations.issueModels.export",
                  "path": "v1alpha1/{+name}:export",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:export",
                  "httpMethod": "POST",
                  "parameters": {
                    "name": {
                      "description": "Required. The issue model to export.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Exports an issue model to the provided destination."
                },
                "import": {
                  "id": "contactcenterinsights.projects.locations.issueModels.import",
                  "path": "v1alpha1/{+parent}/issueModels:import",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels:import",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the issue model.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Imports an issue model from a Cloud Storage bucket."
                },
                "calculateIssueModelStats": {
                  "id": "contactcenterinsights.projects.locations.issueModels.calculateIssueModelStats",
                  "path": "v1alpha1/{+issueModel}:calculateIssueModelStats",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}:calculateIssueModelStats",
                  "httpMethod": "GET",
                  "parameters": {
                    "issueModel": {
                      "description": "Required. The resource name of the issue model to query against.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "issueModel"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1CalculateIssueModelStatsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets an issue model's statistics."
                }
              },
              "resources": {
                "issues": {
                  "methods": {
                    "get": {
                      "id": "contactcenterinsights.projects.locations.issueModels.issues.get",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the issue to get.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+/issues/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Issue"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Gets an issue."
                    },
                    "list": {
                      "id": "contactcenterinsights.projects.locations.issueModels.issues.list",
                      "path": "v1alpha1/{+parent}/issues",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the issue.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListIssuesResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Lists issues."
                    },
                    "patch": {
                      "id": "contactcenterinsights.projects.locations.issueModels.issues.patch",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}",
                      "httpMethod": "PATCH",
                      "parameters": {
                        "name": {
                          "description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
                          "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+/issues/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "updateMask": {
                          "description": "The list of fields to be updated.",
                          "location": "query",
                          "type": "string",
                          "format": "google-fieldmask"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Issue"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Issue"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Updates an issue."
                    },
                    "create": {
                      "id": "contactcenterinsights.projects.locations.issueModels.issues.create",
                      "path": "v1alpha1/{+parent}/issues",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the issue.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Issue"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Creates an issue."
                    },
                    "delete": {
                      "id": "contactcenterinsights.projects.locations.issueModels.issues.delete",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}",
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the issue to delete.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+/issues/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Deletes an issue."
                    }
                  }
                }
              }
            },
            "phraseMatchers": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.phraseMatchers.create",
                  "path": "v1alpha1/{+parent}/phraseMatchers",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/phraseMatchers",
                  "httpMethod": "POST",
                  "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/`",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatcher"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatcher"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates a phrase matcher."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.phraseMatchers.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/phraseMatchers/{phraseMatchersId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the phrase matcher to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/phraseMatchers/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatcher"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets a phrase matcher."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.phraseMatchers.list",
                  "path": "v1alpha1/{+parent}/phraseMatchers",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/phraseMatchers",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the phrase matcher.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    },
                    "filter": {
                      "description": "A filter to reduce results to a specific subset. Useful for querying phrase matchers with specific properties.",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListPhraseMatchersResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists phrase matchers."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.phraseMatchers.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/phraseMatchers/{phraseMatchersId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the phrase matcher to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/phraseMatchers/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes a phrase matcher."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.phraseMatchers.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/phraseMatchers/{phraseMatchersId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/phraseMatchers/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "updateMask": {
                      "description": "The list of fields to be updated.",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatcher"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatcher"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates a phrase matcher."
                }
              }
            },
            "analysisRules": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.analysisRules.create",
                  "path": "v1alpha1/{+parent}/analysisRules",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/analysisRules",
                  "httpMethod": "POST",
                  "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/`",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisRule"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisRule"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates a analysis rule."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.analysisRules.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/analysisRules/{analysisRulesId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the AnalysisRule to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/analysisRules/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisRule"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Get a analysis rule."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.analysisRules.list",
                  "path": "v1alpha1/{+parent}/analysisRules",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/analysisRules",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the analysis rules.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAnalysisRulesResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists analysis rules."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.analysisRules.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/analysisRules/{analysisRulesId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/analysisRules/[^/]+$",
                      "location": "path",
                      "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.",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisRule"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisRule"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates a analysis rule."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.analysisRules.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/analysisRules/{analysisRulesId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the analysis rule to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/analysisRules/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes a analysis rule."
                }
              }
            },
            "autoLabelingRules": {
              "methods": {
                "list": {
                  "id": "contactcenterinsights.projects.locations.autoLabelingRules.list",
                  "path": "v1alpha1/{+parent}/autoLabelingRules",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The project and location to list auto labeling rules from. Format: projects/{project}/locations/{location}",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "pageToken": {
                      "description": "Optional. The next_page_token value returned from a previous List request, if any.",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAutoLabelingRulesResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists auto labeling rules."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.autoLabelingRules.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules/{autoLabelingRulesId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the auto labeling rule to get. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/autoLabelingRules/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRule"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets an auto labeling rule."
                },
                "create": {
                  "id": "contactcenterinsights.projects.locations.autoLabelingRules.create",
                  "path": "v1alpha1/{+parent}/autoLabelingRules",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The project and location to create the auto labeling rule in. Format: projects/{project}/locations/{location}",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRule"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRule"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates an auto labeling rule."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.autoLabelingRules.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules/{autoLabelingRulesId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Identifier. The resource name of the auto-labeling rule. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/autoLabelingRules/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "updateMask": {
                      "description": "Optional. The list of fields to be updated.",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRule"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRule"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates an auto labeling rule."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.autoLabelingRules.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules/{autoLabelingRulesId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the auto labeling rule to delete. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/autoLabelingRules/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes an auto labeling rule."
                },
                "test": {
                  "id": "contactcenterinsights.projects.locations.autoLabelingRules.test",
                  "path": "v1alpha1/{+parent}/autoLabelingRules:test",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules:test",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent project and location. Format: projects/{project}/locations/{location}",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1TestAutoLabelingRuleRequest"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1TestAutoLabelingRuleResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Tests auto labeling rules against a conversation."
                }
              }
            },
            "assessmentRules": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.assessmentRules.create",
                  "path": "v1alpha1/{+parent}/assessmentRules",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/assessmentRules",
                  "httpMethod": "POST",
                  "parameters": {
                    "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/`",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AssessmentRule"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AssessmentRule"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates an assessment rule."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.assessmentRules.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/assessmentRules/{assessmentRulesId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the assessment rule to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/assessmentRules/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AssessmentRule"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Get an assessment rule."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.assessmentRules.list",
                  "path": "v1alpha1/{+parent}/assessmentRules",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/assessmentRules",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the assessment rules.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAssessmentRulesResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists assessment rules."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.assessmentRules.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/assessmentRules/{assessmentRulesId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/assessmentRules/[^/]+$",
                      "location": "path",
                      "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.",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AssessmentRule"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AssessmentRule"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates an assessment rule."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.assessmentRules.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/assessmentRules/{assessmentRulesId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the assessment rule to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/assessmentRules/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes an assessment rule."
                }
              }
            },
            "encryptionSpec": {
              "methods": {
                "initialize": {
                  "id": "contactcenterinsights.projects.locations.encryptionSpec.initialize",
                  "path": "v1alpha1/{+name}:initialize",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/encryptionSpec:initialize",
                  "httpMethod": "POST",
                  "parameters": {
                    "name": {
                      "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec",
                      "pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "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."
                }
              }
            },
            "views": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.views.create",
                  "path": "v1alpha1/{+parent}/views",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/views",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the view. Required. The location to create a view for. Format: `projects//locations/` or `projects//locations/`",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1View"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1View"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates a view."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.views.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/views/{viewsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the view to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/views/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1View"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets a view."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.views.list",
                  "path": "v1alpha1/{+parent}/views",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/views",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the views.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListViewsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists views."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.views.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/views/{viewsId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/views/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "updateMask": {
                      "description": "The list of fields to be updated.",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1View"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1View"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates a view."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.views.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/views/{viewsId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the view to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/views/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes a view."
                }
              }
            },
            "qaQuestionTags": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.qaQuestionTags.create",
                  "path": "v1alpha1/{+parent}/qaQuestionTags",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the QaQuestionTag.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates a QaQuestionTag."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.qaQuestionTags.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags/{qaQuestionTagsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the QaQuestionTag to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/qaQuestionTags/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets a QaQuestionTag."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.qaQuestionTags.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags/{qaQuestionTagsId}",
                  "httpMethod": "PATCH",
                  "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.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/qaQuestionTags/[^/]+$",
                      "location": "path",
                      "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",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag"
                  },
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates a QaQuestionTag."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.qaQuestionTags.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags/{qaQuestionTagsId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the QaQuestionTag to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/qaQuestionTags/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleLongrunningOperation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes a QaQuestionTag."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.qaQuestionTags.list",
                  "path": "v1alpha1/{+parent}/qaQuestionTags",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaQuestionTags",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the QaQuestionTags.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListQaQuestionTagsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists the question tags."
                }
              }
            },
            "qaScorecards": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.qaScorecards.create",
                  "path": "v1alpha1/{+parent}/qaScorecards",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the QaScorecard.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecard"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecard"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Create a QaScorecard."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.qaScorecards.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the QaScorecard to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecard"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets a QaScorecard."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.qaScorecards.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
                      "location": "path",
                      "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`",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecard"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecard"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates a QaScorecard."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.qaScorecards.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the QaScorecard to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes a QaScorecard."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.qaScorecards.list",
                  "path": "v1alpha1/{+parent}/qaScorecards",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the scorecards.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    },
                    "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.",
                      "location": "query",
                      "repeated": true,
                      "type": "string",
                      "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."
                      ],
                      "enum": [
                        "QA_SCORECARD_SOURCE_UNSPECIFIED",
                        "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED",
                        "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE"
                      ]
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListQaScorecardsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists QaScorecards."
                }
              },
              "resources": {
                "revisions": {
                  "methods": {
                    "create": {
                      "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.create",
                      "path": "v1alpha1/{+parent}/revisions",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the QaScorecardRevision.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
                          "location": "path",
                          "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"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardRevision"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardRevision"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Creates a QaScorecardRevision."
                    },
                    "get": {
                      "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.get",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the QaScorecardRevision to get.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardRevision"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Gets a QaScorecardRevision."
                    },
                    "tuneQaScorecardRevision": {
                      "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.tuneQaScorecardRevision",
                      "path": "v1alpha1/{+parent}:tuneQaScorecardRevision",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}:tuneQaScorecardRevision",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource for new fine tuning job instance.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1TuneQaScorecardRevisionRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Fine tune one or more QaModels."
                    },
                    "deploy": {
                      "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.deploy",
                      "path": "v1alpha1/{+name}:deploy",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}:deploy",
                      "httpMethod": "POST",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the QaScorecardRevision to deploy.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1DeployQaScorecardRevisionRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardRevision"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Deploy a QaScorecardRevision."
                    },
                    "undeploy": {
                      "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.undeploy",
                      "path": "v1alpha1/{+name}:undeploy",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}:undeploy",
                      "httpMethod": "POST",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the QaScorecardRevision to undeploy.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1UndeployQaScorecardRevisionRequest"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardRevision"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Undeploy a QaScorecardRevision."
                    },
                    "delete": {
                      "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.delete",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}",
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the QaScorecardRevision to delete.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "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"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Deletes a QaScorecardRevision."
                    },
                    "list": {
                      "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.list",
                      "path": "v1alpha1/{+parent}/revisions",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the scorecard revisions. To list all revisions of all scorecards, substitute the QaScorecard ID with a '-' character.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+$",
                          "location": "path",
                          "required": true,
                          "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.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "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"
                        },
                        "filter": {
                          "description": "Optional. A filter to reduce results to a specific subset. Useful for querying scorecard revisions with specific properties.",
                          "location": "query",
                          "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.",
                          "location": "query",
                          "repeated": true,
                          "type": "string",
                          "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."
                          ],
                          "enum": [
                            "QA_SCORECARD_SOURCE_UNSPECIFIED",
                            "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED",
                            "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE"
                          ]
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListQaScorecardRevisionsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Lists all revisions under the parent QaScorecard."
                    }
                  },
                  "resources": {
                    "qaQuestions": {
                      "methods": {
                        "create": {
                          "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.create",
                          "path": "v1alpha1/{+parent}/qaQuestions",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions",
                          "httpMethod": "POST",
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent resource of the QaQuestion.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
                              "location": "path",
                              "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"
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "request": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestion"
                          },
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestion"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Create a QaQuestion."
                        },
                        "get": {
                          "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.get",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions/{qaQuestionsId}",
                          "httpMethod": "GET",
                          "parameters": {
                            "name": {
                              "description": "Required. The name of the QaQuestion to get.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+/qaQuestions/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestion"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Gets a QaQuestion."
                        },
                        "patch": {
                          "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.patch",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions/{qaQuestionsId}",
                          "httpMethod": "PATCH",
                          "parameters": {
                            "name": {
                              "description": "Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}",
                              "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+/qaQuestions/[^/]+$",
                              "location": "path",
                              "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`",
                              "location": "query",
                              "type": "string",
                              "format": "google-fieldmask"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "request": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestion"
                          },
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestion"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Updates a QaQuestion."
                        },
                        "delete": {
                          "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.delete",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions/{qaQuestionsId}",
                          "httpMethod": "DELETE",
                          "parameters": {
                            "name": {
                              "description": "Required. The name of the QaQuestion to delete.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+/qaQuestions/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Deletes a QaQuestion."
                        },
                        "list": {
                          "id": "contactcenterinsights.projects.locations.qaScorecards.revisions.qaQuestions.list",
                          "path": "v1alpha1/{+parent}/qaQuestions",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/qaScorecards/{qaScorecardsId}/revisions/{revisionsId}/qaQuestions",
                          "httpMethod": "GET",
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent resource of the questions.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/qaScorecards/[^/]+/revisions/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            },
                            "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.",
                              "location": "query",
                              "type": "integer",
                              "format": "int32"
                            },
                            "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"
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListQaQuestionsResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Lists QaQuestions."
                        }
                      }
                    }
                  }
                }
              }
            },
            "authorizedViewSets": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.authorizedViewSets.create",
                  "path": "v1alpha1/{+parent}/authorizedViewSets",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the AuthorizedViewSet.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedViewSet"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedViewSet"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Create AuthorizedViewSet"
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.authorizedViewSets.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the AuthorizedViewSet to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedViewSet"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Get AuthorizedViewSet"
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.authorizedViewSets.list",
                  "path": "v1alpha1/{+parent}/authorizedViewSets",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the AuthorizedViewSets.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAuthorizedViewSetsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "List AuthorizedViewSets"
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.authorizedViewSets.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
                      "location": "path",
                      "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`",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedViewSet"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedViewSet"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates an AuthorizedViewSet."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.authorizedViewSets.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the AuthorizedViewSet to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes an AuthorizedViewSet."
                }
              },
              "resources": {
                "authorizedViews": {
                  "methods": {
                    "setIamPolicy": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.setIamPolicy",
                      "path": "v1alpha1/{+resource}:setIamPolicy",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:setIamPolicy",
                      "httpMethod": "POST",
                      "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.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "resource"
                      ],
                      "request": {
                        "$ref": "GoogleIamV1SetIamPolicyRequest"
                      },
                      "response": {
                        "$ref": "GoogleIamV1Policy"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors."
                    },
                    "getIamPolicy": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.getIamPolicy",
                      "path": "v1alpha1/{+resource}:getIamPolicy",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:getIamPolicy",
                      "httpMethod": "GET",
                      "parameters": {
                        "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.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "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).",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        }
                      },
                      "parameterOrder": [
                        "resource"
                      ],
                      "response": {
                        "$ref": "GoogleIamV1Policy"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set."
                    },
                    "testIamPermissions": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.testIamPermissions",
                      "path": "v1alpha1/{+resource}:testIamPermissions",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:testIamPermissions",
                      "httpMethod": "POST",
                      "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.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "resource"
                      ],
                      "request": {
                        "$ref": "GoogleIamV1TestIamPermissionsRequest"
                      },
                      "response": {
                        "$ref": "GoogleIamV1TestIamPermissionsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "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."
                    },
                    "queryMetrics": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics",
                      "path": "v1alpha1/{+location}:queryMetrics",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:queryMetrics",
                      "httpMethod": "POST",
                      "parameters": {
                        "location": {
                          "description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "location"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Query metrics."
                    },
                    "generativeInsights": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.generativeInsights",
                      "path": "v1alpha1/{+location}:generativeInsights",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:generativeInsights",
                      "httpMethod": "POST",
                      "parameters": {
                        "location": {
                          "description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "location"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Natural language based Insights which powers the next generation of dashboards in Insights. Next generation of QueryMetrics."
                    },
                    "queryPerformanceOverview": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryPerformanceOverview",
                      "path": "v1alpha1/{+parent}:queryPerformanceOverview",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}:queryPerformanceOverview",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the conversations to derive performance stats from. \"projects/{project}/locations/{location}\"",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewRequest"
                      },
                      "response": {
                        "$ref": "GoogleLongrunningOperation"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "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."
                    },
                    "create": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.create",
                      "path": "v1alpha1/{+parent}/authorizedViews",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the AuthorizedView.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "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"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedView"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedView"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Create AuthorizedView"
                    },
                    "get": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.get",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the AuthorizedView to get.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedView"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Get AuthorizedView"
                    },
                    "list": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.list",
                      "path": "v1alpha1/{+parent}/authorizedViews",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "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.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "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"
                        },
                        "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"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAuthorizedViewsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "List AuthorizedViewSets"
                    },
                    "search": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.search",
                      "path": "v1alpha1/{+parent}/authorizedViews:search",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews:search",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the AuthorizedViews. If the parent is set to `-`, all AuthorizedViews under the location will be returned.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+$",
                          "location": "path",
                          "required": true,
                          "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.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "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"
                        },
                        "query": {
                          "description": "Optional. The query expression to search authorized views.",
                          "location": "query",
                          "type": "string"
                        },
                        "orderBy": {
                          "description": "Optional. The order by expression to order authorized views listed in the response.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1SearchAuthorizedViewsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "SearchAuthorizedViewSets"
                    },
                    "patch": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.patch",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}",
                      "httpMethod": "PATCH",
                      "parameters": {
                        "name": {
                          "description": "Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                          "location": "path",
                          "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`",
                          "location": "query",
                          "type": "string",
                          "format": "google-fieldmask"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedView"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedView"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Updates an AuthorizedView."
                    },
                    "delete": {
                      "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.delete",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}",
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the AuthorizedView to delete.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Deletes an AuthorizedView."
                    }
                  },
                  "resources": {
                    "operations": {
                      "methods": {
                        "list": {
                          "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.list",
                          "path": "v1alpha1/{+name}/operations",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/operations",
                          "httpMethod": "GET",
                          "parameters": {
                            "name": {
                              "description": "The name of the operation's parent resource.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            },
                            "filter": {
                              "description": "The standard list filter.",
                              "location": "query",
                              "type": "string"
                            },
                            "pageSize": {
                              "description": "The standard list page size.",
                              "location": "query",
                              "type": "integer",
                              "format": "int32"
                            },
                            "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"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleLongrunningListOperationsResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`."
                        },
                        "get": {
                          "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.get",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/operations/{operationsId}",
                          "httpMethod": "GET",
                          "parameters": {
                            "name": {
                              "description": "The name of the operation resource.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/operations/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleLongrunningOperation"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "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."
                        },
                        "cancel": {
                          "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.cancel",
                          "path": "v1alpha1/{+name}:cancel",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/operations/{operationsId}:cancel",
                          "httpMethod": "POST",
                          "parameters": {
                            "name": {
                              "description": "The name of the operation resource to be cancelled.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/operations/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "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`."
                        }
                      }
                    },
                    "conversations": {
                      "methods": {
                        "get": {
                          "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.get",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}",
                          "httpMethod": "GET",
                          "parameters": {
                            "name": {
                              "description": "Required. The name of the conversation to get.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            },
                            "view": {
                              "description": "The level of details of the conversation. Default is `FULL`.",
                              "location": "query",
                              "type": "string",
                              "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."
                              ],
                              "enum": [
                                "CONVERSATION_VIEW_UNSPECIFIED",
                                "FULL",
                                "BASIC"
                              ]
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Gets a conversation."
                        },
                        "list": {
                          "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.list",
                          "path": "v1alpha1/{+parent}/conversations",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations",
                          "httpMethod": "GET",
                          "parameters": {
                            "parent": {
                              "description": "Required. The parent resource of the conversation.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                              "location": "path",
                              "required": true,
                              "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.",
                              "location": "query",
                              "type": "integer",
                              "format": "int32"
                            },
                            "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"
                            },
                            "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"
                            },
                            "view": {
                              "description": "The level of details of the conversation. Default is `BASIC`.",
                              "location": "query",
                              "type": "string",
                              "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."
                              ],
                              "enum": [
                                "CONVERSATION_VIEW_UNSPECIFIED",
                                "FULL",
                                "BASIC"
                              ]
                            }
                          },
                          "parameterOrder": [
                            "parent"
                          ],
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListConversationsResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Lists conversations."
                        },
                        "generateSignedAudio": {
                          "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.generateSignedAudio",
                          "path": "v1alpha1/{+name}:generateSignedAudio",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}:generateSignedAudio",
                          "httpMethod": "GET",
                          "parameters": {
                            "name": {
                              "description": "Required. The name of the conversation to sign.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerateConversationSignedAudioResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Gets the signed URI for the audio for the given conversation."
                        },
                        "delete": {
                          "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.delete",
                          "path": "v1alpha1/{+name}",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}",
                          "httpMethod": "DELETE",
                          "parameters": {
                            "name": {
                              "description": "Required. The name of the conversation to delete.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
                              "location": "path",
                              "required": true,
                              "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.",
                              "location": "query",
                              "type": "boolean"
                            }
                          },
                          "parameterOrder": [
                            "name"
                          ],
                          "response": {
                            "$ref": "GoogleProtobufEmpty"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Deletes a conversation."
                        },
                        "calculateStats": {
                          "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats",
                          "path": "v1alpha1/{+location}/conversations:calculateStats",
                          "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations:calculateStats",
                          "httpMethod": "GET",
                          "parameters": {
                            "location": {
                              "description": "Required. The location of the conversations.",
                              "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$",
                              "location": "path",
                              "required": true,
                              "type": "string"
                            },
                            "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"
                            }
                          },
                          "parameterOrder": [
                            "location"
                          ],
                          "response": {
                            "$ref": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponse"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform"
                          ],
                          "description": "Gets conversation statistics."
                        }
                      },
                      "resources": {
                        "feedbackLabels": {
                          "methods": {
                            "create": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.create",
                              "path": "v1alpha1/{+parent}/feedbackLabels",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels",
                              "httpMethod": "POST",
                              "parameters": {
                                "parent": {
                                  "description": "Required. The parent resource of the feedback label.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                },
                                "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"
                                }
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "request": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                              },
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Create feedback label."
                            },
                            "list": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.list",
                              "path": "v1alpha1/{+parent}/feedbackLabels",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels",
                              "httpMethod": "GET",
                              "parameters": {
                                "parent": {
                                  "description": "Required. The parent resource of the feedback labels.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                },
                                "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.",
                                  "location": "query",
                                  "type": "integer",
                                  "format": "int32"
                                },
                                "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"
                                }
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListFeedbackLabelsResponse"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "List feedback labels."
                            },
                            "get": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.get",
                              "path": "v1alpha1/{+name}",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
                              "httpMethod": "GET",
                              "parameters": {
                                "name": {
                                  "description": "Required. The name of the feedback label to get.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                }
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Get feedback label."
                            },
                            "patch": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.patch",
                              "path": "v1alpha1/{+name}",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
                              "httpMethod": "PATCH",
                              "parameters": {
                                "name": {
                                  "description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                },
                                "updateMask": {
                                  "description": "Required. The list of fields to be updated.",
                                  "location": "query",
                                  "type": "string",
                                  "format": "google-fieldmask"
                                }
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "request": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                              },
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Update feedback label."
                            },
                            "delete": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.delete",
                              "path": "v1alpha1/{+name}",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/feedbackLabels/{feedbackLabelsId}",
                              "httpMethod": "DELETE",
                              "parameters": {
                                "name": {
                                  "description": "Required. The name of the feedback label to delete.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/feedbackLabels/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                }
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "response": {
                                "$ref": "GoogleProtobufEmpty"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Delete feedback label."
                            }
                          }
                        },
                        "assessments": {
                          "methods": {
                            "create": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.create",
                              "path": "v1alpha1/{+parent}/assessments",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments",
                              "httpMethod": "POST",
                              "parameters": {
                                "parent": {
                                  "description": "Required. The parent resource of the assessment.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                }
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "request": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                              },
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Create Assessment."
                            },
                            "get": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.get",
                              "path": "v1alpha1/{+name}",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}",
                              "httpMethod": "GET",
                              "parameters": {
                                "name": {
                                  "description": "Required. The name of the assessment to get.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                }
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Get Assessment."
                            },
                            "list": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.list",
                              "path": "v1alpha1/{+parent}/assessments",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments",
                              "httpMethod": "GET",
                              "parameters": {
                                "parent": {
                                  "description": "Required. The parent resource of the assessments. To list all assessments in a location, substitute the conversation ID with a '-' character.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "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.",
                                  "location": "query",
                                  "type": "integer",
                                  "format": "int32"
                                },
                                "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"
                                },
                                "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"
                                }
                              },
                              "parameterOrder": [
                                "parent"
                              ],
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListAssessmentsResponse"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "List Assessments."
                            },
                            "delete": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.delete",
                              "path": "v1alpha1/{+name}",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}",
                              "httpMethod": "DELETE",
                              "parameters": {
                                "name": {
                                  "description": "Required. The name of the assessment to delete.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                },
                                "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"
                                }
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "response": {
                                "$ref": "GoogleProtobufEmpty"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Delete an Assessment."
                            },
                            "publish": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.publish",
                              "path": "v1alpha1/{+name}:publish",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}:publish",
                              "httpMethod": "POST",
                              "parameters": {
                                "name": {
                                  "description": "Required. The name of the assessment to publish.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                }
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "request": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1PublishAssessmentRequest"
                              },
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Publish an Assessment."
                            },
                            "appeal": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.appeal",
                              "path": "v1alpha1/{+name}:appeal",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}:appeal",
                              "httpMethod": "POST",
                              "parameters": {
                                "name": {
                                  "description": "Required. The name of the assessment to appeal.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                }
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "request": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1AppealAssessmentRequest"
                              },
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Appeal an Assessment."
                            },
                            "finalize": {
                              "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.finalize",
                              "path": "v1alpha1/{+name}:finalize",
                              "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}:finalize",
                              "httpMethod": "POST",
                              "parameters": {
                                "name": {
                                  "description": "Required. The name of the assessment to finalize.",
                                  "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                                  "location": "path",
                                  "required": true,
                                  "type": "string"
                                }
                              },
                              "parameterOrder": [
                                "name"
                              ],
                              "request": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1FinalizeAssessmentRequest"
                              },
                              "response": {
                                "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform"
                              ],
                              "description": "Finalize an Assessment."
                            }
                          },
                          "resources": {
                            "notes": {
                              "methods": {
                                "create": {
                                  "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.create",
                                  "path": "v1alpha1/{+parent}/notes",
                                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes",
                                  "httpMethod": "POST",
                                  "parameters": {
                                    "parent": {
                                      "description": "Required. The parent resource of the note.",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                                      "location": "path",
                                      "required": true,
                                      "type": "string"
                                    }
                                  },
                                  "parameterOrder": [
                                    "parent"
                                  ],
                                  "request": {
                                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Note"
                                  },
                                  "response": {
                                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Note"
                                  },
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform"
                                  ],
                                  "description": "Create Note."
                                },
                                "list": {
                                  "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.list",
                                  "path": "v1alpha1/{+parent}/notes",
                                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes",
                                  "httpMethod": "GET",
                                  "parameters": {
                                    "parent": {
                                      "description": "Required. The parent resource of the notes.",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+$",
                                      "location": "path",
                                      "required": true,
                                      "type": "string"
                                    },
                                    "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.",
                                      "location": "query",
                                      "type": "integer",
                                      "format": "int32"
                                    },
                                    "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"
                                    }
                                  },
                                  "parameterOrder": [
                                    "parent"
                                  ],
                                  "response": {
                                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListNotesResponse"
                                  },
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform"
                                  ],
                                  "description": "List Notes."
                                },
                                "patch": {
                                  "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.patch",
                                  "path": "v1alpha1/{+name}",
                                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes/{notesId}",
                                  "httpMethod": "PATCH",
                                  "parameters": {
                                    "name": {
                                      "description": "Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note}",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+/notes/[^/]+$",
                                      "location": "path",
                                      "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`",
                                      "location": "query",
                                      "type": "string",
                                      "format": "google-fieldmask"
                                    }
                                  },
                                  "parameterOrder": [
                                    "name"
                                  ],
                                  "request": {
                                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Note"
                                  },
                                  "response": {
                                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Note"
                                  },
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform"
                                  ],
                                  "description": "Update Note."
                                },
                                "delete": {
                                  "id": "contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.delete",
                                  "path": "v1alpha1/{+name}",
                                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/authorizedViewSets/{authorizedViewSetsId}/authorizedViews/{authorizedViewsId}/conversations/{conversationsId}/assessments/{assessmentsId}/notes/{notesId}",
                                  "httpMethod": "DELETE",
                                  "parameters": {
                                    "name": {
                                      "description": "Required. The name of the note to delete.",
                                      "pattern": "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+/conversations/[^/]+/assessments/[^/]+/notes/[^/]+$",
                                      "location": "path",
                                      "required": true,
                                      "type": "string"
                                    }
                                  },
                                  "parameterOrder": [
                                    "name"
                                  ],
                                  "response": {
                                    "$ref": "GoogleProtobufEmpty"
                                  },
                                  "scopes": [
                                    "https://www.googleapis.com/auth/cloud-platform"
                                  ],
                                  "description": "Deletes a Note."
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "dashboards": {
              "methods": {
                "create": {
                  "id": "contactcenterinsights.projects.locations.dashboards.create",
                  "path": "v1alpha1/{+parent}/dashboards",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards",
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the dashboard.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dashboard"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dashboard"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Creates a Dashboard."
                },
                "get": {
                  "id": "contactcenterinsights.projects.locations.dashboards.get",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the dashboard to get.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dashboard"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets a Dashboard."
                },
                "list": {
                  "id": "contactcenterinsights.projects.locations.dashboards.list",
                  "path": "v1alpha1/{+parent}/dashboards",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards",
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource of the dashboards.",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "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.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "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"
                    },
                    "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"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListDashboardsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Lists Dashboards."
                },
                "patch": {
                  "id": "contactcenterinsights.projects.locations.dashboards.patch",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}",
                  "httpMethod": "PATCH",
                  "parameters": {
                    "name": {
                      "description": "Identifier. Dashboard resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
                      "location": "path",
                      "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`",
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dashboard"
                  },
                  "response": {
                    "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dashboard"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Updates a Dashboard."
                },
                "delete": {
                  "id": "contactcenterinsights.projects.locations.dashboards.delete",
                  "path": "v1alpha1/{+name}",
                  "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "description": "Required. The name of the dashboard to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes a Dashboard."
                }
              },
              "resources": {
                "charts": {
                  "methods": {
                    "create": {
                      "id": "contactcenterinsights.projects.locations.dashboards.charts.create",
                      "path": "v1alpha1/{+parent}/charts",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts",
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the chart.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        },
                        "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"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Chart"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Chart"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Creates a Chart."
                    },
                    "get": {
                      "id": "contactcenterinsights.projects.locations.dashboards.charts.get",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts/{chartsId}",
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the chart to get.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Chart"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Gets a Chart."
                    },
                    "list": {
                      "id": "contactcenterinsights.projects.locations.dashboards.charts.list",
                      "path": "v1alpha1/{+parent}/charts",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. The parent resource of the charts.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1ListChartsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Lists Charts."
                    },
                    "patch": {
                      "id": "contactcenterinsights.projects.locations.dashboards.charts.patch",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts/{chartsId}",
                      "httpMethod": "PATCH",
                      "parameters": {
                        "name": {
                          "description": "Identifier. Chart resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$",
                          "location": "path",
                          "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`",
                          "location": "query",
                          "type": "string",
                          "format": "google-fieldmask"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Chart"
                      },
                      "response": {
                        "$ref": "GoogleCloudContactcenterinsightsV1alpha1Chart"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Updates a Chart."
                    },
                    "delete": {
                      "id": "contactcenterinsights.projects.locations.dashboards.charts.delete",
                      "path": "v1alpha1/{+name}",
                      "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/dashboards/{dashboardsId}/charts/{chartsId}",
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "description": "Required. The name of the chart to delete.",
                          "pattern": "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "GoogleProtobufEmpty"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Deletes a Chart."
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "ownerName": "Google",
  "servicePath": "",
  "id": "contactcenterinsights:v1alpha1",
  "mtlsRootUrl": "https://contactcenterinsights.mtls.googleapis.com/",
  "kind": "discovery#restDescription",
  "ownerDomain": "google.com",
  "documentationLink": "https://cloud.google.com/contact-center/insights/docs",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "description": "",
  "name": "contactcenterinsights",
  "rootUrl": "https://contactcenterinsights.googleapis.com/",
  "version_module": true,
  "fullyEncodeReservedExpansion": true,
  "revision": "20260515",
  "batchPath": "batch",
  "canonicalName": "Contactcenterinsights",
  "protocol": "rest",
  "schemas": {
    "GoogleLongrunningListOperationsResponse": {
      "id": "GoogleLongrunningListOperationsResponse",
      "description": "The response message for Operations.ListOperations.",
      "type": "object",
      "properties": {
        "operations": {
          "description": "A list of operations that matches the specified filter in the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleLongrunningOperation"
          }
        },
        "nextPageToken": {
          "description": "The standard List next-page token.",
          "type": "string"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleLongrunningOperation": {
      "id": "GoogleLongrunningOperation",
      "description": "This resource represents a long-running operation that is the result of a network API call.",
      "type": "object",
      "properties": {
        "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"
        },
        "metadata": {
          "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",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        },
        "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": {
          "description": "The error result of the operation in case of failure or cancellation.",
          "$ref": "GoogleRpcStatus"
        },
        "response": {
          "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",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        }
      }
    },
    "GoogleRpcStatus": {
      "id": "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).",
      "type": "object",
      "properties": {
        "code": {
          "description": "The status code, which should be an enum value of google.rpc.Code.",
          "type": "integer",
          "format": "int32"
        },
        "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"
        },
        "details": {
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          }
        }
      }
    },
    "GoogleProtobufEmpty": {
      "id": "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); }",
      "type": "object",
      "properties": {}
    },
    "GoogleIamV1SetIamPolicyRequest": {
      "id": "GoogleIamV1SetIamPolicyRequest",
      "description": "Request message for `SetIamPolicy` method.",
      "type": "object",
      "properties": {
        "policy": {
          "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.",
          "$ref": "GoogleIamV1Policy"
        },
        "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\"`",
          "type": "string",
          "format": "google-fieldmask"
        }
      }
    },
    "GoogleIamV1Policy": {
      "id": "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 \u003c 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 \u003c 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/).",
      "type": "object",
      "properties": {
        "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).",
          "type": "integer",
          "format": "int32"
        },
        "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`.",
          "type": "array",
          "items": {
            "$ref": "GoogleIamV1Binding"
          }
        },
        "auditConfigs": {
          "description": "Specifies cloud audit logging configuration for this policy.",
          "type": "array",
          "items": {
            "$ref": "GoogleIamV1AuditConfig"
          }
        },
        "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.",
          "type": "string",
          "format": "byte"
        }
      }
    },
    "GoogleIamV1Binding": {
      "id": "GoogleIamV1Binding",
      "description": "Associates `members`, or principals, with a `role`.",
      "type": "object",
      "properties": {
        "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"
        },
        "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`.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "condition": {
          "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).",
          "$ref": "GoogleTypeExpr"
        }
      }
    },
    "GoogleTypeExpr": {
      "id": "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() \u003c 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.",
      "type": "object",
      "properties": {
        "expression": {
          "description": "Textual representation of an expression in Common Expression Language syntax.",
          "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"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleIamV1AuditConfig": {
      "id": "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.",
      "type": "object",
      "properties": {
        "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"
        },
        "auditLogConfigs": {
          "description": "The configuration for logging of each type of permission.",
          "type": "array",
          "items": {
            "$ref": "GoogleIamV1AuditLogConfig"
          }
        }
      }
    },
    "GoogleIamV1AuditLogConfig": {
      "id": "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.",
      "type": "object",
      "properties": {
        "logType": {
          "description": "The log type that this config enables.",
          "type": "string",
          "enumDescriptions": [
            "Default case. Should never be this.",
            "Admin reads. Example: CloudIAM getIamPolicy",
            "Data writes. Example: CloudSQL Users create",
            "Data reads. Example: CloudSQL Users list"
          ],
          "enum": [
            "LOG_TYPE_UNSPECIFIED",
            "ADMIN_READ",
            "DATA_WRITE",
            "DATA_READ"
          ]
        },
        "exemptedMembers": {
          "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleIamV1TestIamPermissionsRequest": {
      "id": "GoogleIamV1TestIamPermissionsRequest",
      "description": "Request message for `TestIamPermissions` method.",
      "type": "object",
      "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).",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleIamV1TestIamPermissionsResponse": {
      "id": "GoogleIamV1TestIamPermissionsResponse",
      "description": "Response message for `TestIamPermissions` method.",
      "type": "object",
      "properties": {
        "permissions": {
          "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Conversation": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Conversation",
      "description": "The conversation resource.",
      "type": "object",
      "properties": {
        "callMetadata": {
          "description": "Call-specific metadata.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata"
        },
        "expireTime": {
          "description": "The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.",
          "type": "string",
          "format": "google-datetime"
        },
        "ttl": {
          "description": "Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.",
          "type": "string",
          "format": "google-duration"
        },
        "name": {
          "description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}",
          "type": "string"
        },
        "dataSource": {
          "description": "The source of the audio and transcription for the conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource"
        },
        "createTime": {
          "description": "Output only. The time at which the conversation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the conversation was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "startTime": {
          "description": "The time at which the conversation started.",
          "type": "string",
          "format": "google-datetime"
        },
        "languageCode": {
          "description": "A user-specified language code for the conversation.",
          "type": "string"
        },
        "agentId": {
          "description": "An opaque, user-specified string representing the human agent who handled the conversation.",
          "type": "string"
        },
        "labels": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "qualityMetadata": {
          "description": "Conversation metadata related to quality management.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata"
        },
        "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"
        },
        "transcript": {
          "description": "Output only. The conversation transcript.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript"
        },
        "medium": {
          "description": "Immutable. The conversation medium.",
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "The format for conversations that took place over the phone.",
            "The format for conversations that took place over chat."
          ],
          "enum": [
            "MEDIUM_UNSPECIFIED",
            "PHONE_CALL",
            "CHAT"
          ]
        },
        "duration": {
          "description": "Output only. The duration of the conversation.",
          "readOnly": true,
          "type": "string",
          "format": "google-duration"
        },
        "turnCount": {
          "description": "Output only. The number of turns in the conversation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "latestAnalysis": {
          "description": "Output only. The conversation's latest analysis, if one exists.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1Analysis"
        },
        "latestSummary": {
          "description": "Output only. Latest summary of the conversation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData"
        },
        "runtimeAnnotations": {
          "description": "Output only. The annotations that were generated during the customer and agent interaction.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation"
          }
        },
        "dialogflowIntents": {
          "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",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent"
          }
        },
        "obfuscatedUserId": {
          "description": "Obfuscated user ID which the customer sent to us.",
          "type": "string"
        },
        "correlationInfo": {
          "description": "Output only. Info for correlating across conversations.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata",
      "description": "Call-specific metadata.",
      "type": "object",
      "properties": {
        "customerChannel": {
          "description": "The audio channel that contains the customer.",
          "type": "integer",
          "format": "int32"
        },
        "agentChannel": {
          "description": "The audio channel that contains the agent.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource",
      "description": "The conversation source, which is a combination of transcript and audio.",
      "type": "object",
      "properties": {
        "gcsSource": {
          "description": "A Cloud Storage location specification for the audio and transcript.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GcsSource"
        },
        "dialogflowSource": {
          "description": "The source when the conversation comes from Dialogflow.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DialogflowSource"
        },
        "metadataUri": {
          "description": "Cloud Storage URI that points to a file that contains the conversation metadata.",
          "type": "string"
        },
        "turnLevelAudios": {
          "description": "Cloud Storage URIs that points to files that contain the conversation audio for each turn. Assume the order of the URIs is the same as the order of the transcript turns.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSourceTurnLevelAudio"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GcsSource",
      "description": "A Cloud Storage source of conversation data.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DialogflowSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DialogflowSource",
      "description": "A Dialogflow source of conversation data.",
      "type": "object",
      "properties": {
        "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"
        },
        "audioUri": {
          "description": "Cloud Storage URI that points to a file that contains the conversation audio.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSourceTurnLevelAudio": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSourceTurnLevelAudio",
      "description": "A wrapper for holding the audio for any given turn.",
      "type": "object",
      "properties": {
        "audioGcsUri": {
          "description": "The Cloud Storage URI of the audio for any given turn.",
          "type": "string"
        },
        "audioDuration": {
          "description": "The duration of the audio.",
          "type": "string",
          "format": "google-duration"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata",
      "description": "Conversation metadata related to quality management.",
      "type": "object",
      "properties": {
        "customerSatisfactionRating": {
          "description": "An arbitrary integer value indicating the customer's satisfaction rating.",
          "type": "integer",
          "format": "int32"
        },
        "waitDuration": {
          "description": "The amount of time the customer waited to connect with an agent.",
          "type": "string",
          "format": "google-duration"
        },
        "menuPath": {
          "description": "An arbitrary string value specifying the menu path the customer took.",
          "type": "string"
        },
        "agentInfo": {
          "description": "Information about agents involved in the call.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo"
          }
        },
        "feedbackLabels": {
          "description": "Input only. The feedback labels associated with the conversation.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo",
      "description": "Information about an agent involved in the conversation.",
      "type": "object",
      "properties": {
        "agentId": {
          "description": "A user-specified string representing the agent.",
          "type": "string"
        },
        "displayName": {
          "description": "The agent's name.",
          "type": "string"
        },
        "team": {
          "description": "A user-specified string representing the agent's team. Deprecated in favor of the `teams` field.",
          "deprecated": true,
          "type": "string"
        },
        "teams": {
          "description": "User-specified strings representing the agent's teams.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dispositionCode": {
          "description": "A user-provided string indicating the outcome of the agent's segment of the call.",
          "type": "string"
        },
        "agentType": {
          "description": "The agent type, e.g. HUMAN_AGENT.",
          "type": "string",
          "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."
          ],
          "enum": [
            "ROLE_UNSPECIFIED",
            "HUMAN_AGENT",
            "AUTOMATED_AGENT",
            "END_USER",
            "ANY_AGENT"
          ]
        },
        "location": {
          "description": "The agent's location.",
          "type": "string"
        },
        "deploymentId": {
          "description": "The agent's deployment ID. Only applicable to automated agents.",
          "type": "string"
        },
        "deploymentDisplayName": {
          "description": "The agent's deployment display name. Only applicable to automated agents.",
          "type": "string"
        },
        "versionId": {
          "description": "The agent's version ID. Only applicable to automated agents.",
          "type": "string"
        },
        "versionDisplayName": {
          "description": "The agent's version display name. Only applicable to automated agents.",
          "type": "string"
        },
        "entrySubagentDisplayName": {
          "description": "The entry subagent's display name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel": {
      "id": "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.",
      "type": "object",
      "properties": {
        "label": {
          "description": "String label used for Topic Modeling.",
          "type": "string"
        },
        "qaAnswerLabel": {
          "description": "QaAnswer label used for Quality AI example conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue"
        },
        "name": {
          "description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
          "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"
        },
        "createTime": {
          "description": "Output only. Create time of the label.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Update time of the label.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue",
      "description": "Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.",
      "type": "object",
      "properties": {
        "strValue": {
          "description": "String value.",
          "type": "string"
        },
        "numValue": {
          "description": "Numerical value.",
          "type": "number",
          "format": "double"
        },
        "boolValue": {
          "description": "Boolean value.",
          "type": "boolean"
        },
        "naValue": {
          "description": "A value of \"Not Applicable (N/A)\". Should only ever be `true`.",
          "type": "boolean"
        },
        "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"
        },
        "key": {
          "description": "A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.",
          "type": "string"
        },
        "score": {
          "description": "Output only. Numerical score of the answer.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "Output only. The maximum potential score of the question.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "Output only. Normalized score of the questions. Calculated as score / potential_score.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript",
      "description": "A message representing the transcript of a conversation.",
      "type": "object",
      "properties": {
        "transcriptSegments": {
          "description": "A list of sequential transcript segments that comprise the conversation.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment",
      "description": "A segment of a full transcript.",
      "type": "object",
      "properties": {
        "messageTime": {
          "description": "The time that the message occurred, if provided.",
          "type": "string",
          "format": "google-datetime"
        },
        "text": {
          "description": "The text of this segment.",
          "type": "string"
        },
        "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.",
          "type": "number",
          "format": "float"
        },
        "words": {
          "description": "A list of the word-specific information for each word in the segment.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo"
          }
        },
        "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"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        },
        "segmentParticipant": {
          "description": "The participant of this segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant"
        },
        "dialogflowSegmentMetadata": {
          "description": "CCAI metadata relating to the current transcript segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata"
        },
        "sentiment": {
          "description": "The sentiment for this transcript segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData"
        },
        "turnLevelAudio": {
          "description": "Turn level audio for this transcript segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSourceTurnLevelAudio"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo",
      "description": "Word-level info for words in a transcript.",
      "type": "object",
      "properties": {
        "startOffset": {
          "description": "Time offset of the start of this word relative to the beginning of the total conversation.",
          "type": "string",
          "format": "google-duration"
        },
        "endOffset": {
          "description": "Time offset of the end of this word relative to the beginning of the total conversation.",
          "type": "string",
          "format": "google-duration"
        },
        "word": {
          "description": "The word itself. Includes punctuation marks that surround the word.",
          "type": "string"
        },
        "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.",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant",
      "description": "The call participant speaking for a given utterance.",
      "type": "object",
      "properties": {
        "dialogflowParticipantName": {
          "description": "The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
          "type": "string"
        },
        "userId": {
          "description": "A user-specified ID representing the participant.",
          "type": "string"
        },
        "dialogflowParticipant": {
          "description": "Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
          "deprecated": true,
          "type": "string"
        },
        "obfuscatedExternalUserId": {
          "description": "Obfuscated user ID from Dialogflow.",
          "type": "string"
        },
        "role": {
          "description": "The role of the participant.",
          "type": "string",
          "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."
          ],
          "enum": [
            "ROLE_UNSPECIFIED",
            "HUMAN_AGENT",
            "AUTOMATED_AGENT",
            "END_USER",
            "ANY_AGENT"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata",
      "description": "Metadata from Dialogflow relating to the current transcript segment.",
      "type": "object",
      "properties": {
        "smartReplyAllowlistCovered": {
          "description": "Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SentimentData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SentimentData",
      "description": "The data for a sentiment annotation.",
      "type": "object",
      "properties": {
        "magnitude": {
          "description": "A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score.",
          "type": "number",
          "format": "float"
        },
        "score": {
          "description": "The sentiment score between -1.0 (negative) and 1.0 (positive).",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Analysis": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Analysis",
      "description": "The analysis resource.",
      "type": "object",
      "properties": {
        "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.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "createTime": {
          "description": "Output only. The time at which the analysis was created, which occurs when the long-running operation completes.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "analysisResult": {
          "description": "Output only. The result of the analysis, which is populated when the analysis finishes.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisResult"
        },
        "annotatorSelector": {
          "description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AnalysisResult": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AnalysisResult",
      "description": "The result of an analysis.",
      "type": "object",
      "properties": {
        "callAnalysisMetadata": {
          "description": "Call-specific metadata created by the analysis.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata"
        },
        "endTime": {
          "description": "The time at which the analysis ended.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata",
      "description": "Call-specific metadata created during analysis.",
      "type": "object",
      "properties": {
        "annotations": {
          "description": "A list of call annotations that apply to this call.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1CallAnnotation"
          }
        },
        "entities": {
          "description": "All the entities in the call.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Entity"
          }
        },
        "sentiments": {
          "description": "Overall conversation-level sentiment for each channel of the call.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment"
          }
        },
        "silence": {
          "description": "Overall conversation-level silence during the call.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence"
        },
        "intents": {
          "description": "All the matched intents in the call.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Intent"
          }
        },
        "phraseMatchers": {
          "description": "All the matched phrase matchers in the call.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData"
          }
        },
        "issueModelResult": {
          "description": "Overall conversation-level issue modeling result.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelResult"
        },
        "qaScorecardResults": {
          "description": "Results of scoring QaScorecards.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CallAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CallAnnotation",
      "description": "A piece of metadata that applies to a window of a call.",
      "type": "object",
      "properties": {
        "interruptionData": {
          "description": "Data specifying an interruption.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1InterruptionData"
        },
        "sentimentData": {
          "description": "Data specifying sentiment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData"
        },
        "silenceData": {
          "description": "Data specifying silence.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SilenceData"
        },
        "holdData": {
          "description": "Data specifying a hold.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1HoldData"
        },
        "entityMentionData": {
          "description": "Data specifying an entity mention.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1EntityMentionData"
        },
        "intentMatchData": {
          "description": "Data specifying an intent match.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IntentMatchData"
        },
        "phraseMatchData": {
          "description": "Data specifying a phrase match.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData"
        },
        "issueMatchData": {
          "description": "Data specifying an issue match.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueMatchData"
        },
        "channelTag": {
          "description": "The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.",
          "type": "integer",
          "format": "int32"
        },
        "annotationStartBoundary": {
          "description": "The boundary in the conversation where the annotation starts, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary"
        },
        "annotationEndBoundary": {
          "description": "The boundary in the conversation where the annotation ends, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1InterruptionData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1InterruptionData",
      "description": "The data for an interruption annotation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1SilenceData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SilenceData",
      "description": "The data for a silence annotation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1HoldData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1HoldData",
      "description": "The data for a hold annotation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1EntityMentionData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1EntityMentionData",
      "description": "The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.",
      "type": "object",
      "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"
        },
        "type": {
          "description": "The type of the entity mention.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified.",
            "Proper noun.",
            "Common noun (or noun compound)."
          ],
          "enum": [
            "MENTION_TYPE_UNSPECIFIED",
            "PROPER",
            "COMMON"
          ]
        },
        "sentiment": {
          "description": "Sentiment expressed for this mention of the entity.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IntentMatchData": {
      "id": "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.",
      "type": "object",
      "properties": {
        "intentUniqueId": {
          "description": "The id of the matched intent. Can be used to retrieve the corresponding intent information.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData",
      "description": "The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.",
      "type": "object",
      "properties": {
        "phraseMatcher": {
          "description": "The unique identifier (the resource name) of the phrase matcher.",
          "type": "string"
        },
        "displayName": {
          "description": "The human-readable name of the phrase matcher.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IssueMatchData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IssueMatchData",
      "description": "The data for an issue match annotation.",
      "type": "object",
      "properties": {
        "issueAssignment": {
          "description": "Information about the issue's assignment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueAssignment"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IssueAssignment": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IssueAssignment",
      "description": "Information about the issue.",
      "type": "object",
      "properties": {
        "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].",
          "type": "number",
          "format": "double"
        },
        "displayName": {
          "description": "Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary",
      "description": "A point in a conversation that marks the start or the end of an annotation.",
      "type": "object",
      "properties": {
        "wordIndex": {
          "description": "The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.",
          "type": "integer",
          "format": "int32"
        },
        "transcriptIndex": {
          "description": "The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Entity": {
      "id": "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.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "The representative name for the entity.",
          "type": "string"
        },
        "type": {
          "description": "The entity type.",
          "type": "string",
          "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`."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "PERSON",
            "LOCATION",
            "ORGANIZATION",
            "EVENT",
            "WORK_OF_ART",
            "CONSUMER_GOOD",
            "OTHER",
            "PHONE_NUMBER",
            "ADDRESS",
            "DATE",
            "NUMBER",
            "PRICE"
          ]
        },
        "metadata": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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.",
          "type": "number",
          "format": "float"
        },
        "sentiment": {
          "description": "The aggregate sentiment expressed for this entity in the conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment",
      "description": "One channel of conversation-level sentiment data.",
      "type": "object",
      "properties": {
        "channelTag": {
          "description": "The channel of the audio that the data applies to.",
          "type": "integer",
          "format": "int32"
        },
        "sentimentData": {
          "description": "Data specifying sentiment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SentimentData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence",
      "description": "Conversation-level silence data.",
      "type": "object",
      "properties": {
        "silenceDuration": {
          "description": "Amount of time calculated to be in silence.",
          "type": "string",
          "format": "google-duration"
        },
        "silencePercentage": {
          "description": "Percentage of the total conversation spent in silence.",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Intent": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Intent",
      "description": "The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.",
      "type": "object",
      "properties": {
        "id": {
          "description": "The unique identifier of the intent.",
          "type": "string"
        },
        "displayName": {
          "description": "The human-readable name of the intent.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IssueModelResult": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelResult",
      "description": "Issue Modeling result on a conversation.",
      "type": "object",
      "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueAssignment"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult",
      "description": "The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}",
          "type": "string"
        },
        "qaScorecardRevision": {
          "description": "The QaScorecardRevision scored by this result.",
          "type": "string"
        },
        "conversation": {
          "description": "The conversation scored by this result.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The timestamp that the revision was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "agentId": {
          "description": "ID of the agent that handled the conversation.",
          "type": "string"
        },
        "qaAnswers": {
          "description": "Set of QaAnswers represented in the result.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswer"
          }
        },
        "score": {
          "description": "The overall numerical score of the result, incorporating any manual edits if they exist.",
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.",
          "type": "number",
          "format": "double"
        },
        "qaTagResults": {
          "description": "Collection of tags and their scores.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult"
          }
        },
        "scoreSources": {
          "description": "List of all individual score sets.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultScoreSource"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaAnswer": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaAnswer",
      "description": "An answer to a QaQuestion.",
      "type": "object",
      "properties": {
        "qaQuestion": {
          "description": "The QaQuestion answered by this answer.",
          "type": "string"
        },
        "conversation": {
          "description": "The conversation the answer applies to.",
          "type": "string"
        },
        "questionBody": {
          "description": "Question text. E.g., \"Did the agent greet the customer?\"",
          "type": "string"
        },
        "answerValue": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource",
      "description": "A question may have multiple answers from varying sources, one of which becomes the \"main\" answer above. AnswerSource represents each individual answer.",
      "type": "object",
      "properties": {
        "sourceType": {
          "description": "What created the answer.",
          "type": "string",
          "enumDescriptions": [
            "Source type is unspecified.",
            "Answer was system-generated; created during an Insights analysis.",
            "Answer was created by a human via manual edit."
          ],
          "enum": [
            "SOURCE_TYPE_UNSPECIFIED",
            "SYSTEM_GENERATED",
            "MANUAL_EDIT"
          ]
        },
        "answerValue": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult",
      "description": "Tags and their corresponding results.",
      "type": "object",
      "properties": {
        "tag": {
          "description": "The tag the score applies to.",
          "type": "string"
        },
        "score": {
          "description": "The score the tag applies to.",
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "The potential score the tag applies to.",
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "The normalized score the tag applies to.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultScoreSource": {
      "id": "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.",
      "type": "object",
      "properties": {
        "sourceType": {
          "description": "What created the score.",
          "type": "string",
          "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."
          ],
          "enum": [
            "SOURCE_TYPE_UNSPECIFIED",
            "SYSTEM_GENERATED_ONLY",
            "INCLUDES_MANUAL_EDITS"
          ]
        },
        "score": {
          "description": "The overall numerical score of the result.",
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "The normalized score, which is the score divided by the potential score.",
          "type": "number",
          "format": "double"
        },
        "qaTagResults": {
          "description": "Collection of tags and their scores.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector",
      "description": "Selector of all available annotators and phrase matchers to run.",
      "type": "object",
      "properties": {
        "runInterruptionAnnotator": {
          "description": "Whether to run the interruption annotator.",
          "type": "boolean"
        },
        "runSilenceAnnotator": {
          "description": "Whether to run the silence annotator.",
          "type": "boolean"
        },
        "runPhraseMatcherAnnotator": {
          "description": "Whether to run the active phrase matcher annotator(s).",
          "type": "boolean"
        },
        "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}",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "runSentimentAnnotator": {
          "description": "Whether to run the sentiment annotator.",
          "type": "boolean"
        },
        "runEntityAnnotator": {
          "description": "Whether to run the entity annotator.",
          "type": "boolean"
        },
        "runIntentAnnotator": {
          "description": "Whether to run the intent 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"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "runSummarizationAnnotator": {
          "description": "Whether to run the summarization annotator.",
          "type": "boolean"
        },
        "summarizationConfig": {
          "description": "Configuration for the summarization annotator.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig"
        },
        "runQaAnnotator": {
          "description": "Whether to run the QA annotator.",
          "type": "boolean"
        },
        "qaConfig": {
          "description": "Configuration for the QA annotator.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfig"
        },
        "runAutoLabelingAnnotator": {
          "description": "Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig",
      "description": "Configuration for summarization.",
      "type": "object",
      "properties": {
        "conversationProfile": {
          "description": "Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}",
          "type": "string"
        },
        "summarizationModel": {
          "description": "Default summarization model to be used.",
          "type": "string",
          "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."
          ],
          "enumDeprecated": [
            false,
            true,
            true
          ],
          "enum": [
            "SUMMARIZATION_MODEL_UNSPECIFIED",
            "BASELINE_MODEL",
            "BASELINE_MODEL_V2_0"
          ]
        },
        "generator": {
          "description": "The resource name of the existing created generator. Format: projects//locations//generators/",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfig",
      "description": "Configuration for the QA feature.",
      "type": "object",
      "properties": {
        "scorecardList": {
          "description": "A manual list of scorecards to score.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfigScorecardList"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfigScorecardList": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorQaConfigScorecardList",
      "description": "Container for a list of scorecards.",
      "type": "object",
      "properties": {
        "qaScorecardRevisions": {
          "description": "List of QaScorecardRevisions.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData",
      "description": "Conversation summarization suggestion data.",
      "type": "object",
      "properties": {
        "text": {
          "description": "The summarization content that is concatenated into one string.",
          "type": "string"
        },
        "textSections": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "confidence": {
          "description": "The confidence score of the summarization.",
          "type": "number",
          "format": "float"
        },
        "metadata": {
          "description": "A map that contains metadata about the summarization and the document from which it originates.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "answerRecord": {
          "description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation",
      "description": "An annotation that was generated during the customer and agent interaction.",
      "type": "object",
      "properties": {
        "articleSuggestion": {
          "description": "Agent Assist Article Suggestion data.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData"
        },
        "faqAnswer": {
          "description": "Agent Assist FAQ answer data.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData"
        },
        "smartReply": {
          "description": "Agent Assist Smart Reply data.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SmartReplyData"
        },
        "smartComposeSuggestion": {
          "description": "Agent Assist Smart Compose suggestion data.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData"
        },
        "dialogflowInteraction": {
          "description": "Dialogflow interaction data.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData"
        },
        "conversationSummarizationSuggestion": {
          "description": "Conversation summarization suggestion data.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData"
        },
        "cesTurnAnnotation": {
          "description": "The CES turn annotation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1CesTurnAnnotation"
        },
        "cesEndSessionAnnotation": {
          "description": "The CES end session annotation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1CesEndSessionAnnotation"
        },
        "annotationId": {
          "description": "The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}",
          "type": "string"
        },
        "createTime": {
          "description": "The time at which this annotation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "startBoundary": {
          "description": "The boundary in the conversation where the annotation starts, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary"
        },
        "endBoundary": {
          "description": "The boundary in the conversation where the annotation ends, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary"
        },
        "answerFeedback": {
          "description": "The feedback that the customer has about the answer in `data`.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback"
        },
        "userInput": {
          "description": "Explicit input used for generating the answer",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData",
      "description": "Agent Assist Article Suggestion data.",
      "type": "object",
      "properties": {
        "title": {
          "description": "Article title.",
          "type": "string"
        },
        "uri": {
          "description": "Article URI.",
          "type": "string"
        },
        "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).",
          "type": "number",
          "format": "float"
        },
        "metadata": {
          "description": "Map that contains metadata about the Article Suggestion and the document that it originates from.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData",
      "description": "Agent Assist frequently-asked-question answer data.",
      "type": "object",
      "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).",
          "type": "number",
          "format": "float"
        },
        "question": {
          "description": "The corresponding FAQ question.",
          "type": "string"
        },
        "metadata": {
          "description": "Map that contains metadata about the FAQ answer and the document that it originates from.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SmartReplyData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SmartReplyData",
      "description": "Agent Assist Smart Reply data.",
      "type": "object",
      "properties": {
        "reply": {
          "description": "The content of the reply.",
          "type": "string"
        },
        "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).",
          "type": "number",
          "format": "double"
        },
        "metadata": {
          "description": "Map that contains metadata about the Smart Reply and the document from which it originates.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "queryRecord": {
          "description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData",
      "description": "Agent Assist Smart Compose suggestion data.",
      "type": "object",
      "properties": {
        "suggestion": {
          "description": "The content of the suggestion.",
          "type": "string"
        },
        "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).",
          "type": "number",
          "format": "double"
        },
        "metadata": {
          "description": "Map that contains metadata about the Smart Compose suggestion and the document from which it originates.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "queryRecord": {
          "description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData",
      "description": "Dialogflow interaction data.",
      "type": "object",
      "properties": {
        "dialogflowIntentId": {
          "description": "The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}",
          "type": "string"
        },
        "confidence": {
          "description": "The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CesTurnAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CesTurnAnnotation",
      "description": "The CES diagnostic information.",
      "type": "object",
      "properties": {
        "messages": {
          "description": "The messages in the turn.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudCesV1mainMessage"
          }
        },
        "rootSpan": {
          "description": "The root span of the action processing.",
          "$ref": "GoogleCloudCesV1mainSpan"
        }
      }
    },
    "GoogleCloudCesV1mainMessage": {
      "id": "GoogleCloudCesV1mainMessage",
      "description": "A message within a conversation.",
      "type": "object",
      "properties": {
        "role": {
          "description": "Optional. The role within the conversation, e.g., user, agent.",
          "type": "string"
        },
        "chunks": {
          "description": "Optional. Content of the message as a series of chunks.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudCesV1mainChunk"
          }
        },
        "eventTime": {
          "description": "Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudCesV1mainChunk": {
      "id": "GoogleCloudCesV1mainChunk",
      "description": "A chunk of content within a message.",
      "type": "object",
      "properties": {
        "text": {
          "description": "Optional. Text data.",
          "type": "string"
        },
        "transcript": {
          "description": "Optional. Transcript associated with the audio.",
          "type": "string"
        },
        "blob": {
          "description": "Optional. Blob data.",
          "$ref": "GoogleCloudCesV1mainBlob"
        },
        "payload": {
          "description": "Optional. Custom payload data.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "image": {
          "description": "Optional. Image data.",
          "$ref": "GoogleCloudCesV1mainImage"
        },
        "toolCall": {
          "description": "Optional. Tool execution request.",
          "$ref": "GoogleCloudCesV1mainToolCall"
        },
        "toolResponse": {
          "description": "Optional. Tool execution response.",
          "$ref": "GoogleCloudCesV1mainToolResponse"
        },
        "agentTransfer": {
          "description": "Optional. Agent transfer event.",
          "$ref": "GoogleCloudCesV1mainAgentTransfer"
        },
        "updatedVariables": {
          "description": "A struct represents variables that were updated in the conversation, keyed by variable names.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "defaultVariables": {
          "description": "A struct represents default variables at the start of the conversation, keyed by variable names.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudCesV1mainBlob": {
      "id": "GoogleCloudCesV1mainBlob",
      "description": "Represents a blob input or output in the conversation.",
      "type": "object",
      "properties": {
        "mimeType": {
          "description": "Required. The IANA standard MIME type of the source data.",
          "type": "string"
        },
        "data": {
          "description": "Required. Raw bytes of the blob.",
          "type": "string",
          "format": "byte"
        }
      }
    },
    "GoogleCloudCesV1mainImage": {
      "id": "GoogleCloudCesV1mainImage",
      "description": "Represents an image input or output in the conversation.",
      "type": "object",
      "properties": {
        "mimeType": {
          "description": "Required. The IANA standard MIME type of the source data. Supported image types includes: * image/png * image/jpeg * image/webp",
          "type": "string"
        },
        "data": {
          "description": "Required. Raw bytes of the image.",
          "type": "string",
          "format": "byte"
        }
      }
    },
    "GoogleCloudCesV1mainToolCall": {
      "id": "GoogleCloudCesV1mainToolCall",
      "description": "Request for the client or the agent to execute the specified tool.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.",
          "type": "string"
        },
        "tool": {
          "description": "Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`",
          "type": "string"
        },
        "toolsetTool": {
          "description": "Optional. The toolset tool to execute.",
          "$ref": "GoogleCloudCesV1mainToolsetTool"
        },
        "displayName": {
          "description": "Output only. Display name of the tool.",
          "readOnly": true,
          "type": "string"
        },
        "args": {
          "description": "Optional. The input parameters and values for the tool in JSON object format.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudCesV1mainToolsetTool": {
      "id": "GoogleCloudCesV1mainToolsetTool",
      "description": "A tool that is created from a toolset.",
      "type": "object",
      "properties": {
        "toolset": {
          "description": "Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`",
          "type": "string"
        },
        "toolId": {
          "description": "Optional. The tool ID to filter the tools to retrieve the schema for.",
          "type": "string"
        }
      }
    },
    "GoogleCloudCesV1mainToolResponse": {
      "id": "GoogleCloudCesV1mainToolResponse",
      "description": "The execution result of a specific tool from the client or the agent.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Optional. The matching ID of the tool call the response is for.",
          "type": "string"
        },
        "tool": {
          "description": "Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`",
          "type": "string"
        },
        "toolsetTool": {
          "description": "Optional. The toolset tool that got executed.",
          "$ref": "GoogleCloudCesV1mainToolsetTool"
        },
        "displayName": {
          "description": "Output only. Display name of the tool.",
          "readOnly": true,
          "type": "string"
        },
        "response": {
          "description": "Required. The tool execution result in JSON object format. Use \"output\" key to specify tool response and \"error\" key to specify error details (if any). If \"output\" and \"error\" keys are not specified, then whole \"response\" is treated as tool execution result.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudCesV1mainAgentTransfer": {
      "id": "GoogleCloudCesV1mainAgentTransfer",
      "description": "Represents an event indicating the transfer of a conversation to a different agent.",
      "type": "object",
      "properties": {
        "targetAgent": {
          "description": "Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`",
          "type": "string"
        },
        "displayName": {
          "description": "Output only. Display name of the agent.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "GoogleCloudCesV1mainSpan": {
      "id": "GoogleCloudCesV1mainSpan",
      "description": "A span is a unit of work or a single operation during the request processing.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Output only. The name of the span.",
          "readOnly": true,
          "type": "string"
        },
        "startTime": {
          "description": "Output only. The start time of the span.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The end time of the span.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "duration": {
          "description": "Output only. The duration of the span.",
          "readOnly": true,
          "type": "string",
          "format": "google-duration"
        },
        "attributes": {
          "description": "Output only. Key-value attributes associated with the span.",
          "readOnly": true,
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "childSpans": {
          "description": "Output only. The child spans that are nested under this span.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudCesV1mainSpan"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CesEndSessionAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CesEndSessionAnnotation",
      "description": "The CES end session annotation.",
      "type": "object",
      "properties": {
        "endSession": {
          "description": "End session signal from CES.",
          "$ref": "GoogleCloudCesV1mainEndSession"
        }
      }
    },
    "GoogleCloudCesV1mainEndSession": {
      "id": "GoogleCloudCesV1mainEndSession",
      "description": "Indicates the session has terminated, due to either successful completion (e.g. user says \"Good bye!\" ) or an agent escalation. The agent will not process any further inputs after session is terminated and the client should half-close and disconnect after receiving all remaining responses from the agent.",
      "type": "object",
      "properties": {
        "metadata": {
          "description": "Optional. Provides additional information about the end session signal, such as the reason for ending the session.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback",
      "description": "The feedback that the customer has about a certain answer in the conversation.",
      "type": "object",
      "properties": {
        "correctnessLevel": {
          "description": "The correctness level of an answer.",
          "type": "string",
          "enumDescriptions": [
            "Correctness level unspecified.",
            "Answer is totally wrong.",
            "Answer is partially correct.",
            "Answer is fully correct."
          ],
          "enum": [
            "CORRECTNESS_LEVEL_UNSPECIFIED",
            "NOT_CORRECT",
            "PARTIALLY_CORRECT",
            "FULLY_CORRECT"
          ]
        },
        "clicked": {
          "description": "Indicates whether an answer or item was clicked by the human agent.",
          "type": "boolean"
        },
        "displayed": {
          "description": "Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput",
      "description": "Explicit input used for generating the answer",
      "type": "object",
      "properties": {
        "query": {
          "description": "Query text. Article Search uses this to store the input query used to generate the search results.",
          "type": "string"
        },
        "generatorName": {
          "description": "The resource name of associated generator. Format: `projects//locations//generators/`",
          "type": "string"
        },
        "querySource": {
          "description": "Query source for the answer.",
          "type": "string",
          "enumDescriptions": [
            "Unknown query source.",
            "The query is from agents.",
            "The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response."
          ],
          "enum": [
            "QUERY_SOURCE_UNSPECIFIED",
            "AGENT_QUERY",
            "SUGGESTED_QUERY"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent",
      "description": "The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "The human-readable name of the intent.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo",
      "description": "Info for correlating across conversations.",
      "type": "object",
      "properties": {
        "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"
        },
        "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.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string",
            "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."
            ],
            "enum": [
              "CORRELATION_TYPE_UNSPECIFIED",
              "SEGMENT",
              "PARTIAL",
              "FULL",
              "SYNTHETIC"
            ]
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest",
      "description": "Request to upload a conversation.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the conversation.",
          "type": "string"
        },
        "conversation": {
          "description": "Required. The conversation resource to create.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
        },
        "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"
        },
        "redactionConfig": {
          "description": "Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig"
        },
        "speechConfig": {
          "description": "Optional. Speech-to-Text configuration. Will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig": {
      "id": "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.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig": {
      "id": "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.",
      "type": "object",
      "properties": {
        "speechRecognizer": {
          "description": "The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListConversationsResponse",
      "description": "The response of listing conversations.",
      "type": "object",
      "properties": {
        "conversations": {
          "description": "The conversations that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerateConversationSignedAudioResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerateConversationSignedAudioResponse",
      "description": "The response from a GenerateConversationSignedAudio request.",
      "type": "object",
      "properties": {
        "signedAudioUris": {
          "description": "The signed uris for the audio.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SignedAudioUris"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SignedAudioUris": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SignedAudioUris",
      "description": "Signed audio URIs for a conversation.",
      "type": "object",
      "properties": {
        "signedGcsAudioUri": {
          "description": "The signed URI for the audio from the Cloud Storage conversation source.",
          "type": "string"
        },
        "signedDialogflowAudioUri": {
          "description": "The signed URI for the audio from the Dialogflow conversation source.",
          "type": "string"
        },
        "signedTurnLevelAudios": {
          "description": "The signed URI for the audio corresponding to each turn in the conversation.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSourceTurnLevelAudio"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Dataset": {
      "id": "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)",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}",
          "type": "string"
        },
        "displayName": {
          "description": "Display name for the dataaset",
          "type": "string"
        },
        "description": {
          "description": "Dataset description.",
          "type": "string"
        },
        "type": {
          "description": "Dataset usage type.",
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "For evals only.",
            "Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)"
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "EVAL",
            "LIVE"
          ]
        },
        "ttl": {
          "description": "Optional. Option TTL for the dataset.",
          "type": "string",
          "format": "google-duration"
        },
        "createTime": {
          "description": "Output only. Dataset create time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Dataset update time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListDatasetsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListDatasetsResponse",
      "description": "The response to list datasets.",
      "type": "object",
      "properties": {
        "datasets": {
          "description": "The datasets that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dataset"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest",
      "description": "The request to sample conversations to a dataset.",
      "type": "object",
      "properties": {
        "destinationDataset": {
          "description": "The dataset resource to copy the sampled conversations to.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dataset"
        },
        "parent": {
          "description": "Required. The parent resource of the dataset.",
          "type": "string"
        },
        "sampleRule": {
          "description": "Optional. The sample rule used for sampling conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleRule"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SampleRule": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SampleRule",
      "description": "Message for sampling conversations.",
      "type": "object",
      "properties": {
        "samplePercentage": {
          "description": "Percentage of conversations that we should sample based on the dimension between [0, 100].",
          "type": "number",
          "format": "double"
        },
        "sampleRow": {
          "description": "Number of the conversations that we should sample based on the dimension.",
          "type": "string",
          "format": "int64"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListAnalysesResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListAnalysesResponse",
      "description": "The response to list analyses.",
      "type": "object",
      "properties": {
        "analyses": {
          "description": "The analyses that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Analysis"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest",
      "description": "The request to analyze conversations in bulk.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource to create analyses in.",
          "type": "string"
        },
        "filter": {
          "description": "Required. Filter used to select the subset of conversations to analyze.",
          "type": "string"
        },
        "analysisPercentage": {
          "description": "Required. Percentage of selected conversation to analyze, between [0, 100].",
          "type": "number",
          "format": "float"
        },
        "annotatorSelector": {
          "description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector"
        },
        "relabel": {
          "description": "Optional. If true, the labeling rules will be re-evaluated for the conversations.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest",
      "description": "The request to delete conversations in bulk.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
          "type": "string"
        },
        "filter": {
          "description": "Filter used to select the subset of conversations to delete.",
          "type": "string"
        },
        "maxDeleteCount": {
          "description": "Maximum number of conversations to delete.",
          "type": "integer",
          "format": "int32"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest",
      "description": "The request to ingest conversations.",
      "type": "object",
      "properties": {
        "gcsSource": {
          "description": "A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource"
        },
        "transcriptObjectConfig": {
          "description": "Configuration for when `source` contains conversation transcripts.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig"
        },
        "parent": {
          "description": "Required. The parent resource for new conversations.",
          "type": "string"
        },
        "conversationConfig": {
          "description": "Configuration that applies to all conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig"
        },
        "redactionConfig": {
          "description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig"
        },
        "speechConfig": {
          "description": "Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource",
      "description": "Configuration for Cloud Storage bucket sources.",
      "type": "object",
      "properties": {
        "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"
        },
        "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`.",
          "type": "string",
          "enumDescriptions": [
            "The object type is unspecified and will default to `TRANSCRIPT`.",
            "The object is a transcript.",
            "The object is an audio file."
          ],
          "enum": [
            "BUCKET_OBJECT_TYPE_UNSPECIFIED",
            "TRANSCRIPT",
            "AUDIO"
          ]
        },
        "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"
        },
        "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"
        },
        "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"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig",
      "description": "Configuration for processing transcript objects.",
      "type": "object",
      "properties": {
        "medium": {
          "description": "Required. The medium transcript objects represent.",
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "The format for conversations that took place over the phone.",
            "The format for conversations that took place over chat."
          ],
          "enum": [
            "MEDIUM_UNSPECIFIED",
            "PHONE_CALL",
            "CHAT"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig",
      "description": "Configuration that applies to all conversations.",
      "type": "object",
      "properties": {
        "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"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest",
      "description": "The request to export insights.",
      "type": "object",
      "properties": {
        "bigQueryDestination": {
          "description": "Specified if sink is a BigQuery table.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination"
        },
        "parent": {
          "description": "Required. The parent resource to export data from.",
          "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"
        },
        "writeDisposition": {
          "description": "Options for what to do if the destination table already exists.",
          "type": "string",
          "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."
          ],
          "enum": [
            "WRITE_DISPOSITION_UNSPECIFIED",
            "WRITE_TRUNCATE",
            "WRITE_APPEND"
          ]
        },
        "exportSchemaVersion": {
          "description": "Optional. Version of the export schema.",
          "type": "string",
          "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."
          ],
          "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"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination",
      "description": "A BigQuery Table Reference.",
      "type": "object",
      "properties": {
        "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"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest",
      "description": "The request to analyze conversation data using agentic workflows. This RPC triggers a complex analysis process that may involve several steps of reasoning and tool execution.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource where the analysis will be performed.",
          "type": "string"
        },
        "taskQuery": {
          "description": "Optional. A natural language description of the analysis goal or question.",
          "type": "string"
        },
        "filter": {
          "description": "Optional. AIP-160 compliant filter for selecting target conversations.",
          "type": "string"
        },
        "instructions": {
          "description": "Optional. Specific instructions for the agent.",
          "type": "string"
        },
        "maxSteps": {
          "description": "Optional. The maximum number of steps the agent can take during the execution of the task. Defaults to 10.",
          "type": "integer",
          "format": "int32"
        },
        "outputConfig": {
          "description": "Optional. Deprecated: The configuration for the output of the task. The export destination is unused. Detailed markdown and conversation slices are already persisted inside the Diagnostic resource instead.",
          "deprecated": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1OutputConfig"
        },
        "requestId": {
          "description": "Optional. Required. A unique ID that identifies the request. If the service receives two `DiagnoseConversationsRequest`s with the same `request_id`, then the second request will be ignored; instead, the response of the first request will be returned. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
          "type": "string"
        },
        "validateOnly": {
          "description": "Optional. If true, the request will only be validated (permissions, filter syntax, etc.) without actually triggering the analysis.",
          "type": "boolean"
        },
        "dryRun": {
          "description": "Optional. Deprecated: If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. This field is unused. Use validate_only instead.",
          "deprecated": true,
          "type": "boolean"
        },
        "metricType": {
          "description": "Optional. The type of metric being diagnosed.",
          "type": "string",
          "enumDescriptions": [
            "Metric type is unspecified.",
            "Escalation rate.",
            "Containment rate."
          ],
          "enum": [
            "DIAGNOSTIC_METRIC_TYPE_UNSPECIFIED",
            "ESCALATION",
            "CONTAINMENT"
          ]
        },
        "fullReport": {
          "description": "Optional. Deprecated: If true, the agent will generate a full diagnostic report for all sub-agents. Subagent reporting configuration is unused. The final diagnostic details are already persisted inside the Diagnostic resource instead.",
          "deprecated": true,
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1OutputConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1OutputConfig",
      "description": "Configuration for where to export or return the analysis findings.",
      "type": "object",
      "properties": {
        "googleSheetsDestination": {
          "description": "Optional. Export directly to a Google Sheet.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1OutputConfigGoogleSheetsDestination"
        },
        "gcsDestination": {
          "description": "Optional. Export to a Cloud Storage bucket.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1OutputConfigGcsDestination"
        },
        "bigqueryDestination": {
          "description": "Optional. Export to BigQuery.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1OutputConfigBigQueryDestination"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1OutputConfigGoogleSheetsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1OutputConfigGoogleSheetsDestination",
      "description": "Google Sheets destination configuration.",
      "type": "object",
      "properties": {
        "spreadsheetId": {
          "description": "Optional. An existing Google Sheets ID.",
          "type": "string"
        },
        "sheet": {
          "description": "Optional. The sheet name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1OutputConfigGcsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1OutputConfigGcsDestination",
      "description": "Cloud Storage destination configuration.",
      "type": "object",
      "properties": {
        "uri": {
          "description": "Required. The Cloud Storage URI to export the results to.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1OutputConfigBigQueryDestination": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1OutputConfigBigQueryDestination",
      "description": "BigQuery destination configuration.",
      "type": "object",
      "properties": {
        "projectId": {
          "description": "Optional. A project ID or number.",
          "type": "string"
        },
        "dataset": {
          "description": "Required. The name of the BigQuery dataset.",
          "type": "string"
        },
        "table": {
          "description": "Required. The BigQuery table name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Diagnostic": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Diagnostic",
      "description": "The diagnostic resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. Identifier. The resource name of the diagnostic.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which the diagnostic was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "report": {
          "description": "Output only. The report containing the findings of the diagnostic.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport"
        },
        "analysisSummary": {
          "description": "Output only. The complete sequence of thoughts and actions taken by the agent.",
          "readOnly": true,
          "type": "string"
        },
        "conversationFilter": {
          "description": "Output only. The filter used to select the conversations that were included in the diagnostic.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport",
      "description": "A diagnostic report containing aggregate metrics and intent breakdowns.",
      "type": "object",
      "properties": {
        "metrics": {
          "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.",
          "readOnly": true,
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1MetricValue"
          }
        },
        "intentStats": {
          "description": "Output only. Deprecated: Intent breakdowns are no longer used.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats"
          }
        },
        "lossPatterns": {
          "description": "Output only. A list of loss patterns identified for the entire project/dataset.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1LossPattern"
          }
        },
        "report": {
          "description": "Output only. The final report in markdown format.",
          "readOnly": true,
          "type": "string"
        },
        "conversationSlices": {
          "description": "Output only. A map of conversation slices used in the report.",
          "readOnly": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1MetricValue": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1MetricValue",
      "deprecated": true,
      "description": "Deprecated: MetricValue is no longer used for diagnostics.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "Output only. The user-visible name of the metric (e.g., \"Containment Rate\").",
          "readOnly": true,
          "type": "string"
        },
        "value": {
          "description": "Output only. The calculated value of the metric (usually a ratio or rate 0.0 - 1.0).",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "hitCount": {
          "description": "Output only. The number of positive matches (hits) for this metric.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "totalCount": {
          "description": "Output only. The total number of items evaluated for this metric.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "sourceId": {
          "description": "Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.",
          "readOnly": true,
          "type": "string"
        },
        "conversations": {
          "description": "Output only. The list of conversation names that contributed to this metric (hits). Format: `projects/{project}/locations/{location}/conversations/{conversation}`",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "metricType": {
          "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Metric type is unspecified.",
            "Escalation rate.",
            "Containment rate."
          ],
          "enum": [
            "METRIC_TYPE_UNSPECIFIED",
            "ESCALATION",
            "CONTAINMENT"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats",
      "description": "A breakdown of metrics grouped by intent.",
      "type": "object",
      "properties": {
        "intentId": {
          "description": "Output only. The unique identifier for the intent (from Discovery Engine).",
          "readOnly": true,
          "type": "string"
        },
        "intentDisplayName": {
          "description": "Output only. The display name of the intent.",
          "readOnly": true,
          "type": "string"
        },
        "conversationCount": {
          "description": "Output only. The number of conversations associated with this intent.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "metrics": {
          "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.",
          "readOnly": true,
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1MetricValue"
          }
        },
        "lossPatterns": {
          "description": "Output only. A list of loss patterns identified for this intent.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1LossPattern"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1LossPattern": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1LossPattern",
      "description": "A loss pattern of a virtual agent and suggested fixes.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Output only. The unique identifier for the loss pattern.",
          "readOnly": true,
          "type": "string"
        },
        "displayName": {
          "description": "Output only. The display name of the loss pattern.",
          "readOnly": true,
          "type": "string"
        },
        "percentage": {
          "description": "Output only. The percentage of conversations that match this loss pattern.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "conversationIds": {
          "description": "Output only. A list of conversation IDs that match this loss pattern.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "description": {
          "description": "Output only. A markdown description of the loss pattern.",
          "readOnly": true,
          "type": "string"
        },
        "examples": {
          "description": "Output only. A markdown of loss pattern examples.",
          "readOnly": true,
          "type": "string"
        },
        "suggestedFixes": {
          "description": "Output only. A markdown description of the suggested fixes.",
          "readOnly": true,
          "type": "string"
        },
        "links": {
          "description": "Output only. A list of links to conversations or bot instructions.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLink"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1LossPatternLink": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLink",
      "description": "A link to a conversation or bot instruction.",
      "type": "object",
      "properties": {
        "conversationLink": {
          "description": "A link to a conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink"
        },
        "botInstructionLink": {
          "description": "A link to a bot instruction.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink"
        },
        "locationType": {
          "description": "The location type.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified location type.",
            "The link applies to the description field.",
            "The link applies to the suggested_fixes field.",
            "The link applies to the examples field."
          ],
          "enum": [
            "LOCATION_TYPE_UNSPECIFIED",
            "DESCRIPTION",
            "SUGGESTED_FIXES",
            "EXAMPLES"
          ]
        },
        "startByteIndex": {
          "description": "The start byte index of the highlighted text (inclusive).",
          "type": "integer",
          "format": "int32"
        },
        "endByteIndex": {
          "description": "The end byte index of the highlighted text (exclusive).",
          "type": "integer",
          "format": "int32"
        },
        "highlightedText": {
          "description": "The text that is highlighted. (populated for debugging purposes)",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink",
      "description": "A link to a conversation.",
      "type": "object",
      "properties": {
        "conversationId": {
          "description": "The conversation ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink",
      "description": "A link to a bot instruction.",
      "type": "object",
      "properties": {
        "startLine": {
          "description": "The inclusive start line number of the instructions.",
          "type": "integer",
          "format": "int32"
        },
        "endLine": {
          "description": "The exclusive end line number of the instructions.",
          "type": "integer",
          "format": "int32"
        },
        "subagent": {
          "description": "The name of the subagent.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice",
      "description": "Output only. A map of conversation slices used in the report.",
      "type": "object",
      "properties": {
        "conversationIds": {
          "description": "The list of conversation IDs that match this slice.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListDiagnosticsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListDiagnosticsResponse",
      "description": "The response from a ListDiagnostics request.",
      "type": "object",
      "properties": {
        "diagnostics": {
          "description": "Optional. The diagnostics that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Diagnostic"
          }
        },
        "nextPageToken": {
          "description": "Optional. 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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IssueModel": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModel",
      "description": "The issue model resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
          "type": "string"
        },
        "displayName": {
          "description": "The representative name for the issue model.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this issue model was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the issue model was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "issueCount": {
          "description": "Output only. Number of issues in this issue model.",
          "readOnly": true,
          "type": "string",
          "format": "int64"
        },
        "state": {
          "description": "Output only. State of the model.",
          "readOnly": true,
          "type": "string",
          "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."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "UNDEPLOYED",
            "DEPLOYING",
            "DEPLOYED",
            "UNDEPLOYING",
            "DELETING"
          ]
        },
        "inputDataConfig": {
          "description": "Configs for the input data that used to create the issue model.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig"
        },
        "trainingStats": {
          "description": "Output only. Immutable. The issue model's label statistics on its training data.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats"
        },
        "modelType": {
          "description": "Type of the model.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified model type.",
            "Type V1.",
            "Type V2."
          ],
          "enum": [
            "MODEL_TYPE_UNSPECIFIED",
            "TYPE_V1",
            "TYPE_V2"
          ]
        },
        "languageCode": {
          "description": "Language of the model.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig",
      "description": "Configs for the input data used to create the issue model.",
      "type": "object",
      "properties": {
        "medium": {
          "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`.",
          "deprecated": true,
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "The format for conversations that took place over the phone.",
            "The format for conversations that took place over chat."
          ],
          "enum": [
            "MEDIUM_UNSPECIFIED",
            "PHONE_CALL",
            "CHAT"
          ]
        },
        "trainingConversationsCount": {
          "description": "Output only. Number of conversations used in training. Output only.",
          "readOnly": true,
          "type": "string",
          "format": "int64"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats",
      "description": "Aggregated statistics about an issue model.",
      "type": "object",
      "properties": {
        "analyzedConversationsCount": {
          "description": "Number of conversations the issue model has analyzed at this point in time.",
          "type": "string",
          "format": "int64"
        },
        "unclassifiedConversationsCount": {
          "description": "Number of analyzed conversations for which no issue was applicable at this point in time.",
          "type": "string",
          "format": "int64"
        },
        "issueStats": {
          "description": "Statistics on each issue. Key is the issue's resource name.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats",
      "description": "Aggregated statistics about an issue.",
      "type": "object",
      "properties": {
        "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.",
          "type": "string",
          "format": "int64"
        },
        "displayName": {
          "description": "Display name of the issue.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListIssueModelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListIssueModelsResponse",
      "description": "The response of listing issue models.",
      "type": "object",
      "properties": {
        "issueModels": {
          "description": "The issue models that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest",
      "description": "The request to deploy an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The issue model to deploy.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest",
      "description": "The request to undeploy an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The issue model to undeploy.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest",
      "description": "Request to export an issue model.",
      "type": "object",
      "properties": {
        "gcsDestination": {
          "description": "Google Cloud Storage URI to export the issue model to.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination"
        },
        "name": {
          "description": "Required. The issue model to export.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination",
      "description": "Google Cloud Storage Object URI to save the issue model to.",
      "type": "object",
      "properties": {
        "objectUri": {
          "description": "Required. Format: `gs:///`",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest",
      "description": "Request to import an issue model.",
      "type": "object",
      "properties": {
        "gcsSource": {
          "description": "Google Cloud Storage source message.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource"
        },
        "parent": {
          "description": "Required. The parent resource of the issue model.",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource",
      "description": "Google Cloud Storage Object URI to get the issue model file from.",
      "type": "object",
      "properties": {
        "objectUri": {
          "description": "Required. Format: `gs:///`",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Issue": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Issue",
      "description": "The issue resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
          "type": "string"
        },
        "displayName": {
          "description": "The representative name for the issue.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this issue was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time that this issue was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "sampleUtterances": {
          "description": "Output only. Resource names of the sample representative utterances that match to this issue.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "displayDescription": {
          "description": "Representative description of the issue.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListIssuesResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListIssuesResponse",
      "description": "The response of listing issues.",
      "type": "object",
      "properties": {
        "issues": {
          "description": "The issues that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Issue"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CalculateIssueModelStatsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CalculateIssueModelStatsResponse",
      "description": "Response of querying an issue model's statistics.",
      "type": "object",
      "properties": {
        "currentStats": {
          "description": "The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1PhraseMatcher": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatcher",
      "description": "The phrase matcher resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}",
          "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"
        },
        "versionTag": {
          "description": "The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.",
          "type": "string"
        },
        "revisionCreateTime": {
          "description": "Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "displayName": {
          "description": "The human-readable name of the phrase matcher.",
          "type": "string"
        },
        "type": {
          "description": "Required. The type of this phrase matcher.",
          "type": "string",
          "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."
          ],
          "enum": [
            "PHRASE_MATCHER_TYPE_UNSPECIFIED",
            "ALL_OF",
            "ANY_OF"
          ]
        },
        "active": {
          "description": "Applies the phrase matcher only when it is active.",
          "type": "boolean"
        },
        "phraseMatchRuleGroups": {
          "description": "A list of phase match rule groups that are included in this matcher.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchRuleGroup"
          }
        },
        "activationUpdateTime": {
          "description": "Output only. The most recent time at which the activation status was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "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.",
          "type": "string",
          "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."
          ],
          "enum": [
            "ROLE_UNSPECIFIED",
            "HUMAN_AGENT",
            "AUTOMATED_AGENT",
            "END_USER",
            "ANY_AGENT"
          ]
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the phrase matcher was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchRuleGroup": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchRuleGroup",
      "description": "A message representing a rule in the phrase matcher.",
      "type": "object",
      "properties": {
        "type": {
          "description": "Required. The type of this phrase match rule group.",
          "type": "string",
          "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."
          ],
          "enum": [
            "PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED",
            "ALL_OF",
            "ANY_OF"
          ]
        },
        "phraseMatchRules": {
          "description": "A list of phrase match rules that are included in this group.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchRule"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchRule": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchRule",
      "description": "The data for a phrase match rule.",
      "type": "object",
      "properties": {
        "query": {
          "description": "Required. The phrase to be matched.",
          "type": "string"
        },
        "negated": {
          "description": "Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.",
          "type": "boolean"
        },
        "config": {
          "description": "Provides additional information about the rule that specifies how to apply the rule.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchRuleConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchRuleConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatchRuleConfig",
      "description": "Configuration information of a phrase match rule.",
      "type": "object",
      "properties": {
        "exactMatchConfig": {
          "description": "The configuration for the exact match rule.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExactMatchConfig"
        },
        "regexMatchConfig": {
          "description": "The configuration for the regex match rule.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1RegexMatchConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ExactMatchConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ExactMatchConfig",
      "description": "Exact match configuration.",
      "type": "object",
      "properties": {
        "caseSensitive": {
          "description": "Whether to consider case sensitivity when performing an exact match.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1RegexMatchConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1RegexMatchConfig",
      "description": "Regex match configuration.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListPhraseMatchersResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListPhraseMatchersResponse",
      "description": "The response of listing phrase matchers.",
      "type": "object",
      "properties": {
        "phraseMatchers": {
          "description": "The phrase matchers that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1PhraseMatcher"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponse",
      "description": "The response for calculating conversation statistics.",
      "type": "object",
      "properties": {
        "averageDuration": {
          "description": "The average duration of all conversations. The average is calculated using only conversations that have a time duration.",
          "type": "string",
          "format": "google-duration"
        },
        "averageTurnCount": {
          "description": "The average number of turns per conversation.",
          "type": "integer",
          "format": "int32"
        },
        "conversationCount": {
          "description": "The total number of conversations.",
          "type": "integer",
          "format": "int32"
        },
        "smartHighlighterMatches": {
          "description": "A map associating each smart highlighter display name with its respective number of matches in the set of conversations.",
          "type": "object",
          "additionalProperties": {
            "type": "integer",
            "format": "int32"
          }
        },
        "customHighlighterMatches": {
          "description": "A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.",
          "type": "object",
          "additionalProperties": {
            "type": "integer",
            "format": "int32"
          }
        },
        "issueMatches": {
          "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.",
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "type": "integer",
            "format": "int32"
          }
        },
        "issueMatchesStats": {
          "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",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats"
          }
        },
        "conversationCountTimeSeries": {
          "description": "A time series representing the count of conversations created over time that match that requested filter criteria.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponseTimeSeries"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponseTimeSeries": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponseTimeSeries",
      "description": "A time series representing conversations over time.",
      "type": "object",
      "properties": {
        "intervalDuration": {
          "description": "The duration of each interval.",
          "type": "string",
          "format": "google-duration"
        },
        "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponseTimeSeriesInterval"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponseTimeSeriesInterval": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsResponseTimeSeriesInterval",
      "description": "A single interval in a time series.",
      "type": "object",
      "properties": {
        "startTime": {
          "description": "The start time of this interval.",
          "type": "string",
          "format": "google-datetime"
        },
        "conversationCount": {
          "description": "The number of conversations created in this interval.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CalculateStatsRequest",
      "description": "The request for calculating conversation statistics.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CorrelationConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CorrelationConfig",
      "description": "A configuration that defines how to correlate conversations for a given a given project.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. Identifier. The resource name of the correlation config. Format: projects/{project}/locations/{location}/correlationConfig",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which the correlation config was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The time at which the correlation config was last updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "fullConversationConfig": {
          "description": "The correlation type config for full conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1CorrelationTypeConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CorrelationTypeConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CorrelationTypeConfig",
      "description": "A list of correlation rules for a given correlation type.",
      "type": "object",
      "properties": {
        "correlationRules": {
          "description": "A list of correlation rules to be evaluated for correlation.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1CorrelationRule"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CorrelationRule": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CorrelationRule",
      "description": "A correlation rule that defines how to join conversations for a given correlation type.",
      "type": "object",
      "properties": {
        "ruleId": {
          "description": "Required. The unique identifier of the rule.",
          "type": "string"
        },
        "active": {
          "description": "Optional. Whether the config is active to be evaluated.",
          "type": "boolean"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigRequest",
      "description": "The request to test correlation config.",
      "type": "object",
      "properties": {
        "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"
        },
        "conversations": {
          "description": "Optional. A list of conversations to test against.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigRequestConversations"
        },
        "correlationConfig": {
          "description": "Required. The correlation config to test.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1CorrelationConfig"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigRequestConversations": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigRequestConversations",
      "description": "Wrapper for a list of conversations.",
      "type": "object",
      "properties": {
        "conversations": {
          "description": "Optional. The conversations.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Settings": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Settings",
      "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).",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which the settings was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The time at which the settings were last updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "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"
        },
        "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.",
          "type": "string",
          "format": "google-duration"
        },
        "diagnosticMetricConfig": {
          "description": "Optional. Configuration for diagnostic metrics.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SettingsDiagnosticMetricConfig"
        },
        "pubsubNotificationSettings": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "analysisConfig": {
          "description": "Default analysis settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SettingsAnalysisConfig"
        },
        "redactionConfig": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig"
        },
        "speechConfig": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig"
        },
        "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"
        },
        "timeZone": {
          "description": "Optional. The time zone applied to the project. This is a string representation of the time zone, for example, \"America/New_York\". This field follows the IANA TZ database format. See https://www.iana.org/time-zones for a list of valid values. If no value is set the user time zone will be used.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SettingsDiagnosticMetricConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SettingsDiagnosticMetricConfig",
      "description": "Configuration for diagnostic metrics.",
      "type": "object",
      "properties": {
        "metrics": {
          "description": "Optional. A map of diagnostic metrics. The key is a unique identifier for the metric (e.g., \"containment\").",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1MetricDefinition"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1MetricDefinition": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1MetricDefinition",
      "description": "A definition for a metric to be calculated during analysis.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "Output only. The user-visible name of the metric (e.g., \"Containment Rate\").",
          "readOnly": true,
          "type": "string"
        },
        "sourceId": {
          "description": "Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SettingsAnalysisConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SettingsAnalysisConfig",
      "description": "Default configuration when creating Analyses in Insights.",
      "type": "object",
      "properties": {
        "runtimeIntegrationAnalysisPercentage": {
          "description": "Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100].",
          "type": "number",
          "format": "double"
        },
        "uploadConversationAnalysisPercentage": {
          "description": "Percentage of conversations created using the UploadConversation endpoint to analyze automatically, between [0, 100].",
          "type": "number",
          "format": "double"
        },
        "annotatorSelector": {
          "description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AnalysisRule": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AnalysisRule",
      "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.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this analysis rule was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which this analysis rule was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "displayName": {
          "description": "Display Name of the analysis rule.",
          "type": "string"
        },
        "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"
        },
        "annotatorSelector": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "active": {
          "description": "If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListAnalysisRulesResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListAnalysisRulesResponse",
      "description": "The response of listing views.",
      "type": "object",
      "properties": {
        "analysisRules": {
          "description": "The analysis_rule that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnalysisRule"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListAutoLabelingRulesResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListAutoLabelingRulesResponse",
      "description": "The response message for listing auto labeling rules.",
      "type": "object",
      "properties": {
        "autoLabelingRules": {
          "description": "The auto labeling rules.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRule"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRule": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRule",
      "description": "Rule for auto-labeling conversations.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The resource name of the auto-labeling rule. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}",
          "type": "string"
        },
        "active": {
          "description": "Whether the rule is active.",
          "type": "boolean"
        },
        "displayName": {
          "description": "The user-provided display name of the rule.",
          "type": "string"
        },
        "description": {
          "description": "The description of the rule.",
          "type": "string"
        },
        "labelKeyType": {
          "description": "The type of the label key.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified label key type.",
            "The label key is custom defined by the user."
          ],
          "enum": [
            "LABEL_KEY_TYPE_UNSPECIFIED",
            "LABEL_KEY_TYPE_CUSTOM"
          ]
        },
        "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"
        },
        "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRuleLabelingCondition"
          }
        },
        "createTime": {
          "description": "Output only. The time at which this rule was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the rule was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRuleLabelingCondition": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRuleLabelingCondition",
      "description": "Condition for auto-labeling conversations.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1TestAutoLabelingRuleRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TestAutoLabelingRuleRequest",
      "description": "The request message for testing auto labeling rules.",
      "type": "object",
      "properties": {
        "conversation": {
          "description": "Required. Conversation data to test rules against.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1Conversation"
        },
        "autoLabelingRule": {
          "description": "Required. The auto labeling rule to test.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AutoLabelingRule"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1TestAutoLabelingRuleResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TestAutoLabelingRuleResponse",
      "description": "The response message for testing auto labeling rules.",
      "type": "object",
      "properties": {
        "labelResult": {
          "description": "The result of the test auto labeling rule.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AssessmentRule": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AssessmentRule",
      "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.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this assessment rule was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which this assessment rule was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "active": {
          "description": "If true, apply this rule to conversations. Otherwise, this rule is inactive.",
          "type": "boolean"
        },
        "displayName": {
          "description": "Display Name of the assessment rule.",
          "type": "string"
        },
        "sampleRule": {
          "description": "The sample rule for the assessment rule.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleRule"
        },
        "scheduleInfo": {
          "description": "Schedule info for the assessment rule.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ScheduleInfo"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ScheduleInfo": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ScheduleInfo",
      "description": "Message for schedule info.",
      "type": "object",
      "properties": {
        "startTime": {
          "description": "Start time of the schedule. If not specified, will start as soon as the schedule is created.",
          "type": "string",
          "format": "google-datetime"
        },
        "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.",
          "type": "string",
          "format": "google-datetime"
        },
        "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"
        },
        "timeZone": {
          "description": "The timezone to use for the groc expression. If not specified, defaults to UTC.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListAssessmentRulesResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListAssessmentRulesResponse",
      "description": "The response of listing assessment rules.",
      "type": "object",
      "properties": {
        "assessmentRules": {
          "description": "The assessment rules that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1AssessmentRule"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec",
      "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`).",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest",
      "description": "The request to initialize a location-level encryption specification.",
      "type": "object",
      "properties": {
        "encryptionSpec": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1View": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1View",
      "description": "The View resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}",
          "type": "string"
        },
        "displayName": {
          "description": "The human-readable display name of the view.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this view was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the view was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListViewsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListViewsResponse",
      "description": "The response of listing views.",
      "type": "object",
      "properties": {
        "views": {
          "description": "The views that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1View"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsRequest",
      "description": "The request for querying metrics.",
      "type": "object",
      "properties": {
        "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"
        },
        "timeGranularity": {
          "description": "The time granularity of each data point in the time series. Defaults to NONE if this field is unspecified.",
          "type": "string",
          "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)."
          ],
          "enum": [
            "TIME_GRANULARITY_UNSPECIFIED",
            "NONE",
            "DAILY",
            "HOURLY",
            "PER_MINUTE",
            "PER_5_MINUTES",
            "MONTHLY"
          ]
        },
        "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dimension"
          }
        },
        "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\".",
          "type": "string",
          "format": "google-fieldmask"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Dimension": {
      "id": "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.",
      "type": "object",
      "properties": {
        "issueDimensionMetadata": {
          "description": "Output only. Metadata about the issue dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata"
        },
        "agentDimensionMetadata": {
          "description": "Output only. Metadata about the agent dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata"
        },
        "qaQuestionDimensionMetadata": {
          "description": "Output only. Metadata about the QA question dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata"
        },
        "qaQuestionAnswerDimensionMetadata": {
          "description": "Output only. Metadata about the QA question-answer dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata"
        },
        "qaScorecardDimensionMetadata": {
          "description": "Output only. Metadata about the QA scorecard dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata"
        },
        "conversationProfileDimensionMetadata": {
          "description": "Output only. Metadata about the conversation profile dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata"
        },
        "mediumDimensionMetadata": {
          "description": "Output only. Metadata about the conversation medium dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata"
        },
        "conversationalAgentsPlaybookDimensionMetadata": {
          "description": "Output only. Metadata about the Conversational Agents playbook dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata"
        },
        "conversationalAgentsToolDimensionMetadata": {
          "description": "Output only. Metadata about the Conversational Agents tool dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata"
        },
        "clientSentimentCategoryDimensionMetadata": {
          "description": "Output only. Metadata about the client sentiment category dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionClientSentimentCategoryDimensionMetadata"
        },
        "labelDimensionMetadata": {
          "description": "Output only. Metadata about conversation labels.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata"
        },
        "dimensionKey": {
          "description": "The key of the dimension.",
          "type": "string",
          "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.",
            "The dimension is keyed by the last transfer sub agent name."
          ],
          "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",
            "LAST_TRANSFER_SUB_AGENT_NAME"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata",
      "description": "Metadata about the issue dimension.",
      "type": "object",
      "properties": {
        "issueId": {
          "description": "The issue ID.",
          "type": "string"
        },
        "issueDisplayName": {
          "description": "The issue display name.",
          "type": "string"
        },
        "issueModelId": {
          "description": "The parent issue model ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata",
      "description": "Metadata about the agent dimension.",
      "type": "object",
      "properties": {
        "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"
        },
        "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"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata",
      "description": "Metadata about the QA question dimension.",
      "type": "object",
      "properties": {
        "qaScorecardId": {
          "description": "Optional. The QA scorecard ID.",
          "type": "string"
        },
        "qaQuestionId": {
          "description": "Optional. The QA question ID.",
          "type": "string"
        },
        "questionBody": {
          "description": "Optional. The full body of the question.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata",
      "description": "Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.",
      "type": "object",
      "properties": {
        "qaScorecardId": {
          "description": "Optional. The QA scorecard ID.",
          "type": "string"
        },
        "qaQuestionId": {
          "description": "Optional. The QA question ID.",
          "type": "string"
        },
        "questionBody": {
          "description": "Optional. The full body of the question.",
          "type": "string"
        },
        "answerValue": {
          "description": "Optional. The full body of the question.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata",
      "description": "Metadata about the QA scorecard dimension.",
      "type": "object",
      "properties": {
        "qaScorecardId": {
          "description": "Optional. The QA scorecard ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata",
      "description": "Metadata about the conversation profile dimension.",
      "type": "object",
      "properties": {
        "conversationProfileId": {
          "description": "Optional. The conversation profile ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata",
      "description": "Metadata about the conversation medium dimension.",
      "type": "object",
      "properties": {
        "medium": {
          "description": "Optional. The conversation medium. Currently supports : PHONE_CALL, CHAT.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata",
      "description": "Metadata about the Conversational Agents playbook dimension.",
      "type": "object",
      "properties": {
        "playbookId": {
          "description": "Optional. The dialogflow playbook ID.",
          "type": "string"
        },
        "playbookDisplayName": {
          "description": "Optional. The dialogflow playbook display name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata",
      "description": "Metadata about the Conversational Agents tool dimension.",
      "type": "object",
      "properties": {
        "toolId": {
          "description": "Optional. The dialogflow tool ID.",
          "type": "string"
        },
        "toolDisplayName": {
          "description": "Optional. The dialogflow tool display name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionClientSentimentCategoryDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionClientSentimentCategoryDimensionMetadata",
      "description": "Metadata about the client sentiment category dimension.",
      "type": "object",
      "properties": {
        "sentimentCategory": {
          "description": "Optional. The client sentiment category.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata",
      "description": "Metadata about conversation labels.",
      "type": "object",
      "properties": {
        "labelKey": {
          "description": "Optional. The label key.",
          "type": "string"
        },
        "labelValue": {
          "description": "Optional. The label value.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsRequest",
      "description": "The request for generative insights.",
      "type": "object",
      "properties": {
        "naturalLanguageQuery": {
          "description": "The natural language query specified by the user. If this field is specified, `sql_query` will be ignored.",
          "type": "string"
        },
        "chart": {
          "description": "The full name of the chart resource this request corresponds to. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}",
          "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"
        },
        "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"
        },
        "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"
        },
        "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"
        },
        "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"
        },
        "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"
        },
        "userProvidedChartSpec": {
          "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",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewRequest",
      "description": "The request for summarizing performance according to different metrics for conversations over a specified time window.",
      "type": "object",
      "properties": {
        "agentPerformanceSource": {
          "description": "Conversations are from a single agent.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewRequestAgentSource"
        },
        "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": {
          "description": "Required. The time window of the conversations to derive performance stats from.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryInterval"
        },
        "comparisonQueryInterval": {
          "description": "The time window of the conversations to compare the performance to.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryInterval"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewRequestAgentSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewRequestAgentSource",
      "description": "The entity whose performance is being queried is a single agent.",
      "type": "object",
      "properties": {
        "agentId": {
          "description": "Required. Agent id to query performance overview for.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryInterval": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryInterval",
      "description": "A time window for querying conversations.",
      "type": "object",
      "properties": {
        "startTime": {
          "description": "Required. The start time of the time window.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Required. The end time of the time window.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaQuestion": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaQuestion",
      "description": "A single question to be scored by the Insights QA feature.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}",
          "type": "string"
        },
        "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"
        },
        "createTime": {
          "description": "Output only. The time at which this question was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the question was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "questionType": {
          "description": "The type of question.",
          "type": "string",
          "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."
          ],
          "enum": [
            "QA_QUESTION_TYPE_UNSPECIFIED",
            "CUSTOMIZABLE",
            "PREDEFINED"
          ]
        },
        "qaQuestionDataOptions": {
          "description": "Options for configuring the data used to generate the QA question.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionQaQuestionDataOptions"
        },
        "predefinedQuestionConfig": {
          "description": "The configuration of the predefined question. This field will only be set if the Question Type is predefined.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionPredefinedQuestionConfig"
        },
        "questionBody": {
          "description": "Question text. E.g., \"Did the agent greet the customer?\"",
          "type": "string"
        },
        "answerInstructions": {
          "description": "Instructions describing how to determine the answer.",
          "type": "string"
        },
        "answerChoices": {
          "description": "A list of valid answers to the question, which the LLM must choose from.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionAnswerChoice"
          }
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "order": {
          "description": "Defines the order of the question within its parent scorecard revision.",
          "type": "integer",
          "format": "int32"
        },
        "metrics": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionMetrics"
        },
        "tuningMetadata": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTuningMetadata"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaQuestionQaQuestionDataOptions": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionQaQuestionDataOptions",
      "description": "Options for configuring the data used to generate the QA question.",
      "type": "object",
      "properties": {
        "conversationDataOptions": {
          "description": "Options for configuring the conversation data used to generate the QA question.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataOptions"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationDataOptions": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataOptions",
      "description": "Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine.",
      "type": "object",
      "properties": {
        "includeDialogflowInteractionData": {
          "description": "Whether to include the per turn Dialogflow interaction data in conversation transcript.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaQuestionPredefinedQuestionConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionPredefinedQuestionConfig",
      "description": "Configuration for a predefined question. This field will only be set if the Question Type is predefined.",
      "type": "object",
      "properties": {
        "type": {
          "description": "The type of the predefined question.",
          "type": "string",
          "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."
          ],
          "enum": [
            "PREDEFINED_QUESTION_TYPE_UNSPECIFIED",
            "CONVERSATION_OUTCOME",
            "CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaQuestionAnswerChoice": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionAnswerChoice",
      "description": "Message representing a possible answer to the question.",
      "type": "object",
      "properties": {
        "strValue": {
          "description": "String value.",
          "type": "string"
        },
        "numValue": {
          "description": "Numerical value.",
          "type": "number",
          "format": "double"
        },
        "boolValue": {
          "description": "Boolean value.",
          "type": "boolean"
        },
        "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"
        },
        "key": {
          "description": "A short string used as an identifier.",
          "type": "string"
        },
        "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.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaQuestionMetrics": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionMetrics",
      "description": "A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question.",
      "type": "object",
      "properties": {
        "accuracy": {
          "description": "Output only. Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTuningMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTuningMetadata",
      "description": "Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned.",
      "type": "object",
      "properties": {
        "totalValidLabelCount": {
          "description": "Total number of valid labels provided for the question at the time of tuining.",
          "type": "string",
          "format": "int64"
        },
        "datasetValidationWarnings": {
          "description": "A list of any applicable data validation warnings about the question's feedback labels.",
          "type": "array",
          "items": {
            "type": "string",
            "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."
            ],
            "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"
            ]
          }
        },
        "tuningError": {
          "description": "Error status of the tuning operation for the question. Will only be set if the tuning operation failed.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListQaQuestionsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListQaQuestionsResponse",
      "description": "The response from a ListQaQuestions request.",
      "type": "object",
      "properties": {
        "qaQuestions": {
          "description": "The QaQuestions under the parent.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestion"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag",
      "description": "A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., \"Customer Satisfaction\",\"Billing\", etc.",
      "type": "object",
      "properties": {
        "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"
        },
        "displayName": {
          "description": "Required. A user-specified display name for the tag.",
          "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "createTime": {
          "description": "Output only. The time at which the question tag was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the question tag was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListQaQuestionTagsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListQaQuestionTagsResponse",
      "description": "The response from a ListQaQuestionTags request.",
      "type": "object",
      "properties": {
        "qaQuestionTags": {
          "description": "The parent resource of the questions.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaScorecard": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaScorecard",
      "description": "A QaScorecard represents a collection of questions to be scored during analysis.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}",
          "type": "string"
        },
        "displayName": {
          "description": "The user-specified display name of the scorecard.",
          "type": "string"
        },
        "description": {
          "description": "A text description explaining the intent of the scorecard.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this scorecard was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the scorecard was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "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"
        },
        "source": {
          "description": "Output only. The source of the scorecard.",
          "readOnly": true,
          "type": "string",
          "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."
          ],
          "enum": [
            "QA_SCORECARD_SOURCE_UNSPECIFIED",
            "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED",
            "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListQaScorecardsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListQaScorecardsResponse",
      "description": "The response from a ListQaScorecards request.",
      "type": "object",
      "properties": {
        "qaScorecards": {
          "description": "The QaScorecards under the parent.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecard"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QaScorecardRevision": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardRevision",
      "description": "A revision of a QaScorecard. Modifying published scorecard fields would invalidate existing scorecard results — 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.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The name of the scorecard revision. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}",
          "type": "string"
        },
        "snapshot": {
          "description": "The snapshot of the scorecard at the time of this revision's creation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecard"
        },
        "createTime": {
          "description": "Output only. The timestamp that the revision was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "alternateIds": {
          "description": "Output only. Alternative IDs for this revision of the scorecard, e.g., `latest`.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "state": {
          "description": "Output only. State of the scorecard revision, indicating whether it's ready to be used in analysis.",
          "readOnly": true,
          "type": "string",
          "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."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "EDITABLE",
            "TRAINING",
            "TRAINING_FAILED",
            "READY",
            "DELETING",
            "TRAINING_CANCELLED"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1TuneQaScorecardRevisionRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TuneQaScorecardRevisionRequest",
      "description": "Request for TuneQaScorecardRevision endpoint.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DeployQaScorecardRevisionRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DeployQaScorecardRevisionRequest",
      "description": "The request to deploy a QaScorecardRevision",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1UndeployQaScorecardRevisionRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1UndeployQaScorecardRevisionRequest",
      "description": "The request to undeploy a QaScorecardRevision",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListQaScorecardRevisionsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListQaScorecardRevisionsResponse",
      "description": "The response from a ListQaScorecardRevisions request.",
      "type": "object",
      "properties": {
        "qaScorecardRevisions": {
          "description": "The QaScorecards under the parent.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaScorecardRevision"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListFeedbackLabelsResponse",
      "description": "The response for listing feedback labels.",
      "type": "object",
      "properties": {
        "feedbackLabels": {
          "description": "The feedback labels that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
          }
        },
        "nextPageToken": {
          "description": "The next page token.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListAllFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListAllFeedbackLabelsResponse",
      "description": "The response for listing all feedback labels.",
      "type": "object",
      "properties": {
        "feedbackLabels": {
          "description": "The feedback labels that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequest",
      "description": "The request for bulk uploading feedback labels.",
      "type": "object",
      "properties": {
        "gcsSource": {
          "description": "A cloud storage bucket source.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequestGcsSource"
        },
        "sheetsSource": {
          "description": "A sheets document source.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequestSheetsSource"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequestGcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequestGcsSource",
      "description": "Google Cloud Storage Object details to get the feedback label file from.",
      "type": "object",
      "properties": {
        "format": {
          "description": "Required. File format which will be ingested.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified format.",
            "CSV format.",
            "JSON format."
          ],
          "enum": [
            "FORMAT_UNSPECIFIED",
            "CSV",
            "JSON"
          ]
        },
        "objectUri": {
          "description": "Required. The Google Cloud Storage URI of the file to import. Format: `gs://bucket_name/object_name`",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequestSheetsSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkUploadFeedbackLabelsRequestSheetsSource",
      "description": "Google Sheets document details to get the feedback label file from.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequest",
      "description": "Request for the BulkDownloadFeedbackLabel endpoint.",
      "type": "object",
      "properties": {
        "gcsDestination": {
          "description": "A cloud storage bucket destination.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequestGcsDestination"
        },
        "sheetsDestination": {
          "description": "A sheets document destination.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequestSheetsDestination"
        },
        "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"
        },
        "maxDownloadCount": {
          "description": "Optional. Limits the maximum number of feedback labels that will be downloaded. The first `N` feedback labels will be downloaded.",
          "type": "integer",
          "format": "int32"
        },
        "feedbackLabelType": {
          "description": "Optional. The type of feedback labels that will be downloaded.",
          "type": "string",
          "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."
          ],
          "enum": [
            "FEEDBACK_LABEL_TYPE_UNSPECIFIED",
            "QUALITY_AI",
            "TOPIC_MODELING",
            "AGENT_ASSIST_SUMMARY"
          ]
        },
        "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"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequestGcsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequestGcsDestination",
      "description": "Google Cloud Storage Object details to write the feedback labels to.",
      "type": "object",
      "properties": {
        "format": {
          "description": "Required. File format in which the labels will be exported.",
          "type": "string",
          "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."
          ],
          "enum": [
            "FORMAT_UNSPECIFIED",
            "CSV",
            "JSON"
          ]
        },
        "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"
        },
        "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"
        },
        "recordsPerFileCount": {
          "description": "Optional. The number of records per file. Applicable for either format.",
          "type": "string",
          "format": "int64"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequestSheetsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkDownloadFeedbackLabelsRequestSheetsDestination",
      "description": "Google Sheets document details to write the feedback labels to.",
      "type": "object",
      "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. The spreadsheet ID written to will be returned as `file_names` in the BulkDownloadFeedbackLabelsMetadata.",
          "type": "string"
        },
        "sheetTitle": {
          "description": "Optional. The title of the new sheet to write the feedback labels to.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest",
      "description": "Request for the BulkDeleteFeedbackLabels endpoint.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource for new feedback 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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AuthorizedViewSet": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedViewSet",
      "description": "An AuthorizedViewSet contains a set of AuthorizedView resources.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}",
          "type": "string"
        },
        "displayName": {
          "description": "Display Name. Limit 64 characters.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. Create time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Update time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListAuthorizedViewSetsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListAuthorizedViewSetsResponse",
      "description": "The response from a ListAuthorizedViewSet request.",
      "type": "object",
      "properties": {
        "authorizedViewSets": {
          "description": "The AuthorizedViewSets under the parent.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedViewSet"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1AuthorizedView": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedView",
      "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.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The resource name of the AuthorizedView. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}",
          "type": "string"
        },
        "displayName": {
          "description": "Display Name. Limit 64 characters.",
          "type": "string"
        },
        "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.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the authorized view was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListAuthorizedViewsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListAuthorizedViewsResponse",
      "description": "The response from a ListAuthorizedViews request.",
      "type": "object",
      "properties": {
        "authorizedViews": {
          "description": "The AuthorizedViews under the parent.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedView"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SearchAuthorizedViewsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SearchAuthorizedViewsResponse",
      "description": "The response from a ListAuthorizedViews request.",
      "type": "object",
      "properties": {
        "authorizedViews": {
          "description": "The AuthorizedViews under the parent.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1AuthorizedView"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Assessment": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Assessment",
      "description": "The assessment resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The resource name of the assessment. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which the assessment was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The time at which the assessment was last updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "state": {
          "description": "Output only. The state of the assessment.",
          "readOnly": true,
          "type": "string",
          "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."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "PUBLISHED",
            "APPEALED",
            "FINALIZED"
          ]
        },
        "agentInfo": {
          "description": "Information about the agent the assessment is for.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListAssessmentsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListAssessmentsResponse",
      "description": "The response of listing assessments.",
      "type": "object",
      "properties": {
        "assessments": {
          "description": "The assessments that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Assessment"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1PublishAssessmentRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1PublishAssessmentRequest",
      "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.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1AppealAssessmentRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1AppealAssessmentRequest",
      "description": "The message to appeal an assessment.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1FinalizeAssessmentRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1FinalizeAssessmentRequest",
      "description": "The message to finalize an assessment. Finalizing makes an assessment and its notes immutable.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1Note": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Note",
      "description": "The conversation assessment note resource.",
      "type": "object",
      "properties": {
        "conversationTurnNote": {
          "description": "The note is associated with a conversation turn.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1NoteConversationTurnNote"
        },
        "qaQuestionNote": {
          "description": "The note is associated with a QA question in one of the conversation's scorecard results.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1NoteQaQuestionNote"
        },
        "assessmentNote": {
          "description": "The note is associated to the entire parent assessment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1NoteAssessmentNote"
        },
        "name": {
          "description": "Identifier. The resource name of the note. Format: projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note}",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which the note was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The time at which the note was last updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "noteCreator": {
          "description": "Output only. The user that created the note.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1UserInfo"
        },
        "content": {
          "description": "The note content.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1NoteConversationTurnNote": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1NoteConversationTurnNote",
      "description": "A note about a conversation turn.",
      "type": "object",
      "properties": {
        "turnIndex": {
          "description": "The conversation turn index that the note is associated with.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1NoteQaQuestionNote": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1NoteQaQuestionNote",
      "description": "A note about a QA question.",
      "type": "object",
      "properties": {
        "qaQuestion": {
          "description": "The question resource that the note is associated with.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1NoteAssessmentNote": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1NoteAssessmentNote",
      "description": "A note about the entire parent assessment.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1UserInfo": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1UserInfo",
      "description": "Information about a user.",
      "type": "object",
      "properties": {
        "username": {
          "description": "The user's username.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListNotesResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListNotesResponse",
      "description": "The response of listing notes.",
      "type": "object",
      "properties": {
        "notes": {
          "description": "The notes that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Note"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Dashboard": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Dashboard",
      "description": "Configurable dashboard",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. Dashboard resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}",
          "type": "string"
        },
        "displayName": {
          "description": "User provided display name of the dashboard.",
          "type": "string"
        },
        "rootContainer": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1Container"
        },
        "description": {
          "description": "Dashboard description",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. Dashboard creation time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Dashboard last update time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "filter": {
          "description": "Filter applied to all charts in the dashboard. Should support scope later.",
          "type": "string"
        },
        "dateRangeConfig": {
          "description": "Date range config applied to all charts in the dashboard.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DateRangeConfig"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Container": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Container",
      "description": "Configurable dashboard's container. Container can contain multiple widgets.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "User provided display name of the Container.",
          "type": "string"
        },
        "widgets": {
          "description": "Widgets in the Container.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Widget"
          }
        },
        "description": {
          "description": "Container description",
          "type": "string"
        },
        "filter": {
          "description": "Filter applied to all charts in the container. Should support scope later.",
          "type": "string"
        },
        "width": {
          "description": "The width of the container in grid units.",
          "type": "integer",
          "format": "int32"
        },
        "height": {
          "description": "The height of the container in grid units.",
          "type": "integer",
          "format": "int32"
        },
        "containerId": {
          "description": "Output only. Unique ID for the container.",
          "readOnly": true,
          "type": "string"
        },
        "dateRangeConfig": {
          "description": "Date range config applied to all charts in the container.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DateRangeConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Widget": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Widget",
      "description": "Represents a dashboard element, could be a nested Container or Chart.",
      "type": "object",
      "properties": {
        "container": {
          "description": "A container widget.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1Container"
        },
        "chart": {
          "description": "A chart widget.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1Chart"
        },
        "chartReference": {
          "description": "A reference to a chart widget. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}",
          "type": "string"
        },
        "filter": {
          "description": "Filter applied to all charts in the container. Should support scope later.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1Chart": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1Chart",
      "description": "Configurable dashboard's widget that displays data as a chart.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. Chart resource name. Format: projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart}",
          "type": "string"
        },
        "displayName": {
          "description": "User provided display name of the chart.",
          "type": "string"
        },
        "description": {
          "description": "Chart description",
          "type": "string"
        },
        "chartVisualizationType": {
          "description": "Chart visualization type.",
          "type": "string",
          "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."
          ],
          "enum": [
            "CHART_VISUALIZATION_TYPE_UNSPECIFIED",
            "BAR",
            "LINE",
            "AREA",
            "PIE",
            "SCATTER",
            "TABLE",
            "SCORE_CARD",
            "SUNBURST",
            "GAUGE",
            "SANKEY"
          ]
        },
        "width": {
          "description": "The width of the chart in grid units.",
          "type": "integer",
          "format": "int32"
        },
        "height": {
          "description": "The height of the chart in grid units.",
          "type": "integer",
          "format": "int32"
        },
        "createTime": {
          "description": "Output only. Chart create time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Chart last update time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "chartType": {
          "description": "Output only. Chart type.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Unspecified chart type.",
            "Pre-defined chart type.",
            "Configurable chart type."
          ],
          "enum": [
            "CHART_TYPE_UNSPECIFIED",
            "SYSTEM_DEFINED",
            "USER_DEFINED"
          ]
        },
        "dataSource": {
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ChartDataSource"
        },
        "filter": {
          "description": "Filter applied to all charts in the container. Should support scope later.",
          "type": "string"
        },
        "dateRangeConfig": {
          "description": "Date range config applied to the chart.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DateRangeConfig"
        },
        "action": {
          "description": "Optional action to be taken when the chart is clicked.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ChartAction"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ChartDataSource": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ChartDataSource",
      "description": "The request data for visualizing the dataset in the chart.",
      "type": "object",
      "properties": {
        "generativeInsights": {
          "description": "Use natural language query to generate the chart.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsights"
        },
        "queryMetrics": {
          "description": "Use the existing QueryMetrics to generate the chart.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetrics"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsights": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsights",
      "description": "Request that use natural language query to generate the chart.",
      "type": "object",
      "properties": {
        "request": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        },
        "chartSpec": {
          "description": "Chart spec for the chart.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "sqlQuery": {
          "description": "SQL query used to generate the chart.",
          "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"
        },
        "chartConversations": {
          "description": "Output only. The chart conversations used to generate the chart.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversation"
          }
        },
        "chartCheckpoint": {
          "description": "The chart checkpoint used to generate the chart.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartCheckpoint"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversation": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversation",
      "description": "The conversation used to generate the chart.",
      "type": "object",
      "properties": {
        "conversationId": {
          "description": "The conversation id of the chart.",
          "type": "string"
        },
        "createTime": {
          "description": "The create time of the conversation.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "The update time of the conversation.",
          "type": "string",
          "format": "google-datetime"
        },
        "messages": {
          "description": "Ordered list of messages, including user inputs and system responses.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessage"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessage": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessage",
      "description": "The message in the conversation.",
      "type": "object",
      "properties": {
        "userMessage": {
          "description": "A message from the user that is interacting with the system.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessageUserMessage"
        },
        "systemMessage": {
          "description": "A message from the system in response to the user.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessageSystemMessage"
        },
        "messageId": {
          "description": "The message id of the message.",
          "type": "string"
        },
        "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.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessageUserMessage": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessageUserMessage",
      "description": "The user message.",
      "type": "object",
      "properties": {
        "text": {
          "description": "A message from the user that is interacting with the system.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessageSystemMessage": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessageSystemMessage",
      "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.",
      "type": "object",
      "properties": {
        "textOutput": {
          "description": "A direct natural language response to the user message.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessageSystemMessageTextOutput"
        },
        "generatedSqlQuery": {
          "description": "Raw SQL from LLM, before templatization",
          "type": "string"
        },
        "chartSpec": {
          "description": "Chart spec from LLM",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessageSystemMessageTextOutput": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartConversationMessageSystemMessageTextOutput",
      "description": "A text output message from the system.",
      "type": "object",
      "properties": {
        "texts": {
          "description": "The parts of the message.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "type": {
          "description": "The type of the text message.",
          "type": "string",
          "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."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "THOUGHT",
            "FINAL_RESPONSE",
            "PROGRESS"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartCheckpoint": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsChartCheckpoint",
      "description": "The current chart checkpoint state.",
      "type": "object",
      "properties": {
        "sessionId": {
          "description": "The session id of the chart.",
          "type": "string"
        },
        "revisionId": {
          "description": "The revision id of the chart.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetrics": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetrics",
      "description": "Request data that use the existing QueryMetrics.",
      "type": "object",
      "properties": {
        "request": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DateRangeConfig": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DateRangeConfig",
      "description": "Date range configuration for dashboard charts.",
      "type": "object",
      "properties": {
        "relativeDateRange": {
          "description": "A relative date range.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DateRangeConfigRelativeDateRange"
        },
        "absoluteDateRange": {
          "description": "An absolute date range.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryInterval"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DateRangeConfigRelativeDateRange": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DateRangeConfigRelativeDateRange",
      "description": "Relative date range configuration.",
      "type": "object",
      "properties": {
        "quantity": {
          "description": "Required. The quantity of units in the past.",
          "type": "string",
          "format": "int64"
        },
        "unit": {
          "description": "Required. The unit of time.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified.",
            "Day.",
            "Week.",
            "Month.",
            "Quarter.",
            "Year."
          ],
          "enum": [
            "TIME_UNIT_UNSPECIFIED",
            "DAY",
            "WEEK",
            "MONTH",
            "QUARTER",
            "YEAR"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ChartAction": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ChartAction",
      "description": "The action to be taken when the chart is clicked.",
      "type": "object",
      "properties": {
        "redirectAction": {
          "description": "Redirect action.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1RedirectAction"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1RedirectAction": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1RedirectAction",
      "description": "The redirect action to be taken when the chart is clicked.",
      "type": "object",
      "properties": {
        "relativePath": {
          "description": "The relative path to redirect to.",
          "type": "string"
        },
        "queryParams": {
          "description": "The query params to be added to the redirect path.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListDashboardsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListDashboardsResponse",
      "description": "The response of listing dashboards.",
      "type": "object",
      "properties": {
        "dashboards": {
          "description": "The dashboards under the parent.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dashboard"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ListChartsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ListChartsResponse",
      "description": "The response of listing charts.",
      "type": "object",
      "properties": {
        "charts": {
          "description": "The charts under the parent.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Chart"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata",
      "description": "The metadata for a bulk analyze conversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for bulk analyze.",
          "$ref": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest"
        },
        "completedAnalysesCount": {
          "description": "The number of requested analyses that have completed successfully so far.",
          "type": "integer",
          "format": "int32"
        },
        "failedAnalysesCount": {
          "description": "The number of requested analyses that have failed so far.",
          "type": "integer",
          "format": "int32"
        },
        "totalRequestedAnalysesCount": {
          "description": "Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request.",
          "type": "integer",
          "format": "int32"
        },
        "partialErrors": {
          "description": "Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "relabel": {
          "description": "Output only. If true, the labeling rules will be re-evaluated for the conversations.",
          "readOnly": true,
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest",
      "description": "The request to analyze conversations in bulk.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource to create analyses in.",
          "type": "string"
        },
        "filter": {
          "description": "Required. Filter used to select the subset of conversations to analyze.",
          "type": "string"
        },
        "analysisPercentage": {
          "description": "Required. Percentage of selected conversation to analyze, between [0, 100].",
          "type": "number",
          "format": "float"
        },
        "annotatorSelector": {
          "description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelector"
        },
        "relabel": {
          "description": "Optional. If true, the labeling rules will be re-evaluated for the conversations.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1AnnotatorSelector": {
      "id": "GoogleCloudContactcenterinsightsV1AnnotatorSelector",
      "description": "Selector of all available annotators and phrase matchers to run.",
      "type": "object",
      "properties": {
        "runInterruptionAnnotator": {
          "description": "Whether to run the interruption annotator.",
          "type": "boolean"
        },
        "runSilenceAnnotator": {
          "description": "Whether to run the silence annotator.",
          "type": "boolean"
        },
        "runPhraseMatcherAnnotator": {
          "description": "Whether to run the active phrase matcher annotator(s).",
          "type": "boolean"
        },
        "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}",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "runSentimentAnnotator": {
          "description": "Whether to run the sentiment annotator.",
          "type": "boolean"
        },
        "runEntityAnnotator": {
          "description": "Whether to run the entity annotator.",
          "type": "boolean"
        },
        "runIntentAnnotator": {
          "description": "Whether to run the intent 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"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "runSummarizationAnnotator": {
          "description": "Whether to run the summarization annotator.",
          "type": "boolean"
        },
        "summarizationConfig": {
          "description": "Configuration for the summarization annotator.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig"
        },
        "runQaAnnotator": {
          "description": "Whether to run the QA annotator.",
          "type": "boolean"
        },
        "qaConfig": {
          "description": "Configuration for the QA annotator.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig"
        },
        "runAutoLabelingAnnotator": {
          "description": "Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig": {
      "id": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig",
      "description": "Configuration for summarization.",
      "type": "object",
      "properties": {
        "conversationProfile": {
          "description": "Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}",
          "type": "string"
        },
        "summarizationModel": {
          "description": "Default summarization model to be used.",
          "type": "string",
          "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."
          ],
          "enumDeprecated": [
            false,
            true,
            true
          ],
          "enum": [
            "SUMMARIZATION_MODEL_UNSPECIFIED",
            "BASELINE_MODEL",
            "BASELINE_MODEL_V2_0"
          ]
        },
        "generator": {
          "description": "The resource name of the existing created generator. Format: projects//locations//generators/",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig": {
      "id": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig",
      "description": "Configuration for the QA feature.",
      "type": "object",
      "properties": {
        "scorecardList": {
          "description": "A manual list of scorecards to score.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList": {
      "id": "GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfigScorecardList",
      "description": "Container for a list of scorecards.",
      "type": "object",
      "properties": {
        "qaScorecardRevisions": {
          "description": "List of QaScorecardRevisions.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse",
      "description": "The response for a bulk analyze conversations operation.",
      "type": "object",
      "properties": {
        "successfulAnalysisCount": {
          "description": "Count of successful analyses.",
          "type": "integer",
          "format": "int32"
        },
        "failedAnalysisCount": {
          "description": "Count of failed analyses.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata",
      "description": "The metadata for a bulk delete conversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for bulk delete.",
          "$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest"
        },
        "partialErrors": {
          "description": "Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest",
      "description": "The request to delete conversations in bulk.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
          "type": "string"
        },
        "filter": {
          "description": "Filter used to select the subset of conversations to delete.",
          "type": "string"
        },
        "maxDeleteCount": {
          "description": "Maximum number of conversations to delete.",
          "type": "integer",
          "format": "int32"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse",
      "description": "The response for a bulk delete conversations operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata",
      "description": "Metadata for the BulkDeleteFeedbackLabels endpoint.",
      "type": "object",
      "properties": {
        "request": {
          "description": "Output only. The original request for delete.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest"
        },
        "partialErrors": {
          "description": "Partial errors during deletion operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest",
      "description": "Request for the BulkDeleteFeedbackLabels endpoint.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource for new feedback 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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse",
      "description": "Response for the BulkDeleteFeedbackLabels endpoint.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata",
      "description": "Metadata for the BulkDownloadFeedbackLabel endpoint.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for download.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest"
        },
        "partialErrors": {
          "description": "Partial errors during ingest operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "downloadStats": {
          "description": "Output only. Statistics for BulkDownloadFeedbackLabels operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest",
      "description": "Request for the BulkDownloadFeedbackLabel endpoint.",
      "type": "object",
      "properties": {
        "gcsDestination": {
          "description": "A cloud storage bucket destination.",
          "$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestGcsDestination"
        },
        "sheetsDestination": {
          "description": "A sheets document destination.",
          "$ref": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination"
        },
        "parent": {
          "description": "Required. The parent resource for new feedback 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"
        },
        "maxDownloadCount": {
          "description": "Optional. Limits the maximum number of feedback labels that will be downloaded. The first `N` feedback labels will be downloaded.",
          "type": "integer",
          "format": "int32"
        },
        "feedbackLabelType": {
          "description": "Optional. The type of feedback labels that will be downloaded.",
          "type": "string",
          "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."
          ],
          "enum": [
            "FEEDBACK_LABEL_TYPE_UNSPECIFIED",
            "QUALITY_AI",
            "TOPIC_MODELING",
            "AGENT_ASSIST_SUMMARY"
          ]
        },
        "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"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestGcsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestGcsDestination",
      "description": "Google Cloud Storage Object details to write the feedback labels to.",
      "type": "object",
      "properties": {
        "format": {
          "description": "Required. File format in which the labels will be exported.",
          "type": "string",
          "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."
          ],
          "enum": [
            "FORMAT_UNSPECIFIED",
            "CSV",
            "JSON"
          ]
        },
        "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"
        },
        "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"
        },
        "recordsPerFileCount": {
          "description": "Optional. The number of records per file. Applicable for either format.",
          "type": "string",
          "format": "int64"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination",
      "description": "Google Sheets document details to write the feedback labels to.",
      "type": "object",
      "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. The spreadsheet ID written to will be returned as `file_names` in the BulkDownloadFeedbackLabelsMetadata.",
          "type": "string"
        },
        "sheetTitle": {
          "description": "Optional. The title of the new sheet to write the feedback labels to.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadataDownloadStats",
      "description": "Statistics for BulkDownloadFeedbackLabels operation.",
      "type": "object",
      "properties": {
        "processedObjectCount": {
          "description": "The number of objects processed during the download operation.",
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        },
        "totalFilesWritten": {
          "description": "Total number of files written to the provided Cloud Storage bucket.",
          "type": "integer",
          "format": "int32"
        },
        "fileNames": {
          "description": "Output only. Full name of the files written to Cloud storage.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsResponse",
      "description": "Response for the BulkDownloadFeedbackLabel endpoint.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata",
      "description": "Metadata for a create analysis operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "conversation": {
          "description": "Output only. The Conversation that this Analysis Operation belongs to.",
          "readOnly": true,
          "type": "string"
        },
        "annotatorSelector": {
          "description": "Output only. The annotator selector used for the analysis (if any).",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelector"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1CreateIssueMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1CreateIssueMetadata",
      "description": "Metadata for creating an issue.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for creation.",
          "$ref": "GoogleCloudContactcenterinsightsV1CreateIssueRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1CreateIssueRequest": {
      "id": "GoogleCloudContactcenterinsightsV1CreateIssueRequest",
      "description": "The request to create an issue.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the issue.",
          "type": "string"
        },
        "issue": {
          "description": "Required. The values for the new issue.",
          "$ref": "GoogleCloudContactcenterinsightsV1Issue"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1Issue": {
      "id": "GoogleCloudContactcenterinsightsV1Issue",
      "description": "The issue resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
          "type": "string"
        },
        "displayName": {
          "description": "The representative name for the issue.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this issue was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time that this issue was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "sampleUtterances": {
          "description": "Output only. Resource names of the sample representative utterances that match to this issue.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "displayDescription": {
          "description": "Representative description of the issue.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata",
      "description": "Metadata for creating an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for creation.",
          "$ref": "GoogleCloudContactcenterinsightsV1CreateIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1CreateIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1CreateIssueModelRequest",
      "description": "The request to create an issue model.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the issue model.",
          "type": "string"
        },
        "issueModel": {
          "description": "Required. The issue model to create.",
          "$ref": "GoogleCloudContactcenterinsightsV1IssueModel"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IssueModel": {
      "id": "GoogleCloudContactcenterinsightsV1IssueModel",
      "description": "The issue model resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
          "type": "string"
        },
        "displayName": {
          "description": "The representative name for the issue model.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this issue model was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the issue model was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "issueCount": {
          "description": "Output only. Number of issues in this issue model.",
          "readOnly": true,
          "type": "string",
          "format": "int64"
        },
        "state": {
          "description": "Output only. State of the model.",
          "readOnly": true,
          "type": "string",
          "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."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "UNDEPLOYED",
            "DEPLOYING",
            "DEPLOYED",
            "UNDEPLOYING",
            "DELETING"
          ]
        },
        "inputDataConfig": {
          "description": "Configs for the input data that used to create the issue model.",
          "$ref": "GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig"
        },
        "trainingStats": {
          "description": "Output only. Immutable. The issue model's label statistics on its training data.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1IssueModelLabelStats"
        },
        "modelType": {
          "description": "Type of the model.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified model type.",
            "Type V1.",
            "Type V2."
          ],
          "enum": [
            "MODEL_TYPE_UNSPECIFIED",
            "TYPE_V1",
            "TYPE_V2"
          ]
        },
        "languageCode": {
          "description": "Language of the model.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig": {
      "id": "GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig",
      "description": "Configs for the input data used to create the issue model.",
      "type": "object",
      "properties": {
        "medium": {
          "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`.",
          "deprecated": true,
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "The format for conversations that took place over the phone.",
            "The format for conversations that took place over chat."
          ],
          "enum": [
            "MEDIUM_UNSPECIFIED",
            "PHONE_CALL",
            "CHAT"
          ]
        },
        "trainingConversationsCount": {
          "description": "Output only. Number of conversations used in training. Output only.",
          "readOnly": true,
          "type": "string",
          "format": "int64"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IssueModelLabelStats": {
      "id": "GoogleCloudContactcenterinsightsV1IssueModelLabelStats",
      "description": "Aggregated statistics about an issue model.",
      "type": "object",
      "properties": {
        "analyzedConversationsCount": {
          "description": "Number of conversations the issue model has analyzed at this point in time.",
          "type": "string",
          "format": "int64"
        },
        "unclassifiedConversationsCount": {
          "description": "Number of analyzed conversations for which no issue was applicable at this point in time.",
          "type": "string",
          "format": "int64"
        },
        "issueStats": {
          "description": "Statistics on each issue. Key is the issue's resource name.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats": {
      "id": "GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats",
      "description": "Aggregated statistics about an issue.",
      "type": "object",
      "properties": {
        "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.",
          "type": "string",
          "format": "int64"
        },
        "displayName": {
          "description": "Display name of the issue.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata",
      "description": "Metadata for deleting an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for deletion.",
          "$ref": "GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest",
      "description": "The request to delete an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The name of the issue model to delete.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata",
      "description": "The metadata for deleting a QaQuestionTag Resource.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest": {
      "id": "GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest",
      "description": "The request for deleting a QaQuestionTag.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The name of the QaQuestionTag to delete.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata",
      "description": "Metadata for deploying an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for deployment.",
          "$ref": "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1DeployIssueModelRequest",
      "description": "The request to deploy an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The issue model to deploy.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DeployIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1DeployIssueModelResponse",
      "description": "The response to deploy an issue model.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata",
      "description": "Metadata for a DiagnoseConversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The request that created the operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest"
        },
        "partialTrajectories": {
          "description": "Output only. Deprecated: Use partial_trajectory_steps instead. Output only. The intermediate trajectory updates (partial trajectory).",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "diagnosticReport": {
          "description": "Output only. The diagnostic report containing metrics and intent breakdowns.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DiagnosticReport"
        },
        "metricType": {
          "description": "Output only. The type of metric being diagnosed.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Metric type is unspecified.",
            "Escalation rate.",
            "Containment rate."
          ],
          "enum": [
            "DIAGNOSTIC_METRIC_TYPE_UNSPECIFIED",
            "ESCALATION",
            "CONTAINMENT"
          ]
        },
        "fullReport": {
          "description": "Output only. If true, the agent generated a full diagnostic report for all sub-agents.",
          "readOnly": true,
          "type": "boolean"
        },
        "latestStep": {
          "description": "Output only. The most recent thought or action from the agent.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1SherlockStep"
        },
        "partialTrajectorySteps": {
          "description": "Output only. The intermediate trajectory updates. This can be used for live progress tracking of the agent's thoughts and actions as it works through the analysis.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1SherlockStep"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest",
      "description": "The request to analyze conversation data using agentic workflows. This RPC triggers a complex analysis process that may involve several steps of reasoning and tool execution.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource where the analysis will be performed.",
          "type": "string"
        },
        "taskQuery": {
          "description": "Optional. A natural language description of the analysis goal or question.",
          "type": "string"
        },
        "filter": {
          "description": "Optional. AIP-160 compliant filter for selecting target conversations.",
          "type": "string"
        },
        "instructions": {
          "description": "Optional. Specific instructions for the agent.",
          "type": "string"
        },
        "maxSteps": {
          "description": "Optional. The maximum number of steps the agent can take during the execution of the task. Defaults to 10.",
          "type": "integer",
          "format": "int32"
        },
        "outputConfig": {
          "description": "Optional. Deprecated: The configuration for the output of the task. The export destination is unused. Detailed markdown and conversation slices are already persisted inside the Diagnostic resource instead.",
          "deprecated": true,
          "$ref": "GoogleCloudContactcenterinsightsV1OutputConfig"
        },
        "requestId": {
          "description": "Optional. Required. A unique ID that identifies the request. If the service receives two `DiagnoseConversationsRequest`s with the same `request_id`, then the second request will be ignored; instead, the response of the first request will be returned. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
          "type": "string"
        },
        "validateOnly": {
          "description": "Optional. If true, the request will only be validated (permissions, filter syntax, etc.) without actually triggering the analysis.",
          "type": "boolean"
        },
        "dryRun": {
          "description": "Optional. Deprecated: If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. This field is unused. Use validate_only instead.",
          "deprecated": true,
          "type": "boolean"
        },
        "metricType": {
          "description": "Optional. The type of metric being diagnosed.",
          "type": "string",
          "enumDescriptions": [
            "Metric type is unspecified.",
            "Escalation rate.",
            "Containment rate."
          ],
          "enum": [
            "DIAGNOSTIC_METRIC_TYPE_UNSPECIFIED",
            "ESCALATION",
            "CONTAINMENT"
          ]
        },
        "fullReport": {
          "description": "Optional. Deprecated: If true, the agent will generate a full diagnostic report for all sub-agents. Subagent reporting configuration is unused. The final diagnostic details are already persisted inside the Diagnostic resource instead.",
          "deprecated": true,
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1OutputConfig": {
      "id": "GoogleCloudContactcenterinsightsV1OutputConfig",
      "description": "Configuration for where to export or return the analysis findings.",
      "type": "object",
      "properties": {
        "googleSheetsDestination": {
          "description": "Optional. Export directly to a Google Sheet.",
          "$ref": "GoogleCloudContactcenterinsightsV1OutputConfigGoogleSheetsDestination"
        },
        "gcsDestination": {
          "description": "Optional. Export to a Cloud Storage bucket.",
          "$ref": "GoogleCloudContactcenterinsightsV1OutputConfigGcsDestination"
        },
        "bigqueryDestination": {
          "description": "Optional. Export to BigQuery.",
          "$ref": "GoogleCloudContactcenterinsightsV1OutputConfigBigQueryDestination"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1OutputConfigGoogleSheetsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1OutputConfigGoogleSheetsDestination",
      "description": "Google Sheets destination configuration.",
      "type": "object",
      "properties": {
        "spreadsheetId": {
          "description": "Optional. An existing Google Sheets ID.",
          "type": "string"
        },
        "sheet": {
          "description": "Optional. The sheet name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1OutputConfigGcsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1OutputConfigGcsDestination",
      "description": "Cloud Storage destination configuration.",
      "type": "object",
      "properties": {
        "uri": {
          "description": "Required. The Cloud Storage URI to export the results to.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1OutputConfigBigQueryDestination": {
      "id": "GoogleCloudContactcenterinsightsV1OutputConfigBigQueryDestination",
      "description": "BigQuery destination configuration.",
      "type": "object",
      "properties": {
        "projectId": {
          "description": "Optional. A project ID or number.",
          "type": "string"
        },
        "dataset": {
          "description": "Required. The name of the BigQuery dataset.",
          "type": "string"
        },
        "table": {
          "description": "Required. The BigQuery table name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DiagnosticReport": {
      "id": "GoogleCloudContactcenterinsightsV1DiagnosticReport",
      "description": "A diagnostic report containing aggregate metrics and intent breakdowns.",
      "type": "object",
      "properties": {
        "metrics": {
          "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.",
          "readOnly": true,
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1MetricValue"
          }
        },
        "intentStats": {
          "description": "Output only. Deprecated: Intent breakdowns are no longer used.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1DiagnosticReportIntentStats"
          }
        },
        "lossPatterns": {
          "description": "Output only. A list of loss patterns identified for the entire project/dataset.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1LossPattern"
          }
        },
        "report": {
          "description": "Output only. The final report in markdown format.",
          "readOnly": true,
          "type": "string"
        },
        "conversationSlices": {
          "description": "Output only. A map of conversation slices used in the report.",
          "readOnly": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1MetricValue": {
      "id": "GoogleCloudContactcenterinsightsV1MetricValue",
      "deprecated": true,
      "description": "Deprecated: MetricValue is no longer used for diagnostics.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "Output only. The user-visible name of the metric (e.g., \"Containment Rate\").",
          "readOnly": true,
          "type": "string"
        },
        "value": {
          "description": "Output only. The calculated value of the metric (usually a ratio or rate 0.0 - 1.0).",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "hitCount": {
          "description": "Output only. The number of positive matches (hits) for this metric.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "totalCount": {
          "description": "Output only. The total number of items evaluated for this metric.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "sourceId": {
          "description": "Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.",
          "readOnly": true,
          "type": "string"
        },
        "conversations": {
          "description": "Output only. The list of conversation names that contributed to this metric (hits). Format: `projects/{project}/locations/{location}/conversations/{conversation}`",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "metricType": {
          "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Metric type is unspecified.",
            "Escalation rate.",
            "Containment rate."
          ],
          "enum": [
            "METRIC_TYPE_UNSPECIFIED",
            "ESCALATION",
            "CONTAINMENT"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DiagnosticReportIntentStats": {
      "id": "GoogleCloudContactcenterinsightsV1DiagnosticReportIntentStats",
      "description": "A breakdown of metrics grouped by intent.",
      "type": "object",
      "properties": {
        "intentId": {
          "description": "Output only. The unique identifier for the intent (from Discovery Engine).",
          "readOnly": true,
          "type": "string"
        },
        "intentDisplayName": {
          "description": "Output only. The display name of the intent.",
          "readOnly": true,
          "type": "string"
        },
        "conversationCount": {
          "description": "Output only. The number of conversations associated with this intent.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "metrics": {
          "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.",
          "readOnly": true,
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1MetricValue"
          }
        },
        "lossPatterns": {
          "description": "Output only. A list of loss patterns identified for this intent.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1LossPattern"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1LossPattern": {
      "id": "GoogleCloudContactcenterinsightsV1LossPattern",
      "description": "A loss pattern of a virtual agent and suggested fixes.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Output only. The unique identifier for the loss pattern.",
          "readOnly": true,
          "type": "string"
        },
        "displayName": {
          "description": "Output only. The display name of the loss pattern.",
          "readOnly": true,
          "type": "string"
        },
        "percentage": {
          "description": "Output only. The percentage of conversations that match this loss pattern.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "conversationIds": {
          "description": "Output only. A list of conversation IDs that match this loss pattern.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "description": {
          "description": "Output only. A markdown description of the loss pattern.",
          "readOnly": true,
          "type": "string"
        },
        "examples": {
          "description": "Output only. A markdown of loss pattern examples.",
          "readOnly": true,
          "type": "string"
        },
        "suggestedFixes": {
          "description": "Output only. A markdown description of the suggested fixes.",
          "readOnly": true,
          "type": "string"
        },
        "links": {
          "description": "Output only. A list of links to conversations or bot instructions.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1LossPatternLink"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1LossPatternLink": {
      "id": "GoogleCloudContactcenterinsightsV1LossPatternLink",
      "description": "A link to a conversation or bot instruction.",
      "type": "object",
      "properties": {
        "conversationLink": {
          "description": "A link to a conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink"
        },
        "botInstructionLink": {
          "description": "A link to a bot instruction.",
          "$ref": "GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink"
        },
        "locationType": {
          "description": "The location type.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified location type.",
            "The link applies to the description field.",
            "The link applies to the suggested_fixes field.",
            "The link applies to the examples field."
          ],
          "enum": [
            "LOCATION_TYPE_UNSPECIFIED",
            "DESCRIPTION",
            "SUGGESTED_FIXES",
            "EXAMPLES"
          ]
        },
        "startByteIndex": {
          "description": "The start byte index of the highlighted text (inclusive).",
          "type": "integer",
          "format": "int32"
        },
        "endByteIndex": {
          "description": "The end byte index of the highlighted text (exclusive).",
          "type": "integer",
          "format": "int32"
        },
        "highlightedText": {
          "description": "The text that is highlighted. (populated for debugging purposes)",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink": {
      "id": "GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink",
      "description": "A link to a conversation.",
      "type": "object",
      "properties": {
        "conversationId": {
          "description": "The conversation ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink": {
      "id": "GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink",
      "description": "A link to a bot instruction.",
      "type": "object",
      "properties": {
        "startLine": {
          "description": "The inclusive start line number of the instructions.",
          "type": "integer",
          "format": "int32"
        },
        "endLine": {
          "description": "The exclusive end line number of the instructions.",
          "type": "integer",
          "format": "int32"
        },
        "subagent": {
          "description": "The name of the subagent.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice": {
      "id": "GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice",
      "description": "Output only. A map of conversation slices used in the report.",
      "type": "object",
      "properties": {
        "conversationIds": {
          "description": "The list of conversation IDs that match this slice.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SherlockStep": {
      "id": "GoogleCloudContactcenterinsightsV1SherlockStep",
      "description": "A step in the agent's reasoning process (Trajectory Step).",
      "type": "object",
      "properties": {
        "thought": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "string"
        },
        "toolCalls": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ToolCall"
          }
        },
        "toolOutput": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "textInput": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "stepId": {
          "description": "Output only. Unique ID for this specific turn.",
          "readOnly": true,
          "type": "string"
        },
        "agentId": {
          "description": "Output only. The ID of the agent that produced/received this content.",
          "readOnly": true,
          "type": "string"
        },
        "content": {
          "description": "Output only. The content of the turn (either Model or User role).",
          "readOnly": true,
          "$ref": "GoogleCloudAiplatformV1Content"
        },
        "stateDeltas": {
          "description": "Output only. List of state changes caused by this specific turn.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object."
            }
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ToolCall": {
      "id": "GoogleCloudContactcenterinsightsV1ToolCall",
      "description": "A tool call from the agent.",
      "type": "object",
      "properties": {
        "toolName": {
          "description": "Output only. The name of the tool being called.",
          "readOnly": true,
          "type": "string"
        },
        "input": {
          "description": "Output only. The input arguments to the tool.",
          "readOnly": true,
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudAiplatformV1Content": {
      "id": "GoogleCloudAiplatformV1Content",
      "description": "The structured data content of a message. A Content message contains a `role` field, which indicates the producer of the content, and a `parts` field, which contains the multi-part data of the message.",
      "type": "object",
      "properties": {
        "role": {
          "description": "Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'.",
          "type": "string"
        },
        "parts": {
          "description": "Required. A list of Part objects that make up a single message. Parts of a message can have different MIME types. A Content message must have at least one Part.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudAiplatformV1Part"
          }
        }
      }
    },
    "GoogleCloudAiplatformV1Part": {
      "id": "GoogleCloudAiplatformV1Part",
      "description": "A datatype containing media that is part of a multi-part Content message. A `Part` consists of data which has an associated datatype. A `Part` can only contain one of the accepted types in `Part.data`. For media types that are not text, `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes.",
      "type": "object",
      "properties": {
        "text": {
          "description": "Optional. The text content of the part. When sent from the VSCode Gemini Code Assist extension, references to @mentioned items will be converted to markdown boldface text. For example `@my-repo` will be converted to and sent as `**my-repo**` by the IDE agent.",
          "type": "string"
        },
        "inlineData": {
          "description": "Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.",
          "$ref": "GoogleCloudAiplatformV1Blob"
        },
        "fileData": {
          "description": "Optional. The URI-based data of the part. This can be used to include files from Google Cloud Storage.",
          "$ref": "GoogleCloudAiplatformV1FileData"
        },
        "functionCall": {
          "description": "Optional. A predicted function call returned from the model. This contains the name of the function to call and the arguments to pass to the function.",
          "$ref": "GoogleCloudAiplatformV1FunctionCall"
        },
        "functionResponse": {
          "description": "Optional. The result of a function call. This is used to provide the model with the result of a function call that it predicted.",
          "$ref": "GoogleCloudAiplatformV1FunctionResponse"
        },
        "executableCode": {
          "description": "Optional. Code generated by the model that is intended to be executed.",
          "$ref": "GoogleCloudAiplatformV1ExecutableCode"
        },
        "codeExecutionResult": {
          "description": "Optional. The result of executing the ExecutableCode.",
          "$ref": "GoogleCloudAiplatformV1CodeExecutionResult"
        },
        "videoMetadata": {
          "description": "Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.",
          "$ref": "GoogleCloudAiplatformV1VideoMetadata"
        },
        "thought": {
          "description": "Optional. Indicates whether the `part` represents the model's thought process or reasoning.",
          "type": "boolean"
        },
        "thoughtSignature": {
          "description": "Optional. An opaque signature for the thought so it can be reused in subsequent requests.",
          "type": "string",
          "format": "byte"
        },
        "mediaResolution": {
          "description": "per part media resolution. Media resolution for the input media.",
          "$ref": "GoogleCloudAiplatformV1PartMediaResolution"
        }
      }
    },
    "GoogleCloudAiplatformV1Blob": {
      "id": "GoogleCloudAiplatformV1Blob",
      "description": "A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video.",
      "type": "object",
      "properties": {
        "mimeType": {
          "description": "Required. The IANA standard MIME type of the source data.",
          "type": "string"
        },
        "data": {
          "description": "Required. The raw bytes of the data.",
          "type": "string",
          "format": "byte"
        },
        "displayName": {
          "description": "Optional. The display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server-side tools (`code_execution`, `google_search`, and `url_context`) are enabled.",
          "type": "string"
        }
      }
    },
    "GoogleCloudAiplatformV1FileData": {
      "id": "GoogleCloudAiplatformV1FileData",
      "description": "URI-based data. A FileData message contains a URI pointing to data of a specific media type. It is used to represent images, audio, and video stored in Google Cloud Storage.",
      "type": "object",
      "properties": {
        "mimeType": {
          "description": "Required. The IANA standard MIME type of the source data.",
          "type": "string"
        },
        "fileUri": {
          "description": "Required. The URI of the file in Google Cloud Storage.",
          "type": "string"
        },
        "displayName": {
          "description": "Optional. The display name of the file. Used to provide a label or filename to distinguish files. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server side tools (`code_execution`, `google_search`, and `url_context`) are enabled.",
          "type": "string"
        }
      }
    },
    "GoogleCloudAiplatformV1FunctionCall": {
      "id": "GoogleCloudAiplatformV1FunctionCall",
      "description": "A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Optional. The name of the function to call. Matches FunctionDeclaration.name.",
          "type": "string"
        },
        "args": {
          "description": "Optional. The function parameters and values in JSON object format. See FunctionDeclaration.parameters for parameter details.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "partialArgs": {
          "description": "Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudAiplatformV1PartialArg"
          }
        },
        "willContinue": {
          "description": "Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudAiplatformV1PartialArg": {
      "id": "GoogleCloudAiplatformV1PartialArg",
      "description": "Partial argument value of the function call.",
      "type": "object",
      "properties": {
        "nullValue": {
          "description": "Optional. Represents a null value.",
          "type": "string",
          "enumDescriptions": [
            "Null value."
          ],
          "enum": [
            "NULL_VALUE"
          ]
        },
        "numberValue": {
          "description": "Optional. Represents a double value.",
          "type": "number",
          "format": "double"
        },
        "stringValue": {
          "description": "Optional. Represents a string value.",
          "type": "string"
        },
        "boolValue": {
          "description": "Optional. Represents a boolean value.",
          "type": "boolean"
        },
        "jsonPath": {
          "description": "Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. \"$.foo.bar[0].data\".",
          "type": "string"
        },
        "willContinue": {
          "description": "Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudAiplatformV1FunctionResponse": {
      "id": "GoogleCloudAiplatformV1FunctionResponse",
      "description": "The result output from a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a `FunctionCall` made based on model prediction.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The name of the function to call. Matches FunctionDeclaration.name and FunctionCall.name.",
          "type": "string"
        },
        "response": {
          "description": "Required. The function response in JSON object format. Use \"output\" key to specify function output and \"error\" key to specify error details (if any). If \"output\" and \"error\" keys are not specified, then whole \"response\" is treated as function output.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "parts": {
          "description": "Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudAiplatformV1FunctionResponsePart"
          }
        },
        "scheduling": {
          "description": "Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.",
          "type": "string",
          "enumDescriptions": [
            "This value is unused.",
            "Only add the result to the conversation context, do not interrupt or trigger generation.",
            "Add the result to the conversation context, and prompt to generate output without interrupting ongoing generation.",
            "Add the result to the conversation context, interrupt ongoing generation and prompt to generate output."
          ],
          "enum": [
            "SCHEDULING_UNSPECIFIED",
            "SILENT",
            "WHEN_IDLE",
            "INTERRUPT"
          ]
        }
      }
    },
    "GoogleCloudAiplatformV1FunctionResponsePart": {
      "id": "GoogleCloudAiplatformV1FunctionResponsePart",
      "description": "A datatype containing media that is part of a `FunctionResponse` message. A `FunctionResponsePart` consists of data which has an associated datatype. A `FunctionResponsePart` can only contain one of the accepted types in `FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA MIME type identifying the type and subtype of the media if the `inline_data` field is filled with raw bytes.",
      "type": "object",
      "properties": {
        "inlineData": {
          "description": "Inline media bytes.",
          "$ref": "GoogleCloudAiplatformV1FunctionResponseBlob"
        },
        "fileData": {
          "description": "URI based data.",
          "$ref": "GoogleCloudAiplatformV1FunctionResponseFileData"
        }
      }
    },
    "GoogleCloudAiplatformV1FunctionResponseBlob": {
      "id": "GoogleCloudAiplatformV1FunctionResponseBlob",
      "description": "Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text' field.",
      "type": "object",
      "properties": {
        "mimeType": {
          "description": "Required. The IANA standard MIME type of the source data.",
          "type": "string"
        },
        "data": {
          "description": "Required. Raw bytes.",
          "type": "string",
          "format": "byte"
        },
        "displayName": {
          "description": "Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.",
          "type": "string"
        }
      }
    },
    "GoogleCloudAiplatformV1FunctionResponseFileData": {
      "id": "GoogleCloudAiplatformV1FunctionResponseFileData",
      "description": "URI based data for function response.",
      "type": "object",
      "properties": {
        "mimeType": {
          "description": "Required. The IANA standard MIME type of the source data.",
          "type": "string"
        },
        "fileUri": {
          "description": "Required. URI.",
          "type": "string"
        },
        "displayName": {
          "description": "Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.",
          "type": "string"
        }
      }
    },
    "GoogleCloudAiplatformV1ExecutableCode": {
      "id": "GoogleCloudAiplatformV1ExecutableCode",
      "description": "Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the `CodeExecution` tool, in which the code will be automatically executed, and a corresponding CodeExecutionResult will also be generated.",
      "type": "object",
      "properties": {
        "language": {
          "description": "Required. Programming language of the `code`.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified language. This value should not be used.",
            "Python \u003e= 3.10, with numpy and simpy available."
          ],
          "enum": [
            "LANGUAGE_UNSPECIFIED",
            "PYTHON"
          ]
        },
        "code": {
          "description": "Required. The code to be executed.",
          "type": "string"
        }
      }
    },
    "GoogleCloudAiplatformV1CodeExecutionResult": {
      "id": "GoogleCloudAiplatformV1CodeExecutionResult",
      "description": "Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used.",
      "type": "object",
      "properties": {
        "outcome": {
          "description": "Required. Outcome of the code execution.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified status. This value should not be used.",
            "Code execution completed successfully. `output` contains the stdout, if any.",
            "Code execution failed. `output` contains the stderr and stdout, if any.",
            "Code execution ran for too long, and was cancelled. There may or may not be a partial `output` present."
          ],
          "enum": [
            "OUTCOME_UNSPECIFIED",
            "OUTCOME_OK",
            "OUTCOME_FAILED",
            "OUTCOME_DEADLINE_EXCEEDED"
          ]
        },
        "output": {
          "description": "Optional. Contains stdout when code execution is successful, stderr or other description otherwise.",
          "type": "string"
        }
      }
    },
    "GoogleCloudAiplatformV1VideoMetadata": {
      "id": "GoogleCloudAiplatformV1VideoMetadata",
      "description": "Provides metadata for a video, including the start and end offsets for clipping and the frame rate.",
      "type": "object",
      "properties": {
        "startOffset": {
          "description": "Optional. The start offset of the video.",
          "type": "string",
          "format": "google-duration"
        },
        "endOffset": {
          "description": "Optional. The end offset of the video.",
          "type": "string",
          "format": "google-duration"
        },
        "fps": {
          "description": "Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0].",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudAiplatformV1PartMediaResolution": {
      "id": "GoogleCloudAiplatformV1PartMediaResolution",
      "description": "per part media resolution. Media resolution for the input media.",
      "type": "object",
      "properties": {
        "level": {
          "description": "The tokenization quality used for given media.",
          "type": "string",
          "enumDescriptions": [
            "Media resolution has not been set.",
            "Media resolution set to low.",
            "Media resolution set to medium.",
            "Media resolution set to high.",
            "Media resolution set to ultra high. This is for image only."
          ],
          "enum": [
            "MEDIA_RESOLUTION_UNSPECIFIED",
            "MEDIA_RESOLUTION_LOW",
            "MEDIA_RESOLUTION_MEDIUM",
            "MEDIA_RESOLUTION_HIGH",
            "MEDIA_RESOLUTION_ULTRA_HIGH"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse",
      "description": "The response from a DiagnoseConversations request.",
      "type": "object",
      "properties": {
        "answer": {
          "description": "Output only. Deprecated: Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker is deprecated. The persistent analysis summary is stored inside the Diagnostic resource instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "string"
        },
        "fullTrajectories": {
          "description": "Output only. Deprecated: Use full_trajectory_steps instead. Output only. The complete sequence of thoughts and actions (full trajectory).",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "exportUri": {
          "description": "Output only. Deprecated: Output only. If an external destination was requested, the URI of the exported data is deprecated. The persistent diagnostic details are stored inside the Diagnostic resource instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "string"
        },
        "fullTrajectorySteps": {
          "description": "Output only. Deprecated: Output only. The complete sequence of thoughts and actions taken by the agent is deprecated under LRO response completions. Use the persistent details inside the Diagnostic resource instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1SherlockStep"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata",
      "description": "Metadata for an export insights operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for export.",
          "$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest"
        },
        "partialErrors": {
          "description": "Partial errors during export operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "completedExportCount": {
          "description": "The number of conversations that were exported successfully.",
          "type": "integer",
          "format": "int32"
        },
        "failedExportCount": {
          "description": "The number of conversations that failed to be exported.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest": {
      "id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest",
      "description": "The request to export insights.",
      "type": "object",
      "properties": {
        "bigQueryDestination": {
          "description": "Specified if sink is a BigQuery table.",
          "$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination"
        },
        "parent": {
          "description": "Required. The parent resource to export data from.",
          "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"
        },
        "writeDisposition": {
          "description": "Options for what to do if the destination table already exists.",
          "type": "string",
          "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."
          ],
          "enum": [
            "WRITE_DISPOSITION_UNSPECIFIED",
            "WRITE_TRUNCATE",
            "WRITE_APPEND"
          ]
        },
        "exportSchemaVersion": {
          "description": "Optional. Version of the export schema.",
          "type": "string",
          "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."
          ],
          "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"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination": {
      "id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination",
      "description": "A BigQuery Table Reference.",
      "type": "object",
      "properties": {
        "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"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse": {
      "id": "GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse",
      "description": "Response for an export insights operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata",
      "description": "Metadata used for export issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original export request.",
          "$ref": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ExportIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequest",
      "description": "Request to export an issue model.",
      "type": "object",
      "properties": {
        "gcsDestination": {
          "description": "Google Cloud Storage URI to export the issue model to.",
          "$ref": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination"
        },
        "name": {
          "description": "Required. The issue model to export.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination",
      "description": "Google Cloud Storage Object URI to save the issue model to.",
      "type": "object",
      "properties": {
        "objectUri": {
          "description": "Required. Format: `gs:///`",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ExportIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1ExportIssueModelResponse",
      "description": "Response from export issue model",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata",
      "description": "The metadata for generative insights.",
      "type": "object",
      "properties": {
        "errorMessages": {
          "description": "The error message when the generative insights request fails.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponse",
      "description": "The response for generative insights.",
      "type": "object",
      "properties": {
        "generativeResponses": {
          "description": "The full list of generative responses. Each response is ordered by time.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse"
          }
        },
        "transcript": {
          "description": "The transcript of the generative insights conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse": {
      "id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse",
      "description": "Wrapper for storing the generative response for a chart.",
      "type": "object",
      "properties": {
        "textOutput": {
          "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.",
          "deprecated": true,
          "type": "string"
        },
        "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"
        },
        "chartSpec": {
          "description": "The chart spec for the data. This will be specified in the vega-lite or vega format.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "textMessage": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput": {
      "id": "GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput",
      "description": "Wrapper for text output.",
      "type": "object",
      "properties": {
        "text": {
          "description": "The text output from the LLM.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "textType": {
          "description": "The type of text output.",
          "type": "string",
          "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."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "THOUGHT",
            "FINAL_RESPONSE",
            "PROGRESS"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript": {
      "id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript",
      "description": "The conversation transcript for the chart.",
      "type": "object",
      "properties": {
        "conversationId": {
          "description": "The conversation id of the chart.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The create time of the conversation.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The update time of the conversation.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "messages": {
          "description": "Ordered list of messages, including user inputs and system responses.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage": {
      "id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage",
      "description": "The message in the conversation.",
      "type": "object",
      "properties": {
        "userMessage": {
          "description": "A message from the user that is interacting with the system.",
          "$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage"
        },
        "systemMessageWrapper": {
          "description": "A wrapper for system messages per turn.",
          "$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages"
        },
        "messageId": {
          "description": "The message id of the message.",
          "type": "string"
        },
        "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.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage": {
      "id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage",
      "description": "The user message.",
      "type": "object",
      "properties": {
        "text": {
          "description": "A message from the user that is interacting with the system.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages": {
      "id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages",
      "description": "A wrapper for system messages per turn.",
      "type": "object",
      "properties": {
        "systemMessages": {
          "description": "A message from the system in response to the user.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage": {
      "id": "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.",
      "type": "object",
      "properties": {
        "textMessage": {
          "description": "A direct natural language response to the user message.",
          "$ref": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput"
        },
        "generatedSqlQuery": {
          "description": "Raw SQL from LLM, before templatization",
          "type": "string"
        },
        "chartSpec": {
          "description": "Chart spec from LLM",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "userProvidedSqlQuery": {
          "description": "Optional. User provided SQL query",
          "type": "string"
        },
        "userProvidedChartSpec": {
          "description": "Optional. User provided chart spec",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput": {
      "id": "GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput",
      "description": "A text output message from the system.",
      "type": "object",
      "properties": {
        "text": {
          "description": "The parts of the message.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "textType": {
          "description": "The type of the text message.",
          "type": "string",
          "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."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "THOUGHT",
            "FINAL_RESPONSE",
            "PROGRESS"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata",
      "description": "Metadata used for import issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original import request.",
          "$ref": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ImportIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequest",
      "description": "Request to import an issue model.",
      "type": "object",
      "properties": {
        "gcsSource": {
          "description": "Google Cloud Storage source message.",
          "$ref": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource"
        },
        "parent": {
          "description": "Required. The parent resource of the issue model.",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource",
      "description": "Google Cloud Storage Object URI to get the issue model file from.",
      "type": "object",
      "properties": {
        "objectUri": {
          "description": "Required. Format: `gs:///`",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ImportIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1ImportIssueModelResponse",
      "description": "Response from import issue model",
      "type": "object",
      "properties": {
        "issueModel": {
          "description": "The issue model that was imported.",
          "$ref": "GoogleCloudContactcenterinsightsV1IssueModel"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IngestConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1IngestConversationsMetadata",
      "description": "The metadata for an IngestConversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for ingest.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest"
        },
        "partialErrors": {
          "description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "ingestConversationsStats": {
          "description": "Output only. Statistics for IngestConversations operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats"
        },
        "sampledConversations": {
          "description": "Output only. Stores the conversation resources produced by ingest sampling operations.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IngestConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest",
      "description": "The request to ingest conversations.",
      "type": "object",
      "properties": {
        "gcsSource": {
          "description": "A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.",
          "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource"
        },
        "transcriptObjectConfig": {
          "description": "Configuration for when `source` contains conversation transcripts.",
          "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig"
        },
        "parent": {
          "description": "Required. The parent resource for new conversations.",
          "type": "string"
        },
        "conversationConfig": {
          "description": "Configuration that applies to all conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig"
        },
        "redactionConfig": {
          "description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig"
        },
        "speechConfig": {
          "description": "Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1SpeechConfig"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource",
      "description": "Configuration for Cloud Storage bucket sources.",
      "type": "object",
      "properties": {
        "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"
        },
        "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`.",
          "type": "string",
          "enumDescriptions": [
            "The object type is unspecified and will default to `TRANSCRIPT`.",
            "The object is a transcript.",
            "The object is an audio file."
          ],
          "enum": [
            "BUCKET_OBJECT_TYPE_UNSPECIFIED",
            "TRANSCRIPT",
            "AUDIO"
          ]
        },
        "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"
        },
        "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"
        },
        "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"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig": {
      "id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig",
      "description": "Configuration for processing transcript objects.",
      "type": "object",
      "properties": {
        "medium": {
          "description": "Required. The medium transcript objects represent.",
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "The format for conversations that took place over the phone.",
            "The format for conversations that took place over chat."
          ],
          "enum": [
            "MEDIUM_UNSPECIFIED",
            "PHONE_CALL",
            "CHAT"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig": {
      "id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig",
      "description": "Configuration that applies to all conversations.",
      "type": "object",
      "properties": {
        "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"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1RedactionConfig": {
      "id": "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.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SpeechConfig": {
      "id": "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.",
      "type": "object",
      "properties": {
        "speechRecognizer": {
          "description": "The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats": {
      "id": "GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats",
      "description": "Statistics for IngestConversations operation.",
      "type": "object",
      "properties": {
        "processedObjectCount": {
          "description": "Output only. The number of objects processed during the ingest operation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "duplicatesSkippedCount": {
          "description": "Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "successfulIngestCount": {
          "description": "Output only. The number of new conversations added during this ingest operation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IngestConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1IngestConversationsResponse",
      "description": "The response to an IngestConversations operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata",
      "description": "Metadata for initializing a location-level encryption specification.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for initialization.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest"
        },
        "partialErrors": {
          "description": "Partial errors during initializing operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest": {
      "id": "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest",
      "description": "The request to initialize a location-level encryption specification.",
      "type": "object",
      "properties": {
        "encryptionSpec": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1EncryptionSpec"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1EncryptionSpec": {
      "id": "GoogleCloudContactcenterinsightsV1EncryptionSpec",
      "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`).",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecResponse": {
      "id": "GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecResponse",
      "description": "The response to initialize a location-level encryption specification.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse",
      "description": "The response for listing all feedback labels.",
      "type": "object",
      "properties": {
        "feedbackLabels": {
          "description": "The feedback labels that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1FeedbackLabel": {
      "id": "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.",
      "type": "object",
      "properties": {
        "label": {
          "description": "String label used for Topic Modeling.",
          "type": "string"
        },
        "qaAnswerLabel": {
          "description": "QaAnswer label used for Quality AI example conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue"
        },
        "name": {
          "description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
          "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"
        },
        "createTime": {
          "description": "Output only. Create time of the label.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Update time of the label.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue": {
      "id": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue",
      "description": "Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.",
      "type": "object",
      "properties": {
        "strValue": {
          "description": "String value.",
          "type": "string"
        },
        "numValue": {
          "description": "Numerical value.",
          "type": "number",
          "format": "double"
        },
        "boolValue": {
          "description": "Boolean value.",
          "type": "boolean"
        },
        "naValue": {
          "description": "A value of \"Not Applicable (N/A)\". Should only ever be `true`.",
          "type": "boolean"
        },
        "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"
        },
        "key": {
          "description": "A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.",
          "type": "string"
        },
        "score": {
          "description": "Output only. Numerical score of the answer.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "Output only. The maximum potential score of the question.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "Output only. Normalized score of the questions. Calculated as score / potential_score.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse",
      "description": "The response for listing feedback labels.",
      "type": "object",
      "properties": {
        "feedbackLabels": {
          "description": "The feedback labels that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
          }
        },
        "nextPageToken": {
          "description": "The next page token.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryMetricsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1QueryMetricsMetadata",
      "description": "The metadata from querying metrics.",
      "type": "object",
      "properties": {
        "resultIsTruncated": {
          "description": "Whether the result rows were truncated because the result row size is too large to materialize.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryMetricsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponse",
      "description": "The response for querying metrics.",
      "type": "object",
      "properties": {
        "location": {
          "description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
          "type": "string"
        },
        "updateTime": {
          "description": "The metrics last update time.",
          "type": "string",
          "format": "google-datetime"
        },
        "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice"
          }
        },
        "macroAverageSlice": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice": {
      "id": "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 -\u003e dimensions=[Issue 1] * Slice 2 -\u003e dimensions=[Issue 2]",
      "type": "object",
      "properties": {
        "dimensions": {
          "description": "A unique combination of dimensions that this slice represents.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1Dimension"
          }
        },
        "total": {
          "description": "The total metric value. The interval of this data point is [starting create time, ending create time) from the request.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint"
        },
        "timeSeries": {
          "description": "A time series of metric values. This is only populated if the request specifies a time granularity other than NONE.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1Dimension": {
      "id": "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.",
      "type": "object",
      "properties": {
        "issueDimensionMetadata": {
          "description": "Output only. Metadata about the issue dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata"
        },
        "agentDimensionMetadata": {
          "description": "Output only. Metadata about the agent dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata"
        },
        "qaQuestionDimensionMetadata": {
          "description": "Output only. Metadata about the QA question dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata"
        },
        "qaQuestionAnswerDimensionMetadata": {
          "description": "Output only. Metadata about the QA question-answer dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata"
        },
        "qaScorecardDimensionMetadata": {
          "description": "Output only. Metadata about the QA scorecard dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata"
        },
        "conversationProfileDimensionMetadata": {
          "description": "Output only. Metadata about the conversation profile dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata"
        },
        "mediumDimensionMetadata": {
          "description": "Output only. Metadata about the conversation medium dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata"
        },
        "conversationalAgentsPlaybookDimensionMetadata": {
          "description": "Output only. Metadata about the Conversational Agents playbook dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata"
        },
        "conversationalAgentsToolDimensionMetadata": {
          "description": "Output only. Metadata about the Conversational Agents tool dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata"
        },
        "clientSentimentCategoryDimensionMetadata": {
          "description": "Output only. Metadata about the client sentiment category dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata"
        },
        "labelDimensionMetadata": {
          "description": "Output only. Metadata about conversation labels.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata"
        },
        "dimensionKey": {
          "description": "The key of the dimension.",
          "type": "string",
          "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.",
            "The dimension is keyed by the last transfer sub agent name."
          ],
          "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",
            "LAST_TRANSFER_SUB_AGENT_NAME"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata",
      "description": "Metadata about the issue dimension.",
      "type": "object",
      "properties": {
        "issueId": {
          "description": "The issue ID.",
          "type": "string"
        },
        "issueDisplayName": {
          "description": "The issue display name.",
          "type": "string"
        },
        "issueModelId": {
          "description": "The parent issue model ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata",
      "description": "Metadata about the agent dimension.",
      "type": "object",
      "properties": {
        "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"
        },
        "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"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata",
      "description": "Metadata about the QA question dimension.",
      "type": "object",
      "properties": {
        "qaScorecardId": {
          "description": "Optional. The QA scorecard ID.",
          "type": "string"
        },
        "qaQuestionId": {
          "description": "Optional. The QA question ID.",
          "type": "string"
        },
        "questionBody": {
          "description": "Optional. The full body of the question.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata",
      "description": "Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.",
      "type": "object",
      "properties": {
        "qaScorecardId": {
          "description": "Optional. The QA scorecard ID.",
          "type": "string"
        },
        "qaQuestionId": {
          "description": "Optional. The QA question ID.",
          "type": "string"
        },
        "questionBody": {
          "description": "Optional. The full body of the question.",
          "type": "string"
        },
        "answerValue": {
          "description": "Optional. The full body of the question.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata",
      "description": "Metadata about the QA scorecard dimension.",
      "type": "object",
      "properties": {
        "qaScorecardId": {
          "description": "Optional. The QA scorecard ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata",
      "description": "Metadata about the conversation profile dimension.",
      "type": "object",
      "properties": {
        "conversationProfileId": {
          "description": "Optional. The conversation profile ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata",
      "description": "Metadata about the conversation medium dimension.",
      "type": "object",
      "properties": {
        "medium": {
          "description": "Optional. The conversation medium. Currently supports : PHONE_CALL, CHAT.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata",
      "description": "Metadata about the Conversational Agents playbook dimension.",
      "type": "object",
      "properties": {
        "playbookId": {
          "description": "Optional. The dialogflow playbook ID.",
          "type": "string"
        },
        "playbookDisplayName": {
          "description": "Optional. The dialogflow playbook display name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata",
      "description": "Metadata about the Conversational Agents tool dimension.",
      "type": "object",
      "properties": {
        "toolId": {
          "description": "Optional. The dialogflow tool ID.",
          "type": "string"
        },
        "toolDisplayName": {
          "description": "Optional. The dialogflow tool display name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata",
      "description": "Metadata about the client sentiment category dimension.",
      "type": "object",
      "properties": {
        "sentimentCategory": {
          "description": "Optional. The client sentiment category.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata",
      "description": "Metadata about conversation labels.",
      "type": "object",
      "properties": {
        "labelKey": {
          "description": "Optional. The label key.",
          "type": "string"
        },
        "labelValue": {
          "description": "Optional. The label value.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint": {
      "id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint",
      "description": "A data point contains the metric values mapped to an interval.",
      "type": "object",
      "properties": {
        "conversationMeasure": {
          "description": "The measure related to conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure"
        },
        "dialogflowInteractionMeasure": {
          "description": "The measure related to dialogflow interactions.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure"
        },
        "interval": {
          "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).",
          "$ref": "GoogleTypeInterval"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure": {
      "id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure",
      "description": "The measure related to conversations.",
      "type": "object",
      "properties": {
        "conversationCount": {
          "description": "The conversation count.",
          "type": "integer",
          "format": "int32"
        },
        "averageSilencePercentage": {
          "description": "The average silence percentage.",
          "type": "number",
          "format": "float"
        },
        "averageDuration": {
          "description": "The average duration.",
          "type": "string",
          "format": "google-duration"
        },
        "averageTurnCount": {
          "description": "The average turn count.",
          "type": "number",
          "format": "float"
        },
        "averageAgentSentimentScore": {
          "description": "The average agent's sentiment score.",
          "type": "number",
          "format": "float"
        },
        "averageClientSentimentScore": {
          "description": "The average client's sentiment score.",
          "type": "number",
          "format": "float"
        },
        "averageCustomerSatisfactionRating": {
          "description": "The average customer satisfaction rating.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "qaTagScores": {
          "description": "Average QA normalized score for all the tags.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore"
          }
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchResultCount": {
          "description": "Count of knowledge search results (Generative Knowledge Assist) shown to the user.",
          "type": "integer",
          "format": "int32"
        },
        "knowledgeSearchAgentQuerySourceRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchSuggestedQuerySourceRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistResultCount": {
          "description": "Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user.",
          "type": "integer",
          "format": "int32"
        },
        "knowledgeSearchUriClickRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistUriClickRatio": {
          "description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchPositiveFeedbackRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchNegativeFeedbackRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistPositiveFeedbackRatio": {
          "description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistNegativeFeedbackRatio": {
          "description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback.",
          "type": "number",
          "format": "double"
        },
        "summarizationSuggestionEditRatio": {
          "description": "Proportion of summarization suggestions that were manually edited.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "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).",
          "type": "number",
          "format": "double"
        },
        "conversationSuggestedSummaryRatio": {
          "description": "Proportion of conversations that had a suggested summary.",
          "type": "number",
          "format": "double"
        },
        "summarizationSuggestionResultCount": {
          "description": "Count of summarization suggestions results.",
          "type": "integer",
          "format": "int32"
        },
        "dialogflowInteractionsNoMatchRatio": {
          "description": "Proportion of dialogflow interactions that has no intent match for the input.",
          "type": "number",
          "format": "double"
        },
        "dialogflowInteractionsNoInputRatio": {
          "description": "Proportion of dialogflow interactions that has empty input.",
          "type": "number",
          "format": "double"
        },
        "dialogflowWebhookFailureRatio": {
          "description": "Proportion of dialogflow webhook calls that failed.",
          "type": "number",
          "format": "double"
        },
        "dialogflowWebhookTimeoutRatio": {
          "description": "Proportion of dialogflow webhook calls that timed out.",
          "type": "number",
          "format": "double"
        },
        "dialogflowAverageWebhookLatency": {
          "description": "Average latency of dialogflow webhook calls.",
          "type": "number",
          "format": "double"
        },
        "dialogflowConversationsEscalationRatio": {
          "description": "Proportion of conversations that was handed off from virtual agent to human agent.",
          "type": "number",
          "format": "double"
        },
        "dialogflowConversationsEscalationCount": {
          "description": "count of conversations that was handed off from virtual agent to human agent.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "conversationAiCoachSuggestionRatio": {
          "description": "Proportion of conversations that has Ai Coach Suggestions.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionAgentUsageRatio": {
          "description": "Proportion of Ai Coach Suggestion that has been used by agents.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionCustomerMessageTriggerRatio": {
          "description": "Proportion of customer messages that triggered an Ai Coach Suggestion.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "conversationAiCoachSuggestionCount": {
          "description": "Count of conversations that has Ai Coach Suggestions.",
          "type": "integer",
          "format": "int32"
        },
        "aiCoachSuggestionAgentUsageCount": {
          "description": "Count of Ai Coach Suggestion that has been used by agents.",
          "type": "integer",
          "format": "int32"
        },
        "aiCoachSuggestionCustomerMessageTriggerCount": {
          "description": "Count of customer messages that triggered an Ai Coach Suggestion.",
          "type": "integer",
          "format": "int32"
        },
        "aiCoachSuggestionAgentMessageTriggerCount": {
          "description": "Count of agent messages that triggered an Ai Coach Suggestion.",
          "type": "integer",
          "format": "int32"
        },
        "conversationTotalCustomerMessageCount": {
          "description": "The customer message count.",
          "type": "integer",
          "format": "int32"
        },
        "conversationTotalAgentMessageCount": {
          "description": "The agent message count.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorMonitoredConversationsCount": {
          "description": "The number of conversations scanned by the AA human supervisor.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorEscalatedConversationsCount": {
          "description": "The number of conversations that were escalated to an AA human supervisor for intervention.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorAssignedConversationsCount": {
          "description": "The number of conversations that were assigned to an AA human supervisor.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorDroppedConversationsCount": {
          "description": "The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorTransferredToHumanAgentConvCount": {
          "description": "The number of conversations transferred to a human agent.",
          "type": "integer",
          "format": "int32"
        },
        "avgConversationClientTurnSentimentEma": {
          "description": "The exponential moving average of the sentiment score of client turns in the conversation.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionMessageTriggerRatio": {
          "description": "Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionMessageTriggerCount": {
          "description": "Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
          "type": "integer",
          "format": "int32"
        },
        "containedConversationCount": {
          "description": "The number of conversations that were contained.",
          "type": "integer",
          "format": "int32"
        },
        "containedConversationRatio": {
          "description": "The percentage of conversations that were contained.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore": {
      "id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore",
      "description": "Average QA normalized score for the tag.",
      "type": "object",
      "properties": {
        "tag": {
          "description": "Tag name.",
          "type": "string"
        },
        "averageTagNormalizedScore": {
          "description": "Average tag normalized score per tag.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure": {
      "id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure",
      "description": "The measure related to dialogflow interactions.",
      "type": "object",
      "properties": {
        "percentileAudioInAudioOutLatency": {
          "description": "The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileLlmCallLatency": {
          "description": "The percentile result for LLM latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileTtsLatency": {
          "description": "The percentile result for TTS latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileToolUseLatency": {
          "description": "The percentile result for tool use latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileEndToEndLatency": {
          "description": "The percentile result for end to end chat latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult": {
      "id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult",
      "description": "The percentile result. Currently supported percentiles are 50th, 90th, and 99th.",
      "type": "object",
      "properties": {
        "p50": {
          "description": "The 50th percentile value.",
          "type": "number",
          "format": "double"
        },
        "p90": {
          "description": "The 90th percentile value.",
          "type": "number",
          "format": "double"
        },
        "p99": {
          "description": "The 99th percentile value.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleTypeInterval": {
      "id": "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.",
      "type": "object",
      "properties": {
        "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.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries": {
      "id": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries",
      "description": "A time series of metric values.",
      "type": "object",
      "properties": {
        "dataPoints": {
          "description": "The data points that make up the time series .",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewMetadata",
      "description": "The metadata for querying performance overview.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse": {
      "id": "GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse",
      "description": "The response for querying performance overview.",
      "type": "object",
      "properties": {
        "summaryText": {
          "description": "The summary text of the performance.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SampleConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1SampleConversationsMetadata",
      "description": "The metadata for an SampleConversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for sample conversations to dataset.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1SampleConversationsRequest"
        },
        "partialErrors": {
          "description": "Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "sampleConversationsStats": {
          "description": "Output only. Statistics for SampleConversations operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SampleConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1SampleConversationsRequest",
      "description": "The request to sample conversations to a dataset.",
      "type": "object",
      "properties": {
        "destinationDataset": {
          "description": "The dataset resource to copy the sampled conversations to.",
          "$ref": "GoogleCloudContactcenterinsightsV1Dataset"
        },
        "parent": {
          "description": "Required. The parent resource of the dataset.",
          "type": "string"
        },
        "sampleRule": {
          "description": "Optional. The sample rule used for sampling conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1SampleRule"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1Dataset": {
      "id": "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)",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}",
          "type": "string"
        },
        "displayName": {
          "description": "Display name for the dataaset",
          "type": "string"
        },
        "description": {
          "description": "Dataset description.",
          "type": "string"
        },
        "type": {
          "description": "Dataset usage type.",
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "For evals only.",
            "Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)"
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "EVAL",
            "LIVE"
          ]
        },
        "ttl": {
          "description": "Optional. Option TTL for the dataset.",
          "type": "string",
          "format": "google-duration"
        },
        "createTime": {
          "description": "Output only. Dataset create time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Dataset update time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SampleRule": {
      "id": "GoogleCloudContactcenterinsightsV1SampleRule",
      "description": "Message for sampling conversations.",
      "type": "object",
      "properties": {
        "samplePercentage": {
          "description": "Percentage of conversations that we should sample based on the dimension between [0, 100].",
          "type": "number",
          "format": "double"
        },
        "sampleRow": {
          "description": "Number of the conversations that we should sample based on the dimension.",
          "type": "string",
          "format": "int64"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats": {
      "id": "GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats",
      "description": "Statistics for SampleConversations operation.",
      "type": "object",
      "properties": {
        "successfulSampleCount": {
          "description": "Output only. The number of new conversations added during this sample operation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SampleConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1SampleConversationsResponse",
      "description": "The response to an SampleConversations operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadata",
      "description": "Metadata for testing correlation config.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "dataset": {
          "description": "The dataset used for sampling conversations.",
          "type": "string"
        },
        "stats": {
          "description": "The statistics for the operation.",
          "$ref": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStats"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStats": {
      "id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStats",
      "description": "Statistics for TestCorrelationConfig operation.",
      "type": "object",
      "properties": {
        "sampledConversationsCount": {
          "description": "The number of conversations sampled.",
          "type": "integer",
          "format": "int32"
        },
        "correlatedConversationsCount": {
          "description": "The number of conversations correlated.",
          "type": "integer",
          "format": "int32"
        },
        "failedConversationsCount": {
          "description": "The number of conversations that failed correlation.",
          "type": "integer",
          "format": "int32"
        },
        "partialErrors": {
          "description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "conversationCorrelationErrors": {
          "description": "A list of errors that occurred during correlation, one for each conversation that failed.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError": {
      "id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError",
      "description": "An error that occurred during correlation for a specific conversation.",
      "type": "object",
      "properties": {
        "conversation": {
          "description": "The conversation resource name that had an error during correlation.",
          "type": "string"
        },
        "status": {
          "description": "The error status.",
          "$ref": "GoogleRpcStatus"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponse": {
      "id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponse",
      "description": "The response of testing correlation config.",
      "type": "object",
      "properties": {
        "detailedResults": {
          "description": "Results for the DETAILED_SYNC execution mode.",
          "$ref": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults"
        },
        "partialErrors": {
          "description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults": {
      "id": "GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults",
      "description": "Wrapper for detailed, step-by-step results.",
      "type": "object",
      "properties": {
        "joinKeyResults": {
          "description": "A list of join key correlation results for each conversation tested.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ConversationCorrelationResult"
          }
        },
        "constraintResults": {
          "description": "A list of constraint evaluation results for each pair of conversations.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationCorrelationResult": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationCorrelationResult",
      "description": "The result of testing correlation config on a single conversation.",
      "type": "object",
      "properties": {
        "conversation": {
          "description": "The conversation resource name.",
          "type": "string"
        },
        "ruleResults": {
          "description": "The results for each correlation rule.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrelationResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrelationResult": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrelationResult",
      "description": "The result of a single correlation rule.",
      "type": "object",
      "properties": {
        "correlationId": {
          "description": "The correlation ID generated by the join key expression.",
          "type": "string"
        },
        "error": {
          "description": "The error status if the join key expression failed to evaluate.",
          "$ref": "GoogleRpcStatus"
        },
        "ruleId": {
          "description": "The rule ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult": {
      "id": "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult",
      "description": "The result of testing a constraint expression on a pair of conversations.",
      "type": "object",
      "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult": {
      "id": "GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult",
      "description": "The result of a single constraint rule on the pair of conversations.",
      "type": "object",
      "properties": {
        "constraintMet": {
          "description": "Whether the constraint expression evaluated to true for (A, B) or (B, A).",
          "type": "boolean"
        },
        "error": {
          "description": "The error status if the constraint expression failed to evaluate.",
          "$ref": "GoogleRpcStatus"
        },
        "ruleId": {
          "description": "The rule ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata",
      "description": "Metadata for undeploying an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for undeployment.",
          "$ref": "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest",
      "description": "The request to undeploy an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The issue model to undeploy.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse",
      "description": "The response to undeploy an issue model.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata",
      "description": "The metadata for updating a QaQuestionTag Resource.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest": {
      "id": "GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest",
      "description": "The request for updating a QaQuestionTag.",
      "type": "object",
      "properties": {
        "qaQuestionTag": {
          "description": "Required. The QaQuestionTag to update.",
          "$ref": "GoogleCloudContactcenterinsightsV1QaQuestionTag"
        },
        "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",
          "type": "string",
          "format": "google-fieldmask"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QaQuestionTag": {
      "id": "GoogleCloudContactcenterinsightsV1QaQuestionTag",
      "description": "A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., \"Customer Satisfaction\",\"Billing\", etc.",
      "type": "object",
      "properties": {
        "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"
        },
        "displayName": {
          "description": "Required. A user-specified display name for the tag.",
          "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "createTime": {
          "description": "Output only. The time at which the question tag was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the question tag was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1UploadConversationMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1UploadConversationMetadata",
      "description": "The metadata for an `UploadConversation` operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1UploadConversationRequest"
        },
        "analysisOperation": {
          "description": "Output only. The operation name for a successfully created analysis operation, if any.",
          "readOnly": true,
          "type": "string"
        },
        "appliedRedactionConfig": {
          "description": "Output only. The redaction config applied to the uploaded conversation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1UploadConversationRequest": {
      "id": "GoogleCloudContactcenterinsightsV1UploadConversationRequest",
      "description": "Request to upload a conversation.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the conversation.",
          "type": "string"
        },
        "conversation": {
          "description": "Required. The conversation resource to create.",
          "$ref": "GoogleCloudContactcenterinsightsV1Conversation"
        },
        "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"
        },
        "redactionConfig": {
          "description": "Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig"
        },
        "speechConfig": {
          "description": "Optional. Speech-to-Text configuration. Will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1SpeechConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1Conversation": {
      "id": "GoogleCloudContactcenterinsightsV1Conversation",
      "description": "The conversation resource.",
      "type": "object",
      "properties": {
        "callMetadata": {
          "description": "Call-specific metadata.",
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationCallMetadata"
        },
        "expireTime": {
          "description": "The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.",
          "type": "string",
          "format": "google-datetime"
        },
        "ttl": {
          "description": "Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.",
          "type": "string",
          "format": "google-duration"
        },
        "name": {
          "description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}",
          "type": "string"
        },
        "dataSource": {
          "description": "The source of the audio and transcription for the conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationDataSource"
        },
        "createTime": {
          "description": "Output only. The time at which the conversation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the conversation was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "startTime": {
          "description": "The time at which the conversation started.",
          "type": "string",
          "format": "google-datetime"
        },
        "languageCode": {
          "description": "A user-specified language code for the conversation.",
          "type": "string"
        },
        "agentId": {
          "description": "An opaque, user-specified string representing the human agent who handled the conversation.",
          "type": "string"
        },
        "labels": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "qualityMetadata": {
          "description": "Conversation metadata related to quality management.",
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationQualityMetadata"
        },
        "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"
        },
        "transcript": {
          "description": "Output only. The conversation transcript.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscript"
        },
        "medium": {
          "description": "Immutable. The conversation medium.",
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "The format for conversations that took place over the phone.",
            "The format for conversations that took place over chat."
          ],
          "enum": [
            "MEDIUM_UNSPECIFIED",
            "PHONE_CALL",
            "CHAT"
          ]
        },
        "duration": {
          "description": "Output only. The duration of the conversation.",
          "readOnly": true,
          "type": "string",
          "format": "google-duration"
        },
        "turnCount": {
          "description": "Output only. The number of turns in the conversation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "latestAnalysis": {
          "description": "Output only. The conversation's latest analysis, if one exists.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1Analysis"
        },
        "latestSummary": {
          "description": "Output only. Latest summary of the conversation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData"
        },
        "runtimeAnnotations": {
          "description": "Output only. The annotations that were generated during the customer and agent interaction.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1RuntimeAnnotation"
          }
        },
        "dialogflowIntents": {
          "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",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1DialogflowIntent"
          }
        },
        "obfuscatedUserId": {
          "description": "Obfuscated user ID which the customer sent to us.",
          "type": "string"
        },
        "correlationInfo": {
          "description": "Output only. Info for correlating across conversations.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationCallMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationCallMetadata",
      "description": "Call-specific metadata.",
      "type": "object",
      "properties": {
        "customerChannel": {
          "description": "The audio channel that contains the customer.",
          "type": "integer",
          "format": "int32"
        },
        "agentChannel": {
          "description": "The audio channel that contains the agent.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationDataSource": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationDataSource",
      "description": "The conversation source, which is a combination of transcript and audio.",
      "type": "object",
      "properties": {
        "gcsSource": {
          "description": "A Cloud Storage location specification for the audio and transcript.",
          "$ref": "GoogleCloudContactcenterinsightsV1GcsSource"
        },
        "dialogflowSource": {
          "description": "The source when the conversation comes from Dialogflow.",
          "$ref": "GoogleCloudContactcenterinsightsV1DialogflowSource"
        },
        "metadataUri": {
          "description": "Cloud Storage URI that points to a file that contains the conversation metadata.",
          "type": "string"
        },
        "turnLevelAudios": {
          "description": "Cloud Storage URIs that points to files that contain the conversation audio for each turn. Assume the order of the URIs is the same as the order of the transcript turns.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1GcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1GcsSource",
      "description": "A Cloud Storage source of conversation data.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DialogflowSource": {
      "id": "GoogleCloudContactcenterinsightsV1DialogflowSource",
      "description": "A Dialogflow source of conversation data.",
      "type": "object",
      "properties": {
        "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"
        },
        "audioUri": {
          "description": "Cloud Storage URI that points to a file that contains the conversation audio.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio",
      "description": "A wrapper for holding the audio for any given turn.",
      "type": "object",
      "properties": {
        "audioGcsUri": {
          "description": "The Cloud Storage URI of the audio for any given turn.",
          "type": "string"
        },
        "audioDuration": {
          "description": "The duration of the audio.",
          "type": "string",
          "format": "google-duration"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationQualityMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationQualityMetadata",
      "description": "Conversation metadata related to quality management.",
      "type": "object",
      "properties": {
        "customerSatisfactionRating": {
          "description": "An arbitrary integer value indicating the customer's satisfaction rating.",
          "type": "integer",
          "format": "int32"
        },
        "waitDuration": {
          "description": "The amount of time the customer waited to connect with an agent.",
          "type": "string",
          "format": "google-duration"
        },
        "menuPath": {
          "description": "An arbitrary string value specifying the menu path the customer took.",
          "type": "string"
        },
        "agentInfo": {
          "description": "Information about agents involved in the call.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo"
          }
        },
        "feedbackLabels": {
          "description": "Input only. The feedback labels associated with the conversation.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1FeedbackLabel"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo",
      "description": "Information about an agent involved in the conversation.",
      "type": "object",
      "properties": {
        "agentId": {
          "description": "A user-specified string representing the agent.",
          "type": "string"
        },
        "displayName": {
          "description": "The agent's name.",
          "type": "string"
        },
        "team": {
          "description": "A user-specified string representing the agent's team. Deprecated in favor of the `teams` field.",
          "deprecated": true,
          "type": "string"
        },
        "teams": {
          "description": "User-specified strings representing the agent's teams.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dispositionCode": {
          "description": "A user-provided string indicating the outcome of the agent's segment of the call.",
          "type": "string"
        },
        "agentType": {
          "description": "The agent type, e.g. HUMAN_AGENT.",
          "type": "string",
          "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."
          ],
          "enum": [
            "ROLE_UNSPECIFIED",
            "HUMAN_AGENT",
            "AUTOMATED_AGENT",
            "END_USER",
            "ANY_AGENT"
          ]
        },
        "location": {
          "description": "The agent's location.",
          "type": "string"
        },
        "deploymentId": {
          "description": "The agent's deployment ID. Only applicable to automated agents.",
          "type": "string"
        },
        "deploymentDisplayName": {
          "description": "The agent's deployment display name. Only applicable to automated agents.",
          "type": "string"
        },
        "versionId": {
          "description": "The agent's version ID. Only applicable to automated agents.",
          "type": "string"
        },
        "versionDisplayName": {
          "description": "The agent's version display name. Only applicable to automated agents.",
          "type": "string"
        },
        "entrySubagentDisplayName": {
          "description": "The entry subagent's display name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationTranscript": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationTranscript",
      "description": "A message representing the transcript of a conversation.",
      "type": "object",
      "properties": {
        "transcriptSegments": {
          "description": "A list of sequential transcript segments that comprise the conversation.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment",
      "description": "A segment of a full transcript.",
      "type": "object",
      "properties": {
        "messageTime": {
          "description": "The time that the message occurred, if provided.",
          "type": "string",
          "format": "google-datetime"
        },
        "text": {
          "description": "The text of this segment.",
          "type": "string"
        },
        "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.",
          "type": "number",
          "format": "float"
        },
        "words": {
          "description": "A list of the word-specific information for each word in the segment.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo"
          }
        },
        "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"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        },
        "segmentParticipant": {
          "description": "The participant of this segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationParticipant"
        },
        "dialogflowSegmentMetadata": {
          "description": "CCAI metadata relating to the current transcript segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata"
        },
        "sentiment": {
          "description": "The sentiment for this transcript segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1SentimentData"
        },
        "turnLevelAudio": {
          "description": "Turn level audio for this transcript segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo",
      "description": "Word-level info for words in a transcript.",
      "type": "object",
      "properties": {
        "startOffset": {
          "description": "Time offset of the start of this word relative to the beginning of the total conversation.",
          "type": "string",
          "format": "google-duration"
        },
        "endOffset": {
          "description": "Time offset of the end of this word relative to the beginning of the total conversation.",
          "type": "string",
          "format": "google-duration"
        },
        "word": {
          "description": "The word itself. Includes punctuation marks that surround the word.",
          "type": "string"
        },
        "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.",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationParticipant": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationParticipant",
      "description": "The call participant speaking for a given utterance.",
      "type": "object",
      "properties": {
        "dialogflowParticipantName": {
          "description": "The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
          "type": "string"
        },
        "userId": {
          "description": "A user-specified ID representing the participant.",
          "type": "string"
        },
        "dialogflowParticipant": {
          "description": "Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
          "deprecated": true,
          "type": "string"
        },
        "obfuscatedExternalUserId": {
          "description": "Obfuscated user ID from Dialogflow.",
          "type": "string"
        },
        "role": {
          "description": "The role of the participant.",
          "type": "string",
          "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."
          ],
          "enum": [
            "ROLE_UNSPECIFIED",
            "HUMAN_AGENT",
            "AUTOMATED_AGENT",
            "END_USER",
            "ANY_AGENT"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata",
      "description": "Metadata from Dialogflow relating to the current transcript segment.",
      "type": "object",
      "properties": {
        "smartReplyAllowlistCovered": {
          "description": "Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SentimentData": {
      "id": "GoogleCloudContactcenterinsightsV1SentimentData",
      "description": "The data for a sentiment annotation.",
      "type": "object",
      "properties": {
        "magnitude": {
          "description": "A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score.",
          "type": "number",
          "format": "float"
        },
        "score": {
          "description": "The sentiment score between -1.0 (negative) and 1.0 (positive).",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1Analysis": {
      "id": "GoogleCloudContactcenterinsightsV1Analysis",
      "description": "The analysis resource.",
      "type": "object",
      "properties": {
        "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.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "createTime": {
          "description": "Output only. The time at which the analysis was created, which occurs when the long-running operation completes.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "analysisResult": {
          "description": "Output only. The result of the analysis, which is populated when the analysis finishes.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1AnalysisResult"
        },
        "annotatorSelector": {
          "description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotatorSelector"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1AnalysisResult": {
      "id": "GoogleCloudContactcenterinsightsV1AnalysisResult",
      "description": "The result of an analysis.",
      "type": "object",
      "properties": {
        "callAnalysisMetadata": {
          "description": "Call-specific metadata created by the analysis.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata"
        },
        "endTime": {
          "description": "The time at which the analysis ended.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata",
      "description": "Call-specific metadata created during analysis.",
      "type": "object",
      "properties": {
        "annotations": {
          "description": "A list of call annotations that apply to this call.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1CallAnnotation"
          }
        },
        "entities": {
          "description": "All the entities in the call.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1Entity"
          }
        },
        "sentiments": {
          "description": "Overall conversation-level sentiment for each channel of the call.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1ConversationLevelSentiment"
          }
        },
        "silence": {
          "description": "Overall conversation-level silence during the call.",
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationLevelSilence"
        },
        "intents": {
          "description": "All the matched intents in the call.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1Intent"
          }
        },
        "phraseMatchers": {
          "description": "All the matched phrase matchers in the call.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchData"
          }
        },
        "issueModelResult": {
          "description": "Overall conversation-level issue modeling result.",
          "$ref": "GoogleCloudContactcenterinsightsV1IssueModelResult"
        },
        "qaScorecardResults": {
          "description": "Results of scoring QaScorecards.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1QaScorecardResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1CallAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1CallAnnotation",
      "description": "A piece of metadata that applies to a window of a call.",
      "type": "object",
      "properties": {
        "interruptionData": {
          "description": "Data specifying an interruption.",
          "$ref": "GoogleCloudContactcenterinsightsV1InterruptionData"
        },
        "sentimentData": {
          "description": "Data specifying sentiment.",
          "$ref": "GoogleCloudContactcenterinsightsV1SentimentData"
        },
        "silenceData": {
          "description": "Data specifying silence.",
          "$ref": "GoogleCloudContactcenterinsightsV1SilenceData"
        },
        "holdData": {
          "description": "Data specifying a hold.",
          "$ref": "GoogleCloudContactcenterinsightsV1HoldData"
        },
        "entityMentionData": {
          "description": "Data specifying an entity mention.",
          "$ref": "GoogleCloudContactcenterinsightsV1EntityMentionData"
        },
        "intentMatchData": {
          "description": "Data specifying an intent match.",
          "$ref": "GoogleCloudContactcenterinsightsV1IntentMatchData"
        },
        "phraseMatchData": {
          "description": "Data specifying a phrase match.",
          "$ref": "GoogleCloudContactcenterinsightsV1PhraseMatchData"
        },
        "issueMatchData": {
          "description": "Data specifying an issue match.",
          "$ref": "GoogleCloudContactcenterinsightsV1IssueMatchData"
        },
        "channelTag": {
          "description": "The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.",
          "type": "integer",
          "format": "int32"
        },
        "annotationStartBoundary": {
          "description": "The boundary in the conversation where the annotation starts, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary"
        },
        "annotationEndBoundary": {
          "description": "The boundary in the conversation where the annotation ends, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1InterruptionData": {
      "id": "GoogleCloudContactcenterinsightsV1InterruptionData",
      "description": "The data for an interruption annotation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1SilenceData": {
      "id": "GoogleCloudContactcenterinsightsV1SilenceData",
      "description": "The data for a silence annotation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1HoldData": {
      "id": "GoogleCloudContactcenterinsightsV1HoldData",
      "description": "The data for a hold annotation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1EntityMentionData": {
      "id": "GoogleCloudContactcenterinsightsV1EntityMentionData",
      "description": "The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.",
      "type": "object",
      "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"
        },
        "type": {
          "description": "The type of the entity mention.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified.",
            "Proper noun.",
            "Common noun (or noun compound)."
          ],
          "enum": [
            "MENTION_TYPE_UNSPECIFIED",
            "PROPER",
            "COMMON"
          ]
        },
        "sentiment": {
          "description": "Sentiment expressed for this mention of the entity.",
          "$ref": "GoogleCloudContactcenterinsightsV1SentimentData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IntentMatchData": {
      "id": "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.",
      "type": "object",
      "properties": {
        "intentUniqueId": {
          "description": "The id of the matched intent. Can be used to retrieve the corresponding intent information.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1PhraseMatchData": {
      "id": "GoogleCloudContactcenterinsightsV1PhraseMatchData",
      "description": "The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.",
      "type": "object",
      "properties": {
        "phraseMatcher": {
          "description": "The unique identifier (the resource name) of the phrase matcher.",
          "type": "string"
        },
        "displayName": {
          "description": "The human-readable name of the phrase matcher.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IssueMatchData": {
      "id": "GoogleCloudContactcenterinsightsV1IssueMatchData",
      "description": "The data for an issue match annotation.",
      "type": "object",
      "properties": {
        "issueAssignment": {
          "description": "Information about the issue's assignment.",
          "$ref": "GoogleCloudContactcenterinsightsV1IssueAssignment"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IssueAssignment": {
      "id": "GoogleCloudContactcenterinsightsV1IssueAssignment",
      "description": "Information about the issue.",
      "type": "object",
      "properties": {
        "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].",
          "type": "number",
          "format": "double"
        },
        "displayName": {
          "description": "Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1AnnotationBoundary": {
      "id": "GoogleCloudContactcenterinsightsV1AnnotationBoundary",
      "description": "A point in a conversation that marks the start or the end of an annotation.",
      "type": "object",
      "properties": {
        "wordIndex": {
          "description": "The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.",
          "type": "integer",
          "format": "int32"
        },
        "transcriptIndex": {
          "description": "The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1Entity": {
      "id": "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.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "The representative name for the entity.",
          "type": "string"
        },
        "type": {
          "description": "The entity type.",
          "type": "string",
          "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`."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "PERSON",
            "LOCATION",
            "ORGANIZATION",
            "EVENT",
            "WORK_OF_ART",
            "CONSUMER_GOOD",
            "OTHER",
            "PHONE_NUMBER",
            "ADDRESS",
            "DATE",
            "NUMBER",
            "PRICE"
          ]
        },
        "metadata": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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.",
          "type": "number",
          "format": "float"
        },
        "sentiment": {
          "description": "The aggregate sentiment expressed for this entity in the conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1SentimentData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationLevelSentiment": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationLevelSentiment",
      "description": "One channel of conversation-level sentiment data.",
      "type": "object",
      "properties": {
        "channelTag": {
          "description": "The channel of the audio that the data applies to.",
          "type": "integer",
          "format": "int32"
        },
        "sentimentData": {
          "description": "Data specifying sentiment.",
          "$ref": "GoogleCloudContactcenterinsightsV1SentimentData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationLevelSilence": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationLevelSilence",
      "description": "Conversation-level silence data.",
      "type": "object",
      "properties": {
        "silenceDuration": {
          "description": "Amount of time calculated to be in silence.",
          "type": "string",
          "format": "google-duration"
        },
        "silencePercentage": {
          "description": "Percentage of the total conversation spent in silence.",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1Intent": {
      "id": "GoogleCloudContactcenterinsightsV1Intent",
      "description": "The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.",
      "type": "object",
      "properties": {
        "id": {
          "description": "The unique identifier of the intent.",
          "type": "string"
        },
        "displayName": {
          "description": "The human-readable name of the intent.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1IssueModelResult": {
      "id": "GoogleCloudContactcenterinsightsV1IssueModelResult",
      "description": "Issue Modeling result on a conversation.",
      "type": "object",
      "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1IssueAssignment"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QaScorecardResult": {
      "id": "GoogleCloudContactcenterinsightsV1QaScorecardResult",
      "description": "The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}",
          "type": "string"
        },
        "qaScorecardRevision": {
          "description": "The QaScorecardRevision scored by this result.",
          "type": "string"
        },
        "conversation": {
          "description": "The conversation scored by this result.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The timestamp that the revision was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "agentId": {
          "description": "ID of the agent that handled the conversation.",
          "type": "string"
        },
        "qaAnswers": {
          "description": "Set of QaAnswers represented in the result.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1QaAnswer"
          }
        },
        "score": {
          "description": "The overall numerical score of the result, incorporating any manual edits if they exist.",
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.",
          "type": "number",
          "format": "double"
        },
        "qaTagResults": {
          "description": "Collection of tags and their scores.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult"
          }
        },
        "scoreSources": {
          "description": "List of all individual score sets.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QaAnswer": {
      "id": "GoogleCloudContactcenterinsightsV1QaAnswer",
      "description": "An answer to a QaQuestion.",
      "type": "object",
      "properties": {
        "qaQuestion": {
          "description": "The QaQuestion answered by this answer.",
          "type": "string"
        },
        "conversation": {
          "description": "The conversation the answer applies to.",
          "type": "string"
        },
        "questionBody": {
          "description": "Question text. E.g., \"Did the agent greet the customer?\"",
          "type": "string"
        },
        "answerValue": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource": {
      "id": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource",
      "description": "A question may have multiple answers from varying sources, one of which becomes the \"main\" answer above. AnswerSource represents each individual answer.",
      "type": "object",
      "properties": {
        "sourceType": {
          "description": "What created the answer.",
          "type": "string",
          "enumDescriptions": [
            "Source type is unspecified.",
            "Answer was system-generated; created during an Insights analysis.",
            "Answer was created by a human via manual edit."
          ],
          "enum": [
            "SOURCE_TYPE_UNSPECIFIED",
            "SYSTEM_GENERATED",
            "MANUAL_EDIT"
          ]
        },
        "answerValue": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult": {
      "id": "GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult",
      "description": "Tags and their corresponding results.",
      "type": "object",
      "properties": {
        "tag": {
          "description": "The tag the score applies to.",
          "type": "string"
        },
        "score": {
          "description": "The score the tag applies to.",
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "The potential score the tag applies to.",
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "The normalized score the tag applies to.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource": {
      "id": "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.",
      "type": "object",
      "properties": {
        "sourceType": {
          "description": "What created the score.",
          "type": "string",
          "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."
          ],
          "enum": [
            "SOURCE_TYPE_UNSPECIFIED",
            "SYSTEM_GENERATED_ONLY",
            "INCLUDES_MANUAL_EDITS"
          ]
        },
        "score": {
          "description": "The overall numerical score of the result.",
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "The normalized score, which is the score divided by the potential score.",
          "type": "number",
          "format": "double"
        },
        "qaTagResults": {
          "description": "Collection of tags and their scores.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData",
      "description": "Conversation summarization suggestion data.",
      "type": "object",
      "properties": {
        "text": {
          "description": "The summarization content that is concatenated into one string.",
          "type": "string"
        },
        "textSections": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "confidence": {
          "description": "The confidence score of the summarization.",
          "type": "number",
          "format": "float"
        },
        "metadata": {
          "description": "A map that contains metadata about the summarization and the document from which it originates.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "answerRecord": {
          "description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1RuntimeAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1RuntimeAnnotation",
      "description": "An annotation that was generated during the customer and agent interaction.",
      "type": "object",
      "properties": {
        "articleSuggestion": {
          "description": "Agent Assist Article Suggestion data.",
          "$ref": "GoogleCloudContactcenterinsightsV1ArticleSuggestionData"
        },
        "faqAnswer": {
          "description": "Agent Assist FAQ answer data.",
          "$ref": "GoogleCloudContactcenterinsightsV1FaqAnswerData"
        },
        "smartReply": {
          "description": "Agent Assist Smart Reply data.",
          "$ref": "GoogleCloudContactcenterinsightsV1SmartReplyData"
        },
        "smartComposeSuggestion": {
          "description": "Agent Assist Smart Compose suggestion data.",
          "$ref": "GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData"
        },
        "dialogflowInteraction": {
          "description": "Dialogflow interaction data.",
          "$ref": "GoogleCloudContactcenterinsightsV1DialogflowInteractionData"
        },
        "conversationSummarizationSuggestion": {
          "description": "Conversation summarization suggestion data.",
          "$ref": "GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData"
        },
        "cesTurnAnnotation": {
          "description": "The CES turn annotation.",
          "$ref": "GoogleCloudContactcenterinsightsV1CesTurnAnnotation"
        },
        "cesEndSessionAnnotation": {
          "description": "The CES end session annotation.",
          "$ref": "GoogleCloudContactcenterinsightsV1CesEndSessionAnnotation"
        },
        "annotationId": {
          "description": "The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}",
          "type": "string"
        },
        "createTime": {
          "description": "The time at which this annotation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "startBoundary": {
          "description": "The boundary in the conversation where the annotation starts, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary"
        },
        "endBoundary": {
          "description": "The boundary in the conversation where the annotation ends, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary"
        },
        "answerFeedback": {
          "description": "The feedback that the customer has about the answer in `data`.",
          "$ref": "GoogleCloudContactcenterinsightsV1AnswerFeedback"
        },
        "userInput": {
          "description": "Explicit input used for generating the answer",
          "$ref": "GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ArticleSuggestionData": {
      "id": "GoogleCloudContactcenterinsightsV1ArticleSuggestionData",
      "description": "Agent Assist Article Suggestion data.",
      "type": "object",
      "properties": {
        "title": {
          "description": "Article title.",
          "type": "string"
        },
        "uri": {
          "description": "Article URI.",
          "type": "string"
        },
        "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).",
          "type": "number",
          "format": "float"
        },
        "metadata": {
          "description": "Map that contains metadata about the Article Suggestion and the document that it originates from.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1FaqAnswerData": {
      "id": "GoogleCloudContactcenterinsightsV1FaqAnswerData",
      "description": "Agent Assist frequently-asked-question answer data.",
      "type": "object",
      "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).",
          "type": "number",
          "format": "float"
        },
        "question": {
          "description": "The corresponding FAQ question.",
          "type": "string"
        },
        "metadata": {
          "description": "Map that contains metadata about the FAQ answer and the document that it originates from.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SmartReplyData": {
      "id": "GoogleCloudContactcenterinsightsV1SmartReplyData",
      "description": "Agent Assist Smart Reply data.",
      "type": "object",
      "properties": {
        "reply": {
          "description": "The content of the reply.",
          "type": "string"
        },
        "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).",
          "type": "number",
          "format": "double"
        },
        "metadata": {
          "description": "Map that contains metadata about the Smart Reply and the document from which it originates.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "queryRecord": {
          "description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData": {
      "id": "GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData",
      "description": "Agent Assist Smart Compose suggestion data.",
      "type": "object",
      "properties": {
        "suggestion": {
          "description": "The content of the suggestion.",
          "type": "string"
        },
        "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).",
          "type": "number",
          "format": "double"
        },
        "metadata": {
          "description": "Map that contains metadata about the Smart Compose suggestion and the document from which it originates.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "queryRecord": {
          "description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DialogflowInteractionData": {
      "id": "GoogleCloudContactcenterinsightsV1DialogflowInteractionData",
      "description": "Dialogflow interaction data.",
      "type": "object",
      "properties": {
        "dialogflowIntentId": {
          "description": "The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}",
          "type": "string"
        },
        "confidence": {
          "description": "The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1CesTurnAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1CesTurnAnnotation",
      "description": "The CES diagnostic information.",
      "type": "object",
      "properties": {
        "messages": {
          "description": "The messages in the turn.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudCesV1mainMessage"
          }
        },
        "rootSpan": {
          "description": "The root span of the action processing.",
          "$ref": "GoogleCloudCesV1mainSpan"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1CesEndSessionAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1CesEndSessionAnnotation",
      "description": "The CES end session annotation.",
      "type": "object",
      "properties": {
        "endSession": {
          "description": "End session signal from CES.",
          "$ref": "GoogleCloudCesV1mainEndSession"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1AnswerFeedback": {
      "id": "GoogleCloudContactcenterinsightsV1AnswerFeedback",
      "description": "The feedback that the customer has about a certain answer in the conversation.",
      "type": "object",
      "properties": {
        "correctnessLevel": {
          "description": "The correctness level of an answer.",
          "type": "string",
          "enumDescriptions": [
            "Correctness level unspecified.",
            "Answer is totally wrong.",
            "Answer is partially correct.",
            "Answer is fully correct."
          ],
          "enum": [
            "CORRECTNESS_LEVEL_UNSPECIFIED",
            "NOT_CORRECT",
            "PARTIALLY_CORRECT",
            "FULLY_CORRECT"
          ]
        },
        "clicked": {
          "description": "Indicates whether an answer or item was clicked by the human agent.",
          "type": "boolean"
        },
        "displayed": {
          "description": "Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput": {
      "id": "GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput",
      "description": "Explicit input used for generating the answer",
      "type": "object",
      "properties": {
        "query": {
          "description": "Query text. Article Search uses this to store the input query used to generate the search results.",
          "type": "string"
        },
        "generatorName": {
          "description": "The resource name of associated generator. Format: `projects//locations//generators/`",
          "type": "string"
        },
        "querySource": {
          "description": "Query source for the answer.",
          "type": "string",
          "enumDescriptions": [
            "Unknown query source.",
            "The query is from agents.",
            "The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response."
          ],
          "enum": [
            "QUERY_SOURCE_UNSPECIFIED",
            "AGENT_QUERY",
            "SUGGESTED_QUERY"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1DialogflowIntent": {
      "id": "GoogleCloudContactcenterinsightsV1DialogflowIntent",
      "description": "The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "The human-readable name of the intent.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo": {
      "id": "GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo",
      "description": "Info for correlating across conversations.",
      "type": "object",
      "properties": {
        "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"
        },
        "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.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string",
            "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."
            ],
            "enum": [
              "CORRELATION_TYPE_UNSPECIFIED",
              "SEGMENT",
              "PARTIAL",
              "FULL",
              "SYNTHETIC"
            ]
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata",
      "description": "The metadata for a bulk analyze conversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for bulk analyze.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest"
        },
        "completedAnalysesCount": {
          "description": "The number of requested analyses that have completed successfully so far.",
          "type": "integer",
          "format": "int32"
        },
        "failedAnalysesCount": {
          "description": "The number of requested analyses that have failed so far.",
          "type": "integer",
          "format": "int32"
        },
        "totalRequestedAnalysesCount": {
          "description": "Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request.",
          "type": "integer",
          "format": "int32"
        },
        "partialErrors": {
          "description": "Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "relabel": {
          "description": "Output only. If true, the labeling rules will be re-evaluated for the conversations.",
          "readOnly": true,
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse",
      "description": "The response for a bulk analyze conversations operation.",
      "type": "object",
      "properties": {
        "successfulAnalysisCount": {
          "description": "Count of successful analyses.",
          "type": "integer",
          "format": "int32"
        },
        "failedAnalysisCount": {
          "description": "Count of failed analyses.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata",
      "description": "The metadata for a bulk delete conversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for bulk delete.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest"
        },
        "partialErrors": {
          "description": "Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse",
      "description": "The response for a bulk delete conversations operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata",
      "description": "Metadata for the BulkDeleteFeedbackLabels endpoint.",
      "type": "object",
      "properties": {
        "request": {
          "description": "Output only. The original request for delete.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest"
        },
        "partialErrors": {
          "description": "Partial errors during deletion operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse",
      "description": "Response for the BulkDeleteFeedbackLabels endpoint.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata",
      "description": "Metadata for a create analysis operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "conversation": {
          "description": "Output only. The Conversation that this Analysis Operation belongs to.",
          "readOnly": true,
          "type": "string"
        },
        "annotatorSelector": {
          "description": "Output only. The annotator selector used for the analysis (if any).",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata",
      "description": "Metadata for creating an issue.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for creation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest",
      "description": "The request to create an issue.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the issue.",
          "type": "string"
        },
        "issue": {
          "description": "Required. The values for the new issue.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1Issue"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata",
      "description": "Metadata for creating an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for creation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest",
      "description": "The request to create an issue model.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the issue model.",
          "type": "string"
        },
        "issueModel": {
          "description": "Required. The issue model to create.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata",
      "description": "Metadata for deleting an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for deletion.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest",
      "description": "The request to delete an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The name of the issue model to delete.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata",
      "description": "The metadata for deleting a QaQuestionTag Resource.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest",
      "description": "The request for deleting a QaQuestionTag.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The name of the QaQuestionTag to delete.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata",
      "description": "Metadata for deploying an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for deployment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse",
      "description": "The response to deploy an issue model.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata",
      "description": "Metadata for a DiagnoseConversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The request that created the operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest"
        },
        "partialTrajectories": {
          "description": "Output only. Deprecated: Use partial_trajectory_steps instead. Output only. The intermediate trajectory updates (partial trajectory).",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "diagnosticReport": {
          "description": "Output only. The diagnostic report containing metrics and intent breakdowns.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport"
        },
        "metricType": {
          "description": "Output only. The type of metric being diagnosed.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Metric type is unspecified.",
            "Escalation rate.",
            "Containment rate."
          ],
          "enum": [
            "DIAGNOSTIC_METRIC_TYPE_UNSPECIFIED",
            "ESCALATION",
            "CONTAINMENT"
          ]
        },
        "fullReport": {
          "description": "Output only. If true, the agent generated a full diagnostic report for all sub-agents.",
          "readOnly": true,
          "type": "boolean"
        },
        "latestStep": {
          "description": "Output only. The most recent thought or action from the agent.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SherlockStep"
        },
        "partialTrajectorySteps": {
          "description": "Output only. The intermediate trajectory updates. This can be used for live progress tracking of the agent's thoughts and actions as it works through the analysis.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1SherlockStep"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SherlockStep": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SherlockStep",
      "description": "A step in the agent's reasoning process (Trajectory Step).",
      "type": "object",
      "properties": {
        "thought": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "string"
        },
        "toolCalls": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ToolCall"
          }
        },
        "toolOutput": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "textInput": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "stepId": {
          "description": "Output only. Unique ID for this specific turn.",
          "readOnly": true,
          "type": "string"
        },
        "agentId": {
          "description": "Output only. The ID of the agent that produced/received this content.",
          "readOnly": true,
          "type": "string"
        },
        "content": {
          "description": "Output only. The content of the turn (either Model or User role).",
          "readOnly": true,
          "$ref": "GoogleCloudAiplatformV1Content"
        },
        "stateDeltas": {
          "description": "Output only. List of state changes caused by this specific turn.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object."
            }
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ToolCall": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ToolCall",
      "description": "A tool call from the agent.",
      "type": "object",
      "properties": {
        "toolName": {
          "description": "Output only. The name of the tool being called.",
          "readOnly": true,
          "type": "string"
        },
        "input": {
          "description": "Output only. The input arguments to the tool.",
          "readOnly": true,
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse",
      "description": "The response from a DiagnoseConversations request.",
      "type": "object",
      "properties": {
        "answer": {
          "description": "Output only. Deprecated: Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker is deprecated. The persistent analysis summary is stored inside the Diagnostic resource instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "string"
        },
        "fullTrajectories": {
          "description": "Output only. Deprecated: Use full_trajectory_steps instead. Output only. The complete sequence of thoughts and actions (full trajectory).",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "exportUri": {
          "description": "Output only. Deprecated: Output only. If an external destination was requested, the URI of the exported data is deprecated. The persistent diagnostic details are stored inside the Diagnostic resource instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "string"
        },
        "fullTrajectorySteps": {
          "description": "Output only. Deprecated: Output only. The complete sequence of thoughts and actions taken by the agent is deprecated under LRO response completions. Use the persistent details inside the Diagnostic resource instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1SherlockStep"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata",
      "description": "Metadata for an export insights operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for export.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest"
        },
        "partialErrors": {
          "description": "Partial errors during export operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "completedExportCount": {
          "description": "The number of conversations that were exported successfully.",
          "type": "integer",
          "format": "int32"
        },
        "failedExportCount": {
          "description": "The number of conversations that failed to be exported.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse",
      "description": "Response for an export insights operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata",
      "description": "Metadata used for export issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original export request.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse",
      "description": "Response from export issue model",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata",
      "description": "The metadata for generative insights.",
      "type": "object",
      "properties": {
        "errorMessages": {
          "description": "The error message when the generative insights request fails.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse",
      "description": "The response for generative insights.",
      "type": "object",
      "properties": {
        "generativeResponses": {
          "description": "The full list of generative responses. Each response is ordered by time.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse"
          }
        },
        "transcript": {
          "description": "The transcript of the generative insights conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse",
      "description": "Wrapper for storing the generative response for a chart.",
      "type": "object",
      "properties": {
        "textOutput": {
          "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.",
          "deprecated": true,
          "type": "string"
        },
        "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"
        },
        "chartSpec": {
          "description": "The chart spec for the data. This will be specified in the vega-lite or vega format.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "textMessage": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput",
      "description": "Wrapper for text output.",
      "type": "object",
      "properties": {
        "text": {
          "description": "The text output from the LLM.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "textType": {
          "description": "The type of text output.",
          "type": "string",
          "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."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "THOUGHT",
            "FINAL_RESPONSE",
            "PROGRESS"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript",
      "description": "The conversation transcript for the chart.",
      "type": "object",
      "properties": {
        "conversationId": {
          "description": "The conversation id of the chart.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The create time of the conversation.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The update time of the conversation.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "messages": {
          "description": "Ordered list of messages, including user inputs and system responses.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage",
      "description": "The message in the conversation.",
      "type": "object",
      "properties": {
        "userMessage": {
          "description": "A message from the user that is interacting with the system.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage"
        },
        "systemMessageWrapper": {
          "description": "A wrapper for system messages per turn.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages"
        },
        "messageId": {
          "description": "The message id of the message.",
          "type": "string"
        },
        "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.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage",
      "description": "The user message.",
      "type": "object",
      "properties": {
        "text": {
          "description": "A message from the user that is interacting with the system.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages",
      "description": "A wrapper for system messages per turn.",
      "type": "object",
      "properties": {
        "systemMessages": {
          "description": "A message from the system in response to the user.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage": {
      "id": "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.",
      "type": "object",
      "properties": {
        "textMessage": {
          "description": "A direct natural language response to the user message.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput"
        },
        "generatedSqlQuery": {
          "description": "Raw SQL from LLM, before templatization",
          "type": "string"
        },
        "chartSpec": {
          "description": "Chart spec from LLM",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "userProvidedSqlQuery": {
          "description": "Optional. User provided SQL query",
          "type": "string"
        },
        "userProvidedChartSpec": {
          "description": "Optional. User provided chart spec",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput",
      "description": "A text output message from the system.",
      "type": "object",
      "properties": {
        "text": {
          "description": "The parts of the message.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "textType": {
          "description": "The type of the text message.",
          "type": "string",
          "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."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "THOUGHT",
            "FINAL_RESPONSE",
            "PROGRESS"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata",
      "description": "Metadata used for import issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original import request.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse",
      "description": "Response from import issue model",
      "type": "object",
      "properties": {
        "issueModel": {
          "description": "The issue model that was imported.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IssueModel"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata",
      "description": "The metadata for an IngestConversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for ingest.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest"
        },
        "partialErrors": {
          "description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "ingestConversationsStats": {
          "description": "Output only. Statistics for IngestConversations operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats"
        },
        "sampledConversations": {
          "description": "Output only. Stores the conversation resources produced by ingest sampling operations.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats",
      "description": "Statistics for IngestConversations operation.",
      "type": "object",
      "properties": {
        "processedObjectCount": {
          "description": "Output only. The number of objects processed during the ingest operation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "duplicatesSkippedCount": {
          "description": "Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "successfulIngestCount": {
          "description": "Output only. The number of new conversations added during this ingest operation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse",
      "description": "The response to an IngestConversations operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata",
      "description": "Metadata for initializing a location-level encryption specification.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for initialization.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest"
        },
        "partialErrors": {
          "description": "Partial errors during initializing operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecResponse",
      "description": "The response to initialize a location-level encryption specification.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata",
      "description": "The metadata from querying metrics.",
      "type": "object",
      "properties": {
        "resultIsTruncated": {
          "description": "Whether the result rows were truncated because the result row size is too large to materialize.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponse",
      "description": "The response for querying metrics.",
      "type": "object",
      "properties": {
        "location": {
          "description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
          "type": "string"
        },
        "updateTime": {
          "description": "The metrics last update time.",
          "type": "string",
          "format": "google-datetime"
        },
        "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice"
          }
        },
        "macroAverageSlice": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice": {
      "id": "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 -\u003e dimensions=[Issue 1] * Slice 2 -\u003e dimensions=[Issue 2]",
      "type": "object",
      "properties": {
        "dimensions": {
          "description": "A unique combination of dimensions that this slice represents.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1Dimension"
          }
        },
        "total": {
          "description": "The total metric value. The interval of this data point is [starting create time, ending create time) from the request.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint"
        },
        "timeSeries": {
          "description": "A time series of metric values. This is only populated if the request specifies a time granularity other than NONE.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint",
      "description": "A data point contains the metric values mapped to an interval.",
      "type": "object",
      "properties": {
        "conversationMeasure": {
          "description": "The measure related to conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure"
        },
        "dialogflowInteractionMeasure": {
          "description": "The measure related to dialogflow interactions.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure"
        },
        "interval": {
          "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).",
          "$ref": "GoogleTypeInterval"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure",
      "description": "The measure related to conversations.",
      "type": "object",
      "properties": {
        "conversationCount": {
          "description": "The conversation count.",
          "type": "integer",
          "format": "int32"
        },
        "averageSilencePercentage": {
          "description": "The average silence percentage.",
          "type": "number",
          "format": "float"
        },
        "averageDuration": {
          "description": "The average duration.",
          "type": "string",
          "format": "google-duration"
        },
        "averageTurnCount": {
          "description": "The average turn count.",
          "type": "number",
          "format": "float"
        },
        "averageAgentSentimentScore": {
          "description": "The average agent's sentiment score.",
          "type": "number",
          "format": "float"
        },
        "averageClientSentimentScore": {
          "description": "The average client's sentiment score.",
          "type": "number",
          "format": "float"
        },
        "averageCustomerSatisfactionRating": {
          "description": "The average customer satisfaction rating.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "qaTagScores": {
          "description": "Average QA normalized score for all the tags.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore"
          }
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchResultCount": {
          "description": "Count of knowledge search results (Generative Knowledge Assist) shown to the user.",
          "type": "integer",
          "format": "int32"
        },
        "knowledgeSearchAgentQuerySourceRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchSuggestedQuerySourceRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistResultCount": {
          "description": "Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user.",
          "type": "integer",
          "format": "int32"
        },
        "knowledgeSearchUriClickRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistUriClickRatio": {
          "description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchPositiveFeedbackRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchNegativeFeedbackRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistPositiveFeedbackRatio": {
          "description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistNegativeFeedbackRatio": {
          "description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback.",
          "type": "number",
          "format": "double"
        },
        "summarizationSuggestionEditRatio": {
          "description": "Proportion of summarization suggestions that were manually edited.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "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).",
          "type": "number",
          "format": "double"
        },
        "conversationSuggestedSummaryRatio": {
          "description": "Proportion of conversations that had a suggested summary.",
          "type": "number",
          "format": "double"
        },
        "summarizationSuggestionResultCount": {
          "description": "Count of summarization suggestions results.",
          "type": "integer",
          "format": "int32"
        },
        "dialogflowInteractionsNoMatchRatio": {
          "description": "Proportion of dialogflow interactions that has no intent match for the input.",
          "type": "number",
          "format": "double"
        },
        "dialogflowInteractionsNoInputRatio": {
          "description": "Proportion of dialogflow interactions that has empty input.",
          "type": "number",
          "format": "double"
        },
        "dialogflowWebhookFailureRatio": {
          "description": "Proportion of dialogflow webhook calls that failed.",
          "type": "number",
          "format": "double"
        },
        "dialogflowWebhookTimeoutRatio": {
          "description": "Proportion of dialogflow webhook calls that timed out.",
          "type": "number",
          "format": "double"
        },
        "dialogflowAverageWebhookLatency": {
          "description": "Average latency of dialogflow webhook calls.",
          "type": "number",
          "format": "double"
        },
        "dialogflowConversationsEscalationRatio": {
          "description": "Proportion of conversations that was handed off from virtual agent to human agent.",
          "type": "number",
          "format": "double"
        },
        "dialogflowConversationsEscalationCount": {
          "description": "count of conversations that was handed off from virtual agent to human agent.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "conversationAiCoachSuggestionRatio": {
          "description": "Proportion of conversations that has Ai Coach Suggestions.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionAgentUsageRatio": {
          "description": "Proportion of Ai Coach Suggestion that has been used by agents.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionCustomerMessageTriggerRatio": {
          "description": "Proportion of customer messages that triggered an Ai Coach Suggestion.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "conversationAiCoachSuggestionCount": {
          "description": "Count of conversations that has Ai Coach Suggestions.",
          "type": "integer",
          "format": "int32"
        },
        "aiCoachSuggestionAgentUsageCount": {
          "description": "Count of Ai Coach Suggestion that has been used by agents.",
          "type": "integer",
          "format": "int32"
        },
        "aiCoachSuggestionCustomerMessageTriggerCount": {
          "description": "Count of customer messages that triggered an Ai Coach Suggestion.",
          "type": "integer",
          "format": "int32"
        },
        "aiCoachSuggestionAgentMessageTriggerCount": {
          "description": "Count of agent messages that triggered an Ai Coach Suggestion.",
          "type": "integer",
          "format": "int32"
        },
        "conversationTotalCustomerMessageCount": {
          "description": "The customer message count.",
          "type": "integer",
          "format": "int32"
        },
        "conversationTotalAgentMessageCount": {
          "description": "The agent message count.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorMonitoredConversationsCount": {
          "description": "The number of conversations scanned by the AA human supervisor.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorEscalatedConversationsCount": {
          "description": "The number of conversations that were escalated to an AA human supervisor for intervention.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorAssignedConversationsCount": {
          "description": "The number of conversations that were assigned to an AA human supervisor.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorDroppedConversationsCount": {
          "description": "The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorTransferredToHumanAgentConvCount": {
          "description": "The number of conversations transferred to a human agent.",
          "type": "integer",
          "format": "int32"
        },
        "avgConversationClientTurnSentimentEma": {
          "description": "The exponential moving average of the sentiment score of client turns in the conversation.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionMessageTriggerRatio": {
          "description": "Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionMessageTriggerCount": {
          "description": "Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
          "type": "integer",
          "format": "int32"
        },
        "containedConversationCount": {
          "description": "The number of conversations that were contained.",
          "type": "integer",
          "format": "int32"
        },
        "containedConversationRatio": {
          "description": "The percentage of conversations that were contained.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore",
      "description": "Average QA normalized score for the tag.",
      "type": "object",
      "properties": {
        "tag": {
          "description": "Tag name.",
          "type": "string"
        },
        "averageTagNormalizedScore": {
          "description": "Average tag normalized score per tag.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure",
      "description": "The measure related to dialogflow interactions.",
      "type": "object",
      "properties": {
        "percentileAudioInAudioOutLatency": {
          "description": "The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileLlmCallLatency": {
          "description": "The percentile result for LLM latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileTtsLatency": {
          "description": "The percentile result for TTS latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileToolUseLatency": {
          "description": "The percentile result for tool use latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileEndToEndLatency": {
          "description": "The percentile result for end to end chat latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult",
      "description": "The percentile result. Currently supported percentiles are 50th, 90th, and 99th.",
      "type": "object",
      "properties": {
        "p50": {
          "description": "The 50th percentile value.",
          "type": "number",
          "format": "double"
        },
        "p90": {
          "description": "The 90th percentile value.",
          "type": "number",
          "format": "double"
        },
        "p99": {
          "description": "The 99th percentile value.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries",
      "description": "A time series of metric values.",
      "type": "object",
      "properties": {
        "dataPoints": {
          "description": "The data points that make up the time series .",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewMetadata",
      "description": "The metadata for querying performance overview.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewResponse",
      "description": "The response for querying performance overview.",
      "type": "object",
      "properties": {
        "summaryText": {
          "description": "The summary text of the performance.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata",
      "description": "The metadata for an SampleConversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for sample conversations to dataset.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest"
        },
        "partialErrors": {
          "description": "Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "sampleConversationsStats": {
          "description": "Output only. Statistics for SampleConversations operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats",
      "description": "Statistics for SampleConversations operation.",
      "type": "object",
      "properties": {
        "successfulSampleCount": {
          "description": "Output only. The number of new conversations added during this sample operation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse",
      "description": "The response to an SampleConversations operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadata",
      "description": "Metadata for testing correlation config.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "dataset": {
          "description": "The dataset used for sampling conversations.",
          "type": "string"
        },
        "stats": {
          "description": "The statistics for the operation.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStats"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStats": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStats",
      "description": "Statistics for TestCorrelationConfig operation.",
      "type": "object",
      "properties": {
        "sampledConversationsCount": {
          "description": "The number of conversations sampled.",
          "type": "integer",
          "format": "int32"
        },
        "correlatedConversationsCount": {
          "description": "The number of conversations correlated.",
          "type": "integer",
          "format": "int32"
        },
        "failedConversationsCount": {
          "description": "The number of conversations that failed correlation.",
          "type": "integer",
          "format": "int32"
        },
        "partialErrors": {
          "description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "conversationCorrelationErrors": {
          "description": "A list of errors that occurred during correlation, one for each conversation that failed.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError",
      "description": "An error that occurred during correlation for a specific conversation.",
      "type": "object",
      "properties": {
        "conversation": {
          "description": "The conversation resource name that had an error during correlation.",
          "type": "string"
        },
        "status": {
          "description": "The error status.",
          "$ref": "GoogleRpcStatus"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponse",
      "description": "The response of testing correlation config.",
      "type": "object",
      "properties": {
        "detailedResults": {
          "description": "Results for the DETAILED_SYNC execution mode.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults"
        },
        "partialErrors": {
          "description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults",
      "description": "Wrapper for detailed, step-by-step results.",
      "type": "object",
      "properties": {
        "joinKeyResults": {
          "description": "A list of join key correlation results for each conversation tested.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult"
          }
        },
        "constraintResults": {
          "description": "A list of constraint evaluation results for each pair of conversations.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult",
      "description": "The result of testing correlation config on a single conversation.",
      "type": "object",
      "properties": {
        "conversation": {
          "description": "The conversation resource name.",
          "type": "string"
        },
        "ruleResults": {
          "description": "The results for each correlation rule.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult",
      "description": "The result of a single correlation rule.",
      "type": "object",
      "properties": {
        "correlationId": {
          "description": "The correlation ID generated by the join key expression.",
          "type": "string"
        },
        "error": {
          "description": "The error status if the join key expression failed to evaluate.",
          "$ref": "GoogleRpcStatus"
        },
        "ruleId": {
          "description": "The rule ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult",
      "description": "The result of testing a constraint expression on a pair of conversations.",
      "type": "object",
      "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult",
      "description": "The result of a single constraint rule on the pair of conversations.",
      "type": "object",
      "properties": {
        "constraintMet": {
          "description": "Whether the constraint expression evaluated to true for (A, B) or (B, A).",
          "type": "boolean"
        },
        "error": {
          "description": "The error status if the constraint expression failed to evaluate.",
          "$ref": "GoogleRpcStatus"
        },
        "ruleId": {
          "description": "The rule ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata",
      "description": "Metadata for undeploying an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for undeployment.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse",
      "description": "The response to undeploy an issue model.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata",
      "description": "The metadata for updating a QaQuestionTag Resource.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest",
      "description": "The request for updating a QaQuestionTag.",
      "type": "object",
      "properties": {
        "qaQuestionTag": {
          "description": "Required. The QaQuestionTag to update.",
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag"
        },
        "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",
          "type": "string",
          "format": "google-fieldmask"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata",
      "description": "The metadata for an `UploadConversation` operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest"
        },
        "analysisOperation": {
          "description": "Output only. The operation name for a successfully created analysis operation, if any.",
          "readOnly": true,
          "type": "string"
        },
        "appliedRedactionConfig": {
          "description": "Output only. The redaction config applied to the uploaded conversation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsMetadata",
      "description": "The metadata for a bulk analyze conversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for bulk analyze.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest"
        },
        "completedAnalysesCount": {
          "description": "The number of requested analyses that have completed successfully so far.",
          "type": "integer",
          "format": "int32"
        },
        "failedAnalysesCount": {
          "description": "The number of requested analyses that have failed so far.",
          "type": "integer",
          "format": "int32"
        },
        "totalRequestedAnalysesCount": {
          "description": "Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request.",
          "type": "integer",
          "format": "int32"
        },
        "partialErrors": {
          "description": "Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "relabel": {
          "description": "Output only. If true, the labeling rules will be re-evaluated for the conversations.",
          "readOnly": true,
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest",
      "description": "The request to analyze conversations in bulk.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource to create analyses in.",
          "type": "string"
        },
        "filter": {
          "description": "Required. Filter used to select the subset of conversations to analyze.",
          "type": "string"
        },
        "analysisPercentage": {
          "description": "Required. Percentage of selected conversation to analyze, between [0, 100].",
          "type": "number",
          "format": "float"
        },
        "annotatorSelector": {
          "description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelector"
        },
        "relabel": {
          "description": "Optional. If true, the labeling rules will be re-evaluated for the conversations.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainAnnotatorSelector": {
      "id": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelector",
      "description": "Selector of all available annotators and phrase matchers to run.",
      "type": "object",
      "properties": {
        "runInterruptionAnnotator": {
          "description": "Whether to run the interruption annotator.",
          "type": "boolean"
        },
        "runSilenceAnnotator": {
          "description": "Whether to run the silence annotator.",
          "type": "boolean"
        },
        "runPhraseMatcherAnnotator": {
          "description": "Whether to run the active phrase matcher annotator(s).",
          "type": "boolean"
        },
        "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}",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "runSentimentAnnotator": {
          "description": "Whether to run the sentiment annotator.",
          "type": "boolean"
        },
        "runEntityAnnotator": {
          "description": "Whether to run the entity annotator.",
          "type": "boolean"
        },
        "runIntentAnnotator": {
          "description": "Whether to run the intent 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"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "runSummarizationAnnotator": {
          "description": "Whether to run the summarization annotator.",
          "type": "boolean"
        },
        "summarizationConfig": {
          "description": "Configuration for the summarization annotator.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig"
        },
        "runQaAnnotator": {
          "description": "Whether to run the QA annotator.",
          "type": "boolean"
        },
        "qaConfig": {
          "description": "Configuration for the QA annotator.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig"
        },
        "runAutoLabelingAnnotator": {
          "description": "Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig": {
      "id": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig",
      "description": "Configuration for summarization.",
      "type": "object",
      "properties": {
        "conversationProfile": {
          "description": "Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}",
          "type": "string"
        },
        "summarizationModel": {
          "description": "Default summarization model to be used.",
          "type": "string",
          "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."
          ],
          "enumDeprecated": [
            false,
            true,
            true
          ],
          "enum": [
            "SUMMARIZATION_MODEL_UNSPECIFIED",
            "BASELINE_MODEL",
            "BASELINE_MODEL_V2_0"
          ]
        },
        "generator": {
          "description": "The resource name of the existing created generator. Format: projects//locations//generators/",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig": {
      "id": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig",
      "description": "Configuration for the QA feature.",
      "type": "object",
      "properties": {
        "scorecardList": {
          "description": "A manual list of scorecards to score.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList": {
      "id": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList",
      "description": "Container for a list of scorecards.",
      "type": "object",
      "properties": {
        "qaScorecardRevisions": {
          "description": "List of QaScorecardRevisions.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsResponse",
      "description": "The response for a bulk analyze conversations operation.",
      "type": "object",
      "properties": {
        "successfulAnalysisCount": {
          "description": "Count of successful analyses.",
          "type": "integer",
          "format": "int32"
        },
        "failedAnalysisCount": {
          "description": "Count of failed analyses.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsMetadata",
      "description": "The metadata for a bulk delete conversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for bulk delete.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest"
        },
        "partialErrors": {
          "description": "Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest",
      "description": "The request to delete conversations in bulk.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}",
          "type": "string"
        },
        "filter": {
          "description": "Filter used to select the subset of conversations to delete.",
          "type": "string"
        },
        "maxDeleteCount": {
          "description": "Maximum number of conversations to delete.",
          "type": "integer",
          "format": "int32"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsResponse",
      "description": "The response for a bulk delete conversations operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsMetadata",
      "description": "Metadata for the BulkDeleteFeedbackLabels endpoint.",
      "type": "object",
      "properties": {
        "request": {
          "description": "Output only. The original request for delete.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest"
        },
        "partialErrors": {
          "description": "Partial errors during deletion operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest",
      "description": "Request for the BulkDeleteFeedbackLabels endpoint.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource for new feedback 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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsResponse",
      "description": "Response for the BulkDeleteFeedbackLabels endpoint.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadata",
      "description": "Metadata for the BulkDownloadFeedbackLabel endpoint.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for download.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest"
        },
        "partialErrors": {
          "description": "Partial errors during ingest operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "downloadStats": {
          "description": "Output only. Statistics for BulkDownloadFeedbackLabels operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest",
      "description": "Request for the BulkDownloadFeedbackLabel endpoint.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource for new feedback 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": {
          "description": "A cloud storage bucket destination.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination"
        },
        "sheetsDestination": {
          "description": "A sheets document destination.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination"
        },
        "maxDownloadCount": {
          "description": "Optional. Limits the maximum number of feedback labels that will be downloaded. The first `N` feedback labels will be downloaded.",
          "type": "integer",
          "format": "int32"
        },
        "feedbackLabelType": {
          "description": "Optional. The type of feedback labels that will be downloaded.",
          "type": "string",
          "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."
          ],
          "enum": [
            "FEEDBACK_LABEL_TYPE_UNSPECIFIED",
            "QUALITY_AI",
            "TOPIC_MODELING",
            "AGENT_ASSIST_SUMMARY"
          ]
        },
        "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"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination",
      "description": "Google Cloud Storage Object details to write the feedback labels to.",
      "type": "object",
      "properties": {
        "format": {
          "description": "Required. File format in which the labels will be exported.",
          "type": "string",
          "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."
          ],
          "enum": [
            "FORMAT_UNSPECIFIED",
            "CSV",
            "JSON"
          ]
        },
        "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"
        },
        "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"
        },
        "recordsPerFileCount": {
          "description": "Optional. The number of records per file. Applicable for either format.",
          "type": "string",
          "format": "int64"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination",
      "description": "Google Sheets document details to write the feedback labels to.",
      "type": "object",
      "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. The spreadsheet ID written to will be returned as `file_names` in the BulkDownloadFeedbackLabelsMetadata.",
          "type": "string"
        },
        "sheetTitle": {
          "description": "Optional. The title of the new sheet to write the feedback labels to.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats",
      "description": "Statistics for BulkDownloadFeedbackLabels operation.",
      "type": "object",
      "properties": {
        "processedObjectCount": {
          "description": "The number of objects processed during the download operation.",
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        },
        "totalFilesWritten": {
          "description": "Total number of files written to the provided Cloud Storage bucket.",
          "type": "integer",
          "format": "int32"
        },
        "fileNames": {
          "description": "Output only. Full name of the files written to Cloud storage.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsResponse",
      "description": "Response for the BulkDownloadFeedbackLabel endpoint.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainCreateAnalysisOperationMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainCreateAnalysisOperationMetadata",
      "description": "Metadata for a create analysis operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "conversation": {
          "description": "Output only. The Conversation that this Analysis Operation belongs to.",
          "readOnly": true,
          "type": "string"
        },
        "annotatorSelector": {
          "description": "Output only. The annotator selector used for the analysis (if any).",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelector"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainCreateIssueMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainCreateIssueMetadata",
      "description": "Metadata for creating an issue.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for creation.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainCreateIssueRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainCreateIssueRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainCreateIssueRequest",
      "description": "The request to create an issue.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the issue.",
          "type": "string"
        },
        "issue": {
          "description": "Required. The values for the new issue.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIssue"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIssue": {
      "id": "GoogleCloudContactcenterinsightsV1mainIssue",
      "description": "The issue resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
          "type": "string"
        },
        "displayName": {
          "description": "The representative name for the issue.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this issue was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time that this issue was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "sampleUtterances": {
          "description": "Output only. Resource names of the sample representative utterances that match to this issue.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "displayDescription": {
          "description": "Representative description of the issue.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainCreateIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainCreateIssueModelMetadata",
      "description": "Metadata for creating an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for creation.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest",
      "description": "The request to create an issue model.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the issue model.",
          "type": "string"
        },
        "issueModel": {
          "description": "Required. The issue model to create.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIssueModel"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIssueModel": {
      "id": "GoogleCloudContactcenterinsightsV1mainIssueModel",
      "description": "The issue model resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}",
          "type": "string"
        },
        "displayName": {
          "description": "The representative name for the issue model.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time at which this issue model was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the issue model was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "issueCount": {
          "description": "Output only. Number of issues in this issue model.",
          "readOnly": true,
          "type": "string",
          "format": "int64"
        },
        "state": {
          "description": "Output only. State of the model.",
          "readOnly": true,
          "type": "string",
          "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."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "UNDEPLOYED",
            "DEPLOYING",
            "DEPLOYED",
            "UNDEPLOYING",
            "DELETING"
          ]
        },
        "inputDataConfig": {
          "description": "Configs for the input data that used to create the issue model.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig"
        },
        "trainingStats": {
          "description": "Output only. Immutable. The issue model's label statistics on its training data.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats"
        },
        "modelType": {
          "description": "Type of the model.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified model type.",
            "Type V1.",
            "Type V2."
          ],
          "enum": [
            "MODEL_TYPE_UNSPECIFIED",
            "TYPE_V1",
            "TYPE_V2"
          ]
        },
        "languageCode": {
          "description": "Language of the model.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig": {
      "id": "GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig",
      "description": "Configs for the input data used to create the issue model.",
      "type": "object",
      "properties": {
        "medium": {
          "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`.",
          "deprecated": true,
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "The format for conversations that took place over the phone.",
            "The format for conversations that took place over chat."
          ],
          "enum": [
            "MEDIUM_UNSPECIFIED",
            "PHONE_CALL",
            "CHAT"
          ]
        },
        "trainingConversationsCount": {
          "description": "Output only. Number of conversations used in training. Output only.",
          "readOnly": true,
          "type": "string",
          "format": "int64"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats": {
      "id": "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats",
      "description": "Aggregated statistics about an issue model.",
      "type": "object",
      "properties": {
        "analyzedConversationsCount": {
          "description": "Number of conversations the issue model has analyzed at this point in time.",
          "type": "string",
          "format": "int64"
        },
        "unclassifiedConversationsCount": {
          "description": "Number of analyzed conversations for which no issue was applicable at this point in time.",
          "type": "string",
          "format": "int64"
        },
        "issueStats": {
          "description": "Statistics on each issue. Key is the issue's resource name.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats": {
      "id": "GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats",
      "description": "Aggregated statistics about an issue.",
      "type": "object",
      "properties": {
        "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.",
          "type": "string",
          "format": "int64"
        },
        "displayName": {
          "description": "Display name of the issue.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDeleteIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDeleteIssueModelMetadata",
      "description": "Metadata for deleting an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for deletion.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest",
      "description": "The request to delete an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The name of the issue model to delete.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagMetadata",
      "description": "The metadata for deleting a QaQuestionTag Resource.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest",
      "description": "The request for deleting a QaQuestionTag.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The name of the QaQuestionTag to delete.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDeployIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDeployIssueModelMetadata",
      "description": "Metadata for deploying an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for deployment.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest",
      "description": "The request to deploy an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The issue model to deploy.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDeployIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainDeployIssueModelResponse",
      "description": "The response to deploy an issue model.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata",
      "description": "Metadata for a DiagnoseConversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The request that created the operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest"
        },
        "partialTrajectories": {
          "description": "Output only. Deprecated: Use partial_trajectory_steps instead. Output only. The intermediate trajectory updates (partial trajectory).",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "diagnosticReport": {
          "description": "Output only. The diagnostic report containing metrics and intent breakdowns.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDiagnosticReport"
        },
        "metricType": {
          "description": "Output only. The type of metric being diagnosed.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Metric type is unspecified.",
            "Escalation rate.",
            "Containment rate."
          ],
          "enum": [
            "DIAGNOSTIC_METRIC_TYPE_UNSPECIFIED",
            "ESCALATION",
            "CONTAINMENT"
          ]
        },
        "fullReport": {
          "description": "Output only. If true, the agent generated a full diagnostic report for all sub-agents.",
          "readOnly": true,
          "type": "boolean"
        },
        "latestStep": {
          "description": "Output only. The most recent thought or action from the agent.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainSherlockStep"
        },
        "partialTrajectorySteps": {
          "description": "Output only. The intermediate trajectory updates. This can be used for live progress tracking of the agent's thoughts and actions as it works through the analysis.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainSherlockStep"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest",
      "description": "The request to analyze conversation data using agentic workflows. This RPC triggers a complex analysis process that may involve several steps of reasoning and tool execution.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource where the analysis will be performed.",
          "type": "string"
        },
        "taskQuery": {
          "description": "Optional. A natural language description of the analysis goal or question.",
          "type": "string"
        },
        "filter": {
          "description": "Optional. AIP-160 compliant filter for selecting target conversations.",
          "type": "string"
        },
        "instructions": {
          "description": "Optional. Specific instructions for the agent.",
          "type": "string"
        },
        "maxSteps": {
          "description": "Optional. The maximum number of steps the agent can take during the execution of the task. Defaults to 10.",
          "type": "integer",
          "format": "int32"
        },
        "outputConfig": {
          "description": "Optional. Deprecated: The configuration for the output of the task. The export destination is unused. Detailed markdown and conversation slices are already persisted inside the Diagnostic resource instead.",
          "deprecated": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainOutputConfig"
        },
        "requestId": {
          "description": "Optional. Required. A unique ID that identifies the request. If the service receives two `DiagnoseConversationsRequest`s with the same `request_id`, then the second request will be ignored; instead, the response of the first request will be returned. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
          "type": "string"
        },
        "validateOnly": {
          "description": "Optional. If true, the request will only be validated (permissions, filter syntax, etc.) without actually triggering the analysis.",
          "type": "boolean"
        },
        "dryRun": {
          "description": "Optional. Deprecated: If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. This field is unused. Use validate_only instead.",
          "deprecated": true,
          "type": "boolean"
        },
        "metricType": {
          "description": "Optional. The type of metric being diagnosed.",
          "type": "string",
          "enumDescriptions": [
            "Metric type is unspecified.",
            "Escalation rate.",
            "Containment rate."
          ],
          "enum": [
            "DIAGNOSTIC_METRIC_TYPE_UNSPECIFIED",
            "ESCALATION",
            "CONTAINMENT"
          ]
        },
        "fullReport": {
          "description": "Optional. Deprecated: If true, the agent will generate a full diagnostic report for all sub-agents. Subagent reporting configuration is unused. The final diagnostic details are already persisted inside the Diagnostic resource instead.",
          "deprecated": true,
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainOutputConfig": {
      "id": "GoogleCloudContactcenterinsightsV1mainOutputConfig",
      "description": "Configuration for where to export or return the analysis findings.",
      "type": "object",
      "properties": {
        "googleSheetsDestination": {
          "description": "Optional. Export directly to a Google Sheet.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainOutputConfigGoogleSheetsDestination"
        },
        "gcsDestination": {
          "description": "Optional. Export to a Cloud Storage bucket.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainOutputConfigGcsDestination"
        },
        "bigqueryDestination": {
          "description": "Optional. Export to BigQuery.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainOutputConfigBigQueryDestination"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainOutputConfigGoogleSheetsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1mainOutputConfigGoogleSheetsDestination",
      "description": "Google Sheets destination configuration.",
      "type": "object",
      "properties": {
        "spreadsheetId": {
          "description": "Optional. An existing Google Sheets ID.",
          "type": "string"
        },
        "sheet": {
          "description": "Optional. The sheet name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainOutputConfigGcsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1mainOutputConfigGcsDestination",
      "description": "Cloud Storage destination configuration.",
      "type": "object",
      "properties": {
        "uri": {
          "description": "Required. The Cloud Storage URI to export the results to.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainOutputConfigBigQueryDestination": {
      "id": "GoogleCloudContactcenterinsightsV1mainOutputConfigBigQueryDestination",
      "description": "BigQuery destination configuration.",
      "type": "object",
      "properties": {
        "projectId": {
          "description": "Optional. A project ID or number.",
          "type": "string"
        },
        "dataset": {
          "description": "Required. The name of the BigQuery dataset.",
          "type": "string"
        },
        "table": {
          "description": "Required. The BigQuery table name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDiagnosticReport": {
      "id": "GoogleCloudContactcenterinsightsV1mainDiagnosticReport",
      "description": "A diagnostic report containing aggregate metrics and intent breakdowns.",
      "type": "object",
      "properties": {
        "metrics": {
          "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.",
          "readOnly": true,
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainMetricValue"
          }
        },
        "intentStats": {
          "description": "Output only. Deprecated: Intent breakdowns are no longer used.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainDiagnosticReportIntentStats"
          }
        },
        "lossPatterns": {
          "description": "Output only. A list of loss patterns identified for the entire project/dataset.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainLossPattern"
          }
        },
        "report": {
          "description": "Output only. The final report in markdown format.",
          "readOnly": true,
          "type": "string"
        },
        "conversationSlices": {
          "description": "Output only. A map of conversation slices used in the report.",
          "readOnly": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainMetricValue": {
      "id": "GoogleCloudContactcenterinsightsV1mainMetricValue",
      "deprecated": true,
      "description": "Deprecated: MetricValue is no longer used for diagnostics.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "Output only. The user-visible name of the metric (e.g., \"Containment Rate\").",
          "readOnly": true,
          "type": "string"
        },
        "value": {
          "description": "Output only. The calculated value of the metric (usually a ratio or rate 0.0 - 1.0).",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "hitCount": {
          "description": "Output only. The number of positive matches (hits) for this metric.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "totalCount": {
          "description": "Output only. The total number of items evaluated for this metric.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "sourceId": {
          "description": "Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.",
          "readOnly": true,
          "type": "string"
        },
        "conversations": {
          "description": "Output only. The list of conversation names that contributed to this metric (hits). Format: `projects/{project}/locations/{location}/conversations/{conversation}`",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "metricType": {
          "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Metric type is unspecified.",
            "Escalation rate.",
            "Containment rate."
          ],
          "enum": [
            "METRIC_TYPE_UNSPECIFIED",
            "ESCALATION",
            "CONTAINMENT"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDiagnosticReportIntentStats": {
      "id": "GoogleCloudContactcenterinsightsV1mainDiagnosticReportIntentStats",
      "description": "A breakdown of metrics grouped by intent.",
      "type": "object",
      "properties": {
        "intentId": {
          "description": "Output only. The unique identifier for the intent (from Discovery Engine).",
          "readOnly": true,
          "type": "string"
        },
        "intentDisplayName": {
          "description": "Output only. The display name of the intent.",
          "readOnly": true,
          "type": "string"
        },
        "conversationCount": {
          "description": "Output only. The number of conversations associated with this intent.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "metrics": {
          "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.",
          "readOnly": true,
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainMetricValue"
          }
        },
        "lossPatterns": {
          "description": "Output only. A list of loss patterns identified for this intent.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainLossPattern"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainLossPattern": {
      "id": "GoogleCloudContactcenterinsightsV1mainLossPattern",
      "description": "A loss pattern of a virtual agent and suggested fixes.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Output only. The unique identifier for the loss pattern.",
          "readOnly": true,
          "type": "string"
        },
        "displayName": {
          "description": "Output only. The display name of the loss pattern.",
          "readOnly": true,
          "type": "string"
        },
        "percentage": {
          "description": "Output only. The percentage of conversations that match this loss pattern.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "conversationIds": {
          "description": "Output only. A list of conversation IDs that match this loss pattern.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "description": {
          "description": "Output only. A markdown description of the loss pattern.",
          "readOnly": true,
          "type": "string"
        },
        "examples": {
          "description": "Output only. A markdown of loss pattern examples.",
          "readOnly": true,
          "type": "string"
        },
        "suggestedFixes": {
          "description": "Output only. A markdown description of the suggested fixes.",
          "readOnly": true,
          "type": "string"
        },
        "links": {
          "description": "Output only. A list of links to conversations or bot instructions.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainLossPatternLink"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainLossPatternLink": {
      "id": "GoogleCloudContactcenterinsightsV1mainLossPatternLink",
      "description": "A link to a conversation or bot instruction.",
      "type": "object",
      "properties": {
        "locationType": {
          "description": "The location type.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified location type.",
            "The link applies to the description field.",
            "The link applies to the suggested_fixes field.",
            "The link applies to the examples field."
          ],
          "enum": [
            "LOCATION_TYPE_UNSPECIFIED",
            "DESCRIPTION",
            "SUGGESTED_FIXES",
            "EXAMPLES"
          ]
        },
        "startByteIndex": {
          "description": "The start byte index of the highlighted text (inclusive).",
          "type": "integer",
          "format": "int32"
        },
        "endByteIndex": {
          "description": "The end byte index of the highlighted text (exclusive).",
          "type": "integer",
          "format": "int32"
        },
        "highlightedText": {
          "description": "The text that is highlighted. (populated for debugging purposes)",
          "type": "string"
        },
        "conversationLink": {
          "description": "A link to a conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink"
        },
        "botInstructionLink": {
          "description": "A link to a bot instruction.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink": {
      "id": "GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink",
      "description": "A link to a conversation.",
      "type": "object",
      "properties": {
        "conversationId": {
          "description": "The conversation ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink": {
      "id": "GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink",
      "description": "A link to a bot instruction.",
      "type": "object",
      "properties": {
        "startLine": {
          "description": "The inclusive start line number of the instructions.",
          "type": "integer",
          "format": "int32"
        },
        "endLine": {
          "description": "The exclusive end line number of the instructions.",
          "type": "integer",
          "format": "int32"
        },
        "subagent": {
          "description": "The name of the subagent.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice": {
      "id": "GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice",
      "description": "Output only. A map of conversation slices used in the report.",
      "type": "object",
      "properties": {
        "conversationIds": {
          "description": "The list of conversation IDs that match this slice.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSherlockStep": {
      "id": "GoogleCloudContactcenterinsightsV1mainSherlockStep",
      "description": "A step in the agent's reasoning process (Trajectory Step).",
      "type": "object",
      "properties": {
        "thought": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "string"
        },
        "toolCalls": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainToolCall"
          }
        },
        "toolOutput": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "textInput": {
          "description": "Output only. Deprecated: Use content instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "stepId": {
          "description": "Output only. Unique ID for this specific turn.",
          "readOnly": true,
          "type": "string"
        },
        "agentId": {
          "description": "Output only. The ID of the agent that produced/received this content.",
          "readOnly": true,
          "type": "string"
        },
        "content": {
          "description": "Output only. The content of the turn (either Model or User role).",
          "readOnly": true,
          "$ref": "GoogleCloudAiplatformV1Content"
        },
        "stateDeltas": {
          "description": "Output only. List of state changes caused by this specific turn.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object."
            }
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainToolCall": {
      "id": "GoogleCloudContactcenterinsightsV1mainToolCall",
      "description": "A tool call from the agent.",
      "type": "object",
      "properties": {
        "toolName": {
          "description": "Output only. The name of the tool being called.",
          "readOnly": true,
          "type": "string"
        },
        "input": {
          "description": "Output only. The input arguments to the tool.",
          "readOnly": true,
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse",
      "description": "The response from a DiagnoseConversations request.",
      "type": "object",
      "properties": {
        "answer": {
          "description": "Output only. Deprecated: Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker is deprecated. The persistent analysis summary is stored inside the Diagnostic resource instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "string"
        },
        "fullTrajectories": {
          "description": "Output only. Deprecated: Use full_trajectory_steps instead. Output only. The complete sequence of thoughts and actions (full trajectory).",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "exportUri": {
          "description": "Output only. Deprecated: Output only. If an external destination was requested, the URI of the exported data is deprecated. The persistent diagnostic details are stored inside the Diagnostic resource instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "string"
        },
        "fullTrajectorySteps": {
          "description": "Output only. Deprecated: Output only. The complete sequence of thoughts and actions taken by the agent is deprecated under LRO response completions. Use the persistent details inside the Diagnostic resource instead.",
          "readOnly": true,
          "deprecated": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainSherlockStep"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainExportInsightsDataMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataMetadata",
      "description": "Metadata for an export insights operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for export.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest"
        },
        "partialErrors": {
          "description": "Partial errors during export operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "completedExportCount": {
          "description": "The number of conversations that were exported successfully.",
          "type": "integer",
          "format": "int32"
        },
        "failedExportCount": {
          "description": "The number of conversations that failed to be exported.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest",
      "description": "The request to export insights.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource to export data from.",
          "type": "string"
        },
        "bigQueryDestination": {
          "description": "Specified if sink is a BigQuery table.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination"
        },
        "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"
        },
        "writeDisposition": {
          "description": "Options for what to do if the destination table already exists.",
          "type": "string",
          "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."
          ],
          "enum": [
            "WRITE_DISPOSITION_UNSPECIFIED",
            "WRITE_TRUNCATE",
            "WRITE_APPEND"
          ]
        },
        "exportSchemaVersion": {
          "description": "Optional. Version of the export schema.",
          "type": "string",
          "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."
          ],
          "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"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination": {
      "id": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination",
      "description": "A BigQuery Table Reference.",
      "type": "object",
      "properties": {
        "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"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainExportInsightsDataResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainExportInsightsDataResponse",
      "description": "Response for an export insights operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainExportIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainExportIssueModelMetadata",
      "description": "Metadata used for export issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original export request.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest",
      "description": "Request to export an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The issue model to export.",
          "type": "string"
        },
        "gcsDestination": {
          "description": "Google Cloud Storage URI to export the issue model to.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination": {
      "id": "GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination",
      "description": "Google Cloud Storage Object URI to save the issue model to.",
      "type": "object",
      "properties": {
        "objectUri": {
          "description": "Required. Format: `gs:///`",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainExportIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainExportIssueModelResponse",
      "description": "Response from export issue model",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata",
      "description": "The metadata for generative insights.",
      "type": "object",
      "properties": {
        "errorMessages": {
          "description": "The error message when the generative insights request fails.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponse",
      "description": "The response for generative insights.",
      "type": "object",
      "properties": {
        "generativeResponses": {
          "description": "The full list of generative responses. Each response is ordered by time.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse"
          }
        },
        "transcript": {
          "description": "The transcript of the generative insights conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse",
      "description": "Wrapper for storing the generative response for a chart.",
      "type": "object",
      "properties": {
        "textOutput": {
          "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.",
          "deprecated": true,
          "type": "string"
        },
        "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"
        },
        "chartSpec": {
          "description": "The chart spec for the data. This will be specified in the vega-lite or vega format.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "textMessage": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput": {
      "id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput",
      "description": "Wrapper for text output.",
      "type": "object",
      "properties": {
        "text": {
          "description": "The text output from the LLM.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "textType": {
          "description": "The type of text output.",
          "type": "string",
          "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."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "THOUGHT",
            "FINAL_RESPONSE",
            "PROGRESS"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript": {
      "id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript",
      "description": "The conversation transcript for the chart.",
      "type": "object",
      "properties": {
        "conversationId": {
          "description": "The conversation id of the chart.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The create time of the conversation.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The update time of the conversation.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "messages": {
          "description": "Ordered list of messages, including user inputs and system responses.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage": {
      "id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage",
      "description": "The message in the conversation.",
      "type": "object",
      "properties": {
        "messageId": {
          "description": "The message id of the message.",
          "type": "string"
        },
        "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.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "userMessage": {
          "description": "A message from the user that is interacting with the system.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage"
        },
        "systemMessageWrapper": {
          "description": "A wrapper for system messages per turn.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage": {
      "id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage",
      "description": "The user message.",
      "type": "object",
      "properties": {
        "text": {
          "description": "A message from the user that is interacting with the system.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages": {
      "id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages",
      "description": "A wrapper for system messages per turn.",
      "type": "object",
      "properties": {
        "systemMessages": {
          "description": "A message from the system in response to the user.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage": {
      "id": "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.",
      "type": "object",
      "properties": {
        "textMessage": {
          "description": "A direct natural language response to the user message.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput"
        },
        "generatedSqlQuery": {
          "description": "Raw SQL from LLM, before templatization",
          "type": "string"
        },
        "chartSpec": {
          "description": "Chart spec from LLM",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "userProvidedSqlQuery": {
          "description": "Optional. User provided SQL query",
          "type": "string"
        },
        "userProvidedChartSpec": {
          "description": "Optional. User provided chart spec",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput": {
      "id": "GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput",
      "description": "A text output message from the system.",
      "type": "object",
      "properties": {
        "text": {
          "description": "The parts of the message.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "textType": {
          "description": "The type of the text message.",
          "type": "string",
          "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."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "THOUGHT",
            "FINAL_RESPONSE",
            "PROGRESS"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainImportIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainImportIssueModelMetadata",
      "description": "Metadata used for import issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "The time the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "The time the operation finished running.",
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original import request.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest",
      "description": "Request to import an issue model.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the issue model.",
          "type": "string"
        },
        "gcsSource": {
          "description": "Google Cloud Storage source message.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource",
      "description": "Google Cloud Storage Object URI to get the issue model file from.",
      "type": "object",
      "properties": {
        "objectUri": {
          "description": "Required. Format: `gs:///`",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainImportIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainImportIssueModelResponse",
      "description": "Response from import issue model",
      "type": "object",
      "properties": {
        "issueModel": {
          "description": "The issue model that was imported.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIssueModel"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadata",
      "description": "The metadata for an IngestConversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for ingest.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest"
        },
        "partialErrors": {
          "description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "ingestConversationsStats": {
          "description": "Output only. Statistics for IngestConversations operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats"
        },
        "sampledConversations": {
          "description": "Output only. Stores the conversation resources produced by ingest sampling operations.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest",
      "description": "The request to ingest conversations.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource for new conversations.",
          "type": "string"
        },
        "gcsSource": {
          "description": "A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource"
        },
        "transcriptObjectConfig": {
          "description": "Configuration for when `source` contains conversation transcripts.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig"
        },
        "conversationConfig": {
          "description": "Configuration that applies to all conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig"
        },
        "redactionConfig": {
          "description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainRedactionConfig"
        },
        "speechConfig": {
          "description": "Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSpeechConfig"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource",
      "description": "Configuration for Cloud Storage bucket sources.",
      "type": "object",
      "properties": {
        "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"
        },
        "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`.",
          "type": "string",
          "enumDescriptions": [
            "The object type is unspecified and will default to `TRANSCRIPT`.",
            "The object is a transcript.",
            "The object is an audio file."
          ],
          "enum": [
            "BUCKET_OBJECT_TYPE_UNSPECIFIED",
            "TRANSCRIPT",
            "AUDIO"
          ]
        },
        "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"
        },
        "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"
        },
        "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"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig": {
      "id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig",
      "description": "Configuration for processing transcript objects.",
      "type": "object",
      "properties": {
        "medium": {
          "description": "Required. The medium transcript objects represent.",
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "The format for conversations that took place over the phone.",
            "The format for conversations that took place over chat."
          ],
          "enum": [
            "MEDIUM_UNSPECIFIED",
            "PHONE_CALL",
            "CHAT"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig": {
      "id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig",
      "description": "Configuration that applies to all conversations.",
      "type": "object",
      "properties": {
        "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"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainRedactionConfig": {
      "id": "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.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSpeechConfig": {
      "id": "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.",
      "type": "object",
      "properties": {
        "speechRecognizer": {
          "description": "The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats": {
      "id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats",
      "description": "Statistics for IngestConversations operation.",
      "type": "object",
      "properties": {
        "processedObjectCount": {
          "description": "Output only. The number of objects processed during the ingest operation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "duplicatesSkippedCount": {
          "description": "Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "successfulIngestCount": {
          "description": "Output only. The number of new conversations added during this ingest operation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIngestConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainIngestConversationsResponse",
      "description": "The response to an IngestConversations operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata",
      "description": "Metadata for initializing a location-level encryption specification.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for initialization.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest"
        },
        "partialErrors": {
          "description": "Partial errors during initializing operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest",
      "description": "The request to initialize a location-level encryption specification.",
      "type": "object",
      "properties": {
        "encryptionSpec": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainEncryptionSpec"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainEncryptionSpec": {
      "id": "GoogleCloudContactcenterinsightsV1mainEncryptionSpec",
      "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`).",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecResponse",
      "description": "The response to initialize a location-level encryption specification.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainListAllFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainListAllFeedbackLabelsResponse",
      "description": "The response for listing all feedback labels.",
      "type": "object",
      "properties": {
        "feedbackLabels": {
          "description": "The feedback labels that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainFeedbackLabel"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainFeedbackLabel": {
      "id": "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.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}",
          "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"
        },
        "label": {
          "description": "String label used for Topic Modeling.",
          "type": "string"
        },
        "qaAnswerLabel": {
          "description": "QaAnswer label used for Quality AI example conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue"
        },
        "createTime": {
          "description": "Output only. Create time of the label.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Update time of the label.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue": {
      "id": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue",
      "description": "Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.",
      "type": "object",
      "properties": {
        "key": {
          "description": "A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.",
          "type": "string"
        },
        "strValue": {
          "description": "String value.",
          "type": "string"
        },
        "numValue": {
          "description": "Numerical value.",
          "type": "number",
          "format": "double"
        },
        "boolValue": {
          "description": "Boolean value.",
          "type": "boolean"
        },
        "naValue": {
          "description": "A value of \"Not Applicable (N/A)\". Should only ever be `true`.",
          "type": "boolean"
        },
        "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"
        },
        "score": {
          "description": "Output only. Numerical score of the answer.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "Output only. The maximum potential score of the question.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "Output only. Normalized score of the questions. Calculated as score / potential_score.",
          "readOnly": true,
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainListFeedbackLabelsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainListFeedbackLabelsResponse",
      "description": "The response for listing feedback labels.",
      "type": "object",
      "properties": {
        "feedbackLabels": {
          "description": "The feedback labels that match the request.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainFeedbackLabel"
          }
        },
        "nextPageToken": {
          "description": "The next page token.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryMetricsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsMetadata",
      "description": "The metadata from querying metrics.",
      "type": "object",
      "properties": {
        "resultIsTruncated": {
          "description": "Whether the result rows were truncated because the result row size is too large to materialize.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponse",
      "description": "The response for querying metrics.",
      "type": "object",
      "properties": {
        "location": {
          "description": "Required. The location of the data. \"projects/{project}/locations/{location}\"",
          "type": "string"
        },
        "updateTime": {
          "description": "The metrics last update time.",
          "type": "string",
          "format": "google-datetime"
        },
        "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice"
          }
        },
        "macroAverageSlice": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice": {
      "id": "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 -\u003e dimensions=[Issue 1] * Slice 2 -\u003e dimensions=[Issue 2]",
      "type": "object",
      "properties": {
        "dimensions": {
          "description": "A unique combination of dimensions that this slice represents.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainDimension"
          }
        },
        "total": {
          "description": "The total metric value. The interval of this data point is [starting create time, ending create time) from the request.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint"
        },
        "timeSeries": {
          "description": "A time series of metric values. This is only populated if the request specifies a time granularity other than NONE.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimension": {
      "id": "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.",
      "type": "object",
      "properties": {
        "dimensionKey": {
          "description": "The key of the dimension.",
          "type": "string",
          "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.",
            "The dimension is keyed by the last transfer sub agent name."
          ],
          "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",
            "LAST_TRANSFER_SUB_AGENT_NAME"
          ]
        },
        "issueDimensionMetadata": {
          "description": "Output only. Metadata about the issue dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata"
        },
        "agentDimensionMetadata": {
          "description": "Output only. Metadata about the agent dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata"
        },
        "qaQuestionDimensionMetadata": {
          "description": "Output only. Metadata about the QA question dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata"
        },
        "qaQuestionAnswerDimensionMetadata": {
          "description": "Output only. Metadata about the QA question-answer dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata"
        },
        "qaScorecardDimensionMetadata": {
          "description": "Output only. Metadata about the QA scorecard dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata"
        },
        "conversationProfileDimensionMetadata": {
          "description": "Output only. Metadata about the conversation profile dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata"
        },
        "mediumDimensionMetadata": {
          "description": "Output only. Metadata about the conversation medium dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata"
        },
        "conversationalAgentsPlaybookDimensionMetadata": {
          "description": "Output only. Metadata about the Conversational Agents playbook dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata"
        },
        "conversationalAgentsToolDimensionMetadata": {
          "description": "Output only. Metadata about the Conversational Agents tool dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata"
        },
        "clientSentimentCategoryDimensionMetadata": {
          "description": "Output only. Metadata about the client sentiment category dimension.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata"
        },
        "labelDimensionMetadata": {
          "description": "Output only. Metadata about conversation labels.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata",
      "description": "Metadata about the issue dimension.",
      "type": "object",
      "properties": {
        "issueId": {
          "description": "The issue ID.",
          "type": "string"
        },
        "issueDisplayName": {
          "description": "The issue display name.",
          "type": "string"
        },
        "issueModelId": {
          "description": "The parent issue model ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata",
      "description": "Metadata about the agent dimension.",
      "type": "object",
      "properties": {
        "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"
        },
        "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"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata",
      "description": "Metadata about the QA question dimension.",
      "type": "object",
      "properties": {
        "qaScorecardId": {
          "description": "Optional. The QA scorecard ID.",
          "type": "string"
        },
        "qaQuestionId": {
          "description": "Optional. The QA question ID.",
          "type": "string"
        },
        "questionBody": {
          "description": "Optional. The full body of the question.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata",
      "description": "Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.",
      "type": "object",
      "properties": {
        "qaScorecardId": {
          "description": "Optional. The QA scorecard ID.",
          "type": "string"
        },
        "qaQuestionId": {
          "description": "Optional. The QA question ID.",
          "type": "string"
        },
        "questionBody": {
          "description": "Optional. The full body of the question.",
          "type": "string"
        },
        "answerValue": {
          "description": "Optional. The full body of the question.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata",
      "description": "Metadata about the QA scorecard dimension.",
      "type": "object",
      "properties": {
        "qaScorecardId": {
          "description": "Optional. The QA scorecard ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata",
      "description": "Metadata about the conversation profile dimension.",
      "type": "object",
      "properties": {
        "conversationProfileId": {
          "description": "Optional. The conversation profile ID.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata",
      "description": "Metadata about the conversation medium dimension.",
      "type": "object",
      "properties": {
        "medium": {
          "description": "Optional. The conversation medium. Currently supports : PHONE_CALL, CHAT.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata",
      "description": "Metadata about the Conversational Agents playbook dimension.",
      "type": "object",
      "properties": {
        "playbookId": {
          "description": "Optional. The dialogflow playbook ID.",
          "type": "string"
        },
        "playbookDisplayName": {
          "description": "Optional. The dialogflow playbook display name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata",
      "description": "Metadata about the Conversational Agents tool dimension.",
      "type": "object",
      "properties": {
        "toolId": {
          "description": "Optional. The dialogflow tool ID.",
          "type": "string"
        },
        "toolDisplayName": {
          "description": "Optional. The dialogflow tool display name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata",
      "description": "Metadata about the client sentiment category dimension.",
      "type": "object",
      "properties": {
        "sentimentCategory": {
          "description": "Optional. The client sentiment category.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata",
      "description": "Metadata about conversation labels.",
      "type": "object",
      "properties": {
        "labelKey": {
          "description": "Optional. The label key.",
          "type": "string"
        },
        "labelValue": {
          "description": "Optional. The label value.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint",
      "description": "A data point contains the metric values mapped to an interval.",
      "type": "object",
      "properties": {
        "interval": {
          "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).",
          "$ref": "GoogleTypeInterval"
        },
        "conversationMeasure": {
          "description": "The measure related to conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure"
        },
        "dialogflowInteractionMeasure": {
          "description": "The measure related to dialogflow interactions.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure",
      "description": "The measure related to conversations.",
      "type": "object",
      "properties": {
        "conversationCount": {
          "description": "The conversation count.",
          "type": "integer",
          "format": "int32"
        },
        "averageSilencePercentage": {
          "description": "The average silence percentage.",
          "type": "number",
          "format": "float"
        },
        "averageDuration": {
          "description": "The average duration.",
          "type": "string",
          "format": "google-duration"
        },
        "averageTurnCount": {
          "description": "The average turn count.",
          "type": "number",
          "format": "float"
        },
        "averageAgentSentimentScore": {
          "description": "The average agent's sentiment score.",
          "type": "number",
          "format": "float"
        },
        "averageClientSentimentScore": {
          "description": "The average client's sentiment score.",
          "type": "number",
          "format": "float"
        },
        "averageCustomerSatisfactionRating": {
          "description": "The average customer satisfaction rating.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "qaTagScores": {
          "description": "Average QA normalized score for all the tags.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore"
          }
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchResultCount": {
          "description": "Count of knowledge search results (Generative Knowledge Assist) shown to the user.",
          "type": "integer",
          "format": "int32"
        },
        "knowledgeSearchAgentQuerySourceRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchSuggestedQuerySourceRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistResultCount": {
          "description": "Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user.",
          "type": "integer",
          "format": "int32"
        },
        "knowledgeSearchUriClickRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistUriClickRatio": {
          "description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchPositiveFeedbackRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback.",
          "type": "number",
          "format": "double"
        },
        "knowledgeSearchNegativeFeedbackRatio": {
          "description": "Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistPositiveFeedbackRatio": {
          "description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback.",
          "type": "number",
          "format": "double"
        },
        "knowledgeAssistNegativeFeedbackRatio": {
          "description": "Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback.",
          "type": "number",
          "format": "double"
        },
        "summarizationSuggestionEditRatio": {
          "description": "Proportion of summarization suggestions that were manually edited.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "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).",
          "type": "number",
          "format": "double"
        },
        "conversationSuggestedSummaryRatio": {
          "description": "Proportion of conversations that had a suggested summary.",
          "type": "number",
          "format": "double"
        },
        "summarizationSuggestionResultCount": {
          "description": "Count of summarization suggestions results.",
          "type": "integer",
          "format": "int32"
        },
        "dialogflowInteractionsNoMatchRatio": {
          "description": "Proportion of dialogflow interactions that has no intent match for the input.",
          "type": "number",
          "format": "double"
        },
        "dialogflowInteractionsNoInputRatio": {
          "description": "Proportion of dialogflow interactions that has empty input.",
          "type": "number",
          "format": "double"
        },
        "dialogflowWebhookFailureRatio": {
          "description": "Proportion of dialogflow webhook calls that failed.",
          "type": "number",
          "format": "double"
        },
        "dialogflowWebhookTimeoutRatio": {
          "description": "Proportion of dialogflow webhook calls that timed out.",
          "type": "number",
          "format": "double"
        },
        "dialogflowAverageWebhookLatency": {
          "description": "Average latency of dialogflow webhook calls.",
          "type": "number",
          "format": "double"
        },
        "dialogflowConversationsEscalationRatio": {
          "description": "Proportion of conversations that was handed off from virtual agent to human agent.",
          "type": "number",
          "format": "double"
        },
        "dialogflowConversationsEscalationCount": {
          "description": "count of conversations that was handed off from virtual agent to human agent.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "conversationAiCoachSuggestionRatio": {
          "description": "Proportion of conversations that has Ai Coach Suggestions.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionAgentUsageRatio": {
          "description": "Proportion of Ai Coach Suggestion that has been used by agents.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionCustomerMessageTriggerRatio": {
          "description": "Proportion of customer messages that triggered an Ai Coach Suggestion.",
          "type": "number",
          "format": "double"
        },
        "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.",
          "type": "number",
          "format": "double"
        },
        "conversationAiCoachSuggestionCount": {
          "description": "Count of conversations that has Ai Coach Suggestions.",
          "type": "integer",
          "format": "int32"
        },
        "aiCoachSuggestionAgentUsageCount": {
          "description": "Count of Ai Coach Suggestion that has been used by agents.",
          "type": "integer",
          "format": "int32"
        },
        "aiCoachSuggestionCustomerMessageTriggerCount": {
          "description": "Count of customer messages that triggered an Ai Coach Suggestion.",
          "type": "integer",
          "format": "int32"
        },
        "aiCoachSuggestionAgentMessageTriggerCount": {
          "description": "Count of agent messages that triggered an Ai Coach Suggestion.",
          "type": "integer",
          "format": "int32"
        },
        "conversationTotalCustomerMessageCount": {
          "description": "The customer message count.",
          "type": "integer",
          "format": "int32"
        },
        "conversationTotalAgentMessageCount": {
          "description": "The agent message count.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorMonitoredConversationsCount": {
          "description": "The number of conversations scanned by the AA human supervisor.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorEscalatedConversationsCount": {
          "description": "The number of conversations that were escalated to an AA human supervisor for intervention.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorAssignedConversationsCount": {
          "description": "The number of conversations that were assigned to an AA human supervisor.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorDroppedConversationsCount": {
          "description": "The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor.",
          "type": "integer",
          "format": "int32"
        },
        "aaSupervisorTransferredToHumanAgentConvCount": {
          "description": "The number of conversations transferred to a human agent.",
          "type": "integer",
          "format": "int32"
        },
        "avgConversationClientTurnSentimentEma": {
          "description": "The exponential moving average of the sentiment score of client turns in the conversation.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionMessageTriggerRatio": {
          "description": "Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
          "type": "number",
          "format": "double"
        },
        "aiCoachSuggestionMessageTriggerCount": {
          "description": "Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion.",
          "type": "integer",
          "format": "int32"
        },
        "containedConversationCount": {
          "description": "The number of conversations that were contained.",
          "type": "integer",
          "format": "int32"
        },
        "containedConversationRatio": {
          "description": "The percentage of conversations that were contained.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore",
      "description": "Average QA normalized score for the tag.",
      "type": "object",
      "properties": {
        "tag": {
          "description": "Tag name.",
          "type": "string"
        },
        "averageTagNormalizedScore": {
          "description": "Average tag normalized score per tag.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure",
      "description": "The measure related to dialogflow interactions.",
      "type": "object",
      "properties": {
        "percentileAudioInAudioOutLatency": {
          "description": "The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileLlmCallLatency": {
          "description": "The percentile result for LLM latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileTtsLatency": {
          "description": "The percentile result for TTS latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileToolUseLatency": {
          "description": "The percentile result for tool use latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult"
        },
        "percentileEndToEndLatency": {
          "description": "The percentile result for end to end chat latency in milliseconds per dialogflow interaction level.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult",
      "description": "The percentile result. Currently supported percentiles are 50th, 90th, and 99th.",
      "type": "object",
      "properties": {
        "p50": {
          "description": "The 50th percentile value.",
          "type": "number",
          "format": "double"
        },
        "p90": {
          "description": "The 90th percentile value.",
          "type": "number",
          "format": "double"
        },
        "p99": {
          "description": "The 99th percentile value.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries",
      "description": "A time series of metric values.",
      "type": "object",
      "properties": {
        "dataPoints": {
          "description": "The data points that make up the time series .",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewMetadata",
      "description": "The metadata for querying performance overview.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewResponse",
      "description": "The response for querying performance overview.",
      "type": "object",
      "properties": {
        "summaryText": {
          "description": "The summary text of the performance.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadata",
      "description": "The metadata for an SampleConversations operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request for sample conversations to dataset.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest"
        },
        "partialErrors": {
          "description": "Output only. Partial errors during sample conversations operation that might cause the operation output to be incomplete.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "sampleConversationsStats": {
          "description": "Output only. Statistics for SampleConversations operation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest",
      "description": "The request to sample conversations to a dataset.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the dataset.",
          "type": "string"
        },
        "sampleRule": {
          "description": "Optional. The sample rule used for sampling conversations.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSampleRule"
        },
        "destinationDataset": {
          "description": "The dataset resource to copy the sampled conversations to.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainDataset"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSampleRule": {
      "id": "GoogleCloudContactcenterinsightsV1mainSampleRule",
      "description": "Message for sampling conversations.",
      "type": "object",
      "properties": {
        "samplePercentage": {
          "description": "Percentage of conversations that we should sample based on the dimension between [0, 100].",
          "type": "number",
          "format": "double"
        },
        "sampleRow": {
          "description": "Number of the conversations that we should sample based on the dimension.",
          "type": "string",
          "format": "int64"
        },
        "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"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDataset": {
      "id": "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)",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}",
          "type": "string"
        },
        "displayName": {
          "description": "Display name for the dataaset",
          "type": "string"
        },
        "description": {
          "description": "Dataset description.",
          "type": "string"
        },
        "type": {
          "description": "Dataset usage type.",
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "For evals only.",
            "Dataset with new conversations coming in regularly (Insights legacy conversations and AI trainer)"
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "EVAL",
            "LIVE"
          ]
        },
        "ttl": {
          "description": "Optional. Option TTL for the dataset.",
          "type": "string",
          "format": "google-duration"
        },
        "createTime": {
          "description": "Output only. Dataset create time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. Dataset update time.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats": {
      "id": "GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats",
      "description": "Statistics for SampleConversations operation.",
      "type": "object",
      "properties": {
        "successfulSampleCount": {
          "description": "Output only. The number of new conversations added during this sample operation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "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.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSampleConversationsResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainSampleConversationsResponse",
      "description": "The response to an SampleConversations operation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadata",
      "description": "Metadata for testing correlation config.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "dataset": {
          "description": "The dataset used for sampling conversations.",
          "type": "string"
        },
        "stats": {
          "description": "The statistics for the operation.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStats"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStats": {
      "id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStats",
      "description": "Statistics for TestCorrelationConfig operation.",
      "type": "object",
      "properties": {
        "sampledConversationsCount": {
          "description": "The number of conversations sampled.",
          "type": "integer",
          "format": "int32"
        },
        "correlatedConversationsCount": {
          "description": "The number of conversations correlated.",
          "type": "integer",
          "format": "int32"
        },
        "failedConversationsCount": {
          "description": "The number of conversations that failed correlation.",
          "type": "integer",
          "format": "int32"
        },
        "partialErrors": {
          "description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        },
        "conversationCorrelationErrors": {
          "description": "A list of errors that occurred during correlation, one for each conversation that failed.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError": {
      "id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError",
      "description": "An error that occurred during correlation for a specific conversation.",
      "type": "object",
      "properties": {
        "conversation": {
          "description": "The conversation resource name that had an error during correlation.",
          "type": "string"
        },
        "status": {
          "description": "The error status.",
          "$ref": "GoogleRpcStatus"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponse",
      "description": "The response of testing correlation config.",
      "type": "object",
      "properties": {
        "detailedResults": {
          "description": "Results for the DETAILED_SYNC execution mode.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults"
        },
        "partialErrors": {
          "description": "Partial errors during test correlation config operation that might cause the operation output to be incomplete.",
          "type": "array",
          "items": {
            "$ref": "GoogleRpcStatus"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults": {
      "id": "GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults",
      "description": "Wrapper for detailed, step-by-step results.",
      "type": "object",
      "properties": {
        "joinKeyResults": {
          "description": "A list of join key correlation results for each conversation tested.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult"
          }
        },
        "constraintResults": {
          "description": "A list of constraint evaluation results for each pair of conversations.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult",
      "description": "The result of testing correlation config on a single conversation.",
      "type": "object",
      "properties": {
        "conversation": {
          "description": "The conversation resource name.",
          "type": "string"
        },
        "ruleResults": {
          "description": "The results for each correlation rule.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCorrelationResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCorrelationResult": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCorrelationResult",
      "description": "The result of a single correlation rule.",
      "type": "object",
      "properties": {
        "ruleId": {
          "description": "The rule ID.",
          "type": "string"
        },
        "correlationId": {
          "description": "The correlation ID generated by the join key expression.",
          "type": "string"
        },
        "error": {
          "description": "The error status if the join key expression failed to evaluate.",
          "$ref": "GoogleRpcStatus"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult": {
      "id": "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult",
      "description": "The result of testing a constraint expression on a pair of conversations.",
      "type": "object",
      "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResultRuleConstraintResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResultRuleConstraintResult": {
      "id": "GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResultRuleConstraintResult",
      "description": "The result of a single constraint rule on the pair of conversations.",
      "type": "object",
      "properties": {
        "ruleId": {
          "description": "The rule ID.",
          "type": "string"
        },
        "constraintMet": {
          "description": "Whether the constraint expression evaluated to true for (A, B) or (B, A).",
          "type": "boolean"
        },
        "error": {
          "description": "The error status if the constraint expression failed to evaluate.",
          "$ref": "GoogleRpcStatus"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata",
      "description": "Metadata for undeploying an issue model.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "The original request for undeployment.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest",
      "description": "The request to undeploy an issue model.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Required. The issue model to undeploy.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelResponse": {
      "id": "GoogleCloudContactcenterinsightsV1mainUndeployIssueModelResponse",
      "description": "The response to undeploy an issue model.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagMetadata",
      "description": "The metadata for updating a QaQuestionTag Resource.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest",
      "description": "The request for updating a QaQuestionTag.",
      "type": "object",
      "properties": {
        "qaQuestionTag": {
          "description": "Required. The QaQuestionTag to update.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQaQuestionTag"
        },
        "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",
          "type": "string",
          "format": "google-fieldmask"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQaQuestionTag": {
      "id": "GoogleCloudContactcenterinsightsV1mainQaQuestionTag",
      "description": "A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., \"Customer Satisfaction\",\"Billing\", etc.",
      "type": "object",
      "properties": {
        "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"
        },
        "displayName": {
          "description": "Required. A user-specified display name for the tag.",
          "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "createTime": {
          "description": "Output only. The time at which the question tag was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the question tag was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainUploadConversationMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainUploadConversationMetadata",
      "description": "The metadata for an `UploadConversation` operation.",
      "type": "object",
      "properties": {
        "createTime": {
          "description": "Output only. The time the operation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "endTime": {
          "description": "Output only. The time the operation finished running.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "request": {
          "description": "Output only. The original request.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainUploadConversationRequest"
        },
        "analysisOperation": {
          "description": "Output only. The operation name for a successfully created analysis operation, if any.",
          "readOnly": true,
          "type": "string"
        },
        "appliedRedactionConfig": {
          "description": "Output only. The redaction config applied to the uploaded conversation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainRedactionConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainUploadConversationRequest": {
      "id": "GoogleCloudContactcenterinsightsV1mainUploadConversationRequest",
      "description": "Request to upload a conversation.",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. The parent resource of the conversation.",
          "type": "string"
        },
        "conversation": {
          "description": "Required. The conversation resource to create.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversation"
        },
        "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"
        },
        "redactionConfig": {
          "description": "Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainRedactionConfig"
        },
        "speechConfig": {
          "description": "Optional. Speech-to-Text configuration. Will default to the config specified in Settings.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSpeechConfig"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversation": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversation",
      "description": "The conversation resource.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}",
          "type": "string"
        },
        "dataSource": {
          "description": "The source of the audio and transcription for the conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationDataSource"
        },
        "createTime": {
          "description": "Output only. The time at which the conversation was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "Output only. The most recent time at which the conversation was updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "startTime": {
          "description": "The time at which the conversation started.",
          "type": "string",
          "format": "google-datetime"
        },
        "languageCode": {
          "description": "A user-specified language code for the conversation.",
          "type": "string"
        },
        "agentId": {
          "description": "An opaque, user-specified string representing the human agent who handled the conversation.",
          "type": "string"
        },
        "labels": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "callMetadata": {
          "description": "Call-specific metadata.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationCallMetadata"
        },
        "qualityMetadata": {
          "description": "Conversation metadata related to quality management.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata"
        },
        "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"
        },
        "transcript": {
          "description": "Output only. The conversation transcript.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationTranscript"
        },
        "medium": {
          "description": "Immutable. The conversation medium.",
          "type": "string",
          "enumDescriptions": [
            "Default value for unspecified.",
            "The format for conversations that took place over the phone.",
            "The format for conversations that took place over chat."
          ],
          "enum": [
            "MEDIUM_UNSPECIFIED",
            "PHONE_CALL",
            "CHAT"
          ]
        },
        "duration": {
          "description": "Output only. The duration of the conversation.",
          "readOnly": true,
          "type": "string",
          "format": "google-duration"
        },
        "turnCount": {
          "description": "Output only. The number of turns in the conversation.",
          "readOnly": true,
          "type": "integer",
          "format": "int32"
        },
        "latestAnalysis": {
          "description": "Output only. The conversation's latest analysis, if one exists.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnalysis"
        },
        "latestSummary": {
          "description": "Output only. Latest summary of the conversation.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData"
        },
        "runtimeAnnotations": {
          "description": "Output only. The annotations that were generated during the customer and agent interaction.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation"
          }
        },
        "expireTime": {
          "description": "The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.",
          "type": "string",
          "format": "google-datetime"
        },
        "ttl": {
          "description": "Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.",
          "type": "string",
          "format": "google-duration"
        },
        "dialogflowIntents": {
          "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",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainDialogflowIntent"
          }
        },
        "obfuscatedUserId": {
          "description": "Obfuscated user ID which the customer sent to us.",
          "type": "string"
        },
        "correlationInfo": {
          "description": "Output only. Info for correlating across conversations.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationDataSource": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationDataSource",
      "description": "The conversation source, which is a combination of transcript and audio.",
      "type": "object",
      "properties": {
        "gcsSource": {
          "description": "A Cloud Storage location specification for the audio and transcript.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainGcsSource"
        },
        "dialogflowSource": {
          "description": "The source when the conversation comes from Dialogflow.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainDialogflowSource"
        },
        "metadataUri": {
          "description": "Cloud Storage URI that points to a file that contains the conversation metadata.",
          "type": "string"
        },
        "turnLevelAudios": {
          "description": "Cloud Storage URIs that points to files that contain the conversation audio for each turn. Assume the order of the URIs is the same as the order of the transcript turns.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainConversationDataSourceTurnLevelAudio"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainGcsSource": {
      "id": "GoogleCloudContactcenterinsightsV1mainGcsSource",
      "description": "A Cloud Storage source of conversation data.",
      "type": "object",
      "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDialogflowSource": {
      "id": "GoogleCloudContactcenterinsightsV1mainDialogflowSource",
      "description": "A Dialogflow source of conversation data.",
      "type": "object",
      "properties": {
        "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"
        },
        "audioUri": {
          "description": "Cloud Storage URI that points to a file that contains the conversation audio.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationDataSourceTurnLevelAudio": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationDataSourceTurnLevelAudio",
      "description": "A wrapper for holding the audio for any given turn.",
      "type": "object",
      "properties": {
        "audioGcsUri": {
          "description": "The Cloud Storage URI of the audio for any given turn.",
          "type": "string"
        },
        "audioDuration": {
          "description": "The duration of the audio.",
          "type": "string",
          "format": "google-duration"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationCallMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationCallMetadata",
      "description": "Call-specific metadata.",
      "type": "object",
      "properties": {
        "customerChannel": {
          "description": "The audio channel that contains the customer.",
          "type": "integer",
          "format": "int32"
        },
        "agentChannel": {
          "description": "The audio channel that contains the agent.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata",
      "description": "Conversation metadata related to quality management.",
      "type": "object",
      "properties": {
        "customerSatisfactionRating": {
          "description": "An arbitrary integer value indicating the customer's satisfaction rating.",
          "type": "integer",
          "format": "int32"
        },
        "waitDuration": {
          "description": "The amount of time the customer waited to connect with an agent.",
          "type": "string",
          "format": "google-duration"
        },
        "menuPath": {
          "description": "An arbitrary string value specifying the menu path the customer took.",
          "type": "string"
        },
        "agentInfo": {
          "description": "Information about agents involved in the call.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo"
          }
        },
        "feedbackLabels": {
          "description": "Input only. The feedback labels associated with the conversation.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainFeedbackLabel"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo",
      "description": "Information about an agent involved in the conversation.",
      "type": "object",
      "properties": {
        "agentId": {
          "description": "A user-specified string representing the agent.",
          "type": "string"
        },
        "displayName": {
          "description": "The agent's name.",
          "type": "string"
        },
        "team": {
          "description": "A user-specified string representing the agent's team. Deprecated in favor of the `teams` field.",
          "deprecated": true,
          "type": "string"
        },
        "teams": {
          "description": "User-specified strings representing the agent's teams.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dispositionCode": {
          "description": "A user-provided string indicating the outcome of the agent's segment of the call.",
          "type": "string"
        },
        "agentType": {
          "description": "The agent type, e.g. HUMAN_AGENT.",
          "type": "string",
          "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."
          ],
          "enum": [
            "ROLE_UNSPECIFIED",
            "HUMAN_AGENT",
            "AUTOMATED_AGENT",
            "END_USER",
            "ANY_AGENT"
          ]
        },
        "location": {
          "description": "The agent's location.",
          "type": "string"
        },
        "deploymentId": {
          "description": "The agent's deployment ID. Only applicable to automated agents.",
          "type": "string"
        },
        "deploymentDisplayName": {
          "description": "The agent's deployment display name. Only applicable to automated agents.",
          "type": "string"
        },
        "versionId": {
          "description": "The agent's version ID. Only applicable to automated agents.",
          "type": "string"
        },
        "versionDisplayName": {
          "description": "The agent's version display name. Only applicable to automated agents.",
          "type": "string"
        },
        "entrySubagentDisplayName": {
          "description": "The entry subagent's display name.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationTranscript": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationTranscript",
      "description": "A message representing the transcript of a conversation.",
      "type": "object",
      "properties": {
        "transcriptSegments": {
          "description": "A list of sequential transcript segments that comprise the conversation.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment",
      "description": "A segment of a full transcript.",
      "type": "object",
      "properties": {
        "messageTime": {
          "description": "The time that the message occurred, if provided.",
          "type": "string",
          "format": "google-datetime"
        },
        "text": {
          "description": "The text of this segment.",
          "type": "string"
        },
        "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.",
          "type": "number",
          "format": "float"
        },
        "words": {
          "description": "A list of the word-specific information for each word in the segment.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo"
          }
        },
        "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"
        },
        "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.",
          "type": "integer",
          "format": "int32"
        },
        "segmentParticipant": {
          "description": "The participant of this segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationParticipant"
        },
        "dialogflowSegmentMetadata": {
          "description": "CCAI metadata relating to the current transcript segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata"
        },
        "sentiment": {
          "description": "The sentiment for this transcript segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData"
        },
        "turnLevelAudio": {
          "description": "Turn level audio for this transcript segment.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationDataSourceTurnLevelAudio"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo",
      "description": "Word-level info for words in a transcript.",
      "type": "object",
      "properties": {
        "startOffset": {
          "description": "Time offset of the start of this word relative to the beginning of the total conversation.",
          "type": "string",
          "format": "google-duration"
        },
        "endOffset": {
          "description": "Time offset of the end of this word relative to the beginning of the total conversation.",
          "type": "string",
          "format": "google-duration"
        },
        "word": {
          "description": "The word itself. Includes punctuation marks that surround the word.",
          "type": "string"
        },
        "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.",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationParticipant": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationParticipant",
      "description": "The call participant speaking for a given utterance.",
      "type": "object",
      "properties": {
        "dialogflowParticipant": {
          "description": "Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
          "deprecated": true,
          "type": "string"
        },
        "dialogflowParticipantName": {
          "description": "The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}",
          "type": "string"
        },
        "userId": {
          "description": "A user-specified ID representing the participant.",
          "type": "string"
        },
        "obfuscatedExternalUserId": {
          "description": "Obfuscated user ID from Dialogflow.",
          "type": "string"
        },
        "role": {
          "description": "The role of the participant.",
          "type": "string",
          "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."
          ],
          "enum": [
            "ROLE_UNSPECIFIED",
            "HUMAN_AGENT",
            "AUTOMATED_AGENT",
            "END_USER",
            "ANY_AGENT"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata",
      "description": "Metadata from Dialogflow relating to the current transcript segment.",
      "type": "object",
      "properties": {
        "smartReplyAllowlistCovered": {
          "description": "Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSentimentData": {
      "id": "GoogleCloudContactcenterinsightsV1mainSentimentData",
      "description": "The data for a sentiment annotation.",
      "type": "object",
      "properties": {
        "magnitude": {
          "description": "A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score.",
          "type": "number",
          "format": "float"
        },
        "score": {
          "description": "The sentiment score between -1.0 (negative) and 1.0 (positive).",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainAnalysis": {
      "id": "GoogleCloudContactcenterinsightsV1mainAnalysis",
      "description": "The analysis resource.",
      "type": "object",
      "properties": {
        "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.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "createTime": {
          "description": "Output only. The time at which the analysis was created, which occurs when the long-running operation completes.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "analysisResult": {
          "description": "Output only. The result of the analysis, which is populated when the analysis finishes.",
          "readOnly": true,
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnalysisResult"
        },
        "annotatorSelector": {
          "description": "To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotatorSelector"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainAnalysisResult": {
      "id": "GoogleCloudContactcenterinsightsV1mainAnalysisResult",
      "description": "The result of an analysis.",
      "type": "object",
      "properties": {
        "endTime": {
          "description": "The time at which the analysis ended.",
          "type": "string",
          "format": "google-datetime"
        },
        "callAnalysisMetadata": {
          "description": "Call-specific metadata created by the analysis.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata": {
      "id": "GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata",
      "description": "Call-specific metadata created during analysis.",
      "type": "object",
      "properties": {
        "annotations": {
          "description": "A list of call annotations that apply to this call.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainCallAnnotation"
          }
        },
        "entities": {
          "description": "All the entities in the call.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainEntity"
          }
        },
        "sentiments": {
          "description": "Overall conversation-level sentiment for each channel of the call.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment"
          }
        },
        "silence": {
          "description": "Overall conversation-level silence during the call.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationLevelSilence"
        },
        "intents": {
          "description": "All the matched intents in the call.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainIntent"
          }
        },
        "phraseMatchers": {
          "description": "All the matched phrase matchers in the call.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainPhraseMatchData"
          }
        },
        "issueModelResult": {
          "description": "Overall conversation-level issue modeling result.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIssueModelResult"
        },
        "qaScorecardResults": {
          "description": "Results of scoring QaScorecards.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainQaScorecardResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainCallAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1mainCallAnnotation",
      "description": "A piece of metadata that applies to a window of a call.",
      "type": "object",
      "properties": {
        "channelTag": {
          "description": "The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.",
          "type": "integer",
          "format": "int32"
        },
        "annotationStartBoundary": {
          "description": "The boundary in the conversation where the annotation starts, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary"
        },
        "annotationEndBoundary": {
          "description": "The boundary in the conversation where the annotation ends, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary"
        },
        "interruptionData": {
          "description": "Data specifying an interruption.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainInterruptionData"
        },
        "sentimentData": {
          "description": "Data specifying sentiment.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData"
        },
        "silenceData": {
          "description": "Data specifying silence.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSilenceData"
        },
        "holdData": {
          "description": "Data specifying a hold.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainHoldData"
        },
        "entityMentionData": {
          "description": "Data specifying an entity mention.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainEntityMentionData"
        },
        "intentMatchData": {
          "description": "Data specifying an intent match.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIntentMatchData"
        },
        "phraseMatchData": {
          "description": "Data specifying a phrase match.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainPhraseMatchData"
        },
        "issueMatchData": {
          "description": "Data specifying an issue match.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIssueMatchData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary": {
      "id": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary",
      "description": "A point in a conversation that marks the start or the end of an annotation.",
      "type": "object",
      "properties": {
        "transcriptIndex": {
          "description": "The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.",
          "type": "integer",
          "format": "int32"
        },
        "wordIndex": {
          "description": "The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainInterruptionData": {
      "id": "GoogleCloudContactcenterinsightsV1mainInterruptionData",
      "description": "The data for an interruption annotation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainSilenceData": {
      "id": "GoogleCloudContactcenterinsightsV1mainSilenceData",
      "description": "The data for a silence annotation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainHoldData": {
      "id": "GoogleCloudContactcenterinsightsV1mainHoldData",
      "description": "The data for a hold annotation.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudContactcenterinsightsV1mainEntityMentionData": {
      "id": "GoogleCloudContactcenterinsightsV1mainEntityMentionData",
      "description": "The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation.",
      "type": "object",
      "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"
        },
        "type": {
          "description": "The type of the entity mention.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified.",
            "Proper noun.",
            "Common noun (or noun compound)."
          ],
          "enum": [
            "MENTION_TYPE_UNSPECIFIED",
            "PROPER",
            "COMMON"
          ]
        },
        "sentiment": {
          "description": "Sentiment expressed for this mention of the entity.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIntentMatchData": {
      "id": "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.",
      "type": "object",
      "properties": {
        "intentUniqueId": {
          "description": "The id of the matched intent. Can be used to retrieve the corresponding intent information.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainPhraseMatchData": {
      "id": "GoogleCloudContactcenterinsightsV1mainPhraseMatchData",
      "description": "The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.",
      "type": "object",
      "properties": {
        "phraseMatcher": {
          "description": "The unique identifier (the resource name) of the phrase matcher.",
          "type": "string"
        },
        "displayName": {
          "description": "The human-readable name of the phrase matcher.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIssueMatchData": {
      "id": "GoogleCloudContactcenterinsightsV1mainIssueMatchData",
      "description": "The data for an issue match annotation.",
      "type": "object",
      "properties": {
        "issueAssignment": {
          "description": "Information about the issue's assignment.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainIssueAssignment"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIssueAssignment": {
      "id": "GoogleCloudContactcenterinsightsV1mainIssueAssignment",
      "description": "Information about the issue.",
      "type": "object",
      "properties": {
        "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].",
          "type": "number",
          "format": "double"
        },
        "displayName": {
          "description": "Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainEntity": {
      "id": "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.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "The representative name for the entity.",
          "type": "string"
        },
        "type": {
          "description": "The entity type.",
          "type": "string",
          "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`."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "PERSON",
            "LOCATION",
            "ORGANIZATION",
            "EVENT",
            "WORK_OF_ART",
            "CONSUMER_GOOD",
            "OTHER",
            "PHONE_NUMBER",
            "ADDRESS",
            "DATE",
            "NUMBER",
            "PRICE"
          ]
        },
        "metadata": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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.",
          "type": "number",
          "format": "float"
        },
        "sentiment": {
          "description": "The aggregate sentiment expressed for this entity in the conversation.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment",
      "description": "One channel of conversation-level sentiment data.",
      "type": "object",
      "properties": {
        "channelTag": {
          "description": "The channel of the audio that the data applies to.",
          "type": "integer",
          "format": "int32"
        },
        "sentimentData": {
          "description": "Data specifying sentiment.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSentimentData"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationLevelSilence": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationLevelSilence",
      "description": "Conversation-level silence data.",
      "type": "object",
      "properties": {
        "silenceDuration": {
          "description": "Amount of time calculated to be in silence.",
          "type": "string",
          "format": "google-duration"
        },
        "silencePercentage": {
          "description": "Percentage of the total conversation spent in silence.",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIntent": {
      "id": "GoogleCloudContactcenterinsightsV1mainIntent",
      "description": "The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.",
      "type": "object",
      "properties": {
        "id": {
          "description": "The unique identifier of the intent.",
          "type": "string"
        },
        "displayName": {
          "description": "The human-readable name of the intent.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainIssueModelResult": {
      "id": "GoogleCloudContactcenterinsightsV1mainIssueModelResult",
      "description": "Issue Modeling result on a conversation.",
      "type": "object",
      "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainIssueAssignment"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQaScorecardResult": {
      "id": "GoogleCloudContactcenterinsightsV1mainQaScorecardResult",
      "description": "The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}",
          "type": "string"
        },
        "qaScorecardRevision": {
          "description": "The QaScorecardRevision scored by this result.",
          "type": "string"
        },
        "conversation": {
          "description": "The conversation scored by this result.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The timestamp that the revision was created.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "agentId": {
          "description": "ID of the agent that handled the conversation.",
          "type": "string"
        },
        "qaAnswers": {
          "description": "Set of QaAnswers represented in the result.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswer"
          }
        },
        "score": {
          "description": "The overall numerical score of the result, incorporating any manual edits if they exist.",
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.",
          "type": "number",
          "format": "double"
        },
        "qaTagResults": {
          "description": "Collection of tags and their scores.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult"
          }
        },
        "scoreSources": {
          "description": "List of all individual score sets.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQaAnswer": {
      "id": "GoogleCloudContactcenterinsightsV1mainQaAnswer",
      "description": "An answer to a QaQuestion.",
      "type": "object",
      "properties": {
        "qaQuestion": {
          "description": "The QaQuestion answered by this answer.",
          "type": "string"
        },
        "conversation": {
          "description": "The conversation the answer applies to.",
          "type": "string"
        },
        "questionBody": {
          "description": "Question text. E.g., \"Did the agent greet the customer?\"",
          "type": "string"
        },
        "answerValue": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue"
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "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.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource": {
      "id": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource",
      "description": "A question may have multiple answers from varying sources, one of which becomes the \"main\" answer above. AnswerSource represents each individual answer.",
      "type": "object",
      "properties": {
        "sourceType": {
          "description": "What created the answer.",
          "type": "string",
          "enumDescriptions": [
            "Source type is unspecified.",
            "Answer was system-generated; created during an Insights analysis.",
            "Answer was created by a human via manual edit."
          ],
          "enum": [
            "SOURCE_TYPE_UNSPECIFIED",
            "SYSTEM_GENERATED",
            "MANUAL_EDIT"
          ]
        },
        "answerValue": {
          "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.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult": {
      "id": "GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult",
      "description": "Tags and their corresponding results.",
      "type": "object",
      "properties": {
        "tag": {
          "description": "The tag the score applies to.",
          "type": "string"
        },
        "score": {
          "description": "The score the tag applies to.",
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "The potential score the tag applies to.",
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "The normalized score the tag applies to.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource": {
      "id": "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.",
      "type": "object",
      "properties": {
        "sourceType": {
          "description": "What created the score.",
          "type": "string",
          "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."
          ],
          "enum": [
            "SOURCE_TYPE_UNSPECIFIED",
            "SYSTEM_GENERATED_ONLY",
            "INCLUDES_MANUAL_EDITS"
          ]
        },
        "score": {
          "description": "The overall numerical score of the result.",
          "type": "number",
          "format": "double"
        },
        "potentialScore": {
          "description": "The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.",
          "type": "number",
          "format": "double"
        },
        "normalizedScore": {
          "description": "The normalized score, which is the score divided by the potential score.",
          "type": "number",
          "format": "double"
        },
        "qaTagResults": {
          "description": "Collection of tags and their scores.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult"
          }
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData",
      "description": "Conversation summarization suggestion data.",
      "type": "object",
      "properties": {
        "text": {
          "description": "The summarization content that is concatenated into one string.",
          "type": "string"
        },
        "textSections": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "confidence": {
          "description": "The confidence score of the summarization.",
          "type": "number",
          "format": "float"
        },
        "metadata": {
          "description": "A map that contains metadata about the summarization and the document from which it originates.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "answerRecord": {
          "description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
          "type": "string"
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation",
      "description": "An annotation that was generated during the customer and agent interaction.",
      "type": "object",
      "properties": {
        "annotationId": {
          "description": "The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}",
          "type": "string"
        },
        "createTime": {
          "description": "The time at which this annotation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "startBoundary": {
          "description": "The boundary in the conversation where the annotation starts, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary"
        },
        "endBoundary": {
          "description": "The boundary in the conversation where the annotation ends, inclusive.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnnotationBoundary"
        },
        "answerFeedback": {
          "description": "The feedback that the customer has about the answer in `data`.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainAnswerFeedback"
        },
        "articleSuggestion": {
          "description": "Agent Assist Article Suggestion data.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainArticleSuggestionData"
        },
        "faqAnswer": {
          "description": "Agent Assist FAQ answer data.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainFaqAnswerData"
        },
        "smartReply": {
          "description": "Agent Assist Smart Reply data.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSmartReplyData"
        },
        "smartComposeSuggestion": {
          "description": "Agent Assist Smart Compose suggestion data.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData"
        },
        "dialogflowInteraction": {
          "description": "Dialogflow interaction data.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData"
        },
        "conversationSummarizationSuggestion": {
          "description": "Conversation summarization suggestion data.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData"
        },
        "cesTurnAnnotation": {
          "description": "The CES turn annotation.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainCesTurnAnnotation"
        },
        "cesEndSessionAnnotation": {
          "description": "The CES end session annotation.",
          "$ref": "GoogleCloudContactcenterinsightsV1mainCesEndSessionAnnotation"
        },
        "userInput": {
          "description": "Explicit input used for generating the answer",
          "$ref": "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainAnswerFeedback": {
      "id": "GoogleCloudContactcenterinsightsV1mainAnswerFeedback",
      "description": "The feedback that the customer has about a certain answer in the conversation.",
      "type": "object",
      "properties": {
        "correctnessLevel": {
          "description": "The correctness level of an answer.",
          "type": "string",
          "enumDescriptions": [
            "Correctness level unspecified.",
            "Answer is totally wrong.",
            "Answer is partially correct.",
            "Answer is fully correct."
          ],
          "enum": [
            "CORRECTNESS_LEVEL_UNSPECIFIED",
            "NOT_CORRECT",
            "PARTIALLY_CORRECT",
            "FULLY_CORRECT"
          ]
        },
        "clicked": {
          "description": "Indicates whether an answer or item was clicked by the human agent.",
          "type": "boolean"
        },
        "displayed": {
          "description": "Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.",
          "type": "boolean"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainArticleSuggestionData": {
      "id": "GoogleCloudContactcenterinsightsV1mainArticleSuggestionData",
      "description": "Agent Assist Article Suggestion data.",
      "type": "object",
      "properties": {
        "title": {
          "description": "Article title.",
          "type": "string"
        },
        "uri": {
          "description": "Article URI.",
          "type": "string"
        },
        "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).",
          "type": "number",
          "format": "float"
        },
        "metadata": {
          "description": "Map that contains metadata about the Article Suggestion and the document that it originates from.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainFaqAnswerData": {
      "id": "GoogleCloudContactcenterinsightsV1mainFaqAnswerData",
      "description": "Agent Assist frequently-asked-question answer data.",
      "type": "object",
      "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).",
          "type": "number",
          "format": "float"
        },
        "question": {
          "description": "The corresponding FAQ question.",
          "type": "string"
        },
        "metadata": {
          "description": "Map that contains metadata about the FAQ answer and the document that it originates from.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSmartReplyData": {
      "id": "GoogleCloudContactcenterinsightsV1mainSmartReplyData",
      "description": "Agent Assist Smart Reply data.",
      "type": "object",
      "properties": {
        "reply": {
          "description": "The content of the reply.",
          "type": "string"
        },
        "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).",
          "type": "number",
          "format": "double"
        },
        "metadata": {
          "description": "Map that contains metadata about the Smart Reply and the document from which it originates.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "queryRecord": {
          "description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData": {
      "id": "GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData",
      "description": "Agent Assist Smart Compose suggestion data.",
      "type": "object",
      "properties": {
        "suggestion": {
          "description": "The content of the suggestion.",
          "type": "string"
        },
        "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).",
          "type": "number",
          "format": "double"
        },
        "metadata": {
          "description": "Map that contains metadata about the Smart Compose suggestion and the document from which it originates.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "queryRecord": {
          "description": "The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData": {
      "id": "GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData",
      "description": "Dialogflow interaction data.",
      "type": "object",
      "properties": {
        "dialogflowIntentId": {
          "description": "The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent}",
          "type": "string"
        },
        "confidence": {
          "description": "The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain).",
          "type": "number",
          "format": "float"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainCesTurnAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1mainCesTurnAnnotation",
      "description": "The CES diagnostic information.",
      "type": "object",
      "properties": {
        "messages": {
          "description": "The messages in the turn.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudCesV1mainMessage"
          }
        },
        "rootSpan": {
          "description": "The root span of the action processing.",
          "$ref": "GoogleCloudCesV1mainSpan"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainCesEndSessionAnnotation": {
      "id": "GoogleCloudContactcenterinsightsV1mainCesEndSessionAnnotation",
      "description": "The CES end session annotation.",
      "type": "object",
      "properties": {
        "endSession": {
          "description": "End session signal from CES.",
          "$ref": "GoogleCloudCesV1mainEndSession"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput": {
      "id": "GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput",
      "description": "Explicit input used for generating the answer",
      "type": "object",
      "properties": {
        "query": {
          "description": "Query text. Article Search uses this to store the input query used to generate the search results.",
          "type": "string"
        },
        "generatorName": {
          "description": "The resource name of associated generator. Format: `projects//locations//generators/`",
          "type": "string"
        },
        "querySource": {
          "description": "Query source for the answer.",
          "type": "string",
          "enumDescriptions": [
            "Unknown query source.",
            "The query is from agents.",
            "The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response."
          ],
          "enum": [
            "QUERY_SOURCE_UNSPECIFIED",
            "AGENT_QUERY",
            "SUGGESTED_QUERY"
          ]
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainDialogflowIntent": {
      "id": "GoogleCloudContactcenterinsightsV1mainDialogflowIntent",
      "description": "The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.",
      "type": "object",
      "properties": {
        "displayName": {
          "description": "The human-readable name of the intent.",
          "type": "string"
        }
      }
    },
    "GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo": {
      "id": "GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo",
      "description": "Info for correlating across conversations.",
      "type": "object",
      "properties": {
        "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"
        },
        "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.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string",
            "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."
            ],
            "enum": [
              "CORRELATION_TYPE_UNSPECIFIED",
              "SEGMENT",
              "PARTIAL",
              "FULL",
              "SYNTHETIC"
            ]
          }
        }
      }
    }
  }
}
