Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5dda1e9

Browse files
committedJun 20, 2023
feat(contactcenteraiplatform): update the api
#### contactcenteraiplatform:v1alpha1 The following keys were added: - resources.projects.resources.locations.resources.contactCenters.methods.getAuthentication-config (Total Keys: 11) - resources.projects.resources.locations.resources.contactCenters.methods.updateAuthentication-config (Total Keys: 15) - schemas.AuthenticationConfig (Total Keys: 5) - schemas.BasicAuthConfig (Total Keys: 3) - schemas.GoogleCloudCommonOperationMetadata (Total Keys: 18) - schemas.SamlConfig (Total Keys: 6)
1 parent 727991d commit 5dda1e9

File tree

2 files changed

+238
-5
lines changed

2 files changed

+238
-5
lines changed
 

‎docs/dyn/contactcenteraiplatform_v1alpha1.projects.locations.contactCenters.html

+79
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ <h2>Instance Methods</h2>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Gets details of a single ContactCenter.</p>
89+
<p class="toc_element">
90+
<code><a href="#getAuthentication_config">getAuthentication_config(name, x__xgafv=None)</a></code></p>
91+
<p class="firstline"></p>
8992
<p class="toc_element">
9093
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9194
<p class="firstline">Lists ContactCenters in a given project and location.</p>
@@ -95,6 +98,9 @@ <h2>Instance Methods</h2>
9598
<p class="toc_element">
9699
<code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
97100
<p class="firstline">Updates the parameters of a single ContactCenter.</p>
101+
<p class="toc_element">
102+
<code><a href="#updateAuthentication_config">updateAuthentication_config(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
103+
<p class="firstline"></p>
98104
<h3>Method Details</h3>
99105
<div class="method">
100106
<code class="details" id="close">close()</code>
@@ -258,6 +264,34 @@ <h3>Method Details</h3>
258264
}</pre>
259265
</div>
260266

267+
<div class="method">
268+
<code class="details" id="getAuthentication_config">getAuthentication_config(name, x__xgafv=None)</code>
269+
<pre>
270+
271+
Args:
272+
name: string, Required. The name of the AuthenticationConfig resource. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config (required)
273+
x__xgafv: string, V1 error format.
274+
Allowed values
275+
1 - v1 error format
276+
2 - v2 error format
277+
278+
Returns:
279+
An object of the form:
280+
281+
{
282+
&quot;basicAuthSetting&quot;: {
283+
&quot;enabled&quot;: True or False,
284+
},
285+
&quot;name&quot;: &quot;A String&quot;, # Name of authentication config. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config
286+
&quot;samlSetting&quot;: {
287+
&quot;cert&quot;: &quot;A String&quot;, # X.509 public certificate for IdP
288+
&quot;emailMapping&quot;: &quot;A String&quot;, # IdP field that maps to the user’s email address
289+
&quot;entityId&quot;: &quot;A String&quot;, # The entity ID for the identity provider. Example: https://[IDP Domain]/saml/metadata
290+
&quot;loginUri&quot;: &quot;A String&quot;, # The sso login url. Example: https://[IDP Domain]/saml/sso/login
291+
},
292+
}</pre>
293+
</div>
294+
261295
<div class="method">
262296
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
263297
<pre>Lists ContactCenters in a given project and location.
@@ -405,4 +439,49 @@ <h3>Method Details</h3>
405439
}</pre>
406440
</div>
407441

442+
<div class="method">
443+
<code class="details" id="updateAuthentication_config">updateAuthentication_config(name, body=None, updateMask=None, x__xgafv=None)</code>
444+
<pre>
445+
446+
Args:
447+
name: string, Name of authentication config. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config (required)
448+
body: object, The request body.
449+
The object takes the form of:
450+
451+
{
452+
&quot;basicAuthSetting&quot;: {
453+
&quot;enabled&quot;: True or False,
454+
},
455+
&quot;name&quot;: &quot;A String&quot;, # Name of authentication config. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config
456+
&quot;samlSetting&quot;: {
457+
&quot;cert&quot;: &quot;A String&quot;, # X.509 public certificate for IdP
458+
&quot;emailMapping&quot;: &quot;A String&quot;, # IdP field that maps to the user’s email address
459+
&quot;entityId&quot;: &quot;A String&quot;, # The entity ID for the identity provider. Example: https://[IDP Domain]/saml/metadata
460+
&quot;loginUri&quot;: &quot;A String&quot;, # The sso login url. Example: https://[IDP Domain]/saml/sso/login
461+
},
462+
}
463+
464+
updateMask: string, Required. Indicates which fields in the provided authentication config to update. Must be specified and non-empty.
465+
x__xgafv: string, V1 error format.
466+
Allowed values
467+
1 - v1 error format
468+
2 - v2 error format
469+
470+
Returns:
471+
An object of the form:
472+
473+
{
474+
&quot;basicAuthSetting&quot;: {
475+
&quot;enabled&quot;: True or False,
476+
},
477+
&quot;name&quot;: &quot;A String&quot;, # Name of authentication config. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config
478+
&quot;samlSetting&quot;: {
479+
&quot;cert&quot;: &quot;A String&quot;, # X.509 public certificate for IdP
480+
&quot;emailMapping&quot;: &quot;A String&quot;, # IdP field that maps to the user’s email address
481+
&quot;entityId&quot;: &quot;A String&quot;, # The entity ID for the identity provider. Example: https://[IDP Domain]/saml/metadata
482+
&quot;loginUri&quot;: &quot;A String&quot;, # The sso login url. Example: https://[IDP Domain]/saml/sso/login
483+
},
484+
}</pre>
485+
</div>
486+
408487
</body></html>

