google-apis-contactcenteraiplatform_v1alpha1 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb +149 -0
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb +65 -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
@@ -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
|
@@ -203,6 +255,65 @@ module Google
|
|
203
255
|
end
|
204
256
|
end
|
205
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
|
+
|
206
317
|
# Message storing the instance configuration.
|
207
318
|
class InstanceConfig
|
208
319
|
include Google::Apis::Core::Hashable
|
@@ -545,6 +656,44 @@ module Google
|
|
545
656
|
end
|
546
657
|
end
|
547
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
|
+
|
548
697
|
# The `Status` type defines a logical error model that is suitable for different
|
549
698
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
550
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
|
|
@@ -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
|
@@ -171,6 +213,19 @@ module Google
|
|
171
213
|
end
|
172
214
|
end
|
173
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
|
+
|
174
229
|
class InstanceConfig
|
175
230
|
# @private
|
176
231
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -263,6 +318,16 @@ module Google
|
|
263
318
|
end
|
264
319
|
end
|
265
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
|
+
|
266
331
|
class Status
|
267
332
|
# @private
|
268
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: []
|