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
- (::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
- 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.
- (::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
- (::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
- value (::String) — A human-readable name for the notification channel type. This form of the name is suitable for a user interface.
- (::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>
- (::Array<::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>
- value (::Array<::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.
- (::Array<::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
- (::Google::Api::LaunchStage) — The product launch stage for channels of this type.
#launch_stage=
def launch_stage=(value) -> ::Google::Api::LaunchStage
- value (::Google::Api::LaunchStage) — The product launch stage for channels of this type.
- (::Google::Api::LaunchStage) — The product launch stage for channels of this type.
#name
def name() -> ::String
-
(::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 thetype
field.
#name=
def name=(value) -> ::String
-
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 thetype
field.
-
(::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 thetype
field.
#supported_tiers
def supported_tiers() -> ::Array<::Google::Cloud::Monitoring::V3::ServiceTier>
- (::Array<::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>
- value (::Array<::Google::Cloud::Monitoring::V3::ServiceTier>) — The tiers that support this notification channel; the project service tier must be one of the supported_tiers.
- (::Array<::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
- (::String) — The type of notification channel, such as "email" and "sms". To view the full list of channels, see Channel descriptors. Notification channel types are globally unique.
#type=
def type=(value) -> ::String
- value (::String) — The type of notification channel, such as "email" and "sms". To view the full list of channels, see Channel descriptors. Notification channel types are globally unique.
- (::String) — The type of notification channel, such as "email" and "sms". To view the full list of channels, see Channel descriptors. Notification channel types are globally unique.