Skip to content

Commit d77f0fb

Browse files
feat(contactcenterinsights): update the api
#### contactcenterinsights:v1 The following keys were added: - resources.projects.resources.locations.resources.conversations.methods.create.deprecated (Total Keys: 1) - schemas.GoogleCloudContactcenterinsightsV1IngestConversationsRequest.properties.sampleSize (Total Keys: 2) - schemas.GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest.properties.sampleSize (Total Keys: 2)
1 parent b494533 commit d77f0fb

File tree

3 files changed

+35
-23
lines changed

3 files changed

+35
-23
lines changed

docs/dyn/contactcenterinsights_v1.projects.locations.conversations.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
9393
<p class="firstline">Close httplib2 connections.</p>
9494
<p class="toc_element">
9595
<code><a href="#create">create(parent, body=None, conversationId=None, x__xgafv=None)</a></code></p>
96-
<p class="firstline">Creates a conversation.</p>
96+
<p class="firstline">Creates a conversation. DEPRECATED: Use UploadConversation instead. CreateConversation does not support audio transcription or DLP redaction.</p>
9797
<p class="toc_element">
9898
<code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p>
9999
<p class="firstline">Deletes a conversation.</p>
@@ -279,7 +279,7 @@ <h3>Method Details</h3>
279279

280280
<div class="method">
281281
<code class="details" id="create">create(parent, body=None, conversationId=None, x__xgafv=None)</code>
282-
<pre>Creates a conversation.
282+
<pre>Creates a conversation. DEPRECATED: Use UploadConversation instead. CreateConversation does not support audio transcription or DLP redaction.
283283

284284
Args:
285285
parent: string, Required. The parent resource of the conversation. (required)
@@ -1493,7 +1493,7 @@ <h3>Method Details</h3>
14931493
{ # The request to ingest conversations.
14941494
&quot;conversationConfig&quot;: { # Configuration that applies to all conversations. # Configuration that applies to all conversations.
14951495
&quot;agentChannel&quot;: 42, # Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.
1496-
&quot;agentId&quot;: &quot;A String&quot;, # An opaque, user-specified string representing the human agent who handled the conversations.
1496+
&quot;agentId&quot;: &quot;A String&quot;, # Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided via the `metadata_bucket_uri`.
14971497
&quot;customerChannel&quot;: 42, # Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed.
14981498
},
14991499
&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.
@@ -1505,11 +1505,12 @@ <h3>Method Details</h3>
15051505
&quot;metadataBucketUri&quot;: &quot;A String&quot;, # Optional. The Cloud Storage path to the source object metadata. Note that: [1] metadata files are expected to be in JSON format [2] metadata and source objects must be in separate buckets [3] a source object&#x27;s metadata object must share the same name to be properly ingested
15061506
},
15071507
&quot;parent&quot;: &quot;A String&quot;, # Required. The parent resource for new conversations.
1508-
&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.
1508+
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations redaction should be performed in Dialogflow / Agent Assist. # Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.
15091509
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`
15101510
&quot;inspectTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`
15111511
},
1512-
&quot;speechConfig&quot;: { # Speech-to-Text configuration. # Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.
1512+
&quot;sampleSize&quot;: 42, # Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note that conversations produced via sampling will not be ingested by subsequent ingest requests unless they are first deleted.
1513+
&quot;speechConfig&quot;: { # Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint. # Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.
15131514
&quot;speechRecognizer&quot;: &quot;A String&quot;, # The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
15141515
},
15151516
&quot;transcriptObjectConfig&quot;: { # Configuration for processing transcript objects. # Configuration for when `source` contains conversation transcripts.
@@ -3147,11 +3148,11 @@ <h3>Method Details</h3>
31473148
},
31483149
&quot;conversationId&quot;: &quot;A String&quot;, # Optional. A unique ID for the new conversation. This ID will become the final component of the conversation&#x27;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-`
31493150
&quot;parent&quot;: &quot;A String&quot;, # Required. The parent resource of the conversation.
3150-
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. # Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
3151+
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations redaction should be performed in Dialogflow / Agent Assist. # Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
31513152
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`
31523153
&quot;inspectTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`
31533154
},
3154-
&quot;speechConfig&quot;: { # Speech-to-Text configuration. # Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
3155+
&quot;speechConfig&quot;: { # Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint. # Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
31553156
&quot;speechRecognizer&quot;: &quot;A String&quot;, # The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
31563157
},
31573158
}

