Struct google_servicecontrol1::api::AllocateQuotaResponse
source · pub struct AllocateQuotaResponse {
pub allocate_errors: Option<Vec<QuotaError>>,
pub allocate_info: Option<AllocateInfo>,
pub operation_id: Option<String>,
pub quota_metrics: Option<Vec<MetricValueSet>>,
pub service_config_id: Option<String>,
}
Expand description
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.
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.
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”
service_config_id: Option<String>
ID of the actual config used to process the request.
Trait Implementations§
source§impl Clone for AllocateQuotaResponse
impl Clone for AllocateQuotaResponse
source§fn clone(&self) -> AllocateQuotaResponse
fn clone(&self) -> AllocateQuotaResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more