google-apis-serviceusage_v1beta1 0.1.0 → 0.2.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: 4b0f225d8f1ed1eadc58d7d285b40b3e61c7502a758755f2b3f6fc8af5120429
4
- data.tar.gz: dfc190791aa7258c9e4ccadfd511373564b49a86e2ffb1af2ff6b111e06b90ea
3
+ metadata.gz: f99fe5fd41db17ab34cbcf1261ec5402abe3e63681fed1b255ad6bbc8cc7577d
4
+ data.tar.gz: af378e667cc279f86976c3f53d7d3f9309f1417abd450e4a603acef37cf321e5
5
5
  SHA512:
6
- metadata.gz: a309ad8f7e65c0e9fcd89ebe26d8de5505a62957902e3f46f00fa8cf4b1e9b8d307bd1558ada0e0fe8b4577f74dd5d00fff503e7df1ecfff912d3c31a0b58da1
7
- data.tar.gz: 61fbbd7f64f8f9c6b65a978133163b40e141ec66466268c570dd36127e07a291de55913f7516d1037f4007d0dde98d79074c89fb21f597eeda21facf38197a8e
6
+ metadata.gz: 2131c834d2be5a0abc14d0d16c8ce468eb0fd75a1b9b2532beb6b83cf8b9f488df8d40256d64301c7f2bfa60671bcfc4ea3eeea7cfcd1a502da02cb54c9653eb
7
+ data.tar.gz: '058ed4fb22c6ba19098bcbdcff9503f690dbfc25fe81c91f417a17e5841c06629f9b76f298c914dfbab6f1490deef1ee8d9f03b919ab8926f0463e4c6c5afcf5'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.2.0 (2021-01-28)
4
+
5
+ * Regenerated from discovery document revision 20210126
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -2198,16 +2198,22 @@ module Google
2198
2198
  class ImportAdminOverridesRequest
2199
2199
  include Google::Apis::Core::Hashable
2200
2200
 
2201
- # Whether to force the creation of the quota overrides. If creating an override
2202
- # would cause the effective quota for the consumer to decrease by more than 10
2203
- # percent, the call is rejected, as a safety measure to avoid accidentally
2204
- # decreasing quota too quickly. Setting the force parameter to true ignores this
2205
- # restriction.
2201
+ # Whether to force the creation of the quota overrides. Setting the force
2202
+ # parameter to 'true' ignores all quota safety checks that would fail the
2203
+ # request. QuotaSafetyCheck lists all such validations.
2206
2204
  # Corresponds to the JSON property `force`
2207
2205
  # @return [Boolean]
2208
2206
  attr_accessor :force
2209
2207
  alias_method :force?, :force
2210
2208
 
2209
+ # The list of quota safety checks to ignore before the override mutation. Unlike
2210
+ # 'force' field that ignores all the quota safety checks, the 'force_only' field
2211
+ # ignores only the specified checks; other checks are still enforced. The 'force'
2212
+ # and 'force_only' fields cannot both be set.
2213
+ # Corresponds to the JSON property `forceOnly`
2214
+ # @return [Array<String>]
2215
+ attr_accessor :force_only
2216
+
2211
2217
  # Import data embedded in the request message
2212
2218
  # Corresponds to the JSON property `inlineSource`
2213
2219
  # @return [Google::Apis::ServiceusageV1beta1::OverrideInlineSource]
@@ -2220,6 +2226,7 @@ module Google
2220
2226
  # Update properties of this object
2221
2227
  def update!(**args)
2222
2228
  @force = args[:force] if args.key?(:force)
2229
+ @force_only = args[:force_only] if args.key?(:force_only)
2223
2230
  @inline_source = args[:inline_source] if args.key?(:inline_source)
2224
2231
  end
2225
2232
  end
@@ -2266,16 +2273,22 @@ module Google
2266
2273
  class ImportConsumerOverridesRequest
2267
2274
  include Google::Apis::Core::Hashable
2268
2275
 
2269
- # Whether to force the creation of the quota overrides. If creating an override
2270
- # would cause the effective quota for the consumer to decrease by more than 10
2271
- # percent, the call is rejected, as a safety measure to avoid accidentally
2272
- # decreasing quota too quickly. Setting the force parameter to true ignores this
2273
- # restriction.
2276
+ # Whether to force the creation of the quota overrides. Setting the force
2277
+ # parameter to 'true' ignores all quota safety checks that would fail the
2278
+ # request. QuotaSafetyCheck lists all such validations.
2274
2279
  # Corresponds to the JSON property `force`
2275
2280
  # @return [Boolean]
