public sealed class AllocateQuotaResponse : IMessage<AllocateQuotaResponse>, IEquatable<AllocateQuotaResponse>, IDeepCloneable<AllocateQuotaResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Control v1 API class AllocateQuotaResponse.
public RepeatedField<MetricValueSet> QuotaMetrics { get; }
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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eAllocateQuotaResponse\u003c/code\u003e class within the Service Control v1 API in .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAllocateQuotaResponse\u003c/code\u003e is the response message for the \u003ccode\u003eAllocateQuota\u003c/code\u003e method and it includes details about quota allocation decisions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.4.0, with previous versions ranging from 1.0.0 to 2.3.0 also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAllocateQuotaResponse\u003c/code\u003e include \u003ccode\u003eAllocateErrors\u003c/code\u003e, \u003ccode\u003eOperationId\u003c/code\u003e, \u003ccode\u003eQuotaMetrics\u003c/code\u003e, and \u003ccode\u003eServiceConfigId\u003c/code\u003e, which provide details on allocation outcomes and request context.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, in addition to having constructors for default and copy-based initialization.\u003c/p\u003e\n"]]],[],null,[]]