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.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)
  • Loading branch information
yoshi-automation committed Nov 22, 2022
1 parent 626bf19 commit ebb648a
Show file tree
Hide file tree
Showing 3 changed files with 578 additions and 1 deletion.
Expand Up @@ -79,6 +79,9 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the analyses Resource.</p>

<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="#calculateStats">calculateStats(location, filter=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets conversation statistics.</p>
Expand All @@ -94,6 +97,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets a conversation.</p>
<p class="toc_element">
<code><a href="#ingest">ingest(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Imports conversations and processes them according to the user's configuration.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists conversations.</p>
Expand All @@ -104,6 +110,50 @@ <h2>Instance Methods</h2>
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates a conversation.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="bulkAnalyze">bulkAnalyze(parent, body=None, x__xgafv=None)</code>
<pre>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.
&quot;analysisPercentage&quot;: 3.14, # Required. Percentage of selected conversation to analyze, between [0, 100].
&quot;filter&quot;: &quot;A String&quot;, # Required. Filter used to select the subset of conversations to analyze.
&quot;parent&quot;: &quot;A String&quot;, # 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.
&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 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`.
&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 @@ -901,6 +951,57 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="ingest">ingest(parent, body=None, x__xgafv=None)</code>
<pre>Imports conversations and processes them according to the user&#x27;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.
&quot;conversationConfig&quot;: { # Configuration that applies to all conversations. # Configuration that applies to all conversations.
&quot;agentId&quot;: &quot;A String&quot;, # An opaque, user-specified string representing the human agent who handled the conversations.
},
&quot;gcsSource&quot;: { # Configuration for Cloud Storage bucket sources. # A cloud storage bucket source.
&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;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.
},
}

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 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`.
&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="list">list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
<pre>Lists conversations.
Expand Down
Expand Up @@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes an issue.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets an issue.</p>
Expand All @@ -92,6 +95,24 @@ <h3>Method Details</h3>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
<pre>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); }
}</pre>
</div>

<div class="method">
<code class="details" id="get">get(name, x__xgafv=None)</code>
<pre>Gets an issue.
Expand All @@ -110,6 +131,9 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this issue was created.
&quot;displayName&quot;: &quot;A String&quot;, # The representative name for the issue.
&quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
&quot;sampleUtterances&quot;: [ # Output only. Resource names of the sample representative utterances that match to this issue.
&quot;A String&quot;,
],
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time that this issue was updated.
}</pre>
</div>
Expand All @@ -134,6 +158,9 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this issue was created.
&quot;displayName&quot;: &quot;A String&quot;, # The representative name for the issue.
&quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
&quot;sampleUtterances&quot;: [ # Output only. Resource names of the sample representative utterances that match to this issue.
&quot;A String&quot;,
],
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time that this issue was updated.
},
],
Expand All @@ -153,6 +180,9 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this issue was created.
&quot;displayName&quot;: &quot;A String&quot;, # The representative name for the issue.
&quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
&quot;sampleUtterances&quot;: [ # Output only. Resource names of the sample representative utterances that match to this issue.
&quot;A String&quot;,
],
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time that this issue was updated.
}

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

0 comments on commit ebb648a

Please sign in to comment.