NotificationChannelDescriptor class
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.
Constructors
Properties
- description ↔ 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.
read / write
- displayName ↔ String
-
A human-readable name for the notification channel type. This form of the
name is suitable for a user interface.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
labels
↔ List<
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.
read / write
- launchStage ↔ String
-
The product launch stage for channels of this type.
Possible string values are: [...]
read / write
- name ↔ 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.read / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type ↔ 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.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited