Class: Google::Apis::ServiceusageV1beta1::OverrideInlineSource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OverrideInlineSource

Returns a new instance of OverrideInlineSource.



3271
3272
3273
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3271

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#overridesArray<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



3269
3270
3271
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3269

def overrides
  @overrides
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3276
3277
3278
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3276

def update!(**args)
  @overrides = args[:overrides] if args.key?(:overrides)
end