public final class NotificationChannelDescriptor
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Stackdriver Monitoring API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
NotificationChannelDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
NotificationChannelDescriptor |
clone() |
java.lang.String |
getDescription()
A human-readable description of the notification channel type.
|
java.lang.String |
getDisplayName()
A human-readable name for the notification channel type.
|
java.util.List<LabelDescriptor> |
getLabels()
The set of labels that must be defined to identify a particular channel of the corresponding
type.
|
java.lang.String |
getName()
The full REST resource name for this descriptor.
|
java.util.List<java.lang.String> |
getSupportedTiers()
The tiers that support this notification channel; the project service tier must be one of the
supported_tiers.
|
java.lang.String |
getType()
The type of notification channel, such as "email", "sms", etc.
|
NotificationChannelDescriptor |
set(java.lang.String fieldName,
java.lang.Object value) |
NotificationChannelDescriptor |
setDescription(java.lang.String description)
A human-readable description of the notification channel type.
|
NotificationChannelDescriptor |
setDisplayName(java.lang.String displayName)
A human-readable name for the notification channel type.
|
NotificationChannelDescriptor |
setLabels(java.util.List<LabelDescriptor> labels)
The set of labels that must be defined to identify a particular channel of the corresponding
type.
|
NotificationChannelDescriptor |
setName(java.lang.String name)
The full REST resource name for this descriptor.
|
NotificationChannelDescriptor |
setSupportedTiers(java.util.List<java.lang.String> supportedTiers)
The tiers that support this notification channel; the project service tier must be one of the
supported_tiers.
|
NotificationChannelDescriptor |
setType(java.lang.String type)
The type of notification channel, such as "email", "sms", etc.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getDescription()
null for nonepublic NotificationChannelDescriptor setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getDisplayName()
null for nonepublic NotificationChannelDescriptor setDisplayName(java.lang.String displayName)
displayName - displayName or null for nonepublic java.util.List<LabelDescriptor> getLabels()
null for nonepublic NotificationChannelDescriptor setLabels(java.util.List<LabelDescriptor> labels)
labels - labels or null for nonepublic java.lang.String getName()
null for nonepublic NotificationChannelDescriptor setName(java.lang.String name)
name - name or null for nonepublic java.util.List<java.lang.String> getSupportedTiers()
null for nonepublic NotificationChannelDescriptor setSupportedTiers(java.util.List<java.lang.String> supportedTiers)
supportedTiers - supportedTiers or null for nonepublic java.lang.String getType()
null for nonepublic NotificationChannelDescriptor setType(java.lang.String type)
type - type or null for nonepublic NotificationChannelDescriptor set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic NotificationChannelDescriptor clone()
clone in class com.google.api.client.json.GenericJson