google-apis-contactcenterinsights_v1 0.47.0 → 0.48.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: 480634c208997e2e3f881cc2bc1290c056f613c0d425709005eee2136fd9c3c9
4
- data.tar.gz: 01cc8a858ff43117e208ff3a3a392ff93ef68f6d7ed69a11014dac9be398eb6b
3
+ metadata.gz: 05f76a4a5ff01fdd963cb9cca704254051432d1d20bb386834e788b6520dc0dd
4
+ data.tar.gz: d16b1453fadddb5c47042f82c1b0ec00c39143ce48c842958b07cf18aabfd953
5
5
  SHA512:
6
- metadata.gz: 6297b1479154ef2653a983c4f713fb34a4364bcd7a2c1d7e3921b83b2d7c08bb2cb80d89d5852b75cb40abb1bd503ae4526d8675a4c6defa23f7db2cee5681fb
7
- data.tar.gz: f10ad595142be148a27c790a8b015db8ec67743c6166900caac95f73fe14f3ef667f117a3ebeedc279ac46dd1f5831d77a145f701bf8586f171e3df9e7633b4c
6
+ metadata.gz: 9db680ff14b9ec1a7be64f94b6cb4fa1029ac43ea8ed29ee9e103379bc6a95014c5e28bdd5d33ded87b086083153fe1a0925ee53683ef8697cab8013409fec3c
7
+ data.tar.gz: 5e71aeb17b86d26302193db87ed439c80a93d265718198c072665201e9a485b71baa5d1f1a508fb999a45e0deec58cf505eee4447b104cdeba154940744db4de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.48.0 (2024-08-04)
4
+
5
+ * Regenerated from discovery document revision 20240723
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.47.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240701
@@ -1670,6 +1670,37 @@ module Google
1670
1670
  end
1671
1671
  end
1672
1672
 
1673
+ # A customer-managed encryption key specification that can be applied to all
1674
+ # created resources (e.g. Conversation).
1675
+ class GoogleCloudContactcenterinsightsV1EncryptionSpec
1676
+ include Google::Apis::Core::Hashable
1677
+
1678
+ # Required. The name of customer-managed encryption key that is used to secure a
1679
+ # resource and its sub-resources. If empty, the resource is secured by the
1680
+ # default Google encryption key. Only the key in the same location as this
1681
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
1682
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
1683
+ # Corresponds to the JSON property `kmsKey`
1684
+ # @return [String]
1685
+ attr_accessor :kms_key
1686
+
1687
+ # Immutable. The resource name of the encryption key specification resource.
1688
+ # Format: projects/`project`/locations/`location`/encryptionSpec
1689
+ # Corresponds to the JSON property `name`
1690
+ # @return [String]
1691
+ attr_accessor :name
1692
+
1693
+ def initialize(**args)
1694
+ update!(**args)
1695
+ end
1696
+
1697
+ # Update properties of this object
1698
+ def update!(**args)
1699
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
1700
+ @name = args[:name] if args.key?(:name)
1701
+ end
1702
+ end
1703
+
1673
1704
  # The data for an entity annotation. Represents a phrase in the conversation
1674
1705
  # that is a known entity, such as a person, an organization, or location.
1675
1706
  class GoogleCloudContactcenterinsightsV1Entity
@@ -2446,6 +2477,77 @@ module Google
2446
2477
  end
2447
2478
  end
2448
2479
 