docs/dyn/contactcenterinsights_v1.projects.locations.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ <h3>Method Details</h3>
165165
&quot;pubsubNotificationSettings&quot;: { # A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * &quot;all-triggers&quot;: Notify each time any of the supported triggers occurs. * &quot;create-analysis&quot;: Notify each time an analysis is created. * &quot;create-conversation&quot;: Notify each time a conversation is created. * &quot;export-insights-data&quot;: Notify each time an export is complete. * &quot;ingest-conversations&quot;: Notify each time an IngestConversations LRO completes. * &quot;update-conversation&quot;: Notify each time a conversation is updated via UpdateConversation. * &quot;upload-conversation&quot;: Notify when an UploadConversation LRO completes. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
166166
&quot;a_key&quot;: &quot;A String&quot;,
167167
},
168-
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. # Default DLP redaction resources to be applied while ingesting conversations.
168+
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations redaction should be performed in Dialogflow / Agent Assist. # Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.
169169
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`
170170
&quot;inspectTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`
171171
},
172-
&quot;speechConfig&quot;: { # Speech-to-Text configuration. # Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.
172+
&quot;speechConfig&quot;: { # Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint. # Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.
173173
&quot;speechRecognizer&quot;: &quot;A String&quot;, # The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
174174
},
175175
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the settings were last updated.
@@ -217,11 +217,11 @@ <h3>Method Details</h3>
217217
&quot;pubsubNotificationSettings&quot;: { # A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * &quot;all-triggers&quot;: Notify each time any of the supported triggers occurs. * &quot;create-analysis&quot;: Notify each time an analysis is created. * &quot;create-conversation&quot;: Notify each time a conversation is created. * &quot;export-insights-data&quot;: Notify each time an export is complete. * &quot;ingest-conversations&quot;: Notify each time an IngestConversations LRO completes. * &quot;update-conversation&quot;: Notify each time a conversation is updated via UpdateConversation. * &quot;upload-conversation&quot;: Notify when an UploadConversation LRO completes. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
218218
&quot;a_key&quot;: &quot;A String&quot;,
219219
},
220-
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. # Default DLP redaction resources to be applied while ingesting conversations.
220+
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations redaction should be performed in Dialogflow / Agent Assist. # Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.
221221
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`
222222
&quot;inspectTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`
223223
},
224-
&quot;speechConfig&quot;: { # Speech-to-Text configuration. # Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.
224+
&quot;speechConfig&quot;: { # Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint. # Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.
225225
&quot;speechRecognizer&quot;: &quot;A String&quot;, # The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
226226
},
227227
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the settings were last updated.
@@ -268,11 +268,11 @@ <h3>Method Details</h3>
268268
&quot;pubsubNotificationSettings&quot;: { # A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * &quot;all-triggers&quot;: Notify each time any of the supported triggers occurs. * &quot;create-analysis&quot;: Notify each time an analysis is created. * &quot;create-conversation&quot;: Notify each time a conversation is created. * &quot;export-insights-data&quot;: Notify each time an export is complete. * &quot;ingest-conversations&quot;: Notify each time an IngestConversations LRO completes. * &quot;update-conversation&quot;: Notify each time a conversation is updated via UpdateConversation. * &quot;upload-conversation&quot;: Notify when an UploadConversation LRO completes. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}
269269
&quot;a_key&quot;: &quot;A String&quot;,
270270
},
271-
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. # Default DLP redaction resources to be applied while ingesting conversations.
271+
&quot;redactionConfig&quot;: { # DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations redaction should be performed in Dialogflow / Agent Assist. # Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.
272272
&quot;deidentifyTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}`
273273
&quot;inspectTemplate&quot;: &quot;A String&quot;, # The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}`
274274
},
275-
&quot;speechConfig&quot;: { # Speech-to-Text configuration. # Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.
275+
&quot;speechConfig&quot;: { # Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint. # Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.
276276
&quot;speechRecognizer&quot;: &quot;A String&quot;, # The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
277277
},
278278
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the settings were last updated.

0 commit comments

Comments
 (0)