From ebb648aa643aad895798ff1aa58e051e2dd06bad Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 22 Nov 2022 07:07:57 +0000 Subject: [PATCH] feat(contactcenterinsights): update the api #### contactcenterinsights:v1 The following keys were added: - resources.projects.resources.locations.resources.conversations.methods.bulkAnalyze (Total Keys: 12) - resources.projects.resources.locations.resources.conversations.methods.ingest (Total Keys: 12) - resources.projects.resources.locations.resources.issueModels.resources.issues.methods.delete (Total Keys: 11) - schemas.GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata (Total Keys: 13) - schemas.GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest (Total Keys: 6) - schemas.GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse (Total Keys: 6) - schemas.GoogleCloudContactcenterinsightsV1IngestConversationsMetadata (Total Keys: 13) - schemas.GoogleCloudContactcenterinsightsV1IngestConversationsRequest (Total Keys: 15) - schemas.GoogleCloudContactcenterinsightsV1IngestConversationsResponse (Total Keys: 2) - schemas.GoogleCloudContactcenterinsightsV1Issue.properties.sampleUtterances (Total Keys: 3) - schemas.GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata (Total Keys: 13) - schemas.GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest (Total Keys: 6) - schemas.GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse (Total Keys: 6) - schemas.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata (Total Keys: 13) - schemas.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest (Total Keys: 15) - schemas.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse (Total Keys: 2) --- ...s_v1.projects.locations.conversations.html | 101 ++++ ...projects.locations.issueModels.issues.html | 33 ++ .../documents/contactcenterinsights.v1.json | 445 +++++++++++++++++- 3 files changed, 578 insertions(+), 1 deletion(-) diff --git a/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.html b/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.html index 845f37696fc..4d6c3281c89 100644 --- a/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.html +++ b/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.html @@ -79,6 +79,9 @@

Instance Methods

Returns the analyses Resource.

+

+ bulkAnalyze(parent, body=None, x__xgafv=None)

+

Analyzes multiple conversations in a single request.

calculateStats(location, filter=None, x__xgafv=None)

Gets conversation statistics.

@@ -94,6 +97,9 @@

Instance Methods

get(name, view=None, x__xgafv=None)

Gets a conversation.

+

+ ingest(parent, body=None, x__xgafv=None)

+

Imports conversations and processes them according to the user's configuration.

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

Lists conversations.

@@ -104,6 +110,50 @@

Instance Methods

patch(name, body=None, updateMask=None, x__xgafv=None)

Updates a conversation.

Method Details

