google-apis-contactcenteraiplatform_v1alpha1 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb +191 -3
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb +82 -0
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/service.rb +70 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d5e1dc3764bf984d0803caf44914c15475870a82b2d0216fb4e7c1f16260c49
|
4
|
+
data.tar.gz: 86157d7b182de6bc644960f7f92a8ba7934f72ce709a1ea4426e253eefd4ef26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c88656920d96b887a57942d575e12076226e6c41a89d8e0fa1010634eccc8a02cb8fd75f642ac4b671f0bb61e3669b9655029a5a0fd78af868a9a9c195cf4406
|
7
|
+
data.tar.gz: 7e558228946266076242d08bc1fd20717459e80521361b0481c1028fc3dc4272632711a0bfb55696003903c363f716c8df613d704ed81c4ce45a606a04317133
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-contactcenteraiplatform_v1alpha1
|
2
2
|
|
3
|
+
### v0.7.0 (2023-06-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230615
|
6
|
+
|
7
|
+
### v0.6.0 (2023-04-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230424
|
10
|
+
|
3
11
|
### v0.5.0 (2023-04-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230418
|
@@ -47,6 +47,58 @@ module Google
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
#
|
51
|
+
class AuthenticationConfig
|
52
|
+
include Google::Apis::Core::Hashable
|
53
|
+
|
54
|
+
#
|
55
|
+
# Corresponds to the JSON property `basicAuthSetting`
|
56
|
+
# @return [Google::Apis::ContactcenteraiplatformV1alpha1::BasicAuthConfig]
|
57
|
+
attr_accessor :basic_auth_setting
|
58
|
+
|
59
|
+
# Name of authentication config. Format: projects/`project`/locations/`location`/
|
60
|
+
# contactCenters/`contact_center`/authentication-config
|
61
|
+
# Corresponds to the JSON property `name`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :name
|
64
|
+
|
65
|
+
#
|
66
|
+
# Corresponds to the JSON property `samlSetting`
|
67
|
+
# @return [Google::Apis::ContactcenteraiplatformV1alpha1::SamlConfig]
|
68
|
+
attr_accessor :saml_setting
|
69
|
+
|
70
|
+
def initialize(**args)
|
71
|
+
update!(**args)
|
72
|
+
end
|
73
|
+
|
74
|
+
# Update properties of this object
|
75
|
+
def update!(**args)
|
76
|
+
@basic_auth_setting = args[:basic_auth_setting] if args.key?(:basic_auth_setting)
|
77
|
+
@name = args[:name] if args.key?(:name)
|
78
|
+
@saml_setting = args[:saml_setting] if args.key?(:saml_setting)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
#
|
83
|
+
class BasicAuthConfig
|
84
|
+
include Google::Apis::Core::Hashable
|
85
|
+
|
86
|
+
#
|
87
|
+
# Corresponds to the JSON property `enabled`
|
88
|
+
# @return [Boolean]
|
89
|
+
attr_accessor :enabled
|
90
|
+
alias_method :enabled?, :enabled
|
91
|
+
|
92
|
+
def initialize(**args)
|
93
|
+
update!(**args)
|
94
|
+
end
|
95
|
+
|
96
|
+
# Update properties of this object
|
97
|
+
def update!(**args)
|
98
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
50
102
|
# The request message for Operations.CancelOperation.
|
51
103
|
class CancelOperationRequest
|
52
104
|
include Google::Apis::Core::Hashable
|
@@ -158,16 +210,23 @@ module Google
|
|
158
210
|
class ContactCenterQuota
|
159
211
|
include Google::Apis::Core::Hashable
|
160
212
|
|
161
|
-
# Reflects the count limit of contact
|
213
|
+
# Deprecated: Use the Quota fields instead. Reflects the count limit of contact
|
214
|
+
# centers on a billing account.
|
162
215
|
# Corresponds to the JSON property `contactCenterCountLimit`
|
163
216
|
# @return [Fixnum]
|
164
217
|
attr_accessor :contact_center_count_limit
|
165
218
|
|
166
|
-
# Reflects the count sum of contact
|
219
|
+
# Deprecated: Use the Quota fields instead. Reflects the count sum of contact
|
220
|
+
# centers on a billing account.
|
167
221
|
# Corresponds to the JSON property `contactCenterCountSum`
|
168
222
|
# @return [Fixnum]
|
169
223
|
attr_accessor :contact_center_count_sum
|
170
224
|
|
225
|
+
# Quota details per contact center instance type.
|
226
|
+
# Corresponds to the JSON property `quotas`
|
227
|
+
# @return [Array<Google::Apis::ContactcenteraiplatformV1alpha1::Quota>]
|
228
|
+
attr_accessor :quotas
|
229
|
+
|
171
230
|
def initialize(**args)
|
172
231
|
update!(**args)
|
173
232
|
end
|
@@ -176,6 +235,7 @@ module Google
|
|
176
235
|
def update!(**args)
|
177
236
|
@contact_center_count_limit = args[:contact_center_count_limit] if args.key?(:contact_center_count_limit)
|
178
237
|
@contact_center_count_sum = args[:contact_center_count_sum] if args.key?(:contact_center_count_sum)
|
238
|
+
@quotas = args[:quotas] if args.key?(:quotas)
|
179
239
|
end
|
180
240
|
end
|
181
241
|
|
@@ -195,6 +255,65 @@ module Google
|
|
195
255
|
end
|
196
256
|
end
|
197
257
|
|
258
|
+
# Represents the metadata of the long-running operation.
|
259
|
+
class GoogleCloudCommonOperationMetadata
|
260
|
+
include Google::Apis::Core::Hashable
|
261
|
+
|
262
|
+
# Output only. API version used to start the operation.
|
263
|
+
# Corresponds to the JSON property `apiVersion`
|
264
|
+
# @return [String]
|
265
|
+
attr_accessor :api_version
|
266
|
+
|
267
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
268
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
269
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
270
|
+
# CANCELLED`.
|
271
|
+
# Corresponds to the JSON property `cancelRequested`
|
272
|
+
# @return [Boolean]
|
273
|
+
attr_accessor :cancel_requested
|
274
|
+
alias_method :cancel_requested?, :cancel_requested
|
275
|
+
|
276
|
+
# Output only. The time the operation was created.
|
277
|
+
# Corresponds to the JSON property `createTime`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :create_time
|
280
|
+
|
281
|
+
# Output only. The time the operation finished running.
|
282
|
+
# Corresponds to the JSON property `endTime`
|
283
|
+
# @return [String]
|
284
|
+
attr_accessor :end_time
|
285
|
+
|
286
|
+
# Output only. Human-readable status of the operation, if any.
|
287
|
+
# Corresponds to the JSON property `statusDetail`
|
288
|
+
# @return [String]
|
289
|
+
attr_accessor :status_detail
|
290
|
+
|
291
|
+
# Output only. Server-defined resource path for the target of the operation.
|
292
|
+
# Corresponds to the JSON property `target`
|
293
|
+
# @return [String]
|
294
|
+
attr_accessor :target
|
295
|
+
|
296
|
+
# Output only. Name of the verb executed by the operation.
|
297
|
+
# Corresponds to the JSON property `verb`
|
298
|
+
# @return [String]
|
299
|
+
attr_accessor :verb
|
300
|
+
|
301
|
+
def initialize(**args)
|
302
|
+
update!(**args)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Update properties of this object
|
306
|
+
def update!(**args)
|
307
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
308
|
+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
309
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
310
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
311
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
312
|
+
@target = args[:target] if args.key?(:target)
|
313
|
+
@verb = args[:verb] if args.key?(:verb)
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
198
317
|
# Message storing the instance configuration.
|
199
318
|
class InstanceConfig
|
200
319
|
include Google::Apis::Core::Hashable
|
@@ -295,7 +414,7 @@ module Google
|
|
295
414
|
end
|
296
415
|
end
|
297
416
|
|
298
|
-
# A resource that represents Google Cloud location.
|
417
|
+
# A resource that represents a Google Cloud location.
|
299
418
|
class Location
|
300
419
|
include Google::Apis::Core::Hashable
|
301
420
|
|
@@ -469,6 +588,37 @@ module Google
|
|
469
588
|
end
|
470
589
|
end
|
471
590
|
|
591
|
+
# Quota details.
|
592
|
+
class Quota
|
593
|
+
include Google::Apis::Core::Hashable
|
594
|
+
|
595
|
+
# Reflects the count limit of contact centers on a billing account.
|
596
|
+
# Corresponds to the JSON property `contactCenterCountLimit`
|
597
|
+
# @return [Fixnum]
|
598
|
+
attr_accessor :contact_center_count_limit
|
599
|
+
|
600
|
+
# Reflects the count sum of contact centers on a billing account.
|
601
|
+
# Corresponds to the JSON property `contactCenterCountSum`
|
602
|
+
# @return [Fixnum]
|
603
|
+
attr_accessor :contact_center_count_sum
|
604
|
+
|
605
|
+
# Contact center instance type.
|
606
|
+
# Corresponds to the JSON property `contactCenterInstanceSize`
|
607
|
+
# @return [String]
|
608
|
+
attr_accessor :contact_center_instance_size
|
609
|
+
|
610
|
+
def initialize(**args)
|
611
|
+
update!(**args)
|
612
|
+
end
|
613
|
+
|
614
|
+
# Update properties of this object
|
615
|
+
def update!(**args)
|
616
|
+
@contact_center_count_limit = args[:contact_center_count_limit] if args.key?(:contact_center_count_limit)
|
617
|
+
@contact_center_count_sum = args[:contact_center_count_sum] if args.key?(:contact_center_count_sum)
|
618
|
+
@contact_center_instance_size = args[:contact_center_instance_size] if args.key?(:contact_center_instance_size)
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
472
622
|
# Message storing SAML params to enable Google as IDP.
|
473
623
|
class SamlParams
|
474
624
|
include Google::Apis::Core::Hashable
|
@@ -506,6 +656,44 @@ module Google
|
|
506
656
|
end
|
507
657
|
end
|
508
658
|
|
659
|
+
#
|
660
|
+
class SamlConfig
|
661
|
+
include Google::Apis::Core::Hashable
|
662
|
+
|
663
|
+
# X.509 public certificate for IdP
|
664
|
+
# Corresponds to the JSON property `cert`
|
665
|
+
# @return [String]
|
666
|
+
attr_accessor :cert
|
667
|
+
|
668
|
+
# IdP field that maps to the user’s email address
|
669
|
+
# Corresponds to the JSON property `emailMapping`
|
670
|
+
# @return [String]
|
671
|
+
attr_accessor :email_mapping
|
672
|
+
|
673
|
+
# The entity ID for the identity provider. Example: https://[IDP Domain]/saml/
|
674
|
+
# metadata
|
675
|
+
# Corresponds to the JSON property `entityId`
|
676
|
+
# @return [String]
|
677
|
+
attr_accessor :entity_id
|
678
|
+
|
679
|
+
# The sso login url. Example: https://[IDP Domain]/saml/sso/login
|
680
|
+
# Corresponds to the JSON property `loginUri`
|
681
|
+
# @return [String]
|
682
|
+
attr_accessor :login_uri
|
683
|
+
|
684
|
+
def initialize(**args)
|
685
|
+
update!(**args)
|
686
|
+
end
|
687
|
+
|
688
|
+
# Update properties of this object
|
689
|
+
def update!(**args)
|
690
|
+
@cert = args[:cert] if args.key?(:cert)
|
691
|
+
@email_mapping = args[:email_mapping] if args.key?(:email_mapping)
|
692
|
+
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
693
|
+
@login_uri = args[:login_uri] if args.key?(:login_uri)
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
509
697
|
# The `Status` type defines a logical error model that is suitable for different
|
510
698
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
511
699
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContactcenteraiplatformV1alpha1
|
18
18
|
# Version of the google-apis-contactcenteraiplatform_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230615"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,18 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AuthenticationConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class BasicAuthConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
31
43
|
class CancelOperationRequest
|
32
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
45
|
|
@@ -52,6 +64,12 @@ module Google
|
|
52
64
|
include Google::Apis::Core::JsonObjectSupport
|
53
65
|
end
|
54
66
|
|
67
|
+
class GoogleCloudCommonOperationMetadata
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
55
73
|
class InstanceConfig
|
56
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
75
|
|
@@ -94,12 +112,24 @@ module Google
|
|
94
112
|
include Google::Apis::Core::JsonObjectSupport
|
95
113
|
end
|
96
114
|
|
115
|
+
class Quota
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
97
121
|
class SamlParams
|
98
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
123
|
|
100
124
|
include Google::Apis::Core::JsonObjectSupport
|
101
125
|
end
|
102
126
|
|
127
|
+
class SamlConfig
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
103
133
|
class Status
|
104
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
135
|
|
@@ -120,6 +150,24 @@ module Google
|
|
120
150
|
end
|
121
151
|
end
|
122
152
|
|
153
|
+
class AuthenticationConfig
|
154
|
+
# @private
|
155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
156
|
+
property :basic_auth_setting, as: 'basicAuthSetting', class: Google::Apis::ContactcenteraiplatformV1alpha1::BasicAuthConfig, decorator: Google::Apis::ContactcenteraiplatformV1alpha1::BasicAuthConfig::Representation
|
157
|
+
|
158
|
+
property :name, as: 'name'
|
159
|
+
property :saml_setting, as: 'samlSetting', class: Google::Apis::ContactcenteraiplatformV1alpha1::SamlConfig, decorator: Google::Apis::ContactcenteraiplatformV1alpha1::SamlConfig::Representation
|
160
|
+
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
class BasicAuthConfig
|
165
|
+
# @private
|
166
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
167
|
+
property :enabled, as: 'enabled'
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
123
171
|
class CancelOperationRequest
|
124
172
|
# @private
|
125
173
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -154,6 +202,8 @@ module Google
|
|
154
202
|
class Representation < Google::Apis::Core::JsonRepresentation
|
155
203
|
property :contact_center_count_limit, as: 'contactCenterCountLimit'
|
156
204
|
property :contact_center_count_sum, as: 'contactCenterCountSum'
|
205
|
+
collection :quotas, as: 'quotas', class: Google::Apis::ContactcenteraiplatformV1alpha1::Quota, decorator: Google::Apis::ContactcenteraiplatformV1alpha1::Quota::Representation
|
206
|
+
|
157
207
|
end
|
158
208
|
end
|
159
209
|
|
@@ -163,6 +213,19 @@ module Google
|
|
163
213
|
end
|
164
214
|
end
|
165
215
|
|
216
|
+
class GoogleCloudCommonOperationMetadata
|
217
|
+
# @private
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
219
|
+
property :api_version, as: 'apiVersion'
|
220
|
+
property :cancel_requested, as: 'cancelRequested'
|
221
|
+
property :create_time, as: 'createTime'
|
222
|
+
property :end_time, as: 'endTime'
|
223
|
+
property :status_detail, as: 'statusDetail'
|
224
|
+
property :target, as: 'target'
|
225
|
+
property :verb, as: 'verb'
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
166
229
|
class InstanceConfig
|
167
230
|
# @private
|
168
231
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -236,6 +299,15 @@ module Google
|
|
236
299
|
end
|
237
300
|
end
|
238
301
|
|
302
|
+
class Quota
|
303
|
+
# @private
|
304
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
305
|
+
property :contact_center_count_limit, as: 'contactCenterCountLimit'
|
306
|
+
property :contact_center_count_sum, as: 'contactCenterCountSum'
|
307
|
+
property :contact_center_instance_size, as: 'contactCenterInstanceSize'
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
239
311
|
class SamlParams
|
240
312
|
# @private
|
241
313
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -246,6 +318,16 @@ module Google
|
|
246
318
|
end
|
247
319
|
end
|
248
320
|
|
321
|
+
class SamlConfig
|
322
|
+
# @private
|
323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
property :cert, as: 'cert'
|
325
|
+
property :email_mapping, as: 'emailMapping'
|
326
|
+
property :entity_id, as: 'entityId'
|
327
|
+
property :login_uri, as: 'loginUri'
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
249
331
|
class Status
|
250
332
|
# @private
|
251
333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -275,6 +275,38 @@ module Google
|
|
275
275
|
execute_or_queue_command(command, &block)
|
276
276
|
end
|
277
277
|
|
278
|
+
#
|
279
|
+
# @param [String] name
|
280
|
+
# Required. The name of the AuthenticationConfig resource. Format: projects/`
|
281
|
+
# project`/locations/`location`/contactCenters/`contact_center`/authentication-
|
282
|
+
# config
|
283
|
+
# @param [String] fields
|
284
|
+
# Selector specifying which fields to include in a partial response.
|
285
|
+
# @param [String] quota_user
|
286
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
287
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
288
|
+
# @param [Google::Apis::RequestOptions] options
|
289
|
+
# Request-specific options
|
290
|
+
#
|
291
|
+
# @yield [result, err] Result & error if block supplied
|
292
|
+
# @yieldparam result [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig] parsed result object
|
293
|
+
# @yieldparam err [StandardError] error object if request failed
|
294
|
+
#
|
295
|
+
# @return [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig]
|
296
|
+
#
|
297
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
298
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
299
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
300
|
+
def get_project_location_contact_center_authentication_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
301
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
302
|
+
command.response_representation = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig::Representation
|
303
|
+
command.response_class = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig
|
304
|
+
command.params['name'] = name unless name.nil?
|
305
|
+
command.query['fields'] = fields unless fields.nil?
|
306
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
307
|
+
execute_or_queue_command(command, &block)
|
308
|
+
end
|
309
|
+
|
278
310
|
# Lists ContactCenters in a given project and location.
|
279
311
|
# @param [String] parent
|
280
312
|
# Required. Parent value for ListContactCentersRequest
|
@@ -370,6 +402,44 @@ module Google
|
|
370
402
|
execute_or_queue_command(command, &block)
|
371
403
|
end
|
372
404
|
|
405
|
+
#
|
406
|
+
# @param [String] name
|
407
|
+
# Name of authentication config. Format: projects/`project`/locations/`location`/
|
408
|
+
# contactCenters/`contact_center`/authentication-config
|
409
|
+
# @param [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig] authentication_config_object
|
410
|
+
# @param [String] update_mask
|
411
|
+
# Required. Indicates which fields in the provided authentication config to
|
412
|
+
# update. Must be specified and non-empty.
|
413
|
+
# @param [String] fields
|
414
|
+
# Selector specifying which fields to include in a partial response.
|
415
|
+
# @param [String] quota_user
|
416
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
417
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
418
|
+
# @param [Google::Apis::RequestOptions] options
|
419
|
+
# Request-specific options
|
420
|
+
#
|
421
|
+
# @yield [result, err] Result & error if block supplied
|
422
|
+
# @yieldparam result [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig] parsed result object
|
423
|
+
# @yieldparam err [StandardError] error object if request failed
|
424
|
+
#
|
425
|
+
# @return [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig]
|
426
|
+
#
|
427
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
428
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
429
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
430
|
+
def update_project_location_contact_center_authentication_config(name, authentication_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
431
|
+
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
|
432
|
+
command.request_representation = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig::Representation
|
433
|
+
command.request_object = authentication_config_object
|
434
|
+
command.response_representation = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig::Representation
|
435
|
+
command.response_class = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig
|
436
|
+
command.params['name'] = name unless name.nil?
|
437
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
438
|
+
command.query['fields'] = fields unless fields.nil?
|
439
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
440
|
+
execute_or_queue_command(command, &block)
|
441
|
+
end
|
442
|
+
|
373
443
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
374
444
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
375
445
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-contactcenteraiplatform_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenteraiplatform_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenteraiplatform_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenteraiplatform_v1alpha1/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenteraiplatform_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|