2276
2281
  attr_accessor :force
2277
2282
  alias_method :force?, :force
2278
2283
 
2284
+ # The list of quota safety checks to ignore before the override mutation. Unlike
2285
+ # 'force' field that ignores all the quota safety checks, the 'force_only' field
2286
+ # ignores only the specified checks; other checks are still enforced. The 'force'
2287
+ # and 'force_only' fields cannot both be set.
2288
+ # Corresponds to the JSON property `forceOnly`
2289
+ # @return [Array<String>]
2290
+ attr_accessor :force_only
2291
+
2279
2292
  # Import data embedded in the request message
2280
2293
  # Corresponds to the JSON property `inlineSource`
2281
2294
  # @return [Google::Apis::ServiceusageV1beta1::OverrideInlineSource]
@@ -2288,6 +2301,7 @@ module Google
2288
2301
  # Update properties of this object
2289
2302
  def update!(**args)
2290
2303
  @force = args[:force] if args.key?(:force)
2304
+ @force_only = args[:force_only] if args.key?(:force_only)
2291
2305
  @inline_source = args[:inline_source] if args.key?(:inline_source)
2292
2306
  end
2293
2307
  end
@@ -2743,11 +2757,11 @@ module Google
2743
2757
 
2744
2758
  # The units in which the metric value is reported. It is only applicable if the `
2745
2759
  # value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the
2746
- # representation of the stored metric values. Different systems may scale the
2747
- # values to be more easily displayed (so a value of `0.02KBy` _might_ be
2748
- # displayed as `20By`, and a value of `3523KBy` _might_ be displayed as `3.5MBy`)
2749
- # . However, if the `unit` is `KBy`, then the value of the metric is always in
2750
- # thousands of bytes, no matter how it may be displayed.. If you want a custom
2760
+ # representation of the stored metric values. Different systems might scale the
2761
+ # values to be more easily displayed (so a value of `0.02kBy` _might_ be
2762
+ # displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`)
2763
+ # . However, if the `unit` is `kBy`, then the value of the metric is always in
2764
+ # thousands of bytes, no matter how it might be displayed. If you want a custom
2751
2765
  # metric to record the exact number of CPU-seconds used by a job, you can create
2752
2766
  # an `INT64 CUMULATIVE` metric whose `unit` is `s`CPU`` (or equivalently `1s`CPU`
2753
2767
  # ` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written
@@ -2755,7 +2769,7 @@ module Google
2755
2769
  # more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
2756
2770
  # `ks`CPU``, and then write the value `12.005` (which is `12005/1000`), or use `
2757
2771
  # Kis`CPU`` and write `11.723` (which is `12005/1024`). The supported units are
2758
- # a subset of [The Unified Code for Units of Measure](http://unitsofmeasure.org/
2772
+ # a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/
2759
2773
  # ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s`
2760
2774
  # second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (
2761
2775
  # PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^
@@ -4027,7 +4041,11 @@ module Google
4027
4041
 
4028
4042
  # Requirements that must be satisfied before a consumer project can use the
4029
4043
  # service. Each requirement is of the form /; for example 'serviceusage.
4030
- # googleapis.com/billing-enabled'.
4044
+ # googleapis.com/billing-enabled'. For Google APIs, a Terms of Service
4045
+ # requirement must be included here. Google Cloud APIs must include "
4046
+ # serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "
4047
+ # serviceusage.googleapis.com/tos/universal". Additional ToS can be included
4048
+ # based on the business needs.
4031
4049
  # Corresponds to the JSON property `requirements`
4032
4050
  # @return [Array<String>]
4033
4051
  attr_accessor :requirements
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1beta1
18
18
  # Version of the google-apis-serviceusage_v1beta1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201208"
25
+ REVISION = "20210126"
26
26
  end
27
27
  end
28
28
  end
@@ -1040,6 +1040,7 @@ module Google
1040
1040
  # @private
1041
1041
  class Representation < Google::Apis::Core::JsonRepresentation
1042
1042
  property :force, as: 'force'
1043
+ collection :force_only, as: 'forceOnly'
1043
1044
  property :inline_source, as: 'inlineSource', class: Google::Apis::ServiceusageV1beta1::OverrideInlineSource, decorator: Google::Apis::ServiceusageV1beta1::OverrideInlineSource::Representation
1044
1045
 
1045
1046
  end
@@ -1065,6 +1066,7 @@ module Google
1065
1066
  # @private
1066
1067
  class Representation < Google::Apis::Core::JsonRepresentation
1067
1068
  property :force, as: 'force'
