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.



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

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)


3745
3746
3747
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3745

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)


3752
3753
3754
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3752

def force_justification
  @force_justification
end

#inline_sourceGoogle::Apis::ServiceconsumermanagementV1beta1::V1Beta1PolicyInlineSource

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



3757
3758
3759
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3757

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)


3762
3763
3764
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3762

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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