Reference documentation and code samples for the Google Cloud Quotas V1beta Client class QuotaConfig.
The preferred quota configuration.
Generated from protobuf message google.api.cloudquotas.v1beta.QuotaConfig
Namespace
Google \ Cloud \ CloudQuotas \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ preferred_value
int|string
Required. The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
↳ state_detail
string
Output only. Optional details about the state of this quota preference.
↳ granted_value
↳ trace_id
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.
↳ annotations
array| Google\Protobuf\Internal\MapField
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
↳ request_origin
int
Output only. The origin of the quota preference request.
getPreferredValue
Required. The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
int|string
setPreferredValue
Required. The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
var
int|string
$this
getStateDetail
Output only. Optional details about the state of this quota preference.
string
setStateDetail
Output only. Optional details about the state of this quota preference.
var
string
$this
getGrantedValue
Output only. Granted quota value.
hasGrantedValue
clearGrantedValue
getGrantedValueUnwrapped
Returns the unboxed value from getGrantedValue()
Output only. Granted quota value.
int|string|null
setGrantedValue
Output only. Granted quota value.
$this
setGrantedValueUnwrapped
Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.
Output only. Granted quota value.
var
int|string|null
$this
getTraceId
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.
string
setTraceId
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.
var
string
$this
getAnnotations
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
setAnnotations
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
$this
getRequestOrigin
Output only. The origin of the quota preference request.
int
setRequestOrigin
Output only. The origin of the quota preference request.
var
int
$this