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>
- (::Array<::Google::Cloud::ServiceControl::V1::QuotaError>) — Indicates the decision of the allocate.
#allocate_errors=
def allocate_errors=(value) -> ::Array<::Google::Cloud::ServiceControl::V1::QuotaError>
- value (::Array<::Google::Cloud::ServiceControl::V1::QuotaError>) — Indicates the decision of the allocate.
- (::Array<::Google::Cloud::ServiceControl::V1::QuotaError>) — Indicates the decision of the allocate.
#operation_id
def operation_id() -> ::String
- (::String) — The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
#operation_id=
def operation_id=(value) -> ::String
- value (::String) — The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
- (::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>
-
(::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:
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"
#quota_metrics=
def quota_metrics=(value) -> ::Array<::Google::Cloud::ServiceControl::V1::MetricValueSet>
-
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:
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"
-
(::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:
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"
#service_config_id
def service_config_id() -> ::String
- (::String) — ID of the actual config used to process the request.
#service_config_id=
def service_config_id=(value) -> ::String
- value (::String) — ID of the actual config used to process the request.
- (::String) — ID of the actual config used to process the request.