2480
+ # Metadata for initializing a location-level encryption specification.
2481
+ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata
2482
+ include Google::Apis::Core::Hashable
2483
+
2484
+ # Output only. The time the operation was created.
2485
+ # Corresponds to the JSON property `createTime`
2486
+ # @return [String]
2487
+ attr_accessor :create_time
2488
+
2489
+ # Output only. The time the operation finished running.
2490
+ # Corresponds to the JSON property `endTime`
2491
+ # @return [String]
2492
+ attr_accessor :end_time
2493
+
2494
+ # Partial errors during initialising operation that might cause the operation
2495
+ # output to be incomplete.
2496
+ # Corresponds to the JSON property `partialErrors`
2497
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
2498
+ attr_accessor :partial_errors
2499
+
2500
+ # The request to initialize a location-level encryption specification.
2501
+ # Corresponds to the JSON property `request`
2502
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest]
2503
+ attr_accessor :request
2504
+
2505
+ def initialize(**args)
2506
+ update!(**args)
2507
+ end
2508
+
2509
+ # Update properties of this object
2510
+ def update!(**args)
2511
+ @create_time = args[:create_time] if args.key?(:create_time)
2512
+ @end_time = args[:end_time] if args.key?(:end_time)
2513
+ @partial_errors = args[:partial_errors] if args.key?(:partial_errors)
2514
+ @request = args[:request] if args.key?(:request)
2515
+ end
2516
+ end
2517
+
2518
+ # The request to initialize a location-level encryption specification.
2519
+ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest
2520
+ include Google::Apis::Core::Hashable
2521
+
2522
+ # A customer-managed encryption key specification that can be applied to all
2523
+ # created resources (e.g. Conversation).
2524
+ # Corresponds to the JSON property `encryptionSpec`
2525
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec]
2526
+ attr_accessor :encryption_spec
2527
+
2528
+ def initialize(**args)
2529
+ update!(**args)
2530
+ end
2531
+
2532
+ # Update properties of this object
2533
+ def update!(**args)
2534
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
2535
+ end
2536
+ end
2537
+
2538
+ # The response to initialize a location-level encryption specification.
2539
+ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecResponse
2540
+ include Google::Apis::Core::Hashable
2541
+
2542
+ def initialize(**args)
2543
+ update!(**args)
2544
+ end
2545
+
2546
+ # Update properties of this object
2547
+ def update!(**args)
2548
+ end
2549
+ end
2550
+
2449
2551
  # The data for an intent. Represents a detected intent in the conversation, for
2450
2552
  # example MAKES_PROMISE.
2451
2553
  class GoogleCloudContactcenterinsightsV1Intent
@@ -5285,6 +5387,37 @@ module Google
5285
5387
  end
5286
5388
  end
5287
5389
 
5390
+ # A customer-managed encryption key specification that can be applied to all
5391
+ # created resources (e.g. Conversation).
5392
+ class GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec
5393
+ include Google::Apis::Core::Hashable
5394
+
5395
+ # Required. The name of customer-managed encryption key that is used to secure a
5396
+ # resource and its sub-resources. If empty, the resource is secured by the
5397
+ # default Google encryption key. Only the key in the same location as this
5398
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
5399
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
5400
+ # Corresponds to the JSON property `kmsKey`
5401
+ # @return [String]
5402
+ attr_accessor :kms_key
5403
+
5404
+ # Immutable. The resource name of the encryption key specification resource.
5405
+ # Format: projects/`project`/locations/`location`/encryptionSpec
5406
+ # Corresponds to the JSON property `name`
5407
+ # @return [String]
5408
+ attr_accessor :name
5409
+
5410
+ def initialize(**args)
5411
+ update!(**args)
5412
+ end
5413
+
5414
+ # Update properties of this object
5415
+ def update!(**args)
5416
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
5417
+ @name = args[:name] if args.key?(:name)
5418
+ end
5419
+ end
5420
+
5288
5421
  # The data for an entity annotation. Represents a phrase in the conversation
5289
5422
  # that is a known entity, such as a person, an organization, or location.
5290
5423
  class GoogleCloudContactcenterinsightsV1alpha1Entity
@@ -6041,6 +6174,77 @@ module Google
6041
6174
  end
6042
6175
  end
6043
6176
 
6177
+ # Metadata for initializing a location-level encryption specification.
6178
+ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata
6179
+ include Google::Apis::Core::Hashable
6180
+
6181
+ # Output only. The time the operation was created.
6182
+ # Corresponds to the JSON property `createTime`
6183
+ # @return [String]
6184
+ attr_accessor :create_time
6185
+
6186
+ # Output only. The time the operation finished running.
6187
+ # Corresponds to the JSON property `endTime`
6188
+ # @return [String]
6189
+ attr_accessor :end_time
6190
+
6191
+ # Partial errors during initialising operation that might cause the operation
6192
+ # output to be incomplete.
6193
+ # Corresponds to the JSON property `partialErrors`
6194
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
6195
+ attr_accessor :partial_errors
6196
+
6197
+ # The request to initialize a location-level encryption specification.
6198
+ # Corresponds to the JSON property `request`
6199
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest]
6200
+ attr_accessor :request
6201
+
6202
+ def initialize(**args)
6203
+ update!(**args)
6204
+ end
6205
+
6206
+ # Update properties of this object
6207
+ def update!(**args)
6208
+ @create_time = args[:create_time] if args.key?(:create_time)
6209
+ @end_time = args[:end_time] if args.key?(:end_time)
6210
+ @partial_errors = args[:partial_errors] if args.key?(:partial_errors)
6211
+ @request = args[:request] if args.key?(:request)
6212
+ end
6213
+ end
6214
+
6215
+ # The request to initialize a location-level encryption specification.
6216
+ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest
6217
+ include Google::Apis::Core::Hashable
6218
+
6219
+ # A customer-managed encryption key specification that can be applied to all
6220
+ # created resources (e.g. Conversation).
6221
+ # Corresponds to the JSON property `encryptionSpec`
6222
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec]
6223
+ attr_accessor :encryption_spec
6224
+
6225
+ def initialize(**args)
6226
+ update!(**args)
6227
+ end
6228
+
6229
+ # Update properties of this object
6230
+ def update!(**args)
6231
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
6232
+ end
6233
+ end
6234
+
6235
+ # The response to initialize a location-level encryption specification.
6236
+ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecResponse
6237
+ include Google::Apis::Core::Hashable
6238
+
6239
+ def initialize(**args)
6240
+ update!(**args)
6241
+ end
6242
+
6243
+ # Update properties of this object
6244
+ def update!(**args)
6245
+ end
6246
+ end
6247
+
6044
6248
  # The data for an intent. Represents a detected intent in the conversation, for
6045
6249
  # example MAKES_PROMISE.
6046
6250
  class GoogleCloudContactcenterinsightsV1alpha1Intent
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContactcenterinsightsV1
18
18
  # Version of the google-apis-contactcenterinsights_v1 gem
19
- GEM_VERSION = "0.47.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240701"
25
+ REVISION = "20240723"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,12 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class GoogleCloudContactcenterinsightsV1EncryptionSpec
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
283
289
  class GoogleCloudContactcenterinsightsV1Entity
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -430,6 +436,24 @@ module Google
430
436
  include Google::Apis::Core::JsonObjectSupport
431
437
  end
432
438
 
439
+ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecResponse
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
433
457
  class GoogleCloudContactcenterinsightsV1Intent
434
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
459
 
@@ -892,6 +916,12 @@ module Google
892
916
  include Google::Apis::Core::JsonObjectSupport
893
917
  end
894
918
 
919
+ class GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
895
925
  class GoogleCloudContactcenterinsightsV1alpha1Entity
896
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
927
 
@@ -1036,6 +1066,24 @@ module Google
1036
1066
  include Google::Apis::Core::JsonObjectSupport
1037
1067
  end
1038
1068
 
1069
+ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata
1070
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1071
+
1072
+ include Google::Apis::Core::JsonObjectSupport
1073
+ end
1074
+
1075
+ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest
1076
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1077
+
1078
+ include Google::Apis::Core::JsonObjectSupport
1079
+ end
1080
+
1081
+ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecResponse
1082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1083
+
1084
+ include Google::Apis::Core::JsonObjectSupport
1085
+ end
1086
+
1039
1087
  class GoogleCloudContactcenterinsightsV1alpha1Intent
1040
1088
  class Representation < Google::Apis::Core::JsonRepresentation; end
1041
1089
 
@@ -1682,6 +1730,14 @@ module Google
1682
1730
  end
1683
1731
  end
1684
1732
 
1733
+ class GoogleCloudContactcenterinsightsV1EncryptionSpec
1734
+ # @private
1735
+ class Representation < Google::Apis::Core::JsonRepresentation
1736
+ property :kms_key, as: 'kmsKey'
1737
+ property :name, as: 'name'
1738
+ end
1739
+ end
1740
+
1685
1741
  class GoogleCloudContactcenterinsightsV1Entity
1686
1742
  # @private
1687
1743
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1915,6 +1971,32 @@ module Google
1915
1971
  end
1916
1972
  end
1917
1973
 
1974
+ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata
1975
+ # @private
1976
+ class Representation < Google::Apis::Core::JsonRepresentation
1977
+ property :create_time, as: 'createTime'
1978
+ property :end_time, as: 'endTime'
1979
+ collection :partial_errors, as: 'partialErrors', class: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus, decorator: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus::Representation
1980
+
1981
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest::Representation
1982
+
1983
+ end
1984
+ end
1985
+
1986
+ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest
1987
+ # @private
1988
+ class Representation < Google::Apis::Core::JsonRepresentation
1989
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec::Representation
1990
+
1991
+ end
1992
+ end
1993
+
1994
+ class GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecResponse
1995
+ # @private
1996
+ class Representation < Google::Apis::Core::JsonRepresentation
1997
+ end
1998
+ end
1999
+
1918
2000
  class GoogleCloudContactcenterinsightsV1Intent
1919
2001
  # @private
