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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/serviceusage_v1beta1/classes.rb,
generated/google/apis/serviceusage_v1beta1/representations.rb,
generated/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.



3247
3248
3249
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 3247

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



3245
3246
3247
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 3245

def overrides
  @overrides
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3252
3253
3254
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 3252

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