1069
+ collection :force_only, as: 'forceOnly'
1068
1070
  property :inline_source, as: 'inlineSource', class: Google::Apis::ServiceusageV1beta1::OverrideInlineSource, decorator: Google::Apis::ServiceusageV1beta1::OverrideInlineSource::Representation
1069
1071
 
1070
1072
  end
@@ -556,11 +556,14 @@ module Google
556
556
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
557
557
  # @param [Google::Apis::ServiceusageV1beta1::QuotaOverride] quota_override_object
558
558
  # @param [Boolean] force
559
- # Whether to force the creation of the quota override. If creating an override
560
- # would cause the effective quota for the consumer to decrease by more than 10
561
- # percent, the call is rejected, as a safety measure to avoid accidentally
562
- # decreasing quota too quickly. Setting the force parameter to true ignores this
563
- # restriction.
559
+ # Whether to force the creation of the quota override. Setting the force
560
+ # parameter to 'true' ignores all quota safety checks that would fail the
561
+ # request. QuotaSafetyCheck lists all such validations.
562
+ # @param [Array<String>, String] force_only
563
+ # The list of quota safety checks to ignore before the override mutation. Unlike
564
+ # 'force' field that ignores all the quota safety checks, the 'force_only' field
565
+ # ignores only the specified checks; other checks are still enforced. The 'force'
566
+ # and 'force_only' fields cannot both be set.
564
567
  # @param [String] fields
565
568
  # Selector specifying which fields to include in a partial response.
566
569
  # @param [String] quota_user
@@ -578,7 +581,7 @@ module Google
578
581
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
579
582
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
580
583
  # @raise [Google::Apis::AuthorizationError] Authorization is required
581
- def create_service_consumer_quota_metric_limit_admin_override(parent, quota_override_object = nil, force: nil, fields: nil, quota_user: nil, options: nil, &block)
584
+ def create_service_consumer_quota_metric_limit_admin_override(parent, quota_override_object = nil, force: nil, force_only: nil, fields: nil, quota_user: nil, options: nil, &block)
582
585
  command = make_simple_command(:post, 'v1beta1/{+parent}/adminOverrides', options)
583
586
  command.request_representation = Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
584
587
  command.request_object = quota_override_object
@@ -586,6 +589,7 @@ module Google
586
589
  command.response_class = Google::Apis::ServiceusageV1beta1::Operation
587
590
  command.params['parent'] = parent unless parent.nil?
588
591
  command.query['force'] = force unless force.nil?
592
+ command.query['forceOnly'] = force_only unless force_only.nil?
589
593
  command.query['fields'] = fields unless fields.nil?
590
594
  command.query['quotaUser'] = quota_user unless quota_user.nil?
591
595
  execute_or_queue_command(command, &block)
@@ -597,11 +601,14 @@ module Google
597
601
  # projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
598
602
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
599
603
  # @param [Boolean] force
600
- # Whether to force the deletion of the quota override. If deleting an override
601
- # would cause the effective quota for the consumer to decrease by more than 10
602
- # percent, the call is rejected, as a safety measure to avoid accidentally
603
- # decreasing quota too quickly. Setting the force parameter to true ignores this
604
- # restriction.
604
+ # Whether to force the deletion of the quota override. Setting the force
605
+ # parameter to 'true' ignores all quota safety checks that would fail the
606
+ # request. QuotaSafetyCheck lists all such validations.
607
+ # @param [Array<String>, String] force_only
608
+ # The list of quota safety checks to ignore before the override mutation. Unlike
609
+ # 'force' field that ignores all the quota safety checks, the 'force_only' field
610
+ # ignores only the specified checks; other checks are still enforced. The 'force'
611
+ # and 'force_only' fields cannot both be set.
605
612
  # @param [String] fields
606
613
  # Selector specifying which fields to include in a partial response.
607
614
  # @param [String] quota_user
@@ -619,12 +626,13 @@ module Google
619
626
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
620
627
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
621
628
  # @raise [Google::Apis::AuthorizationError] Authorization is required
