openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 179 kB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://contactcenterinsights.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Contact Center AI Insights API","version":"v1","x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://upload.wikimedia.org/wikipedia/commons/e/e1/YouTube_play_buttom_icon_%282013-2017%29.svg"},"x-origin":[{"format":"openapi","url":"https://contactcenterinsights.googleapis.com/$discovery/rest?version=v1","version":"3.0"}],"x-providerName":"googleapis.com","x-serviceName":"contactcenterinsights"},"externalDocs":{"url":"https://cloud.google.com/contact-center/insights/docs"},"tags":[{"name":"projects"}],"paths":{"/v1/{issueModel}:calculateIssueModelStats":{"get":{"description":"Gets an issue model's statistics.","operationId":"contactcenterinsights.projects.locations.issueModels.calculateIssueModelStats","parameters":[{"description":"Required. The resource name of the issue model to query against.","in":"path","name":"issueModel","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{location}/conversations:calculateStats":{"get":{"description":"Gets conversation statistics.","operationId":"contactcenterinsights.projects.locations.conversations.calculateStats","parameters":[{"description":"Required. The location of the conversations.","in":"path","name":"location","required":true,"schema":{"type":"string"}},{"description":"A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.","in":"query","name":"filter","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1CalculateStatsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{name}":{"delete":{"description":"Deletes a view.","operationId":"contactcenterinsights.projects.locations.views.delete","parameters":[{"description":"Required. The name of the view to delete.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"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.","in":"query","name":"force","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleProtobufEmpty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"get":{"description":"Gets a view.","operationId":"contactcenterinsights.projects.locations.views.get","parameters":[{"description":"Required. The name of the view to get.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"The level of details of the conversation. Default is `FULL`.","in":"query","name":"view","schema":{"enum":["CONVERSATION_VIEW_UNSPECIFIED","FULL","BASIC"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1View"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"Updates a view.","operationId":"contactcenterinsights.projects.locations.views.patch","parameters":[{"description":"Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"The list of fields to be updated.","in":"query","name":"updateMask","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1View"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1View"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{name}/operations":{"get":{"description":"Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.","operationId":"contactcenterinsights.projects.locations.operations.list","parameters":[{"description":"The name of the operation's parent resource.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"The standard list filter.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The standard list page size.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"The standard list page token.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningListOperationsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{name}:cancel":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"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`.","operationId":"contactcenterinsights.projects.locations.operations.cancel","parameters":[{"description":"The name of the operation resource to be cancelled.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleProtobufEmpty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{name}:deploy":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"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.","operationId":"contactcenterinsights.projects.locations.issueModels.deploy","parameters":[{"description":"Required. The issue model to deploy.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1DeployIssueModelRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{name}:export":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Exports an issue model to the provided destination.","operationId":"contactcenterinsights.projects.locations.issueModels.export","parameters":[{"description":"Required. The issue model to export","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ExportIssueModelRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{name}:undeploy":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed.","operationId":"contactcenterinsights.projects.locations.issueModels.undeploy","parameters":[{"description":"Required. The issue model to undeploy.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/analyses":{"get":{"description":"Lists analyses.","operationId":"contactcenterinsights.projects.locations.conversations.analyses.list","parameters":[{"description":"Required. The parent resource of the analyses.","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.","in":"query","name":"filter","schema":{"type":"string"}},{"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.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"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.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ListAnalysesResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates an analysis. The long running operation is done when the analysis has completed.","operationId":"contactcenterinsights.projects.locations.conversations.analyses.create","parameters":[{"description":"Required. The parent resource of the analysis.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1Analysis"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/conversations":{"get":{"description":"Lists conversations.","operationId":"contactcenterinsights.projects.locations.conversations.list","parameters":[{"description":"Required. The parent resource of the conversation.","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.","in":"query","name":"filter","schema":{"type":"string"}},{"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`, i.e. `create_time desc`. See https://google.aip.dev/132#ordering for more details.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"The maximum number of conversations to return in the response. A valid page size ranges from 0 to 1,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.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"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.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"The level of details of the conversation. Default is `BASIC`.","in":"query","name":"view","schema":{"enum":["CONVERSATION_VIEW_UNSPECIFIED","FULL","BASIC"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ListConversationsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a conversation.","operationId":"contactcenterinsights.projects.locations.conversations.create","parameters":[{"description":"Required. The parent resource of the conversation.","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"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-`","in":"query","name":"conversationId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1Conversation"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1Conversation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/conversations:bulkAnalyze":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Analyzes multiple conversations in a single request.","operationId":"contactcenterinsights.projects.locations.conversations.bulkAnalyze","parameters":[{"description":"Required. The parent resource to create analyses in.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/conversations:bulkDelete":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Deletes multiple conversations in a single request.","operationId":"contactcenterinsights.projects.locations.conversations.bulkDelete","parameters":[{"description":"Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/conversations:ingest":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Imports conversations and processes them according to the user's configuration.","operationId":"contactcenterinsights.projects.locations.conversations.ingest","parameters":[{"description":"Required. The parent resource for new conversations.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1IngestConversationsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/conversations:upload":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Create a longrunning conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction.","operationId":"contactcenterinsights.projects.locations.conversations.upload","parameters":[{"description":"Required. The parent resource of the conversation.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1UploadConversationRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/insightsdata:export":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Export insights data to a destination defined in the request body.","operationId":"contactcenterinsights.projects.locations.insightsdata.export","parameters":[{"description":"Required. The parent resource to export data from.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/issueModels":{"get":{"description":"Lists issue models.","operationId":"contactcenterinsights.projects.locations.issueModels.list","parameters":[{"description":"Required. The parent resource of the issue model.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ListIssueModelsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates an issue model.","operationId":"contactcenterinsights.projects.locations.issueModels.create","parameters":[{"description":"Required. The parent resource of the issue model.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1IssueModel"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/issueModels:import":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Imports an issue model from a Cloud Storage bucket.","operationId":"contactcenterinsights.projects.locations.issueModels.import","parameters":[{"description":"Required. The parent resource of the issue model.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ImportIssueModelRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/issues":{"get":{"description":"Lists issues.","operationId":"contactcenterinsights.projects.locations.issueModels.issues.list","parameters":[{"description":"Required. The parent resource of the issue.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ListIssuesResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{parent}/phraseMatchers":{"get":{"description":"Lists phrase matchers.","operationId":"contactcenterinsights.projects.locations.phraseMatchers.list","parameters":[{"description":"Required. The parent resource of the phrase matcher.","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"A filter to reduce results to a specific subset. Useful for querying phrase matchers with specific properties.","in":"query","name":"filter","schema":{"type":"string"}},{"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.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"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.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a phrase matcher.","operationId":"contactcenterinsights.projects.locations.phraseMatchers.create","parameters":[{"description":"Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: `projects//locations/` or `projects//locations/`","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1PhraseMatcher"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1PhraseMatcher"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/views":{"get":{"description":"Lists views.","operationId":"contactcenterinsights.projects.locations.views.list","parameters":[{"description":"Required. The parent resource of the views.","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"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.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"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.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ListViewsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a view.","operationId":"contactcenterinsights.projects.locations.views.create","parameters":[{"description":"Required. The parent resource of the view. Required. The location to create a view for. Format: `projects//locations/` or `projects//locations/`","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1View"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1View"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}}},"components":{"parameters":{"_.xgafv":{"description":"V1 error format.","in":"query","name":"$.xgafv","schema":{"enum":["1","2"],"type":"string"}},"access_token":{"description":"OAuth access token.","in":"query","name":"access_token","schema":{"type":"string"}},"alt":{"description":"Data format for response.","in":"query","name":"alt","schema":{"enum":["json","media","proto"],"type":"string"}},"callback":{"description":"JSONP","in":"query","name":"callback","schema":{"type":"string"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean"}},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","in":"query","name":"uploadType","schema":{"type":"string"}},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","in":"query","name":"upload_protocol","schema":{"type":"string"}}},"schemas":{"GoogleCloudContactcenterinsightsV1Analysis":{"description":"The analysis resource.","properties":{"analysisResult":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1AnalysisResult","description":"Output only. The result of the analysis, which is populated when the analysis finishes.","readOnly":true},"annotatorSelector":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1AnnotatorSelector","description":"To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run."},"createTime":{"description":"Output only. The time at which the analysis was created, which occurs when the long-running operation completes.","format":"google-datetime","readOnly":true,"type":"string"},"name":{"description":"Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}","type":"string"},"requestTime":{"description":"Output only. The time at which the analysis was requested.","format":"google-datetime","readOnly":true,"type":"string"}},"type":"object"},"GoogleCloudContactcenterinsightsV1AnalysisResult":{"description":"The result of an analysis.","properties":{"callAnalysisMetadata":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata","description":"Call-specific metadata created by the analysis."},"endTime":{"description":"The time at which the analysis ended.","format":"google-datetime","type":"string"}},"type":"object"},"GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata":{"description":"Call-specific metadata created during analysis.","properties":{"annotations":{"description":"A list of call annotations that apply to this call.","items":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1CallAnnotation"},"type":"array"},"entities":{"additionalProperties":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1Entity"},"description":"All the entities in the call.","type":"object"},"intents":{"additionalProperties":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1Intent"},"description":"All the matched intents in the call.","type":"object"},"issueModelResult":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1IssueModelResult","description":"Overall conversation-level issue modeling result."},"phraseMatchers":{"additionalProperties":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1PhraseMatchData"},"description":"All the matched phrase matchers in the call.","type":"object"},"sentiments":{"description":"Overall conversation-level sentiment for each channel of the call.","items":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1ConversationLevelSentiment"},"type":"array"}},"type":"object"},"GoogleCloudContactcenterinsightsV1AnnotationBoundary":{"description":"A point in a conversation that marks the start or the end of an annotation.","properties":{"transcriptIndex":{"description":"The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero.","format":"int32","type":"integer"},"wordIndex":{"description":"The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero.","format":"int32","type":"integer"}},"type":"object"},"GoogleCloudContactcenterinsightsV1AnnotatorSelector":{"description":"Selector of all available annotators and phrase matchers to run.","properties":{"issueModels":{"description":"The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.","items":{"type":"string"},"type":"array"},"phraseMatchers":{"description":"The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}","items":{"type":"string"},"type":"array"},"runEntityAnnotator":{"description":"Whether to run the entity annotator.","type":"boolean"},"runIntentAnnotator":{"description":"Whether to run the intent annotator.","type":"boolean"},"runInterruptionAnnotator":{"description":"Whether to run the interruption annotator.","type":"boolean"},"runIssueModelAnnotator":{"description":"Whether to run the issue model annotator. A model should have already been deployed for this to take effect.","type":"boolean"},"runPhraseMatcherAnnotator":{"description":"Whether to run the active phrase matcher annotator(s).","type":"boolean"},"runSentimentAnnotator":{"description":"Whether to run the sentiment annotator.","type":"boolean"},"runSilenceAnnotator":{"description":"Whether to run the silence annotator.","type":"boolean"},"runSummarizationAnnotator":{"description":"Whether to run the summarization annotator.","type":"boolean"},"summarizationConfig":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig","description":"Configuration for the summarization annotator."}},"type":"object"},"GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig":{"description":"Configuration for summarization.","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.","enum":["SUMMARIZATION_MODEL_UNSPECIFIED","BASELINE_MODEL"],"type":"string"}},"type":"object"},"GoogleCloudContactcenterinsightsV1AnswerFeedback":{"description":"The feedback that the customer has about a certain answer in the conversation.","properties":{"clicked":{"description":"Indicates whether an answer or item was clicked by the human agent.","type":"boolean"},"correctnessLevel":{"description":"The correctness level of an answer.","enum":["CORRECTNESS_LEVEL_UNSPECIFIED","NOT_CORRECT","PARTIALLY_CORRECT","FULLY_CORRECT"],"type":"string"},"displayed":{"description":"Indicates whether an answer or item was displayed to the human agent in the agent desktop UI.","type":"boolean"}},"type":"object"},"GoogleCloudContactcenterinsightsV1ArticleSuggestionData":{"description":"Agent Assist Article Suggestion data.","properties":{"confidenceScore":{"description":"The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).","format":"float","type":"number"},"metadata":{"additionalProperties":{"type":"string"},"description":"Map that contains metadata about the Article Suggestion and the document that it originates from.","type":"object"},"queryRecord":{"description":"The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}","type":"string"},"source":{"description":"The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}","type":"string"},"title":{"description":"Article title.","type":"string"},"uri":{"description":"Article URI.","type":"string"}},"type":"object"},"GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata":{"description":"The metadata for a bulk analyze conversations operation.","properties":{"completedAnalysesCount":{"description":"The number of requested analyses that have completed successfully so far.","format":"int32","type":"integer"},"createTime":{"description":"The time the operation was created.","format":"google-datetime","type":"string"},"endTime":{"description":"The time the operation finished running.","format":"google-datetime","type":"string"},"failedAnalysesCount":{"description":"The number of requested analyses that have failed so far.","format":"int32","type":"integer"},"partialErrors":{"description":"Output only. Partial errors during bulk analyze operation that might cause the operation output to be incomplete.","items":{"$ref":"#/components/schemas/GoogleRpcStatus"},"readOnly":true,"type":"array"},"request":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest","description":"The original request for bulk analyze."},"totalRequestedAnalysesCount":{"description":"Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request.","format":"int32","type":"integer"}},"type":"object"},"GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest":{"description":"The request to analyze conversations in bulk.","properties":{"analysisPercentage":{"description":"Required. Percentage of selected conversation to analyze, between [0, 100].","format":"float","type":"number"},"annotatorSelector":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1AnnotatorSelector","description":"To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run."},"filter":{"description":"Required. Filter used to select the subset of conversations to analyze.","type":"string"},"parent":{"description":"Required. The parent resource to create analyses in.","type":"string"}},"type":"object"},"GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse":{"description":"The response for a bulk analyze conversations operation.","properties":{"failedAnalysisCount":{"description":"Count of failed analyses.","format":"int32","type":"integer"},"successfulAnalysisCount":{"description":"Count of successful analyses.","format":"int32","type":"integer"}},"type":"object"},"GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata":{"description":"The metadata for a bulk delete conversations operation.","properties":{"createTime":{"description":"The time the operation was created.","format":"google-datetime","type":"string"},"endTime":{"description":"The time the operation finished running.","format":"google-datetime","type":"string"},"partialErrors":{"description":"Partial errors during bulk delete conversations operation that might cause the operation output to be incomplete.","items":{"$ref":"#/components/schemas/GoogleRpcStatus"},"type":"array"},"request":{"$ref":"#/components/schemas/GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest","description":"The original request for bulk delete."}},"type":"object"},"GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest":{"description":"The request to delete conversations in bulk.","properties":{"filter":{"description":"Filter used to select the subset of conversations to delete.","type":"string"},"force":{"description":"If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.","type":"boolean"},"maxDeleteCount":{"description":"Maximum number of conversations to delete.","format":"int32","type":"integer"},"parent":{"description":"Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}","type":"string"}},"type":"object"},"GoogleCloudContactce