| Package | Description |
|---|---|
| com.google.api.services.monitoring.v3 | |
| com.google.api.services.monitoring.v3.model |
| Modifier and Type | Method and Description |
|---|---|
Monitoring.Projects.NotificationChannels.Create |
Monitoring.Projects.NotificationChannels.create(java.lang.String name,
NotificationChannel content)
Creates a new notification channel, representing a single notification endpoint such as an email
address, SMS number, or pagerduty service.
|
Monitoring.Projects.NotificationChannels.Patch |
Monitoring.Projects.NotificationChannels.patch(java.lang.String name,
NotificationChannel content)
Updates a notification channel.
|
| Constructor and Description |
|---|
Create(java.lang.String name,
NotificationChannel content)
Creates a new notification channel, representing a single notification endpoint such as an
email address, SMS number, or pagerduty service.
|
Patch(java.lang.String name,
NotificationChannel content)
Updates a notification channel.
|
| Modifier and Type | Method and Description |
|---|---|
NotificationChannel |
NotificationChannel.clone() |
NotificationChannel |
NotificationChannel.set(java.lang.String fieldName,
java.lang.Object value) |
NotificationChannel |
NotificationChannel.setDescription(java.lang.String description)
An optional human-readable description of this notification channel.
|
NotificationChannel |
NotificationChannel.setDisplayName(java.lang.String displayName)
An optional human-readable name for this notification channel.
|
NotificationChannel |
NotificationChannel.setEnabled(java.lang.Boolean enabled)
Whether notifications are forwarded to the described channel.
|
NotificationChannel |
NotificationChannel.setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
Configuration fields that define the channel and its behavior.
|
NotificationChannel |
NotificationChannel.setName(java.lang.String name)
The full REST resource name for this channel.
|
NotificationChannel |
NotificationChannel.setType(java.lang.String type)
The type of the notification channel.
|
NotificationChannel |
NotificationChannel.setUserLabels(java.util.Map<java.lang.String,java.lang.String> userLabels)
User-supplied key/value data that does not need to conform to the corresponding
NotificationChannelDescriptor's schema, unlike the labels field.
|
NotificationChannel |
NotificationChannel.setVerificationStatus(java.lang.String verificationStatus)
Indicates whether this channel has been verified or not.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NotificationChannel> |
ListNotificationChannelsResponse.getNotificationChannels()
The notification channels defined for the specified project.
|
| Modifier and Type | Method and Description |
|---|---|
ListNotificationChannelsResponse |
ListNotificationChannelsResponse.setNotificationChannels(java.util.List<NotificationChannel> notificationChannels)
The notification channels defined for the specified project.
|