class Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaBucket
A quota bucket is a quota provisioning unit for a specific set of dimensions.
Attributes
A quota override Corresponds to the JSON property `adminOverride` @return [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride]
A quota override Corresponds to the JSON property `consumerOverride` @return [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride]
The default limit of this quota bucket, as specified by the service configuration. Corresponds to the JSON property `defaultLimit` @return [Fixnum]
The dimensions of this quota bucket. If this map is empty, this is the global bucket, which is the default quota value applied to all requests that do not have a more specific override. If this map is nonempty, the default limit, effective limit, and quota overrides apply only to requests that have the dimensions given in the map. For example, if the map has key “region” and value “us-east-1”, then the specified effective limit is only effective in that region, and the specified overrides apply only in that region. Corresponds to the JSON property `dimensions` @return [Hash<String,String>]
The effective limit of this quota bucket. Equal to default_limit
if there are no overrides. Corresponds to the JSON property `effectiveLimit` @return [Fixnum]
A quota override Corresponds to the JSON property `producerOverride` @return [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride]
Public Class Methods
# File lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb, line 3285 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb, line 3290 def update!(**args) @admin_override = args[:admin_override] if args.key?(:admin_override) @consumer_override = args[:consumer_override] if args.key?(:consumer_override) @default_limit = args[:default_limit] if args.key?(:default_limit) @dimensions = args[:dimensions] if args.key?(:dimensions) @effective_limit = args[:effective_limit] if args.key?(:effective_limit) @producer_override = args[:producer_override] if args.key?(:producer_override) end