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.
3885 3886 3887 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3885 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
3883 3884 3885 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3883 def overrides @overrides end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3890 3891 3892 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3890 def update!(**args) @overrides = args[:overrides] if args.key?(:overrides) end |