Service Control API V1 API - Class Google::Cloud::ServiceControl::V1::AllocateQuotaResponse (v0.7.1)

Reference documentation and code samples for the Service Control API V1 API class Google::Cloud::ServiceControl::V1::AllocateQuotaResponse.

Response message for the AllocateQuota method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allocate_errors

def allocate_errors() -> ::Array<::Google::Cloud::ServiceControl::V1::QuotaError>
Returns

#allocate_errors=

def allocate_errors=(value) -> ::Array<::Google::Cloud::ServiceControl::V1::QuotaError>
Parameter
Returns

#operation_id

def operation_id() -> ::String
Returns
  • (::String) — The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.

#operation_id=

def operation_id=(value) -> ::String
Parameter
  • value (::String) — The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
Returns
  • (::String) — The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.

#quota_metrics

def quota_metrics() -> ::Array<::Google::Cloud::ServiceControl::V1::MetricValueSet>
Returns
  • (::Array<::Google::Cloud::ServiceControl::V1::MetricValueSet>) —

    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"

#quota_metrics=

def quota_metrics=(value) -> ::Array<::Google::Cloud::ServiceControl::V1::MetricValueSet>
Parameter
  • value (::Array<::Google::Cloud::ServiceControl::V1::MetricValueSet>) —

    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"

Returns
  • (::Array<::Google::Cloud::ServiceControl::V1::MetricValueSet>) —

    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

def service_config_id() -> ::String
Returns
  • (::String) — ID of the actual config used to process the request.

#service_config_id=

def service_config_id=(value) -> ::String
Parameter
  • value (::String) — ID of the actual config used to process the request.
Returns
  • (::String) — ID of the actual config used to process the request.