google-apis-contactcenteraiplatform_v1alpha1 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e49e88ef0bc9ab1b69a4964f05ea578fac483e104485ed52e18b7c04d344dd2
4
- data.tar.gz: c64ddd2b6d0157ad5788e93d000775c24d8cb595ba207a37ab5c13a86f9d28d9
3
+ metadata.gz: e6c4bf53a1d840987c6d443d59d3db91d919e71cde5de118619fab81f76ce98b
4
+ data.tar.gz: 9a9c61c7b484afb259137d28ff60a9f3eb304bb523a4c393a59b64ece17f5be9
5
5
  SHA512:
6
- metadata.gz: d8a27610822a3e43c360948e033d6fa6f1483ae7381d56b42d37dbd4b6adb83e811521b15fb46fd8725a988c1529228f1d03b20b4e540c76ee6429e9c86abc54
7
- data.tar.gz: a399f4ee9671b3e98fbed9ac6e9ecc26b2d1ba7b8e94ee34ba28136eab92564e6ffdfbd55ceee659be0bfefcfa0ecd2048ea3f2caa112a1c7844f997aaae7709
6
+ metadata.gz: e53d2070986410d884d8066961147298b288c547d42c2c09f7ed1772980d65f7baa03fa41eb479907e9dcc67401a43fe3951e19f48e7564905f59cd86b2f5705
7
+ data.tar.gz: 0c78097c3865b7653b6172da91af160dee2613468d38b14f7456e35f89460f7151496e9062a29b625455ab24e46455f3ec67de4d204b9c60c05566492b0de532
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-contactcenteraiplatform_v1alpha1
2
2
 
3
+ ### v0.8.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230621
6
+
7
+ ### v0.7.0 (2023-06-25)
8
+
9
+ * Regenerated from discovery document revision 20230615
10
+
3
11
  ### v0.6.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230424
@@ -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
@@ -60,7 +112,7 @@ module Google
60
112
  end
61
113
  end
62
114
 
63
- # Message describing ContactCenter object Next ID: 14
115
+ # Message describing ContactCenter object Next ID: 15
64
116
  class ContactCenter
65
117
  include Google::Apis::Core::Hashable
66
118
 
@@ -97,6 +149,11 @@ module Google
97
149
  # @return [Google::Apis::ContactcenteraiplatformV1alpha1::InstanceConfig]
98
150
  attr_accessor :instance_config
99
151
 
152
+ # Immutable. The KMS key name to encrypt the user input (`ContactCenter`).
153
+ # Corresponds to the JSON property `kmsKey`
154
+ # @return [String]
155
+ attr_accessor :kms_key
156
+
100
157
  # Labels as key value pairs
101
158
  # Corresponds to the JSON property `labels`
102
159
  # @return [Hash<String,String>]
@@ -144,6 +201,7 @@ module Google
144
201
  @customer_domain_prefix = args[:customer_domain_prefix] if args.key?(:customer_domain_prefix)
145
202
  @display_name = args[:display_name] if args.key?(:display_name)
146
203
  @instance_config = args[:instance_config] if args.key?(:instance_config)
204
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
147
205
  @labels = args[:labels] if args.key?(:labels)
148
206
  @name = args[:name] if args.key?(:name)
149
207
  @saml_params = args[:saml_params] if args.key?(:saml_params)
@@ -203,6 +261,65 @@ module Google
203
261
  end
204
262
  end
205
263
 
264
+ # Represents the metadata of the long-running operation.
265
+ class GoogleCloudCommonOperationMetadata
266
+ include Google::Apis::Core::Hashable
267
+
268
+ # Output only. API version used to start the operation.
269
+ # Corresponds to the JSON property `apiVersion`
270
+ # @return [String]
271
+ attr_accessor :api_version
272
+
273
+ # Output only. Identifies whether the user has requested cancellation of the
274
+ # operation. Operations that have been cancelled successfully have Operation.
275
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
276
+ # CANCELLED`.
277
+ # Corresponds to the JSON property `cancelRequested`
278
+ # @return [Boolean]
279
+ attr_accessor :cancel_requested
280
+ alias_method :cancel_requested?, :cancel_requested
281
+
282
+ # Output only. The time the operation was created.
283
+ # Corresponds to the JSON property `createTime`
284
+ # @return [String]
285
+ attr_accessor :create_time
286
+
287
+ # Output only. The time the operation finished running.
288
+ # Corresponds to the JSON property `endTime`
289
+ # @return [String]
290
+ attr_accessor :end_time
291
+
292
+ # Output only. Human-readable status of the operation, if any.
293
+ # Corresponds to the JSON property `statusDetail`
294
+ # @return [String]
295
+ attr_accessor :status_detail
296
+
297
+ # Output only. Server-defined resource path for the target of the operation.
298
+ # Corresponds to the JSON property `target`
299
+ # @return [String]
300
+ attr_accessor :target
301
+
302
+ # Output only. Name of the verb executed by the operation.
303
+ # Corresponds to the JSON property `verb`
304
+ # @return [String]
305
+ attr_accessor :verb
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @api_version = args[:api_version] if args.key?(:api_version)
314
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
315
+ @create_time = args[:create_time] if args.key?(:create_time)
316
+ @end_time = args[:end_time] if args.key?(:end_time)
317
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
318
+ @target = args[:target] if args.key?(:target)
319
+ @verb = args[:verb] if args.key?(:verb)
320
+ end
321
+ end
322
+
206
323
  # Message storing the instance configuration.
