[][src]Struct google_monitoring3::NotificationChannelDescriptor

pub struct NotificationChannelDescriptor {
    pub supported_tiers: Option<Vec<String>>,
    pub display_name: Option<String>,
    pub description: Option<String>,
    pub labels: Option<Vec<LabelDescriptor>>,
    pub type_: Option<String>,
    pub name: 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

supported_tiers: Option<Vec<String>>

The tiers that support this notification channel; the project service tier must be one of the supported_tiers.

display_name: Option<String>

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

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.

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.

type_: Option<String>

The type of notification channel, such as "email", "sms", etc. Notification channel types are globally unique.

name: Option<String>

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

Trait Implementations

impl ResponseResult for NotificationChannelDescriptor[src]

impl Default for NotificationChannelDescriptor[src]

impl Clone for NotificationChannelDescriptor[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for NotificationChannelDescriptor[src]

impl Serialize for NotificationChannelDescriptor[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]