Class: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ImportProducerQuotaPoliciesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb,
lib/google/apis/serviceconsumermanagement_v1beta1/representations.rb,
lib/google/apis/serviceconsumermanagement_v1beta1/representations.rb

Overview

Request message for ImportProducerQuotaPolicies

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ V1Beta1ImportProducerQuotaPoliciesRequest

Returns a new instance of V1Beta1ImportProducerQuotaPoliciesRequest.



3767
3768
3769
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3767

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

Instance Attribute Details

#forceBoolean Also known as: force?

Whether to force the import of the quota policies. If the policy import would decrease the default limit of any consumer tier 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)


3747
3748
3749
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3747

def force
  @force
end

#force_justificationString

If force option is set to true, force_justification is suggested to be set to log the reason in audit logs. Corresponds to the JSON property forceJustification

Returns:

  • (String)


3754
3755
3756
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3754

def force_justification
  @force_justification
end

#inline_sourceGoogle::Apis::ServiceconsumermanagementV1beta1::V1Beta1PolicyInlineSource

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



3759
3760
3761
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3759

def inline_source
  @inline_source
end

#validate_onlyBoolean Also known as: validate_only?

If set to true, validate the request, but do not actually update. Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


3764
3765
3766
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3764

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3772
3773
3774
3775
3776
3777
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3772

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