Class: Google::Apis::ServiceusageV1beta1::ImportConsumerOverridesRequest

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 ImportConsumerOverrides

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportConsumerOverridesRequest

Returns a new instance of ImportConsumerOverridesRequest.



2284
2285
2286
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2284

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)


2276
2277
2278
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2276

def force
  @force
end

#inline_sourceGoogle::Apis::ServiceusageV1beta1::OverrideInlineSource

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



2282
2283
2284
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2282

def inline_source
  @inline_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2289
2290
2291
2292
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2289

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