Class: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ImportProducerQuotaPoliciesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ImportProducerQuotaPoliciesRequest
- 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
-
#force ⇒ Boolean
(also: #force?)
Whether quota policy can result in a decrease of effective limit.
-
#force_justification ⇒ String
If force or force_skip_quota_usage_check option is set to true, force_justification is suggested to be set to log the reason in audit logs.
-
#force_skip_quota_usage_check ⇒ Boolean
(also: #force_skip_quota_usage_check?)
If set to true, skip the quota usage check.
-
#inline_source ⇒ Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1PolicyInlineSource
Import data embedded in the request message Corresponds to the JSON property
inlineSource. -
#validate_only ⇒ Boolean
(also: #validate_only?)
If set to true, validate the request, but do not actually update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ V1Beta1ImportProducerQuotaPoliciesRequest
constructor
A new instance of V1Beta1ImportProducerQuotaPoliciesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ V1Beta1ImportProducerQuotaPoliciesRequest
Returns a new instance of V1Beta1ImportProducerQuotaPoliciesRequest.
3858 3859 3860 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#force ⇒ Boolean Also known as: force?
Whether quota policy can result in a decrease of effective limit. Don't allow
any decreases if force is not specified. If force is specified, then don't
allow any decreases below 120% of the 7d quota usage, or for cases where usage
cannot be examined (custom dimensions/ per user/per resource), only allow a 10%
decrease.
Corresponds to the JSON property force
3830 3831 3832 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3830 def force @force end |
#force_justification ⇒ String
If force or force_skip_quota_usage_check 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
3837 3838 3839 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3837 def force_justification @force_justification end |
#force_skip_quota_usage_check ⇒ Boolean Also known as: force_skip_quota_usage_check?
If set to true, skip the quota usage check. This field is only used when the
effective limit can be decreased. If the force field is not set, this field
will be ignored.
Corresponds to the JSON property forceSkipQuotaUsageCheck
3844 3845 3846 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3844 def force_skip_quota_usage_check @force_skip_quota_usage_check end |
#inline_source ⇒ Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1PolicyInlineSource
Import data embedded in the request message
Corresponds to the JSON property inlineSource
3850 3851 3852 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3850 def inline_source @inline_source end |
#validate_only ⇒ Boolean Also known as: validate_only?
If set to true, validate the request, but do not actually update.
Corresponds to the JSON property validateOnly
3855 3856 3857 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3855 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3863 3864 3865 3866 3867 3868 3869 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3863 def update!(**args) @force = args[:force] if args.key?(:force) @force_justification = args[:force_justification] if args.key?(:force_justification) @force_skip_quota_usage_check = args[:force_skip_quota_usage_check] if args.key?(:force_skip_quota_usage_check) @inline_source = args[:inline_source] if args.key?(:inline_source) @validate_only = args[:validate_only] if args.key?(:validate_only) end |