Struct google_monitoring3::api::NotificationChannelDescriptor[][src]

pub struct NotificationChannelDescriptor {
    pub description: Option<String>,
    pub display_name: Option<String>,
    pub labels: Option<Vec<LabelDescriptor>>,
    pub launch_stage: Option<String>,
    pub name: Option<String>,
    pub type_: Option<String>,
}

A description of a notification channel. The descriptor includes the properties of the channel and the set of labels or fields that must be specified to configure channels of a given type.

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).

Fields

description: Option<String>

A human-readable description of the notification channel type. The description may include a description of the properties of the channel and pointers to external documentation.

display_name: Option<String>

A human-readable name for the notification channel type. This form of the name is suitable for a user interface.

labels: Option<Vec<LabelDescriptor>>

The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated.

launch_stage: Option<String>

The product launch stage for channels of this type.

name: Option<String>

The full REST resource name for this descriptor. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE] In the above, [TYPE] is the value of the type field.

type_: Option<String>

The type of notification channel, such as "email" and "sms". To view the full list of channels, see Channel descriptors (https://cloud.google.com/monitoring/alerts/using-channels-api#ncd). Notification channel types are globally unique.

Trait Implementations

impl Clone for NotificationChannelDescriptor[src]

impl Debug for NotificationChannelDescriptor[src]

impl Default for NotificationChannelDescriptor[src]

impl<'de> Deserialize<'de> for NotificationChannelDescriptor[src]

impl ResponseResult for NotificationChannelDescriptor[src]

impl Serialize for NotificationChannelDescriptor[src]

Auto Trait Implementations

impl RefUnwindSafe for NotificationChannelDescriptor[src]

impl Send for NotificationChannelDescriptor[src]

impl Sync for NotificationChannelDescriptor[src]

impl Unpin for NotificationChannelDescriptor[src]

impl UnwindSafe for NotificationChannelDescriptor[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.