207
324
  class InstanceConfig
208
325
  include Google::Apis::Core::Hashable
@@ -421,7 +538,7 @@ module Google
421
538
  # @return [String]
422
539
  attr_accessor :api_version
423
540
 
424
- # Message describing ContactCenter object Next ID: 14
541
+ # Message describing ContactCenter object Next ID: 15
425
542
  # Corresponds to the JSON property `contactCenter`
426
543
  # @return [Google::Apis::ContactcenteraiplatformV1alpha1::ContactCenter]
427
544
  attr_accessor :contact_center
@@ -545,6 +662,44 @@ module Google
545
662
  end
546
663
  end
547
664
 
665
+ #
666
+ class SamlConfig
667
+ include Google::Apis::Core::Hashable
668
+
669
+ # X.509 public certificate for IdP
670
+ # Corresponds to the JSON property `cert`
671
+ # @return [String]
672
+ attr_accessor :cert
673
+
674
+ # IdP field that maps to the user’s email address
675
+ # Corresponds to the JSON property `emailMapping`
676
+ # @return [String]
677
+ attr_accessor :email_mapping
678
+
679
+ # The entity ID for the identity provider. Example: https://[IDP Domain]/saml/
680
+ # metadata
681
+ # Corresponds to the JSON property `entityId`
682
+ # @return [String]
683
+ attr_accessor :entity_id
684
+
685
+ # The sso login url. Example: https://[IDP Domain]/saml/sso/login
686
+ # Corresponds to the JSON property `loginUri`
687
+ # @return [String]
688
+ attr_accessor :login_uri
689
+
690
+ def initialize(**args)
691
+ update!(**args)
692
+ end
693
+
694
+ # Update properties of this object
695
+ def update!(**args)
696
+ @cert = args[:cert] if args.key?(:cert)
697
+ @email_mapping = args[:email_mapping] if args.key?(:email_mapping)
698
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
699
+ @login_uri = args[:login_uri] if args.key?(:login_uri)
700
+ end
701
+ end
702
+
548
703
  # The `Status` type defines a logical error model that is suitable for different
549
704
  # programming environments, including REST APIs and RPC APIs. It is used by [
550
705
  # 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.6.0"
19
+ GEM_VERSION = "0.8.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 = "20230424"
25
+ REVISION = "20230621"
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
 
@@ -106,6 +124,12 @@ module Google
106
124
  include Google::Apis::Core::JsonObjectSupport
107
125
  end
108
126
 
127
+ class SamlConfig
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
109
133
  class Status
110
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
135
 
@@ -126,6 +150,24 @@ module Google
126
150
  end
127
151
  end
128
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
+
129
171
  class CancelOperationRequest
130
172
  # @private
131
173
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -143,6 +185,7 @@ module Google
143
185
  property :display_name, as: 'displayName'
144
186
  property :instance_config, as: 'instanceConfig', class: Google::Apis::ContactcenteraiplatformV1alpha1::InstanceConfig, decorator: Google::Apis::ContactcenteraiplatformV1alpha1::InstanceConfig::Representation
145
187
 
188
+ property :kms_key, as: 'kmsKey'
146
189
  hash :labels, as: 'labels'
147
190
  property :name, as: 'name'
148
191
  property :saml_params, as: 'samlParams', class: Google::Apis::ContactcenteraiplatformV1alpha1::SamlParams, decorator: Google::Apis::ContactcenteraiplatformV1alpha1::SamlParams::Representation
@@ -171,6 +214,19 @@ module Google
171
214
  end
172
215
  end
173
216
 
217
+ class GoogleCloudCommonOperationMetadata
218
+ # @private
219
+ class Representation < Google::Apis::Core::JsonRepresentation
220
+ property :api_version, as: 'apiVersion'
221
+ property :cancel_requested, as: 'cancelRequested'
222
+ property :create_time, as: 'createTime'
223
+ property :end_time, as: 'endTime'
224
+ property :status_detail, as: 'statusDetail'
225
+ property :target, as: 'target'
226
+ property :verb, as: 'verb'
227
+ end
228
+ end
229
+
174
230
  class InstanceConfig
175
231
  # @private
176
232
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -263,6 +319,16 @@ module Google
263
319
  end
264
320
  end
265
321
 
322
+ class SamlConfig
323
+ # @private
324
+ class Representation < Google::Apis::Core::JsonRepresentation
325
+ property :cert, as: 'cert'
326
+ property :email_mapping, as: 'emailMapping'
327
+ property :entity_id, as: 'entityId'
328
+ property :login_uri, as: 'loginUri'
329
+ end
330
+ end
331
+
266
332
  class Status
267
333
  # @private
268
334
  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.6.0
4
+ version: 0.8.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-04-30 00:00:00.000000000 Z
11
+ date: 2023-07-02 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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenteraiplatform_v1alpha1/v0.8.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: []