‎googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json

+159-5
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,31 @@
297297
"https://www.googleapis.com/auth/cloud-platform"
298298
]
299299
},
300+
"getAuthentication-config": {
301+
"description": "",
302+
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters/{contactCentersId}/authentication-config",
303+
"httpMethod": "GET",
304+
"id": "contactcenteraiplatform.projects.locations.contactCenters.getAuthentication-config",
305+
"parameterOrder": [
306+
"name"
307+
],
308+
"parameters": {
309+
"name": {
310+
"description": "Required. The name of the AuthenticationConfig resource. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config",
311+
"location": "path",
312+
"pattern": "^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+/authentication-config$",
313+
"required": true,
314+
"type": "string"
315+
}
316+
},
317+
"path": "v1alpha1/{+name}",
318+
"response": {
319+
"$ref": "AuthenticationConfig"
320+
},
321+
"scopes": [
322+
"https://www.googleapis.com/auth/cloud-platform"
323+
]
324+
},
300325
"list": {
301326
"description": "Lists ContactCenters in a given project and location.",
302327
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters",
@@ -381,6 +406,40 @@
381406
"scopes": [
382407
"https://www.googleapis.com/auth/cloud-platform"
383408
]
409+
},
410+
"updateAuthentication-config": {
411+
"description": "",
412+
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters/{contactCentersId}/authentication-config",
413+
"httpMethod": "PATCH",
414+
"id": "contactcenteraiplatform.projects.locations.contactCenters.updateAuthentication-config",
415+
"parameterOrder": [
416+
"name"
417+
],
418+
"parameters": {
419+
"name": {
420+
"description": "Name of authentication config. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config",
421+
"location": "path",
422+
"pattern": "^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+/authentication-config$",
423+
"required": true,
424+
"type": "string"
425+
},
426+
"updateMask": {
427+
"description": "Required. Indicates which fields in the provided authentication config to update. Must be specified and non-empty.",
428+
"format": "google-fieldmask",
429+
"location": "query",
430+
"type": "string"
431+
}
432+
},
433+
"path": "v1alpha1/{+name}",
434+
"request": {
435+
"$ref": "AuthenticationConfig"
436+
},
437+
"response": {
438+
"$ref": "AuthenticationConfig"
439+
},
440+
"scopes": [
441+
"https://www.googleapis.com/auth/cloud-platform"
442+
]
384443
}
385444
}
386445
},
@@ -512,7 +571,7 @@
512571
}
513572
}
514573
},
515-
"revision": "20230503",
574+
"revision": "20230615",
516575
"rootUrl": "https://contactcenteraiplatform.googleapis.com/",
517576
"schemas": {
518577
"AdminUser": {
@@ -530,6 +589,31 @@
530589
},
531590
"type": "object"
532591
},
592+
"AuthenticationConfig": {
593+
"id": "AuthenticationConfig",
594+
"properties": {
595+
"basicAuthSetting": {
596+
"$ref": "BasicAuthConfig"
597+
},
598+
"name": {
599+
"description": "Name of authentication config. Format: projects/{project}/locations/{location}/contactCenters/{contact_center}/authentication-config",
600+
"type": "string"
601+
},
602+
"samlSetting": {
603+
"$ref": "SamlConfig"
604+
}
605+
},
606+
"type": "object"
607+
},
608+
"BasicAuthConfig": {
609+
"id": "BasicAuthConfig",
610+
"properties": {
611+
"enabled": {
612+
"type": "boolean"
613+
}
614+
},
615+
"type": "object"
616+
},
533617
"CancelOperationRequest": {
534618
"description": "The request message for Operations.CancelOperation.",
535619
"id": "CancelOperationRequest",
@@ -652,6 +736,50 @@
652736
"properties": {},
653737
"type": "object"
654738
},
739+
"GoogleCloudCommonOperationMetadata": {
740+
"description": "Represents the metadata of the long-running operation.",
741+
"id": "GoogleCloudCommonOperationMetadata",
742+
"properties": {
743+
"apiVersion": {
744+
"description": "Output only. API version used to start the operation.",
745+
"readOnly": true,
746+
"type": "string"
747+
},
748+
"cancelRequested": {
749+
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
750+
"readOnly": true,
751+
"type": "boolean"
752+
},
753+
"createTime": {
754+
"description": "Output only. The time the operation was created.",
755+
"format": "google-datetime",
756+
"readOnly": true,
757+
"type": "string"
758+
},
759+
"endTime": {
760+
"description": "Output only. The time the operation finished running.",
761+
"format": "google-datetime",
762+
"readOnly": true,
763+
"type": "string"
764+
},
765+
"statusDetail": {
766+
"description": "Output only. Human-readable status of the operation, if any.",
767+
"readOnly": true,
768+
"type": "string"
769+
},
770+
"target": {
771+
"description": "Output only. Server-defined resource path for the target of the operation.",
772+
"readOnly": true,
773+
"type": "string"
774+
},
775+
"verb": {
776+
"description": "Output only. Name of the verb executed by the operation.",
777+
"readOnly": true,
778+
"type": "string"
779+
}
780+
},
781+
"type": "object"
782+
},
655783
"InstanceConfig": {
656784
"description": "Message storing the instance configuration.",
657785
"id": "InstanceConfig",
@@ -665,7 +793,8 @@
665793
"STANDARD_LARGE",
666794
"STANDARD_XLARGE",
667795
"STANDARD_2XLARGE",
668-
"STANDARD_3XLARGE"
796+
"STANDARD_3XLARGE",
797+
"DEV_XSMALL"
669798
],
670799
"enumDescriptions": [
671800
"The default value. This value is used if the state is omitted.",
@@ -674,7 +803,8 @@
674803
"Instance Size STANDARD_LARGE.",
675804
"Instance Size STANDARD_XLARGE.",
676805
"Instance Size STANDARD_2XLARGE.",
677-
"Instance Size STANDARD_3XLARGE."
806+
"Instance Size STANDARD_3XLARGE.",
807+
"Instance Size DEV_EXTRA_SMALL."
678808
],
679809
"type": "string"
680810
}
@@ -882,7 +1012,8 @@
8821012
"STANDARD_LARGE",
8831013
"STANDARD_XLARGE",
8841014
"STANDARD_2XLARGE",
885-
"STANDARD_3XLARGE"
1015+
"STANDARD_3XLARGE",
1016+
"DEV_XSMALL"
8861017
],
8871018
"enumDescriptions": [
8881019
"The default value. This value is used if the state is omitted.",
@@ -891,7 +1022,8 @@
8911022
"Instance Size STANDARD_LARGE.",
8921023
"Instance Size STANDARD_XLARGE.",
8931024
"Instance Size STANDARD_2XLARGE.",
894-
"Instance Size STANDARD_3XLARGE."
1025+
"Instance Size STANDARD_3XLARGE.",
1026+
"Instance Size DEV_EXTRA_SMALL."
8951027
],
8961028
"type": "string"
8971029
}
@@ -921,6 +1053,28 @@
9211053
},
9221054
"type": "object"
9231055
},
1056+
"SamlConfig": {
1057+
"id": "SamlConfig",
1058+
"properties": {
1059+
"cert": {
1060+
"description": "X.509 public certificate for IdP",
1061+
"type": "string"
1062+
},
1063+
"emailMapping": {
1064+
"description": "IdP field that maps to the user\u2019s email address",
1065+
"type": "string"
1066+
},
1067+
"entityId": {
1068+
"description": "The entity ID for the identity provider. Example: https://[IDP Domain]/saml/metadata",
1069+
"type": "string"
1070+
},
1071+
"loginUri": {
1072+
"description": "The sso login url. Example: https://[IDP Domain]/saml/sso/login",
1073+
"type": "string"
1074+
}
1075+
},
1076+
"type": "object"
1077+
},
9241078
"Status": {
9251079
"description": "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).",
9261080
"id": "Status",

0 commit comments

Comments
 (0)
Please sign in to comment.