+
+ bulkAnalyze(parent, body=None, x__xgafv=None) +
Analyzes multiple conversations in a single request.
+
+Args:
+  parent: string, Required. The parent resource to create analyses in. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The request to analyze conversations in bulk.
+  "analysisPercentage": 3.14, # Required. Percentage of selected conversation to analyze, between [0, 100].
+  "filter": "A String", # Required. Filter used to select the subset of conversations to analyze.
+  "parent": "A String", # Required. The parent resource to create analyses in.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": True or False, # 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.
+  "error": { # 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). # The error result of the operation in case of failure or cancellation.
+    "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+    "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+      {
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    ],
+    "message": "A String", # 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.
+  },
+  "metadata": { # 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.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # 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}`.
+  "response": { # The normal response of the operation in case of success. 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`.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+
calculateStats(location, filter=None, x__xgafv=None)
Gets conversation statistics.
@@ -901,6 +951,57 @@ 

Method Details

}
+
+ ingest(parent, body=None, x__xgafv=None) +
Imports conversations and processes them according to the user's configuration.
+
+Args:
+  parent: string, Required. The parent resource for new conversations. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The request to ingest conversations.
+  "conversationConfig": { # Configuration that applies to all conversations. # Configuration that applies to all conversations.
+    "agentId": "A String", # An opaque, user-specified string representing the human agent who handled the conversations.
+  },
+  "gcsSource": { # Configuration for Cloud Storage bucket sources. # A cloud storage bucket source.
+    "bucketUri": "A String", # Required. The Cloud Storage bucket containing source objects.
+  },
+  "parent": "A String", # Required. The parent resource for new conversations.
+  "transcriptObjectConfig": { # Configuration for processing transcript objects. # Configuration for when `source` contains conversation transcripts.
+    "medium": "A String", # Required. The medium transcript objects represent.
+  },
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": True or False, # 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.
+  "error": { # 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). # The error result of the operation in case of failure or cancellation.
+    "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+    "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+      {
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    ],
+    "message": "A String", # 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.
+  },
+  "metadata": { # 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.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # 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}`.
+  "response": { # The normal response of the operation in case of success. 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`.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+
list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)
Lists conversations.
diff --git a/docs/dyn/contactcenterinsights_v1.projects.locations.issueModels.issues.html b/docs/dyn/contactcenterinsights_v1.projects.locations.issueModels.issues.html
index c7fb8984b5d..8ce9c85b9d4 100644
--- a/docs/dyn/contactcenterinsights_v1.projects.locations.issueModels.issues.html
+++ b/docs/dyn/contactcenterinsights_v1.projects.locations.issueModels.issues.html
@@ -77,6 +77,9 @@ 

Instance Methods

close()

Close httplib2 connections.

+

+ delete(name, x__xgafv=None)

+

Deletes an issue.

get(name, x__xgafv=None)

Gets an issue.

@@ -92,6 +95,24 @@

Method Details

Close httplib2 connections.
+
+ delete(name, x__xgafv=None) +
Deletes an issue.
+
+Args:
+  name: string, Required. The name of the issue to delete. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # 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); }
+}
+
+
get(name, x__xgafv=None)
Gets an issue.
@@ -110,6 +131,9 @@ 

Method Details

"createTime": "A String", # Output only. The time at which this issue was created. "displayName": "A String", # The representative name for the issue. "name": "A String", # Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + "sampleUtterances": [ # Output only. Resource names of the sample representative utterances that match to this issue. + "A String", + ], "updateTime": "A String", # Output only. The most recent time that this issue was updated. }
@@ -134,6 +158,9 @@

Method Details

"createTime": "A String", # Output only. The time at which this issue was created. "displayName": "A String", # The representative name for the issue. "name": "A String", # Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + "sampleUtterances": [ # Output only. Resource names of the sample representative utterances that match to this issue. + "A String", + ], "updateTime": "A String", # Output only. The most recent time that this issue was updated. }, ], @@ -153,6 +180,9 @@

Method Details

"createTime": "A String", # Output only. The time at which this issue was created. "displayName": "A String", # The representative name for the issue. "name": "A String", # Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + "sampleUtterances": [ # Output only. Resource names of the sample representative utterances that match to this issue. + "A String", + ], "updateTime": "A String", # Output only. The most recent time that this issue was updated. } @@ -169,6 +199,9 @@

Method Details

"createTime": "A String", # Output only. The time at which this issue was created. "displayName": "A String", # The representative name for the issue. "name": "A String", # Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + "sampleUtterances": [ # Output only. Resource names of the sample representative utterances that match to this issue. + "A String", + ], "updateTime": "A String", # Output only. The most recent time that this issue was updated. } diff --git a/googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json b/googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json index 5786c5c003b..860e483885e 100644 --- a/googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +++ b/googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json @@ -172,6 +172,34 @@ "resources": { "conversations": { "methods": { + "bulkAnalyze": { + "description": "Analyzes multiple conversations in a single request.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:bulkAnalyze", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.conversations.bulkAnalyze", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource to create analyses in.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/conversations:bulkAnalyze", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "calculateStats": { "description": "Gets conversation statistics.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:calculateStats", @@ -305,6 +333,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "ingest": { + "description": "Imports conversations and processes them according to the user's configuration.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:ingest", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.conversations.ingest", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource for new conversations.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/conversations:ingest", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists conversations.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations", @@ -778,6 +834,31 @@ "resources": { "issues": { "methods": { + "delete": { + "description": "Deletes an issue.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.issueModels.issues.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the issue to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+/issues/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Gets an issue.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}", @@ -1275,7 +1356,7 @@ } } }, - "revision": "20221108", + "revision": "20221116", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -1451,6 +1532,79 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata": { + "description": "The metadata for a bulk analyze conversations operation.", + "id": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata", + "properties": { + "completedAnalysesCount": { + "description": "The number of requested analyses that have completed successfully so far.", + "format": "int32", + "type": "integer" + }, + "createTime": { + "description": "The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "failedAnalysesCount": { + "description": "The number of requested analyses that have failed so far.", + "format": "int32", + "type": "integer" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest", + "description": "The original request for bulk analyze." + }, + "totalRequestedAnalysesCount": { + "description": "Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest": { + "description": "The request to analyze conversations in bulk.", + "id": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest", + "properties": { + "analysisPercentage": { + "description": "Required. Percentage of selected conversation to analyze, between [0, 100].", + "format": "float", + "type": "number" + }, + "filter": { + "description": "Required. Filter used to select the subset of conversations to analyze.", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource to create analyses in.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse": { + "description": "The response for a bulk analyze conversations operation.", + "id": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse", + "properties": { + "failedAnalysisCount": { + "description": "Count of failed analyses.", + "format": "int32", + "type": "integer" + }, + "successfulAnalysisCount": { + "description": "Count of successful analyses.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse": { "description": "Response of querying an issue model's statistics.", "id": "GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse", @@ -2341,6 +2495,110 @@ "properties": {}, "type": "object" }, + "GoogleCloudContactcenterinsightsV1IngestConversationsMetadata": { + "description": "The metadata for an IngestConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1IngestConversationsMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "partialErrors": { + "description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "readOnly": true, + "type": "array" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest", + "description": "Output only. The original request for ingest.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IngestConversationsRequest": { + "description": "The request to ingest conversations.", + "id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest", + "properties": { + "conversationConfig": { + "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig", + "description": "Configuration that applies to all conversations." + }, + "gcsSource": { + "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource", + "description": "A cloud storage bucket source." + }, + "parent": { + "description": "Required. The parent resource for new conversations.", + "type": "string" + }, + "transcriptObjectConfig": { + "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig", + "description": "Configuration for when `source` contains conversation transcripts." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig": { + "description": "Configuration that applies to all conversations.", + "id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig", + "properties": { + "agentId": { + "description": "An opaque, user-specified string representing the human agent who handled the conversations.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource": { + "description": "Configuration for Cloud Storage bucket sources.", + "id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource", + "properties": { + "bucketUri": { + "description": "Required. The Cloud Storage bucket containing source objects.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig": { + "description": "Configuration for processing transcript objects.", + "id": "GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig", + "properties": { + "medium": { + "description": "Required. The medium transcript objects represent.", + "enum": [ + "MEDIUM_UNSPECIFIED", + "PHONE_CALL", + "CHAT" + ], + "enumDescriptions": [ + "Default value, if unspecified will default to PHONE_CALL.", + "The format for conversations that took place over the phone.", + "The format for conversations that took place over chat." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1IngestConversationsResponse": { + "description": "The response to an IngestConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1IngestConversationsResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1Intent": { "description": "The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.", "id": "GoogleCloudContactcenterinsightsV1Intent", @@ -2391,6 +2649,14 @@ "description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}", "type": "string" }, + "sampleUtterances": { + "description": "Output only. Resource names of the sample representative utterances that match to this issue.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "updateTime": { "description": "Output only. The most recent time that this issue was updated.", "format": "google-datetime", @@ -3090,6 +3356,79 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata": { + "description": "The metadata for a bulk analyze conversations operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata", + "properties": { + "completedAnalysesCount": { + "description": "The number of requested analyses that have completed successfully so far.", + "format": "int32", + "type": "integer" + }, + "createTime": { + "description": "The time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time the operation finished running.", + "format": "google-datetime", + "type": "string" + }, + "failedAnalysesCount": { + "description": "The number of requested analyses that have failed so far.", + "format": "int32", + "type": "integer" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest", + "description": "The original request for bulk analyze." + }, + "totalRequestedAnalysesCount": { + "description": "Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest": { + "description": "The request to analyze conversations in bulk.", + "id": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest", + "properties": { + "analysisPercentage": { + "description": "Required. Percentage of selected conversation to analyze, between [0, 100].", + "format": "float", + "type": "number" + }, + "filter": { + "description": "Required. Filter used to select the subset of conversations to analyze.", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource to create analyses in.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse": { + "description": "The response for a bulk analyze conversations operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse", + "properties": { + "failedAnalysisCount": { + "description": "Count of failed analyses.", + "format": "int32", + "type": "integer" + }, + "successfulAnalysisCount": { + "description": "Count of successful analyses.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata": { "description": "Metadata for a create analysis operation.", "id": "GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata", @@ -3318,6 +3657,110 @@ "properties": {}, "type": "object" }, + "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata": { + "description": "The metadata for an IngestConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "partialErrors": { + "description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "readOnly": true, + "type": "array" + }, + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest", + "description": "Output only. The original request for ingest.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest": { + "description": "The request to ingest conversations.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest", + "properties": { + "conversationConfig": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig", + "description": "Configuration that applies to all conversations." + }, + "gcsSource": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource", + "description": "A cloud storage bucket source." + }, + "parent": { + "description": "Required. The parent resource for new conversations.", + "type": "string" + }, + "transcriptObjectConfig": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig", + "description": "Configuration for when `source` contains conversation transcripts." + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig": { + "description": "Configuration that applies to all conversations.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig", + "properties": { + "agentId": { + "description": "An opaque, user-specified string representing the human agent who handled the conversations.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource": { + "description": "Configuration for Cloud Storage bucket sources.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource", + "properties": { + "bucketUri": { + "description": "Required. The Cloud Storage bucket containing source objects.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig": { + "description": "Configuration for processing transcript objects.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig", + "properties": { + "medium": { + "description": "Required. The medium transcript objects represent.", + "enum": [ + "MEDIUM_UNSPECIFIED", + "PHONE_CALL", + "CHAT" + ], + "enumDescriptions": [ + "Default value, if unspecified will default to PHONE_CALL.", + "The format for conversations that took place over the phone.", + "The format for conversations that took place over chat." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse": { + "description": "The response to an IngestConversations operation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1alpha1IssueModel": { "description": "The issue model resource.", "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModel",