google-apis-serviceconsumermanagement_v1beta1 0.49.0 → 0.50.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: 4501723f56df29a09a9d822fe8c1cd0ccb3b96500c988eb5c33cd835f408569b
4
- data.tar.gz: bb1b03318dc672c64fc015fa67dab8545302a5a44a4d0b81760bfc6ba01a92d2
3
+ metadata.gz: b0d2d55aca0dcae02b90d7176d5f6c878749a284c34809c34b4b340d4e5836c3
4
+ data.tar.gz: 5cc0088bd8076c3ccb41d46a2d86b62cc5210de0735511b4ff25ff2e84f838aa
5
5
  SHA512:
6
- metadata.gz: 63cdb8c972520ca6aa6f73afcffb11b6794997a2344e2908b398d259a40dbdb9c9c27225be3f789b6cbb15e06f8b30cf795e37ca238ea0aef9becbaa4d8f5ef8
7
- data.tar.gz: 6183535ba88218849b06bc70b593e184cb0a8772d38ab1c1b8e63b388b73c4e22df81e44cda2f5c4760ab2d9e3a98592f2d3d24b573e36b4838f0b5a1d7aee05
6
+ metadata.gz: d158612c86fd517a17cf68cdd0d04d66053c1fb118ef9cf0df3bcacae097bc27505c2556f7b78482862a3ba0a6b05cfb4f19da51603b95892bc8e68e2d90a42f
7
+ data.tar.gz: 71a8b26192d09c456636705e7c7b84e180d2028cc26d61bea78036d6e0e53a803d6b13c7d0067bc09b384d9537d220023347d3b5e663ae7d98f1fac0a32eef81
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_v1beta1
2
2
 
3
+ ### v0.50.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240512
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.49.0 (2024-05-05)
4
9
 
5
10
  * Regenerated from discovery document revision 20240429
@@ -3676,20 +3676,22 @@ module Google
3676
3676
 
3677
3677
  # Whether to force the creation of the quota overrides. Setting the force
3678
3678
  # parameter to 'true' ignores all quota safety checks that would fail the
3679
- # request. QuotaSafetyCheck lists all such validations. If force is set to true,
3680
- # it is recommended to include a case id in "X-Goog-Request-Reason" header when
3681
- # sending the request.
3679
+ # request. QuotaSafetyCheck lists all such validations.
3682
3680
  # Corresponds to the JSON property `force`
3683
3681
  # @return [Boolean]
3684
3682
  attr_accessor :force
3685
3683
  alias_method :force?, :force
3686
3684
 
3685
+ # If force option is set to true, force_justification is suggested to be set to
3686
+ # log the reason in audit logs.
3687
+ # Corresponds to the JSON property `forceJustification`
3688
+ # @return [String]
3689
+ attr_accessor :force_justification
3690
+
3687
3691
  # The list of quota safety checks to ignore before the override mutation. Unlike
3688
3692
  # 'force' field that ignores all the quota safety checks, the 'force_only' field
3689
3693
  # ignores only the specified checks; other checks are still enforced. The 'force'
3690
- # and 'force_only' fields cannot both be set. If force_only is specified, it is
3691
- # recommended to include a case id in "X-Goog-Request-Reason" header when
3692
- # sending the request.
3694
+ # and 'force_only' fields cannot both be set.
3693
3695
  # Corresponds to the JSON property `forceOnly`
3694
3696
  # @return [Array<String>]
3695
3697
  attr_accessor :force_only
@@ -3706,6 +3708,7 @@ module Google
3706
3708
  # Update properties of this object
3707
3709
  def update!(**args)
3708
3710
  @force = args[:force] if args.key?(:force)
3711
+ @force_justification = args[:force_justification] if args.key?(:force_justification)
3709
3712
  @force_only = args[:force_only] if args.key?(:force_only)
3710
3713
  @inline_source = args[:inline_source] if args.key?(:inline_source)
3711
3714
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceconsumermanagementV1beta1
18
18
  # Version of the google-apis-serviceconsumermanagement_v1beta1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240429"
25
+ REVISION = "20240512"
26
26
  end
27
27
  end
28
28
  end
@@ -1418,6 +1418,7 @@ module Google
1418
1418
  # @private
1419
1419
  class Representation < Google::Apis::Core::JsonRepresentation
1420
1420
  property :force, as: 'force'
1421
+ property :force_justification, as: 'forceJustification'
1421
1422
  collection :force_only, as: 'forceOnly'
1422
1423
  property :inline_source, as: 'inlineSource', class: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1OverrideInlineSource, decorator: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1OverrideInlineSource::Representation
1423
1424
 
@@ -249,16 +249,15 @@ module Google
249
249
  # @param [Boolean] force
250
250
  # Whether to force the creation of the quota override. Setting the force
251
251
  # parameter to 'true' ignores all quota safety checks that would fail the
252
- # request. QuotaSafetyCheck lists all such validations. If force is set to true,
253
- # it is recommended to include a case id in "X-Goog-Request-Reason" header when
254
- # sending the request.
252
+ # request. QuotaSafetyCheck lists all such validations.
253
+ # @param [String] force_justification
254
+ # If force option is set to true, force_justification is suggested to be set to
255
+ # log the reason in audit logs.
255
256
  # @param [Array<String>, String] force_only
256
257
  # The list of quota safety checks to ignore before the override mutation. Unlike
257
258
  # 'force' field that ignores all the quota safety checks, the 'force_only' field
258
259
  # ignores only the specified checks; other checks are still enforced. The 'force'
259
- # and 'force_only' fields cannot both be set. If force_only is specified, it is
260
- # recommended to include a case id in "X-Goog-Request-Reason" header when
261
- # sending the request.
260
+ # and 'force_only' fields cannot both be set.
262
261
  # @param [String] fields
263
262
  # Selector specifying which fields to include in a partial response.
264
263
  # @param [String] quota_user
@@ -276,7 +275,7 @@ module Google
276
275
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
277
276
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
278
277
  # @raise [Google::Apis::AuthorizationError] Authorization is required
279
- def create_service_consumer_quota_metric_limit_producer_override(parent, v1_beta1_quota_override_object = nil, force: nil, force_only: nil, fields: nil, quota_user: nil, options: nil, &block)
278
+ def create_service_consumer_quota_metric_limit_producer_override(parent, v1_beta1_quota_override_object = nil, force: nil, force_justification: nil, force_only: nil, fields: nil, quota_user: nil, options: nil, &block)
280
279
  command = make_simple_command(:post, 'v1beta1/{+parent}/producerOverrides', options)
281
280
  command.request_representation = Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride::Representation
282
281
  command.request_object = v1_beta1_quota_override_object
@@ -284,6 +283,7 @@ module Google
284
283
  command.response_class = Google::Apis::ServiceconsumermanagementV1beta1::Operation
285
284
  command.params['parent'] = parent unless parent.nil?
286
285
  command.query['force'] = force unless force.nil?
286
+ command.query['forceJustification'] = force_justification unless force_justification.nil?
287
287
  command.query['forceOnly'] = force_only unless force_only.nil?
288
288
  command.query['fields'] = fields unless fields.nil?
289
289
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -298,16 +298,15 @@ module Google
298
298
  # @param [Boolean] force
299
299
  # Whether to force the deletion of the quota override. Setting the force
300
300
  # parameter to 'true' ignores all quota safety checks that would fail the
301
- # request. QuotaSafetyCheck lists all such validations. If force is set to true,
302
- # it is recommended to include a case id in "X-Goog-Request-Reason" header when
303
- # sending the request.
301
+ # request. QuotaSafetyCheck lists all such validations.
302
+ # @param [String] force_justification
303
+ # If force option is set to true, force_justification is suggested to be set to
304
+ # log the reason in audit logs.
304
305
  # @param [Array<String>, String] force_only
305
306
  # The list of quota safety checks to ignore before the override mutation. Unlike
306
307
  # 'force' field that ignores all the quota safety checks, the 'force_only' field
