Skip to content

Commit 5e2a292

Browse files
feat(contactcenterinsights): update the api
#### contactcenterinsights:v1 The following keys were added: - resources.projects.resources.locations.resources.datasets.resources.conversations.methods.calculateStats (Total Keys: 12) - schemas.GoogleCloudContactcenterinsightsV1CalculateStatsRequest (Total Keys: 3) - schemas.GoogleCloudContactcenterinsightsV1Dataset (Total Keys: 6) - schemas.GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadata (Total Keys: 23) - schemas.GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest (Total Keys: 5) - schemas.GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetResponse (Total Keys: 2) - schemas.GoogleCloudContactcenterinsightsV1SampleRule (Total Keys: 8) - schemas.GoogleCloudContactcenterinsightsV1alpha1Dataset (Total Keys: 6) - schemas.GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadata (Total Keys: 23) - schemas.GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest (Total Keys: 5) - schemas.GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetResponse (Total Keys: 2) - schemas.GoogleCloudContactcenterinsightsV1alpha1SampleRule (Total Keys: 8)
1 parent fba3a8e commit 5e2a292

File tree

2 files changed

+350
-1
lines changed

2 files changed

+350
-1
lines changed

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

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474

7575
<h1><a href="contactcenterinsights_v1.html">Contact Center AI Insights API</a> . <a href="contactcenterinsights_v1.projects.html">projects</a> . <a href="contactcenterinsights_v1.projects.locations.html">locations</a> . <a href="contactcenterinsights_v1.projects.locations.datasets.html">datasets</a> . <a href="contactcenterinsights_v1.projects.locations.datasets.conversations.html">conversations</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#calculateStats">calculateStats(location, body=None, x__xgafv=None)</a></code></p>
79+
<p class="firstline">Gets conversation statistics.</p>
7780
<p class="toc_element">
7881
<code><a href="#close">close()</a></code></p>
7982
<p class="firstline">Close httplib2 connections.</p>
@@ -93,6 +96,59 @@ <h2>Instance Methods</h2>
9396
<code><a href="#list_next">list_next()</a></code></p>
9497
<p class="firstline">Retrieves the next page of results.</p>
9598
<h3>Method Details</h3>
99+
<div class="method">
100+
<code class="details" id="calculateStats">calculateStats(location, body=None, x__xgafv=None)</code>
101+
<pre>Gets conversation statistics.
102+
103+
Args:
104+
location: string, Required. The location of the conversations. (required)
105+
body: object, The request body.
106+
The object takes the form of:
107+
108+
{ # The request for calculating conversation statistics.
109+
&quot;filter&quot;: &quot;A String&quot;, # A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.
110+
}
111+
112+
x__xgafv: string, V1 error format.
113+
Allowed values
114+
1 - v1 error format
115+
2 - v2 error format
116+
117+
Returns:
118+
An object of the form:
119+
120+
{ # The response for calculating conversation statistics.
121+
&quot;averageDuration&quot;: &quot;A String&quot;, # The average duration of all conversations. The average is calculated using only conversations that have a time duration.
122+
&quot;averageTurnCount&quot;: 42, # The average number of turns per conversation.
123+
&quot;conversationCount&quot;: 42, # The total number of conversations.
124+
&quot;conversationCountTimeSeries&quot;: { # A time series representing conversations over time. # A time series representing the count of conversations created over time that match that requested filter criteria.
125+
&quot;intervalDuration&quot;: &quot;A String&quot;, # The duration of each interval.
126+
&quot;points&quot;: [ # An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.
127+
{ # A single interval in a time series.
128+
&quot;conversationCount&quot;: 42, # The number of conversations created in this interval.
129+
&quot;startTime&quot;: &quot;A String&quot;, # The start time of this interval.
130+
},
131+
],
132+
},
133+
&quot;customHighlighterMatches&quot;: { # A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.
134+
&quot;a_key&quot;: 42,
135+
},
136+
&quot;issueMatches&quot;: { # A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: `projects//locations//issueModels//issues/` Deprecated, use `issue_matches_stats` field instead.
137+
&quot;a_key&quot;: 42,
138+
},
139+
&quot;issueMatchesStats&quot;: { # A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: `projects//locations//issueModels//issues/`
140+
&quot;a_key&quot;: { # Aggregated statistics about an issue.
141+
&quot;displayName&quot;: &quot;A String&quot;, # Display name of the issue.
142+
&quot;issue&quot;: &quot;A String&quot;, # Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
143+
&quot;labeledConversationsCount&quot;: &quot;A String&quot;, # Number of conversations attached to the issue at this point in time.
144+
},
145+
},
146+
&quot;smartHighlighterMatches&quot;: { # A map associating each smart highlighter display name with its respective number of matches in the set of conversations.
147+
&quot;a_key&quot;: 42,
148+
},
149+
}</pre>
150+
</div>
151+
96152
<div class="method">
97153
<code class="details" id="close">close()</code>
98154
<pre>Close httplib2 connections.</pre>

0 commit comments

Comments
 (0)