Class: Google::Apis::ServiceusageV1beta1::OverrideInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1beta1::OverrideInlineSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceusage_v1beta1/classes.rb,
lib/google/apis/serviceusage_v1beta1/representations.rb,
lib/google/apis/serviceusage_v1beta1/representations.rb
Overview
Import data embedded in the request message
Instance Attribute Summary collapse
-
#overrides ⇒ Array<Google::Apis::ServiceusageV1beta1::QuotaOverride>
The overrides to create.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OverrideInlineSource
constructor
A new instance of OverrideInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OverrideInlineSource
Returns a new instance of OverrideInlineSource.
3261 3262 3263 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#overrides ⇒ Array<Google::Apis::ServiceusageV1beta1::QuotaOverride>
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
3259 3260 3261 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3259 def overrides @overrides end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3266 3267 3268 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3266 def update!(**args) @overrides = args[:overrides] if args.key?(:overrides) end |