Debian Codegraph @

docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSet.authorizedView.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <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.authorizedViewSet.html">authorizedViewSet</a> . <a href="contactcenterinsights_v1.projects.locations.authorizedViewSet.authorizedView.html">authorizedView</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#calculateStats">calculateStats(location, filter=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Gets conversation statistics.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#queryMetrics">queryMetrics(location, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Query metrics.</p>
86 <h3>Method Details</h3>
87 <div class="method">
88 <code class="details" id="calculateStats">calculateStats(location, filter=None, x__xgafv=None)</code>
89 <pre>Gets conversation statistics.
90
91 Args:
92 location: string, Required. The location of the conversations. (required)
93 filter: string, A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.
94 x__xgafv: string, V1 error format.
95 Allowed values
96 1 - v1 error format
97 2 - v2 error format
98
99 Returns:
100 An object of the form:
101
102 { # The response for calculating conversation statistics.
103 &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.
104 &quot;averageTurnCount&quot;: 42, # The average number of turns per conversation.
105 &quot;conversationCount&quot;: 42, # The total number of conversations.
106 &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.
107 &quot;intervalDuration&quot;: &quot;A String&quot;, # The duration of each interval.
108 &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.
109 { # A single interval in a time series.
110 &quot;conversationCount&quot;: 42, # The number of conversations created in this interval.
111 &quot;startTime&quot;: &quot;A String&quot;, # The start time of this interval.
112 },
113 ],
114 },
115 &quot;customHighlighterMatches&quot;: { # A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.
116 &quot;a_key&quot;: 42,
117 },
118 &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.
119 &quot;a_key&quot;: 42,
120 },
121 &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/`
122 &quot;a_key&quot;: { # Aggregated statistics about an issue.
123 &quot;displayName&quot;: &quot;A String&quot;, # Display name of the issue.
124 &quot;issue&quot;: &quot;A String&quot;, # Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
125 &quot;labeledConversationsCount&quot;: &quot;A String&quot;, # Number of conversations attached to the issue at this point in time.
126 },
127 },
128 &quot;smartHighlighterMatches&quot;: { # A map associating each smart highlighter display name with its respective number of matches in the set of conversations.
129 &quot;a_key&quot;: 42,
130 },
131 }</pre>
132 </div>
133
134 <div class="method">
135 <code class="details" id="close">close()</code>
136 <pre>Close httplib2 connections.</pre>
137 </div>
138
139 <div class="method">
140 <code class="details" id="queryMetrics">queryMetrics(location, body=None, x__xgafv=None)</code>
141 <pre>Query metrics.
142
143 Args:
144 location: string, Required. The location of the data. &quot;projects/{project}/locations/{location}&quot; (required)
145 body: object, The request body.
146 The object takes the form of:
147
148 { # The request for querying metrics.
149 &quot;dimensions&quot;: [ # The dimensions that determine the grouping key for the query. Defaults to no dimension if this field is unspecified. If a dimension is specified, its key must also be specified. Each dimension&#x27;s key must be unique. If a time granularity is also specified, metric values in the dimension will be bucketed by this granularity. Up to one dimension is supported for now.
150 { # A dimension determines the grouping key for the query. In SQL terms, these would be part of both the &quot;SELECT&quot; and &quot;GROUP BY&quot; clauses.
151 &quot;agentDimensionMetadata&quot;: { # Metadata about the agent dimension. # Output only. Metadata about the agent dimension.
152 &quot;agentDisplayName&quot;: &quot;A String&quot;, # Optional. The agent&#x27;s name
153 &quot;agentId&quot;: &quot;A String&quot;, # Optional. A user-specified string representing the agent.
154 &quot;agentTeam&quot;: &quot;A String&quot;, # Optional. A user-specified string representing the agent&#x27;s team.
155 },
156 &quot;dimensionKey&quot;: &quot;A String&quot;, # The key of the dimension.
157 &quot;issueDimensionMetadata&quot;: { # Metadata about the issue dimension. # Output only. Metadata about the issue dimension.
158 &quot;issueDisplayName&quot;: &quot;A String&quot;, # The issue display name.
159 &quot;issueId&quot;: &quot;A String&quot;, # The issue ID.
160 &quot;issueModelId&quot;: &quot;A String&quot;, # The parent issue model ID.
161 },
162 &quot;qaQuestionAnswerDimensionMetadata&quot;: { # Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard. # Output only. Metadata about the QA question-answer dimension.
163 &quot;answerValue&quot;: &quot;A String&quot;, # Optional. The full body of the question.
164 &quot;qaQuestionId&quot;: &quot;A String&quot;, # Optional. The QA question ID.
165 &quot;qaScorecardId&quot;: &quot;A String&quot;, # Optional. The QA scorecard ID.
166 &quot;questionBody&quot;: &quot;A String&quot;, # Optional. The full body of the question.
167 },
168 &quot;qaQuestionDimensionMetadata&quot;: { # Metadata about the QA question dimension. # Output only. Metadata about the QA question dimension.
169 &quot;qaQuestionId&quot;: &quot;A String&quot;, # Optional. The QA question ID.
170 &quot;qaScorecardId&quot;: &quot;A String&quot;, # Optional. The QA scorecard ID.
171 &quot;questionBody&quot;: &quot;A String&quot;, # Optional. The full body of the question.
172 },
173 },
174 ],
175 &quot;filter&quot;: &quot;A String&quot;, # Required. Filter to select a subset of conversations to compute the metrics. Must specify a window of the conversation create time to compute the metrics. The returned metrics will be from the range [DATE(starting create time), DATE(ending create time)).
176 &quot;measureMask&quot;: &quot;A String&quot;, # Measures to return. Defaults to all measures if this field is unspecified. A valid mask should traverse from the `measure` field from the response. For example, a path from a measure mask to get the conversation count is &quot;conversation_measure.count&quot;.
177 &quot;timeGranularity&quot;: &quot;A String&quot;, # The time granularity of each data point in the time series. Defaults to NONE if this field is unspecified.
178 }
179
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185 Returns:
186 An object of the form:
187
188 { # This resource represents a long-running operation that is the result of a network API call.
189 &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.
190 &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.
191 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
192 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
193 {
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 ],
197 &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.
198 },
199 &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.
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 &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}`.
203 &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`.
204 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
205 },
206 }</pre>
207 </div>
208
209 </body></html>