Class AllocateQuotaResponse (1.0.0)

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

Response message for the AllocateQuota method.

Inheritance

System.Object > AllocateQuotaResponse

Implements

Google.Protobuf.IMessage<AllocateQuotaResponse>, System.IEquatable<AllocateQuotaResponse>, Google.Protobuf.IDeepCloneable<AllocateQuotaResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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
Google.Protobuf.Collections.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
System.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
Google.Protobuf.Collections.RepeatedField<MetricValueSet>

ServiceConfigId

public string ServiceConfigId { get; set; }

ID of the actual config used to process the request.

Property Value
TypeDescription
System.String