Reference documentation and code samples for the Cloud Quotas V1 API class Google::Cloud::CloudQuotas::V1::QuotaConfig.
The preferred quota configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations
#granted_value
def granted_value() -> ::Google::Protobuf::Int64Value
Returns
- (::Google::Protobuf::Int64Value) — Output only. Granted quota value.
#preferred_value
def preferred_value() -> ::Integer
Returns
- (::Integer) — Required. The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
#preferred_value=
def preferred_value=(value) -> ::Integer
Parameter
- value (::Integer) — Required. The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
Returns
- (::Integer) — Required. The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
#request_origin
def request_origin() -> ::Google::Cloud::CloudQuotas::V1::QuotaConfig::Origin
Returns
- (::Google::Cloud::CloudQuotas::V1::QuotaConfig::Origin) — Output only. The origin of the quota preference request.
#state_detail
def state_detail() -> ::String
Returns
- (::String) — Output only. Optional details about the state of this quota preference.
#trace_id
def trace_id() -> ::String
Returns
- (::String) — Output only. The trace id that the Google Cloud uses to provision the requested quota. This trace id may be used by the client to contact Cloud support to track the state of a quota preference request. The trace id is only produced for increase requests and is unique for each request. The quota decrease requests do not have a trace id.