| 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(String name,
NotificationChannel content)
Creates a new notification channel, representing a single notification endpoint such as an email
address, SMS number, or PagerDuty service.Design your application to single-thread API calls that
modify the state of notification channels in a single project.
|
Monitoring.Projects.NotificationChannels.Patch |
Monitoring.Projects.NotificationChannels.patch(String name,
NotificationChannel content)
Updates a notification channel.
|
| Constructor and Description |
|---|
Create(String name,
NotificationChannel content)
Creates a new notification channel, representing a single notification endpoint such as an
email address, SMS number, or PagerDuty service.Design your application to single-thread API
calls that modify the state of notification channels in a single project.
|
Patch(String name,
NotificationChannel content)
Updates a notification channel.
|
| Modifier and Type | Method and Description |
|---|---|
NotificationChannel |
NotificationChannel.clone() |
NotificationChannel |
NotificationChannel.set(String fieldName,
Object value) |
NotificationChannel |
NotificationChannel.setCreationRecord(MutationRecord creationRecord)
Record of the creation of this channel.
|
NotificationChannel |
NotificationChannel.setDescription(String description)
An optional human-readable description of this notification channel.
|
NotificationChannel |
NotificationChannel.setDisplayName(String displayName)
An optional human-readable name for this notification channel.
|
NotificationChannel |
NotificationChannel.setEnabled(Boolean enabled)
Whether notifications are forwarded to the described channel.
|
NotificationChannel |
NotificationChannel.setLabels(Map<String,String> labels)
Configuration fields that define the channel and its behavior.
|
NotificationChannel |
NotificationChannel.setMutationRecords(List<MutationRecord> mutationRecords)
Records of the modification of this channel.
|
NotificationChannel |
NotificationChannel.setName(String name)
Identifier.
|
NotificationChannel |
NotificationChannel.setType(String type)
The type of the notification channel.
|
NotificationChannel |
NotificationChannel.setUserLabels(Map<String,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(String verificationStatus)
Indicates whether this channel has been verified or not.
|
| Modifier and Type | Method and Description |
|---|---|
List<NotificationChannel> |
ListNotificationChannelsResponse.getNotificationChannels()
The notification channels defined for the specified project.
|
| Modifier and Type | Method and Description |
|---|---|
ListNotificationChannelsResponse |
ListNotificationChannelsResponse.setNotificationChannels(List<NotificationChannel> notificationChannels)
The notification channels defined for the specified project.
|
Copyright © 2011–2025 Google. All rights reserved.