307
308
  # ignores only the specified checks; other checks are still enforced. The 'force'
308
- # and 'force_only' fields cannot both be set. If force_only is specified, it is
309
- # recommended to include a case id in "X-Goog-Request-Reason" header when
310
- # sending the request.
309
+ # and 'force_only' fields cannot both be set.
311
310
  # @param [String] fields
312
311
  # Selector specifying which fields to include in a partial response.
313
312
  # @param [String] quota_user
@@ -325,12 +324,13 @@ module Google
325
324
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
326
325
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
327
326
  # @raise [Google::Apis::AuthorizationError] Authorization is required
328
- def delete_service_consumer_quota_metric_limit_producer_override(name, force: nil, force_only: nil, fields: nil, quota_user: nil, options: nil, &block)
327
+ def delete_service_consumer_quota_metric_limit_producer_override(name, force: nil, force_justification: nil, force_only: nil, fields: nil, quota_user: nil, options: nil, &block)
329
328
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
330
329
  command.response_representation = Google::Apis::ServiceconsumermanagementV1beta1::Operation::Representation
331
330
  command.response_class = Google::Apis::ServiceconsumermanagementV1beta1::Operation
332
331
  command.params['name'] = name unless name.nil?
333
332
  command.query['force'] = force unless force.nil?
333
+ command.query['forceJustification'] = force_justification unless force_justification.nil?
334
334
  command.query['forceOnly'] = force_only unless force_only.nil?
335
335
  command.query['fields'] = fields unless fields.nil?
336
336
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -385,16 +385,15 @@ module Google
385
385
  # @param [Boolean] force
386
386
  # Whether to force the update of the quota override. Setting the force parameter
387
387
  # to 'true' ignores all quota safety checks that would fail the request.
388
- # QuotaSafetyCheck lists all such validations. If force is set to true, it is
389
- # recommended to include a case id in "X-Goog-Request-Reason" header when
390
- # sending the request.
388
+ # QuotaSafetyCheck lists all such validations.
389
+ # @param [String] force_justification
390
+ # If force option is set to true, force_justification is suggested to be set to
391
+ # log the reason in audit logs.
391
392
  # @param [Array<String>, String] force_only
392
393
  # The list of quota safety checks to ignore before the override mutation. Unlike
393
394
  # 'force' field that ignores all the quota safety checks, the 'force_only' field
394
395
  # ignores only the specified checks; other checks are still enforced. The 'force'
395
- # and 'force_only' fields cannot both be set. If force_only is specified, it is
396
- # recommended to include a case id in "X-Goog-Request-Reason" header when
397
- # sending the request.
396
+ # and 'force_only' fields cannot both be set.
398
397
  # @param [String] update_mask
399
398
  # Update only the specified fields. If unset, all modifiable fields will be
400
399
  # updated.
@@ -415,7 +414,7 @@ module Google
415
414
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
416
415
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
417
416
  # @raise [Google::Apis::AuthorizationError] Authorization is required
418
- def patch_service_consumer_quota_metric_limit_producer_override(name, v1_beta1_quota_override_object = nil, force: nil, force_only: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
417
+ def patch_service_consumer_quota_metric_limit_producer_override(name, v1_beta1_quota_override_object = nil, force: nil, force_justification: nil, force_only: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
419
418
  command = make_simple_command(:patch, 'v1beta1/{+name}', options)
420
419
  command.request_representation = Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride::Representation
421
420
  command.request_object = v1_beta1_quota_override_object
@@ -423,6 +422,7 @@ module Google
423
422
  command.response_class = Google::Apis::ServiceconsumermanagementV1beta1::Operation
424
423
  command.params['name'] = name unless name.nil?
425
424
  command.query['force'] = force unless force.nil?
425
+ command.query['forceJustification'] = force_justification unless force_justification.nil?
426
426
  command.query['forceOnly'] = force_only unless force_only.nil?
427
427
  command.query['updateMask'] = update_mask unless update_mask.nil?
428
428
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceconsumermanagement_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.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-05-05 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-serviceconsumermanagement_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []