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

pub struct UpdateConsumerOverrideRequest {
    pub name: String,
    pub override: Option<QuotaOverride>,
    pub force: bool,
    pub update_mask: Option<FieldMask>,
    pub force_only: Vec<i32>,
}

Request message for UpdateConsumerOverride.

Fields

name: String

The resource name of the override to update.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d

override: Option<QuotaOverride>

The new override. Only the override_value is updated; all other fields are ignored.

force: bool

Whether to force the update of the quota override. Setting the force parameter to ‘true’ ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.

update_mask: Option<FieldMask>

Update only the specified fields of the override. If unset, all fields will be updated.

force_only: Vec<i32>

The list of quota safety checks to ignore before the override mutation. Unlike ‘force’ field that ignores all the quota safety checks, the ‘force_only’ field ignores only the specified checks; other checks are still enforced. The ‘force’ and ‘force_only’ fields cannot both be set.

Implementations

impl UpdateConsumerOverrideRequest[src]

pub fn force_only(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<QuotaSafetyCheck>>
[src]

Returns an iterator which yields the valid enum values contained in force_only.

pub fn push_force_only(&mut self, value: QuotaSafetyCheck)[src]

Appends the provided enum value to force_only.

Trait Implementations

impl Clone for UpdateConsumerOverrideRequest[src]

impl Debug for UpdateConsumerOverrideRequest[src]

impl Default for UpdateConsumerOverrideRequest[src]

impl Message for UpdateConsumerOverrideRequest[src]

impl PartialEq<UpdateConsumerOverrideRequest> for UpdateConsumerOverrideRequest[src]

impl StructuralPartialEq for UpdateConsumerOverrideRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateConsumerOverrideRequest

impl Send for UpdateConsumerOverrideRequest

impl Sync for UpdateConsumerOverrideRequest

impl Unpin for UpdateConsumerOverrideRequest

impl UnwindSafe for UpdateConsumerOverrideRequest

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]