Class: Google::Apis::ServiceusageV1beta1::ImportAdminOverridesRequest

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

Request message for ImportAdminOverrides

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportAdminOverridesRequest

Returns a new instance of ImportAdminOverridesRequest.



2216
2217
2218
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2216

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

Instance Attribute Details

#forceBoolean Also known as: force?

Whether to force the creation of the quota overrides. If creating an override would cause the effective quota for the consumer to decrease by more than 10 percent, the call is rejected, as a safety measure to avoid accidentally decreasing quota too quickly. Setting the force parameter to true ignores this restriction. Corresponds to the JSON property force

Returns:

  • (Boolean)


2208
2209
2210
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2208

def force
  @force
end

#inline_sourceGoogle::Apis::ServiceusageV1beta1::OverrideInlineSource

Import data embedded in the request message Corresponds to the JSON property inlineSource



2214
2215
2216
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2214

def inline_source
  @inline_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2221
2222
2223
2224
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2221

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