[][src]Struct google_servicecontrol1::AllocateQuotaResponse

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

allocate_errors: Option<Vec<QuotaError>>

Indicates the decision of the allocate.

service_config_id: Option<String>

ID of the actual config used to process the request.

quota_metrics: Option<Vec<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"

allocate_info: Option<AllocateInfo>

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

operation_id: Option<String>

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

Trait Implementations

impl Clone for AllocateQuotaResponse[src]

impl Debug for AllocateQuotaResponse[src]

impl Default for AllocateQuotaResponse[src]

impl<'de> Deserialize<'de> for AllocateQuotaResponse[src]

impl ResponseResult for AllocateQuotaResponse[src]

impl Serialize for AllocateQuotaResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any