Reference documentation and code samples for the Google Cloud Service Control V1 Client class AllocateQuotaResponse.
Response message for the AllocateQuota method.
Generated from protobuf message google.api.servicecontrol.v1.AllocateQuotaResponse
Namespace
Google \ Cloud \ ServiceControl \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ operation_id
string
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
↳ allocate_errors
↳ quota_metrics
array< Google\Cloud\ServiceControl\V1\MetricValueSet
>
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. Per quota group or per quota metric incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count" 2. The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
↳ service_config_id
string
ID of the actual config used to process the request.
getOperationId
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string
setOperationId
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
var
string
$this
getAllocateErrors
Indicates the decision of the allocate.
setAllocateErrors
Indicates the decision of the allocate.
$this
getQuotaMetrics
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included:
- Per quota group or per quota metric incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count"
- The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
setQuotaMetrics
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included:
- Per quota group or per quota metric incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count"
- The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
$this
getServiceConfigId
ID of the actual config used to process the request.
string
setServiceConfigId
ID of the actual config used to process the request.
var
string
$this