Skip to content

Commit

Permalink
feat(contactcenterinsights): update the api
Browse files Browse the repository at this point in the history
#### contactcenterinsights:v1

The following keys were added:
- resources.projects.resources.locations.resources.conversations.methods.bulkDelete (Total Keys: 12)
- schemas.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata (Total Keys: 9)
- schemas.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest (Total Keys: 7)
- schemas.GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse (Total Keys: 2)
- schemas.GoogleCloudContactcenterinsightsV1IngestConversationsRequest.properties.redactionConfig.$ref (Total Keys: 1)
- schemas.GoogleCloudContactcenterinsightsV1IngestConversationsRequest.properties.speechConfig.$ref (Total Keys: 1)
- schemas.GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig.properties.agentChannel (Total Keys: 2)
- schemas.GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig.properties.customerChannel (Total Keys: 2)
- schemas.GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource.properties.bucketObjectType.type (Total Keys: 1)
- schemas.GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata (Total Keys: 9)
- schemas.GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest (Total Keys: 7)
- schemas.GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse (Total Keys: 2)
- schemas.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest.properties.redactionConfig.$ref (Total Keys: 1)
- schemas.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest.properties.speechConfig.$ref (Total Keys: 1)
- schemas.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig.properties.agentChannel (Total Keys: 2)
- schemas.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig.properties.customerChannel (Total Keys: 2)
- schemas.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource.properties.bucketObjectType.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Nov 7, 2023
1 parent eb2ae22 commit 19ebaa0
Show file tree
Hide file tree
Showing 2 changed files with 269 additions and 3 deletions.
Expand Up @@ -82,6 +82,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#bulkAnalyze">bulkAnalyze(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Analyzes multiple conversations in a single request.</p>
<p class="toc_element">
<code><a href="#bulkDelete">bulkDelete(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes multiple conversations in a single request.</p>
<p class="toc_element">
<code><a href="#calculateStats">calculateStats(location, filter=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets conversation statistics.</p>
Expand Down Expand Up @@ -177,6 +180,51 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="bulkDelete">bulkDelete(parent, body=None, x__xgafv=None)</code>
<pre>Deletes multiple conversations in a single request.

Args:
parent: string, Required. The parent resource to create analyses in. Format: projects/{project}/locations/{location} (required)
body: object, The request body.
The object takes the form of:

{ # The request to delete conversations in bulk.
&quot;filter&quot;: &quot;A String&quot;, # Filter used to select the subset of conversations to analyze.
&quot;force&quot;: True or False, # If set to true, all of this conversation&#x27;s analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.
&quot;maxDeleteCount&quot;: 42, # Maximum number of conversations to delete. The default is 1000. It can be changed by setting the `max_delete_count` field.
&quot;parent&quot;: &quot;A String&quot;, # Required. The parent resource to create analyses in. Format: projects/{project}/locations/{location}
}

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.
&quot;done&quot;: 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.
&quot;error&quot;: { # 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.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&quot;message&quot;: &quot;A String&quot;, # 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.
},
&quot;metadata&quot;: { # 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.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
&quot;name&quot;: &quot;A String&quot;, # 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}`.
&quot;response&quot;: { # 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`.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
}</pre>
</div>

<div class="method">
<code class="details" id="calculateStats">calculateStats(location, filter=None, x__xgafv=None)</code>
<pre>Gets conversation statistics.
Expand Down Expand Up @@ -1117,12 +1165,22 @@ <h3>Method Details</h3>

{ # The request to ingest conversations.
&quot;conversationConfig&quot;: { # Configuration that applies to all conversations. # Configuration that applies to all conversations.
&quot;agentChannel&quot;: 42, # Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for audio conversations to be properly displayed and analyzed.
&quot;agentId&quot;: &quot;A String&quot;, # An opaque, user-specified string representing the human agent who handled the conversations.
&quot;customerChannel&quot;: 42, # Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the customer. Note that this must be set for audio conversations to be properly displayed and analyzed.
},
&quot;gcsSource&quot;: { # Configuration for Cloud Storage bucket sources. # A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.
&quot;bucketObjectType&quot;: &quot;A String&quot;, # Optional. Specifies the type of the objects in `bucket_uri`.
&quot;bucketUri&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket containing source objects.
},
&quot;parent&quot;: &quot;A String&quot;, # Required. The parent resource for new conversations.
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. # Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`
&quot;inspectTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`
},
&quot;speechConfig&quot;: { # Speech-to-Text configuration. # Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.
&quot;speechRecognizer&quot;: &quot;A String&quot;, # The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
},
&quot;transcriptObjectConfig&quot;: { # Configuration for processing transcript objects. # Configuration for when `source` contains conversation transcripts.
&quot;medium&quot;: &quot;A String&quot;, # Required. The medium transcript objects represent.
},
Expand Down

0 comments on commit 19ebaa0

Please sign in to comment.