Struct gapi_grpc::google::api::serviceusage::v1beta1::ConsumerQuotaMetric[][src]

pub struct ConsumerQuotaMetric {
    pub name: String,
    pub metric: String,
    pub display_name: String,
    pub consumer_quota_limits: Vec<ConsumerQuotaLimit>,
    pub descendant_consumer_quota_limits: Vec<ConsumerQuotaLimit>,
    pub unit: String,
}

Consumer quota settings for a quota metric.

Fields

name: String

The resource name of the quota settings on this metric for this consumer.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus

The resource name is intended to be opaque and should not be parsed for its component strings, since its representation could change in the future.

metric: String

The name of the metric.

An example name would be: compute.googleapis.com/cpus

display_name: String

The display name of the metric.

An example name would be: CPUs

consumer_quota_limits: Vec<ConsumerQuotaLimit>

The consumer quota for each quota limit defined on the metric.

descendant_consumer_quota_limits: Vec<ConsumerQuotaLimit>

The quota limits targeting the descendant containers of the consumer in request.

If the consumer in request is of type organizations or folders, the field will list per-project limits in the metric; if the consumer in request is of type project, the field will be empty.

The quota_buckets field of each descendant consumer quota limit will not be populated.

unit: String

The units in which the metric value is reported.

Trait Implementations

impl Clone for ConsumerQuotaMetric[src]

impl Debug for ConsumerQuotaMetric[src]

impl Default for ConsumerQuotaMetric[src]

impl Message for ConsumerQuotaMetric[src]

impl PartialEq<ConsumerQuotaMetric> for ConsumerQuotaMetric[src]

impl StructuralPartialEq for ConsumerQuotaMetric[src]

Auto Trait Implementations

impl RefUnwindSafe for ConsumerQuotaMetric

impl Send for ConsumerQuotaMetric

impl Sync for ConsumerQuotaMetric

impl Unpin for ConsumerQuotaMetric

impl UnwindSafe for ConsumerQuotaMetric

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]