# Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::NotificationChannelDescriptor (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.1 1.6.1 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.18.0 0.17.0 0.16.0 0.15.2 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.0 0.8.0 0.7.1 Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::NotificationChannelDescriptor.

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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #description

    def description() -> ::String

**Returns**

- (::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.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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

    def display_name() -> ::String

**Returns**

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

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- A human-readable name for the notification channel type. This form of the name is suitable for a user interface.
**Returns**

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

### #labels

    def labels() -> ::Array<::Google::Api::LabelDescriptor>

**Returns**

- (::Array\<[::Google::Api::LabelDescriptor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Api-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.

### #labels=

    def labels=(value) -> ::Array<::Google::Api::LabelDescriptor>

**Parameter**

- **value** (::Array\<[::Google::Api::LabelDescriptor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Api-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.
**Returns**

- (::Array\<[::Google::Api::LabelDescriptor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Api-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

    def launch_stage() -> ::Google::Api::LaunchStage

**Returns**

- ([::Google::Api::LaunchStage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Api-LaunchStage)) --- The product launch stage for channels of this type.

### #launch_stage=

    def launch_stage=(value) -> ::Google::Api::LaunchStage

**Parameter**

- **value** ([::Google::Api::LaunchStage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Api-LaunchStage)) --- The product launch stage for channels of this type.
**Returns**

- ([::Google::Api::LaunchStage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Api-LaunchStage)) --- The product launch stage for channels of this type.

### #name

    def name() -> ::String

**Returns**

- (::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.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #supported_tiers

    def supported_tiers() -> ::Array<::Google::Cloud::Monitoring::V3::ServiceTier>

**Returns**

- (::Array\<[::Google::Cloud::Monitoring::V3::ServiceTier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Cloud-Monitoring-V3-ServiceTier)\>) --- The tiers that support this notification channel; the project service tier must be one of the supported_tiers.

### #supported_tiers=

    def supported_tiers=(value) -> ::Array<::Google::Cloud::Monitoring::V3::ServiceTier>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Monitoring::V3::ServiceTier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Cloud-Monitoring-V3-ServiceTier)\>) --- The tiers that support this notification channel; the project service tier must be one of the supported_tiers.
**Returns**

- (::Array\<[::Google::Cloud::Monitoring::V3::ServiceTier](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Cloud-Monitoring-V3-ServiceTier)\>) --- The tiers that support this notification channel; the project service tier must be one of the supported_tiers.

### #type

    def type() -> ::String

**Returns**

- (::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.

### #type=

    def type=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.