public class Monitoring.Projects.NotificationChannelDescriptors
extends java.lang.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(java.lang.String name)
Gets a single channel descriptor.
|
Monitoring.Projects.NotificationChannelDescriptors.List |
list(java.lang.String name)
Lists the descriptors for supported channel types.
|
public Monitoring.Projects.NotificationChannelDescriptors.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The channel type for which to execute the request. The format is
projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}.java.io.IOExceptionpublic Monitoring.Projects.NotificationChannelDescriptors.List list(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The REST resource name of the parent from which to retrieve the notification channel descriptors.
The expected syntax is:
projects/[PROJECT_ID]
Note that this names the parent container in
which to look for the descriptors; to retrieve a single descriptor by name, use the
GetNotificationChannelDescriptor operation, instead.java.io.IOException