class Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerQuotaLimit
Consumer quota settings for a quota limit.
Attributes
Whether this limit is precise or imprecise. Corresponds to the JSON property `isPrecise` @return [Boolean]
Whether this limit is precise or imprecise. Corresponds to the JSON property `isPrecise` @return [Boolean]
The name of the parent metric of this limit. An example name would be: ` compute.googleapis.com/cpus` Corresponds to the JSON property `metric` @return [String]
The resource name of the quota limit. An example name would be: `services/ compute.googleapis.com/projects/123/quotas/metrics/compute.googleapis.com% 2Fcpus/limits/%2Fproject%2Fregion` The resource name is intended to be opaque and should not be parsed for its component strings, since its representation could change in the future. Corresponds to the JSON property `name` @return [String]
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first). Corresponds to the JSON property `quotaBuckets` @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaBucket>]
The limit unit. An example unit would be: `1/`project`/`region“ Note that “ project“ and “region“ are not placeholders in this example; the literal characters “` and “` occur in the string. Corresponds to the JSON property `unit` @return [String]
Public Class Methods
# File lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb, line 2904 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb, line 2909 def update!(**args) @is_precise = args[:is_precise] if args.key?(:is_precise) @metric = args[:metric] if args.key?(:metric) @name = args[:name] if args.key?(:name) @quota_buckets = args[:quota_buckets] if args.key?(:quota_buckets) @unit = args[:unit] if args.key?(:unit) end