1920
2002
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2736,6 +2818,14 @@ module Google
2736
2818
  end
2737
2819
  end
2738
2820
 
2821
+ class GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec
2822
+ # @private
2823
+ class Representation < Google::Apis::Core::JsonRepresentation
2824
+ property :kms_key, as: 'kmsKey'
2825
+ property :name, as: 'name'
2826
+ end
2827
+ end
2828
+
2739
2829
  class GoogleCloudContactcenterinsightsV1alpha1Entity
2740
2830
  # @private
2741
2831
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2962,6 +3052,32 @@ module Google
2962
3052
  end
2963
3053
  end
2964
3054
 
3055
+ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata
3056
+ # @private
3057
+ class Representation < Google::Apis::Core::JsonRepresentation
3058
+ property :create_time, as: 'createTime'
3059
+ property :end_time, as: 'endTime'
3060
+ collection :partial_errors, as: 'partialErrors', class: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus, decorator: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus::Representation
3061
+
3062
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest::Representation
3063
+
3064
+ end
3065
+ end
3066
+
3067
+ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest
3068
+ # @private
3069
+ class Representation < Google::Apis::Core::JsonRepresentation
3070
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec::Representation
3071
+
3072
+ end
3073
+ end
3074
+
3075
+ class GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecResponse
3076
+ # @private
3077
+ class Representation < Google::Apis::Core::JsonRepresentation
3078
+ end
3079
+ end
3080
+
2965
3081
  class GoogleCloudContactcenterinsightsV1alpha1Intent
2966
3082
  # @private
2967
3083
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,6 +51,36 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Gets location-level encryption key specification.
55
+ # @param [String] name
56
+ # Required. The name of the encryption spec resource to get.
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
59
+ # @param [String] quota_user
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
62
+ # @param [Google::Apis::RequestOptions] options
63
+ # Request-specific options
64
+ #
65
+ # @yield [result, err] Result & error if block supplied
66
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec] parsed result object
67
+ # @yieldparam err [StandardError] error object if request failed
68
+ #
69
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec]
70
+ #
71
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
74
+ def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:get, 'v1/{+name}', options)
76
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec::Representation
77
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec
78
+ command.params['name'] = name unless name.nil?
79
+ command.query['fields'] = fields unless fields.nil?
80
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
81
+ execute_or_queue_command(command, &block)
82
+ end
83
+
54
84
  # Gets project-level settings.
55
85
  # @param [String] name
56
86
  # Required. The name of the settings resource to get.
@@ -630,6 +660,44 @@ module Google
630
660
  execute_or_queue_command(command, &block)
631
661
  end
632
662
 
663
+ # Initializes a location-level encryption key specification. An error will be
664
+ # thrown if the location has resources already created before the initialization.
665
+ # Once the encryption specification is initialized at a location, it is
666
+ # immutable and all newly created resources under the location will be encrypted
667
+ # with the existing specification.
668
+ # @param [String] name
669
+ # Immutable. The resource name of the encryption key specification resource.
670
+ # Format: projects/`project`/locations/`location`/encryptionSpec
671
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest] google_cloud_contactcenterinsights_v1_initialize_encryption_spec_request_object
672
+ # @param [String] fields
673
+ # Selector specifying which fields to include in a partial response.
674
+ # @param [String] quota_user
675
+ # Available to use for quota purposes for server-side applications. Can be any
676
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
677
+ # @param [Google::Apis::RequestOptions] options
678
+ # Request-specific options
679
+ #
680
+ # @yield [result, err] Result & error if block supplied
681
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
682
+ # @yieldparam err [StandardError] error object if request failed
683
+ #
684
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
685
+ #
686
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
687
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
688
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
689
+ def initialize_project_location_encryption_spec(name, google_cloud_contactcenterinsights_v1_initialize_encryption_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
690
+ command = make_simple_command(:post, 'v1/{+name}:initialize', options)
691
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest::Representation
692
+ command.request_object = google_cloud_contactcenterinsights_v1_initialize_encryption_spec_request_object
693
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
694
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
695
+ command.params['name'] = name unless name.nil?
696
+ command.query['fields'] = fields unless fields.nil?
697
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
698
+ execute_or_queue_command(command, &block)
699
+ end
700
+
633
701
  # Export insights data to a destination defined in the request body.
634
702
  # @param [String] parent
635
703
  # Required. The parent resource to export data from.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-contactcenterinsights_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.48.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: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-04 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-contactcenterinsights_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1
63
63
  post_install_message:
64
64
  rdoc_options: []