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 Cloud 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NotificationChannelDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
NotificationChannelDescriptor |
clone() |
String |
getDescription()
A human-readable description of the notification channel type.
|
String |
getDisplayName()
A human-readable name for the notification channel type.
|
List<LabelDescriptor> |
getLabels()
The set of labels that must be defined to identify a particular channel of the corresponding
type.
|
String |
getLaunchStage()
The product launch stage for channels of this type.
|
String |
getName()
The full REST resource name for this descriptor.
|
List<String> |
getSupportedTiers()
The tiers that support this notification channel; the project service tier must be one of the
supported_tiers.
|
String |
getType()
The type of notification channel, such as "email" and "sms".
|
NotificationChannelDescriptor |
set(String fieldName,
Object value) |
NotificationChannelDescriptor |
setDescription(String description)
A human-readable description of the notification channel type.
|
NotificationChannelDescriptor |
setDisplayName(String displayName)
A human-readable name for the notification channel type.
|
NotificationChannelDescriptor |
setLabels(List<LabelDescriptor> labels)
The set of labels that must be defined to identify a particular channel of the corresponding
type.
|
NotificationChannelDescriptor |
setLaunchStage(String launchStage)
The product launch stage for channels of this type.
|
NotificationChannelDescriptor |
setName(String name)
The full REST resource name for this descriptor.
|
NotificationChannelDescriptor |
setSupportedTiers(List<String> supportedTiers)
The tiers that support this notification channel; the project service tier must be one of the
supported_tiers.
|
NotificationChannelDescriptor |
setType(String type)
The type of notification channel, such as "email" and "sms".
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDescription()
null for nonepublic NotificationChannelDescriptor setDescription(String description)
description - description or null for nonepublic String getDisplayName()
null for nonepublic NotificationChannelDescriptor setDisplayName(String displayName)
displayName - displayName or null for nonepublic List<LabelDescriptor> getLabels()
null for nonepublic NotificationChannelDescriptor setLabels(List<LabelDescriptor> labels)
labels - labels or null for nonepublic String getLaunchStage()
null for nonepublic NotificationChannelDescriptor setLaunchStage(String launchStage)
launchStage - launchStage or null for nonepublic String getName()
null for nonepublic NotificationChannelDescriptor setName(String name)
name - name or null for nonepublic List<String> getSupportedTiers()
null for nonepublic NotificationChannelDescriptor setSupportedTiers(List<String> supportedTiers)
supportedTiers - supportedTiers or null for nonepublic String getType()
null for nonepublic NotificationChannelDescriptor setType(String type)
type - type or null for nonepublic NotificationChannelDescriptor set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic NotificationChannelDescriptor clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.