public class Monitoring.Projects.NotificationChannelDescriptors extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Monitoring.Projects.NotificationChannelDescriptors.Get |
class |
Monitoring.Projects.NotificationChannelDescriptors.List |
| Constructor and Description |
|---|
NotificationChannelDescriptors() |
| Modifier and Type | Method and Description |
|---|---|
Monitoring.Projects.NotificationChannelDescriptors.Get |
get(String name)
Gets a single channel descriptor.
|
Monitoring.Projects.NotificationChannelDescriptors.List |
list(String name)
Lists the descriptors for supported channel types.
|
public Monitoring.Projects.NotificationChannelDescriptors.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The channel type for which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]IOExceptionpublic Monitoring.Projects.NotificationChannelDescriptors.List list(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The REST resource name of the parent from which to retrieve the notification channel
descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this names
(https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to
look for the descriptors; to retrieve a single descriptor by name, use the
GetNotificationChannelDescriptor operation, instead.IOExceptionCopyright © 2011–2025 Google. All rights reserved.