Class: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ImportProducerOverridesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ImportProducerOverridesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb,
generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb,
generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb
Overview
Request message for ImportProducerOverrides
Instance Attribute Summary collapse
-
#force ⇒ Boolean
(also: #force?)
Whether to force the creation of the quota overrides.
-
#inline_source ⇒ Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1OverrideInlineSource
Import data embedded in the request message Corresponds to the JSON property
inlineSource
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ V1Beta1ImportProducerOverridesRequest
constructor
A new instance of V1Beta1ImportProducerOverridesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ V1Beta1ImportProducerOverridesRequest
Returns a new instance of V1Beta1ImportProducerOverridesRequest.
3026 3027 3028 |
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#force ⇒ Boolean Also known as: force?
Whether to force the creation of the quota overrides. If creating an override
would cause the effective quota for the consumer to decrease by more than 10
percent, the call is rejected, as a safety measure to avoid accidentally
decreasing quota too quickly. Setting the force parameter to true ignores this
restriction.
Corresponds to the JSON property force
3018 3019 3020 |
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3018 def force @force end |
#inline_source ⇒ Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1OverrideInlineSource
Import data embedded in the request message
Corresponds to the JSON property inlineSource
3024 3025 3026 |
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3024 def inline_source @inline_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3031 3032 3033 3034 |
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3031 def update!(**args) @force = args[:force] if args.key?(:force) @inline_source = args[:inline_source] if args.key?(:inline_source) end |