blob: 8092bb59253b92fc3cc433aef3a3aa20293b4d5e [file] [log] [blame]
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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.phraseMatchers.html">phraseMatchers</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 phrase matcher.</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 phrase matcher.</p>
86<p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88<p class="firstline">Gets a phrase matcher.</p>
89<p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Lists phrase matchers.</p>
92<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<h3>Method Details</h3>
96<div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99</div>
100
101<div class="method">
102 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
103 <pre>Creates a phrase matcher.
104
105Args:
106 parent: string, Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: `projects//locations/` or `projects//locations/` (required)
107 body: object, The request body.
108 The object takes the form of:
109
110{ # The phrase matcher resource.
111 &quot;activationUpdateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the activation status was updated.
112 &quot;active&quot;: True or False, # Applies the phrase matcher only when it is active.
113 &quot;displayName&quot;: &quot;A String&quot;, # The human-readable name of the phrase matcher.
114 &quot;name&quot;: &quot;A String&quot;, # The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
115 &quot;phraseMatchRuleGroups&quot;: [ # A list of phase match rule groups that are included in this matcher.
116 { # A message representing a rule in the phrase matcher.
117 &quot;phraseMatchRules&quot;: [ # A list of phase match rules that are included in this group.
118 { # The data for a phrase match rule.
119 &quot;config&quot;: { # Configuration information of a phrase match rule. # Provides additional information about the rule that specifies how to apply the rule.
120 &quot;exactMatchConfig&quot;: { # Exact match configuration. # The configuration for the exact match rule.
121 &quot;caseSensitive&quot;: True or False, # Whether to consider case sensitivity when performing an exact match.
122 },
123 },
124 &quot;negated&quot;: True or False, # Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
125 &quot;query&quot;: &quot;A String&quot;, # Required. The phrase to be matched.
126 },
127 ],
128 &quot;type&quot;: &quot;A String&quot;, # Required. The type of this phrase match rule group.
129 },
130 ],
131 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
132 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567
133 &quot;roleMatch&quot;: &quot;A String&quot;, # The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.
134 &quot;type&quot;: &quot;A String&quot;, # Required. The type of this phrase matcher.
135 &quot;versionTag&quot;: &quot;A String&quot;, # The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.
136}
137
138 x__xgafv: string, V1 error format.
139 Allowed values
140 1 - v1 error format
141 2 - v2 error format
142
143Returns:
144 An object of the form:
145
146 { # The phrase matcher resource.
147 &quot;activationUpdateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the activation status was updated.
148 &quot;active&quot;: True or False, # Applies the phrase matcher only when it is active.
149 &quot;displayName&quot;: &quot;A String&quot;, # The human-readable name of the phrase matcher.
150 &quot;name&quot;: &quot;A String&quot;, # The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
151 &quot;phraseMatchRuleGroups&quot;: [ # A list of phase match rule groups that are included in this matcher.
152 { # A message representing a rule in the phrase matcher.
153 &quot;phraseMatchRules&quot;: [ # A list of phase match rules that are included in this group.
154 { # The data for a phrase match rule.
155 &quot;config&quot;: { # Configuration information of a phrase match rule. # Provides additional information about the rule that specifies how to apply the rule.
156 &quot;exactMatchConfig&quot;: { # Exact match configuration. # The configuration for the exact match rule.
157 &quot;caseSensitive&quot;: True or False, # Whether to consider case sensitivity when performing an exact match.
158 },
159 },
160 &quot;negated&quot;: True or False, # Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
161 &quot;query&quot;: &quot;A String&quot;, # Required. The phrase to be matched.
162 },
163 ],
164 &quot;type&quot;: &quot;A String&quot;, # Required. The type of this phrase match rule group.
165 },
166 ],
167 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
168 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567
169 &quot;roleMatch&quot;: &quot;A String&quot;, # The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.
170 &quot;type&quot;: &quot;A String&quot;, # Required. The type of this phrase matcher.
171 &quot;versionTag&quot;: &quot;A String&quot;, # The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.
172}</pre>
173</div>
174
175<div class="method">
176 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
177 <pre>Deletes a phrase matcher.
178
179Args:
180 name: string, Required. The name of the phrase matcher to delete. (required)
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186Returns:
187 An object of the form:
188
189 { # 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); } The JSON representation for `Empty` is empty JSON object `{}`.
190}</pre>
191</div>
192
193<div class="method">
194 <code class="details" id="get">get(name, x__xgafv=None)</code>
195 <pre>Gets a phrase matcher.
196
197Args:
198 name: string, Required. The name of the phrase matcher to get. (required)
199 x__xgafv: string, V1 error format.
200 Allowed values
201 1 - v1 error format
202 2 - v2 error format
203
204Returns:
205 An object of the form:
206
207 { # The phrase matcher resource.
208 &quot;activationUpdateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the activation status was updated.
209 &quot;active&quot;: True or False, # Applies the phrase matcher only when it is active.
210 &quot;displayName&quot;: &quot;A String&quot;, # The human-readable name of the phrase matcher.
211 &quot;name&quot;: &quot;A String&quot;, # The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
212 &quot;phraseMatchRuleGroups&quot;: [ # A list of phase match rule groups that are included in this matcher.
213 { # A message representing a rule in the phrase matcher.
214 &quot;phraseMatchRules&quot;: [ # A list of phase match rules that are included in this group.
215 { # The data for a phrase match rule.
216 &quot;config&quot;: { # Configuration information of a phrase match rule. # Provides additional information about the rule that specifies how to apply the rule.
217 &quot;exactMatchConfig&quot;: { # Exact match configuration. # The configuration for the exact match rule.
218 &quot;caseSensitive&quot;: True or False, # Whether to consider case sensitivity when performing an exact match.
219 },
220 },
221 &quot;negated&quot;: True or False, # Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
222 &quot;query&quot;: &quot;A String&quot;, # Required. The phrase to be matched.
223 },
224 ],
225 &quot;type&quot;: &quot;A String&quot;, # Required. The type of this phrase match rule group.
226 },
227 ],
228 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
229 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567
230 &quot;roleMatch&quot;: &quot;A String&quot;, # The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.
231 &quot;type&quot;: &quot;A String&quot;, # Required. The type of this phrase matcher.
232 &quot;versionTag&quot;: &quot;A String&quot;, # The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.
233}</pre>
234</div>
235
236<div class="method">
237 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
238 <pre>Lists phrase matchers.
239
240Args:
241 parent: string, Required. The parent resource of the phrase matcher. (required)
242 filter: string, A filter to reduce results to a specific subset. Useful for querying phrase matchers with specific properties.
243 pageSize: integer, The maximum number of phrase matchers to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.
244 pageToken: string, The value returned by the last `ListPhraseMatchersResponse`. This value indicates that this is a continuation of a prior `ListPhraseMatchers` call and that the system should return the next page of data.
245 x__xgafv: string, V1 error format.
246 Allowed values
247 1 - v1 error format
248 2 - v2 error format
249
250Returns:
251 An object of the form:
252
253 { # The response of listing phrase matchers.
254 &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.
255 &quot;phraseMatchers&quot;: [ # The phrase matchers that match the request.
256 { # The phrase matcher resource.
257 &quot;activationUpdateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the activation status was updated.
258 &quot;active&quot;: True or False, # Applies the phrase matcher only when it is active.
259 &quot;displayName&quot;: &quot;A String&quot;, # The human-readable name of the phrase matcher.
260 &quot;name&quot;: &quot;A String&quot;, # The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
261 &quot;phraseMatchRuleGroups&quot;: [ # A list of phase match rule groups that are included in this matcher.
262 { # A message representing a rule in the phrase matcher.
263 &quot;phraseMatchRules&quot;: [ # A list of phase match rules that are included in this group.
264 { # The data for a phrase match rule.
265 &quot;config&quot;: { # Configuration information of a phrase match rule. # Provides additional information about the rule that specifies how to apply the rule.
266 &quot;exactMatchConfig&quot;: { # Exact match configuration. # The configuration for the exact match rule.
267 &quot;caseSensitive&quot;: True or False, # Whether to consider case sensitivity when performing an exact match.
268 },
269 },
270 &quot;negated&quot;: True or False, # Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
271 &quot;query&quot;: &quot;A String&quot;, # Required. The phrase to be matched.
272 },
273 ],
274 &quot;type&quot;: &quot;A String&quot;, # Required. The type of this phrase match rule group.
275 },
276 ],
277 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
278 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567
279 &quot;roleMatch&quot;: &quot;A String&quot;, # The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.
280 &quot;type&quot;: &quot;A String&quot;, # Required. The type of this phrase matcher.
281 &quot;versionTag&quot;: &quot;A String&quot;, # The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.
282 },
283 ],
284}</pre>
285</div>
286
287<div class="method">
288 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
289 <pre>Retrieves the next page of results.
290
291Args:
292 previous_request: The request for the previous page. (required)
293 previous_response: The response from the request for the previous page. (required)
294
295Returns:
296 A request object that you can call &#x27;execute()&#x27; on to request the next
297 page. Returns None if there are no more items in the collection.
298 </pre>
299</div>
300
301</body></html>