Debian Codegraph @

docs/dyn/contactcenterinsights_v1.projects.locations.analysisRules.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.analysisRules.html">analysisRules</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a analysis rule.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a analysis rule.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Get a analysis rule.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists analysis rules.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a analysis rule.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106 <pre>Creates a analysis rule.
107
108 Args:
109 parent: string, Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: `projects//locations/` or `projects//locations/` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.
114 &quot;active&quot;: True or False, # If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.
115 &quot;analysisPercentage&quot;: 3.14, # Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage &amp; upload percentage will be replaced by defining filters on the conversation.
116 &quot;annotatorSelector&quot;: { # Selector of all available annotators and phrase matchers to run. # Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.
117 &quot;issueModels&quot;: [ # The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
118 &quot;A String&quot;,
119 ],
120 &quot;phraseMatchers&quot;: [ # The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
121 &quot;A String&quot;,
122 ],
123 &quot;qaConfig&quot;: { # Configuration for the QA feature. # Configuration for the QA annotator.
124 &quot;scorecardList&quot;: { # Container for a list of scorecards. # A manual list of scorecards to score.
125 &quot;qaScorecardRevisions&quot;: [ # List of QaScorecardRevisions.
126 &quot;A String&quot;,
127 ],
128 },
129 },
130 &quot;runAutoLabelingAnnotator&quot;: True or False, # Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.
131 &quot;runEntityAnnotator&quot;: True or False, # Whether to run the entity annotator.
132 &quot;runIntentAnnotator&quot;: True or False, # Whether to run the intent annotator.
133 &quot;runInterruptionAnnotator&quot;: True or False, # Whether to run the interruption annotator.
134 &quot;runIssueModelAnnotator&quot;: True or False, # Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
135 &quot;runPhraseMatcherAnnotator&quot;: True or False, # Whether to run the active phrase matcher annotator(s).
136 &quot;runQaAnnotator&quot;: True or False, # Whether to run the QA annotator.
137 &quot;runSentimentAnnotator&quot;: True or False, # Whether to run the sentiment annotator.
138 &quot;runSilenceAnnotator&quot;: True or False, # Whether to run the silence annotator.
139 &quot;runSummarizationAnnotator&quot;: True or False, # Whether to run the summarization annotator.
140 &quot;summarizationConfig&quot;: { # Configuration for summarization. # Configuration for the summarization annotator.
141 &quot;conversationProfile&quot;: &quot;A String&quot;, # Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}
142 &quot;generator&quot;: &quot;A String&quot;, # The resource name of the existing created generator. Format: projects//locations//generators/
143 &quot;summarizationModel&quot;: &quot;A String&quot;, # Default summarization model to be used.
144 },
145 },
146 &quot;conversationFilter&quot;: &quot;A String&quot;, # Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.
147 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this analysis rule was created.
148 &quot;displayName&quot;: &quot;A String&quot;, # Display Name of the analysis rule.
149 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}
150 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which this analysis rule was updated.
151 }
152
153 x__xgafv: string, V1 error format.
154 Allowed values
155 1 - v1 error format
156 2 - v2 error format
157
158 Returns:
159 An object of the form:
160
161 { # The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.
162 &quot;active&quot;: True or False, # If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.
163 &quot;analysisPercentage&quot;: 3.14, # Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage &amp; upload percentage will be replaced by defining filters on the conversation.
164 &quot;annotatorSelector&quot;: { # Selector of all available annotators and phrase matchers to run. # Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.
165 &quot;issueModels&quot;: [ # The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
166 &quot;A String&quot;,
167 ],
168 &quot;phraseMatchers&quot;: [ # The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
169 &quot;A String&quot;,
170 ],
171 &quot;qaConfig&quot;: { # Configuration for the QA feature. # Configuration for the QA annotator.
172 &quot;scorecardList&quot;: { # Container for a list of scorecards. # A manual list of scorecards to score.
173 &quot;qaScorecardRevisions&quot;: [ # List of QaScorecardRevisions.
174 &quot;A String&quot;,
175 ],
176 },
177 },
178 &quot;runAutoLabelingAnnotator&quot;: True or False, # Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.
179 &quot;runEntityAnnotator&quot;: True or False, # Whether to run the entity annotator.
180 &quot;runIntentAnnotator&quot;: True or False, # Whether to run the intent annotator.
181 &quot;runInterruptionAnnotator&quot;: True or False, # Whether to run the interruption annotator.
182 &quot;runIssueModelAnnotator&quot;: True or False, # Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
183 &quot;runPhraseMatcherAnnotator&quot;: True or False, # Whether to run the active phrase matcher annotator(s).
184 &quot;runQaAnnotator&quot;: True or False, # Whether to run the QA annotator.
185 &quot;runSentimentAnnotator&quot;: True or False, # Whether to run the sentiment annotator.
186 &quot;runSilenceAnnotator&quot;: True or False, # Whether to run the silence annotator.
187 &quot;runSummarizationAnnotator&quot;: True or False, # Whether to run the summarization annotator.
188 &quot;summarizationConfig&quot;: { # Configuration for summarization. # Configuration for the summarization annotator.
189 &quot;conversationProfile&quot;: &quot;A String&quot;, # Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}
190 &quot;generator&quot;: &quot;A String&quot;, # The resource name of the existing created generator. Format: projects//locations//generators/
191 &quot;summarizationModel&quot;: &quot;A String&quot;, # Default summarization model to be used.
192 },
193 },
194 &quot;conversationFilter&quot;: &quot;A String&quot;, # Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.
195 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this analysis rule was created.
196 &quot;displayName&quot;: &quot;A String&quot;, # Display Name of the analysis rule.
197 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}
198 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which this analysis rule was updated.
199 }</pre>
200 </div>
201
202 <div class="method">
203 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
204 <pre>Deletes a analysis rule.
205
206 Args:
207 name: string, Required. The name of the analysis rule to delete. (required)
208 x__xgafv: string, V1 error format.
209 Allowed values
210 1 - v1 error format
211 2 - v2 error format
212
213 Returns:
214 An object of the form:
215
216 { # 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); }
217 }</pre>
218 </div>
219
220 <div class="method">
221 <code class="details" id="get">get(name, x__xgafv=None)</code>
222 <pre>Get a analysis rule.
223
224 Args:
225 name: string, Required. The name of the AnalysisRule to get. (required)
226 x__xgafv: string, V1 error format.
227 Allowed values
228 1 - v1 error format
229 2 - v2 error format
230
231 Returns:
232 An object of the form:
233
234 { # The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.
235 &quot;active&quot;: True or False, # If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.
236 &quot;analysisPercentage&quot;: 3.14, # Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage &amp; upload percentage will be replaced by defining filters on the conversation.
237 &quot;annotatorSelector&quot;: { # Selector of all available annotators and phrase matchers to run. # Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.
238 &quot;issueModels&quot;: [ # The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
239 &quot;A String&quot;,
240 ],
241 &quot;phraseMatchers&quot;: [ # The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
242 &quot;A String&quot;,
243 ],
244 &quot;qaConfig&quot;: { # Configuration for the QA feature. # Configuration for the QA annotator.
245 &quot;scorecardList&quot;: { # Container for a list of scorecards. # A manual list of scorecards to score.
246 &quot;qaScorecardRevisions&quot;: [ # List of QaScorecardRevisions.
247 &quot;A String&quot;,
248 ],
249 },
250 },
251 &quot;runAutoLabelingAnnotator&quot;: True or False, # Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.
252 &quot;runEntityAnnotator&quot;: True or False, # Whether to run the entity annotator.
253 &quot;runIntentAnnotator&quot;: True or False, # Whether to run the intent annotator.
254 &quot;runInterruptionAnnotator&quot;: True or False, # Whether to run the interruption annotator.
255 &quot;runIssueModelAnnotator&quot;: True or False, # Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
256 &quot;runPhraseMatcherAnnotator&quot;: True or False, # Whether to run the active phrase matcher annotator(s).
257 &quot;runQaAnnotator&quot;: True or False, # Whether to run the QA annotator.
258 &quot;runSentimentAnnotator&quot;: True or False, # Whether to run the sentiment annotator.
259 &quot;runSilenceAnnotator&quot;: True or False, # Whether to run the silence annotator.
260 &quot;runSummarizationAnnotator&quot;: True or False, # Whether to run the summarization annotator.
261 &quot;summarizationConfig&quot;: { # Configuration for summarization. # Configuration for the summarization annotator.
262 &quot;conversationProfile&quot;: &quot;A String&quot;, # Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}
263 &quot;generator&quot;: &quot;A String&quot;, # The resource name of the existing created generator. Format: projects//locations//generators/
264 &quot;summarizationModel&quot;: &quot;A String&quot;, # Default summarization model to be used.
265 },
266 },
267 &quot;conversationFilter&quot;: &quot;A String&quot;, # Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.
268 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this analysis rule was created.
269 &quot;displayName&quot;: &quot;A String&quot;, # Display Name of the analysis rule.
270 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}
271 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which this analysis rule was updated.
272 }</pre>
273 </div>
274
275 <div class="method">
276 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
277 <pre>Lists analysis rules.
278
279 Args:
280 parent: string, Required. The parent resource of the analysis rules. (required)
281 pageSize: integer, Optional. The maximum number of analysis rule to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.
282 pageToken: string, Optional. The value returned by the last `ListAnalysisRulesResponse`; indicates that this is a continuation of a prior `ListAnalysisRules` call and the system should return the next page of data.
283 x__xgafv: string, V1 error format.
284 Allowed values
285 1 - v1 error format
286 2 - v2 error format
287
288 Returns:
289 An object of the form:
290
291 { # The response of listing views.
292 &quot;analysisRules&quot;: [ # The analysis_rule that match the request.
293 { # The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.
294 &quot;active&quot;: True or False, # If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.
295 &quot;analysisPercentage&quot;: 3.14, # Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage &amp; upload percentage will be replaced by defining filters on the conversation.
296 &quot;annotatorSelector&quot;: { # Selector of all available annotators and phrase matchers to run. # Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.
297 &quot;issueModels&quot;: [ # The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
298 &quot;A String&quot;,
299 ],
300 &quot;phraseMatchers&quot;: [ # The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
301 &quot;A String&quot;,
302 ],
303 &quot;qaConfig&quot;: { # Configuration for the QA feature. # Configuration for the QA annotator.
304 &quot;scorecardList&quot;: { # Container for a list of scorecards. # A manual list of scorecards to score.
305 &quot;qaScorecardRevisions&quot;: [ # List of QaScorecardRevisions.
306 &quot;A String&quot;,
307 ],
308 },
309 },
310 &quot;runAutoLabelingAnnotator&quot;: True or False, # Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.
311 &quot;runEntityAnnotator&quot;: True or False, # Whether to run the entity annotator.
312 &quot;runIntentAnnotator&quot;: True or False, # Whether to run the intent annotator.
313 &quot;runInterruptionAnnotator&quot;: True or False, # Whether to run the interruption annotator.
314 &quot;runIssueModelAnnotator&quot;: True or False, # Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
315 &quot;runPhraseMatcherAnnotator&quot;: True or False, # Whether to run the active phrase matcher annotator(s).
316 &quot;runQaAnnotator&quot;: True or False, # Whether to run the QA annotator.
317 &quot;runSentimentAnnotator&quot;: True or False, # Whether to run the sentiment annotator.
318 &quot;runSilenceAnnotator&quot;: True or False, # Whether to run the silence annotator.
319 &quot;runSummarizationAnnotator&quot;: True or False, # Whether to run the summarization annotator.
320 &quot;summarizationConfig&quot;: { # Configuration for summarization. # Configuration for the summarization annotator.
321 &quot;conversationProfile&quot;: &quot;A String&quot;, # Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}
322 &quot;generator&quot;: &quot;A String&quot;, # The resource name of the existing created generator. Format: projects//locations//generators/
323 &quot;summarizationModel&quot;: &quot;A String&quot;, # Default summarization model to be used.
324 },
325 },
326 &quot;conversationFilter&quot;: &quot;A String&quot;, # Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.
327 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this analysis rule was created.
328 &quot;displayName&quot;: &quot;A String&quot;, # Display Name of the analysis rule.
329 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}
330 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which this analysis rule was updated.
331 },
332 ],
333 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
334 }</pre>
335 </div>
336
337 <div class="method">
338 <code class="details" id="list_next">list_next()</code>
339 <pre>Retrieves the next page of results.
340
341 Args:
342 previous_request: The request for the previous page. (required)
343 previous_response: The response from the request for the previous page. (required)
344
345 Returns:
346 A request object that you can call &#x27;execute()&#x27; on to request the next
347 page. Returns None if there are no more items in the collection.
348 </pre>
349 </div>
350
351 <div class="method">
352 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
353 <pre>Updates a analysis rule.
354
355 Args:
356 name: string, Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule} (required)
357 body: object, The request body.
358 The object takes the form of:
359
360 { # The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.
361 &quot;active&quot;: True or False, # If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.
362 &quot;analysisPercentage&quot;: 3.14, # Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage &amp; upload percentage will be replaced by defining filters on the conversation.
363 &quot;annotatorSelector&quot;: { # Selector of all available annotators and phrase matchers to run. # Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.
364 &quot;issueModels&quot;: [ # The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
365 &quot;A String&quot;,
366 ],
367 &quot;phraseMatchers&quot;: [ # The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
368 &quot;A String&quot;,
369 ],
370 &quot;qaConfig&quot;: { # Configuration for the QA feature. # Configuration for the QA annotator.
371 &quot;scorecardList&quot;: { # Container for a list of scorecards. # A manual list of scorecards to score.
372 &quot;qaScorecardRevisions&quot;: [ # List of QaScorecardRevisions.
373 &quot;A String&quot;,
374 ],
375 },
376 },
377 &quot;runAutoLabelingAnnotator&quot;: True or False, # Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.
378 &quot;runEntityAnnotator&quot;: True or False, # Whether to run the entity annotator.
379 &quot;runIntentAnnotator&quot;: True or False, # Whether to run the intent annotator.
380 &quot;runInterruptionAnnotator&quot;: True or False, # Whether to run the interruption annotator.
381 &quot;runIssueModelAnnotator&quot;: True or False, # Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
382 &quot;runPhraseMatcherAnnotator&quot;: True or False, # Whether to run the active phrase matcher annotator(s).
383 &quot;runQaAnnotator&quot;: True or False, # Whether to run the QA annotator.
384 &quot;runSentimentAnnotator&quot;: True or False, # Whether to run the sentiment annotator.
385 &quot;runSilenceAnnotator&quot;: True or False, # Whether to run the silence annotator.
386 &quot;runSummarizationAnnotator&quot;: True or False, # Whether to run the summarization annotator.
387 &quot;summarizationConfig&quot;: { # Configuration for summarization. # Configuration for the summarization annotator.
388 &quot;conversationProfile&quot;: &quot;A String&quot;, # Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}
389 &quot;generator&quot;: &quot;A String&quot;, # The resource name of the existing created generator. Format: projects//locations//generators/
390 &quot;summarizationModel&quot;: &quot;A String&quot;, # Default summarization model to be used.
391 },
392 },
393 &quot;conversationFilter&quot;: &quot;A String&quot;, # Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.
394 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this analysis rule was created.
395 &quot;displayName&quot;: &quot;A String&quot;, # Display Name of the analysis rule.
396 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}
397 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which this analysis rule was updated.
398 }
399
400 updateMask: string, Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields.
401 x__xgafv: string, V1 error format.
402 Allowed values
403 1 - v1 error format
404 2 - v2 error format
405
406 Returns:
407 An object of the form:
408
409 { # The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.
410 &quot;active&quot;: True or False, # If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.
411 &quot;analysisPercentage&quot;: 3.14, # Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage &amp; upload percentage will be replaced by defining filters on the conversation.
412 &quot;annotatorSelector&quot;: { # Selector of all available annotators and phrase matchers to run. # Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run.
413 &quot;issueModels&quot;: [ # The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
414 &quot;A String&quot;,
415 ],
416 &quot;phraseMatchers&quot;: [ # The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
417 &quot;A String&quot;,
418 ],
419 &quot;qaConfig&quot;: { # Configuration for the QA feature. # Configuration for the QA annotator.
420 &quot;scorecardList&quot;: { # Container for a list of scorecards. # A manual list of scorecards to score.
421 &quot;qaScorecardRevisions&quot;: [ # List of QaScorecardRevisions.
422 &quot;A String&quot;,
423 ],
424 },
425 },
426 &quot;runAutoLabelingAnnotator&quot;: True or False, # Optional. Whether to run the auto-labeling annotator. If true, the auto-labeling annotator will be run. This is a non-billable operation designed for fixing or backfilling custom labels.
427 &quot;runEntityAnnotator&quot;: True or False, # Whether to run the entity annotator.
428 &quot;runIntentAnnotator&quot;: True or False, # Whether to run the intent annotator.
429 &quot;runInterruptionAnnotator&quot;: True or False, # Whether to run the interruption annotator.
430 &quot;runIssueModelAnnotator&quot;: True or False, # Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
431 &quot;runPhraseMatcherAnnotator&quot;: True or False, # Whether to run the active phrase matcher annotator(s).
432 &quot;runQaAnnotator&quot;: True or False, # Whether to run the QA annotator.
433 &quot;runSentimentAnnotator&quot;: True or False, # Whether to run the sentiment annotator.
434 &quot;runSilenceAnnotator&quot;: True or False, # Whether to run the silence annotator.
435 &quot;runSummarizationAnnotator&quot;: True or False, # Whether to run the summarization annotator.
436 &quot;summarizationConfig&quot;: { # Configuration for summarization. # Configuration for the summarization annotator.
437 &quot;conversationProfile&quot;: &quot;A String&quot;, # Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}
438 &quot;generator&quot;: &quot;A String&quot;, # The resource name of the existing created generator. Format: projects//locations//generators/
439 &quot;summarizationModel&quot;: &quot;A String&quot;, # Default summarization model to be used.
440 },
441 },
442 &quot;conversationFilter&quot;: &quot;A String&quot;, # Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.
443 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this analysis rule was created.
444 &quot;displayName&quot;: &quot;A String&quot;, # Display Name of the analysis rule.
445 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}
446 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which this analysis rule was updated.
447 }</pre>
448 </div>
449
450 </body></html>