622
- def delete_service_consumer_quota_metric_limit_admin_override(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
629
+ def delete_service_consumer_quota_metric_limit_admin_override(name, force: nil, force_only: nil, fields: nil, quota_user: nil, options: nil, &block)
623
630
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
624
631
  command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
625
632
  command.response_class = Google::Apis::ServiceusageV1beta1::Operation
626
633
  command.params['name'] = name unless name.nil?
627
634
  command.query['force'] = force unless force.nil?
635
+ command.query['forceOnly'] = force_only unless force_only.nil?
628
636
  command.query['fields'] = fields unless fields.nil?
629
637
  command.query['quotaUser'] = quota_user unless quota_user.nil?
630
638
  execute_or_queue_command(command, &block)
@@ -676,11 +684,14 @@ module Google
676
684
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
677
685
  # @param [Google::Apis::ServiceusageV1beta1::QuotaOverride] quota_override_object
678
686
  # @param [Boolean] force
679
- # Whether to force the update of the quota override. If updating an override
680
- # would cause the effective quota for the consumer to decrease by more than 10
681
- # percent, the call is rejected, as a safety measure to avoid accidentally
682
- # decreasing quota too quickly. Setting the force parameter to true ignores this
683
- # restriction.
687
+ # Whether to force the update of the quota override. Setting the force parameter
688
+ # to 'true' ignores all quota safety checks that would fail the request.
689
+ # QuotaSafetyCheck lists all such validations.
690
+ # @param [Array<String>, String] force_only
691
+ # The list of quota safety checks to ignore before the override mutation. Unlike
692
+ # 'force' field that ignores all the quota safety checks, the 'force_only' field
693
+ # ignores only the specified checks; other checks are still enforced. The 'force'
694
+ # and 'force_only' fields cannot both be set.
684
695
  # @param [String] update_mask
685
696
  # Update only the specified fields of the override. If unset, all fields will be
686
697
  # updated.
@@ -701,7 +712,7 @@ module Google
701
712
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
702
713
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
703
714
  # @raise [Google::Apis::AuthorizationError] Authorization is required
704
- def patch_service_consumer_quota_metric_limit_admin_override(name, quota_override_object = nil, force: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
715
+ def patch_service_consumer_quota_metric_limit_admin_override(name, quota_override_object = nil, force: nil, force_only: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
705
716
  command = make_simple_command(:patch, 'v1beta1/{+name}', options)
706
717
  command.request_representation = Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
707
718
  command.request_object = quota_override_object
@@ -709,6 +720,7 @@ module Google
709
720
  command.response_class = Google::Apis::ServiceusageV1beta1::Operation
710
721
  command.params['name'] = name unless name.nil?
711
722
  command.query['force'] = force unless force.nil?
723
+ command.query['forceOnly'] = force_only unless force_only.nil?
712
724
  command.query['updateMask'] = update_mask unless update_mask.nil?
713
725
  command.query['fields'] = fields unless fields.nil?
714
726
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -726,11 +738,14 @@ module Google
726
738
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
727
739
  # @param [Google::Apis::ServiceusageV1beta1::QuotaOverride] quota_override_object
728
740
  # @param [Boolean] force
729
- # Whether to force the creation of the quota override. If creating an override
730
- # would cause the effective quota for the consumer to decrease by more than 10
731
- # percent, the call is rejected, as a safety measure to avoid accidentally
732
- # decreasing quota too quickly. Setting the force parameter to true ignores this
733
- # restriction.
741
+ # Whether to force the creation of the quota override. Setting the force
742
+ # parameter to 'true' ignores all quota safety checks that would fail the
743
+ # request. QuotaSafetyCheck lists all such validations.
744
+ # @param [Array<String>, String] force_only
745
+ # The list of quota safety checks to ignore before the override mutation. Unlike
746
+ # 'force' field that ignores all the quota safety checks, the 'force_only' field
747
+ # ignores only the specified checks; other checks are still enforced. The 'force'
748
+ # and 'force_only' fields cannot both be set.
734
749
  # @param [String] fields
735
750
  # Selector specifying which fields to include in a partial response.
736
751
  # @param [String] quota_user
@@ -748,7 +763,7 @@ module Google
748
763
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
749
764
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
750
765
  # @raise [Google::Apis::AuthorizationError] Authorization is required
751
- def create_service_consumer_quota_metric_limit_consumer_override(parent, quota_override_object = nil, force: nil, fields: nil, quota_user: nil, options: nil, &block)
766
+ def create_service_consumer_quota_metric_limit_consumer_override(parent, quota_override_object = nil, force: nil, force_only: nil, fields: nil, quota_user: nil, options: nil, &block)
752
767
  command = make_simple_command(:post, 'v1beta1/{+parent}/consumerOverrides', options)
753
768
  command.request_representation = Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
754
769
  command.request_object = quota_override_object
@@ -756,6 +771,7 @@ module Google
756
771
  command.response_class = Google::Apis::ServiceusageV1beta1::Operation
757
772
  command.params['parent'] = parent unless parent.nil?
758
773
  command.query['force'] = force unless force.nil?
774
+ command.query['forceOnly'] = force_only unless force_only.nil?
759
775
  command.query['fields'] = fields unless fields.nil?
760
776
  command.query['quotaUser'] = quota_user unless quota_user.nil?
761
777
  execute_or_queue_command(command, &block)
@@ -767,11 +783,14 @@ module Google
767
783
  # projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
768
784
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
769
785
  # @param [Boolean] force
770
- # Whether to force the deletion of the quota override. If deleting an override
771
- # would cause the effective quota for the consumer to decrease by more than 10
772
- # percent, the call is rejected, as a safety measure to avoid accidentally
773
- # decreasing quota too quickly. Setting the force parameter to true ignores this
774
- # restriction.
786
+ # Whether to force the deletion of the quota override. Setting the force
787
+ # parameter to 'true' ignores all quota safety checks that would fail the
788
+ # request. QuotaSafetyCheck lists all such validations.
789
+ # @param [Array<String>, String] force_only
790
+ # The list of quota safety checks to ignore before the override mutation. Unlike
791
+ # 'force' field that ignores all the quota safety checks, the 'force_only' field
792
+ # ignores only the specified checks; other checks are still enforced. The 'force'
793
+ # and 'force_only' fields cannot both be set.
775
794
  # @param [String] fields
776
795
  # Selector specifying which fields to include in a partial response.
777
796
  # @param [String] quota_user
@@ -789,12 +808,13 @@ module Google
789
808
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
790
809
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
791
810
  # @raise [Google::Apis::AuthorizationError] Authorization is required
792
- def delete_service_consumer_quota_metric_limit_consumer_override(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
811
+ def delete_service_consumer_quota_metric_limit_consumer_override(name, force: nil, force_only: nil, fields: nil, quota_user: nil, options: nil, &block)
793
812
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
794
813
  command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
795
814
  command.response_class = Google::Apis::ServiceusageV1beta1::Operation
796
815
  command.params['name'] = name unless name.nil?
797
816
  command.query['force'] = force unless force.nil?
817
+ command.query['forceOnly'] = force_only unless force_only.nil?
798
818
  command.query['fields'] = fields unless fields.nil?
799
819
  command.query['quotaUser'] = quota_user unless quota_user.nil?
800
820
  execute_or_queue_command(command, &block)
@@ -846,11 +866,14 @@ module Google
846
866
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
847
867
  # @param [Google::Apis::ServiceusageV1beta1::QuotaOverride] quota_override_object
848
868
  # @param [Boolean] force
849
- # Whether to force the update of the quota override. If updating an override
850
- # would cause the effective quota for the consumer to decrease by more than 10
851
- # percent, the call is rejected, as a safety measure to avoid accidentally
852
- # decreasing quota too quickly. Setting the force parameter to true ignores this
853
- # restriction.
869
+ # Whether to force the update of the quota override. Setting the force parameter
870
+ # to 'true' ignores all quota safety checks that would fail the request.
871
+ # QuotaSafetyCheck lists all such validations.
872
+ # @param [Array<String>, String] force_only
873
+ # The list of quota safety checks to ignore before the override mutation. Unlike
874
+ # 'force' field that ignores all the quota safety checks, the 'force_only' field
875
+ # ignores only the specified checks; other checks are still enforced. The 'force'
876
+ # and 'force_only' fields cannot both be set.
854
877
  # @param [String] update_mask
855
878
  # Update only the specified fields of the override. If unset, all fields will be
856
879
  # updated.
@@ -871,7 +894,7 @@ module Google
871
894
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
872
895
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
873
896
  # @raise [Google::Apis::AuthorizationError] Authorization is required
874
- def patch_service_consumer_quota_metric_limit_consumer_override(name, quota_override_object = nil, force: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
897
+ def patch_service_consumer_quota_metric_limit_consumer_override(name, quota_override_object = nil, force: nil, force_only: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
875
898
  command = make_simple_command(:patch, 'v1beta1/{+name}', options)
876
899
  command.request_representation = Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
877
900
  command.request_object = quota_override_object
@@ -879,6 +902,7 @@ module Google
879
902
  command.response_class = Google::Apis::ServiceusageV1beta1::Operation
880
903
  command.params['name'] = name unless name.nil?
881
904
  command.query['force'] = force unless force.nil?
905
+ command.query['forceOnly'] = force_only unless force_only.nil?
882
906
  command.query['updateMask'] = update_mask unless update_mask.nil?
883
907
  command.query['fields'] = fields unless fields.nil?
884
908
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-serviceusage_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-serviceusage_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Service Usage API V1beta1