Struct google_servicecontrol1::AllocateQuotaResponse[][src]

pub struct AllocateQuotaResponse {
    pub allocate_errors: Option<Vec<QuotaError>>,
    pub service_config_id: Option<String>,
    pub quota_metrics: Option<Vec<MetricValueSet>>,
    pub allocate_info: Option<AllocateInfo>,
    pub operation_id: Option<String>,
}

Response message for the AllocateQuota method.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Indicates the decision of the allocate.

ID of the actual config used to process the request.

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"

WARNING: DO NOT use this field until this warning message is removed.

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

Trait Implementations

impl Default for AllocateQuotaResponse
[src]

Returns the "default value" for a type. Read more

impl Clone for AllocateQuotaResponse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AllocateQuotaResponse
[src]

Formats the value using the given formatter. Read more

impl ResponseResult for AllocateQuotaResponse
[src]

Auto Trait Implementations