Struct google_servicecontrol1::ReleaseQuotaResponse [−][src]
pub struct ReleaseQuotaResponse { pub operation_id: Option<String>, pub service_config_id: Option<String>, pub quota_metrics: Option<Vec<MetricValueSet>>, pub release_errors: Option<Vec<QuotaError>>, }
Response message for the ReleaseQuota 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).
- release quota services (response)
Fields
operation_id: Option<String>
The same operation_id value used in the ReleaseQuotaRequest. Used for logging and diagnostics purposes.
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 release. Depending on the request, one or more of the following metrics will be included:
-
For rate quota, per quota group or per quota metric released amount will be specified using the following delta metric: "serviceruntime.googleapis.com/api/consumer/quota_refund_count"
-
For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
-
For allocation quota, value for each quota limit associated with the metrics will be specified using the following gauge metric: "serviceruntime.googleapis.com/quota/limit"
release_errors: Option<Vec<QuotaError>>
Indicates the decision of the release.
Trait Implementations
impl Default for ReleaseQuotaResponse
[src]
impl Default for ReleaseQuotaResponse
fn default() -> ReleaseQuotaResponse
[src]
fn default() -> ReleaseQuotaResponse
Returns the "default value" for a type. Read more
impl Clone for ReleaseQuotaResponse
[src]
impl Clone for ReleaseQuotaResponse
fn clone(&self) -> ReleaseQuotaResponse
[src]
fn clone(&self) -> ReleaseQuotaResponse
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 ReleaseQuotaResponse
[src]
impl Debug for ReleaseQuotaResponse
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 ReleaseQuotaResponse
[src]
impl ResponseResult for ReleaseQuotaResponse
Auto Trait Implementations
impl Send for ReleaseQuotaResponse
impl Send for ReleaseQuotaResponse
impl Sync for ReleaseQuotaResponse
impl Sync for ReleaseQuotaResponse