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.
Returns
Type
Description
string
setOperationId
The same operation_id value used in the AllocateQuotaRequest. Used for
logging and diagnostics purposes.
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"
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"
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Service Control V1 Client - Class AllocateQuotaResponse (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-service-control/latest/V1.AllocateQuotaResponse)\n- [2.0.3](/php/docs/reference/cloud-service-control/2.0.3/V1.AllocateQuotaResponse)\n- [1.4.4](/php/docs/reference/cloud-service-control/1.4.4/V1.AllocateQuotaResponse)\n- [1.3.0](/php/docs/reference/cloud-service-control/1.3.0/V1.AllocateQuotaResponse)\n- [1.2.1](/php/docs/reference/cloud-service-control/1.2.1/V1.AllocateQuotaResponse)\n- [1.1.1](/php/docs/reference/cloud-service-control/1.1.1/V1.AllocateQuotaResponse)\n- [1.0.6](/php/docs/reference/cloud-service-control/1.0.6/V1.AllocateQuotaResponse) \nReference documentation and code samples for the Google Cloud Service Control V1 Client class AllocateQuotaResponse.\n\nResponse message for the AllocateQuota method.\n\nGenerated from protobuf message `google.api.servicecontrol.v1.AllocateQuotaResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ServiceControl \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getOperationId\n\nThe same operation_id value used in the AllocateQuotaRequest. Used for\nlogging and diagnostics purposes.\n\n### setOperationId\n\nThe same operation_id value used in the AllocateQuotaRequest. Used for\nlogging and diagnostics purposes.\n\n### getAllocateErrors\n\nIndicates the decision of the allocate.\n\n### setAllocateErrors\n\nIndicates the decision of the allocate.\n\n### getQuotaMetrics\n\nQuota metrics to indicate the result of allocation. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. 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\"\n2. The quota limit reached condition will be specified using the following boolean metric : \"serviceruntime.googleapis.com/quota/exceeded\"\n\n### setQuotaMetrics\n\nQuota metrics to indicate the result of allocation. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. 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\"\n2. The quota limit reached condition will be specified using the following boolean metric : \"serviceruntime.googleapis.com/quota/exceeded\"\n\n### getServiceConfigId\n\nID of the actual config used to process the request.\n\n### setServiceConfigId\n\nID of the actual config used to process the request."]]