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).
- allocate quota services (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:
-
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"
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 Default for AllocateQuotaResponse
[src]
impl Default for AllocateQuotaResponse
fn default() -> AllocateQuotaResponse
[src]
fn default() -> AllocateQuotaResponse
Returns the "default value" for a type. Read more
impl Clone for AllocateQuotaResponse
[src]
impl Clone for AllocateQuotaResponse
fn clone(&self) -> AllocateQuotaResponse
[src]
fn clone(&self) -> AllocateQuotaResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for AllocateQuotaResponse
[src]
impl Debug for AllocateQuotaResponse
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ResponseResult for AllocateQuotaResponse
[src]
impl ResponseResult for AllocateQuotaResponse
Auto Trait Implementations
impl Send for AllocateQuotaResponse
impl Send for AllocateQuotaResponse
impl Sync for AllocateQuotaResponse
impl Sync for AllocateQuotaResponse