Service Control v1 API - Class AllocateQuotaResponse (2.3.0)

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.

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
Name Description
other AllocateQuotaResponse

Properties

AllocateErrors

public RepeatedField<QuotaError> AllocateErrors { get; }

Indicates the decision of the allocate.

Property Value
Type Description
RepeatedFieldQuotaError

OperationId

public string OperationId { get; set; }

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

Property Value
Type Description
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
Type Description
RepeatedFieldMetricValueSet

ServiceConfigId

public string ServiceConfigId { get; set; }

ID of the actual config used to process the request.

Property Value
Type Description
string