Struct gapi_grpc::google::monitoring::v3::UpdateAlertPolicyRequest[][src]

pub struct UpdateAlertPolicyRequest {
    pub update_mask: Option<FieldMask>,
    pub alert_policy: Option<AlertPolicy>,
}

The protocol for the UpdateAlertPolicy request.

Fields

update_mask: Option<FieldMask>

Optional. A list of alerting policy field names. If this field is not empty, each listed field in the existing alerting policy is set to the value of the corresponding field in the supplied policy (alert_policy), or to the field’s default value if the field is not in the supplied alerting policy. Fields not listed retain their previous value.

Examples of valid field masks include display_name, documentation, documentation.content, documentation.mime_type, user_labels, user_label.nameofkey, enabled, conditions, combiner, etc.

If this field is empty, then the supplied alerting policy replaces the existing policy. It is the same as deleting the existing policy and adding the supplied policy, except for the following:

alert_policy: Option<AlertPolicy>

Required. The updated alerting policy or the updated values for the fields listed in update_mask. If update_mask is not empty, any fields in this policy that are not in update_mask are ignored.

Trait Implementations

impl Clone for UpdateAlertPolicyRequest[src]

impl Debug for UpdateAlertPolicyRequest[src]

impl Default for UpdateAlertPolicyRequest[src]

impl Message for UpdateAlertPolicyRequest[src]

impl PartialEq<UpdateAlertPolicyRequest> for UpdateAlertPolicyRequest[src]

impl StructuralPartialEq for UpdateAlertPolicyRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateAlertPolicyRequest

impl Send for UpdateAlertPolicyRequest

impl Sync for UpdateAlertPolicyRequest

impl Unpin for UpdateAlertPolicyRequest

impl UnwindSafe for UpdateAlertPolicyRequest

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]