Class AllocateQuotaResponse (1.2.0)

public sealed class AllocateQuotaResponse : IMessage<AllocateQuotaResponse>, IEquatable<AllocateQuotaResponse>, IDeepCloneable<AllocateQuotaResponse>, IBufferMessage, IMessage

Response message for the AllocateQuota method.

Inheritance

Object > AllocateQuotaResponse

Namespace

Google.Cloud.ServiceControl.V1

Assembly

Google.Cloud.ServiceControl.V1.dll

Constructors

AllocateQuotaResponse()

public AllocateQuotaResponse()

AllocateQuotaResponse(AllocateQuotaResponse)

public AllocateQuotaResponse(AllocateQuotaResponse other)
Parameter
NameDescription
otherAllocateQuotaResponse

Properties

AllocateErrors

public RepeatedField<QuotaError> AllocateErrors { get; }

Indicates the decision of the allocate.

Property Value
TypeDescription
RepeatedField<QuotaError>

OperationId

public string OperationId { get; set; }

The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.

Property Value
TypeDescription
String

QuotaMetrics

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:

  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"

Property Value
TypeDescription
RepeatedField<MetricValueSet>

ServiceConfigId

public string ServiceConfigId { get; set; }

ID of the actual config used to process the request.

Property Value
TypeDescription
String