Class: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1OverrideInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1OverrideInlineSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb,
lib/google/apis/serviceconsumermanagement_v1beta1/representations.rb,
lib/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.
3977 3978 3979 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3977 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
3975 3976 3977 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3975 def overrides @overrides end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3982 3983 3984 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3982 def update!(**args) @overrides = args[:overrides] if args.key?(:overrides) end |