Class: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1OverrideInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1OverrideInlineSource
- 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
Import data embedded in the request message
Instance Attribute Summary collapse
-
#overrides ⇒ Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride>
The overrides to create.
Instance Method Summary collapse
-
#initialize(**args) ⇒ V1Beta1OverrideInlineSource
constructor
A new instance of V1Beta1OverrideInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ V1Beta1OverrideInlineSource
Returns a new instance of V1Beta1OverrideInlineSource.
3136 3137 3138 |
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#overrides ⇒ Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride>
The overrides to create. Each override must have a value for 'metric' and '
unit', to specify which metric and which limit the override should be applied
to. The 'name' field of the override does not need to be set; it is ignored.
Corresponds to the JSON property overrides
3134 3135 3136 |
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3134 def overrides @overrides end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3141 3142 3143 |
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3141 def update!(**args) @overrides = args[:overrides] if args.key?(:overrides) end |