Class: Google::Apis::ServiceusageV1beta1::ImportAdminOverridesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1beta1::ImportAdminOverridesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceusage_v1beta1/classes.rb,
generated/google/apis/serviceusage_v1beta1/representations.rb,
generated/google/apis/serviceusage_v1beta1/representations.rb
Overview
Request message for ImportAdminOverrides
Instance Attribute Summary collapse
-
#force ⇒ Boolean
(also: #force?)
Whether to force the creation of the quota overrides.
-
#inline_source ⇒ Google::Apis::ServiceusageV1beta1::OverrideInlineSource
Import data embedded in the request message Corresponds to the JSON property
inlineSource
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportAdminOverridesRequest
constructor
A new instance of ImportAdminOverridesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportAdminOverridesRequest
Returns a new instance of ImportAdminOverridesRequest.
2216 2217 2218 |
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2216 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
2208 2209 2210 |
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2208 def force @force end |
#inline_source ⇒ Google::Apis::ServiceusageV1beta1::OverrideInlineSource
Import data embedded in the request message
Corresponds to the JSON property inlineSource
2214 2215 2216 |
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2214 def inline_source @inline_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2221 2222 2223 2224 |
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2221 def update!(**args) @force = args[:force] if args.key?(:force) @inline_source = args[:inline_source] if args.key?(:inline_source) end |