Class ProjectsResource.NotificationChannelDescriptorsResource
The "notificationChannelDescriptors" collection of methods.
Inherited Members
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ProjectsResource.NotificationChannelDescriptorsResource
Constructors
NotificationChannelDescriptorsResource(IClientService)
Constructs a new resource.
Declaration
public NotificationChannelDescriptorsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Gets a single channel descriptor. The descriptor indicates which fields are expected / permitted for a notification channel of the given type.
Declaration
public virtual ProjectsResource.NotificationChannelDescriptorsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The channel type for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE] |
Returns
Type | Description |
---|---|
ProjectsResource.NotificationChannelDescriptorsResource.GetRequest |
List(string)
Lists the descriptors for supported channel types. The use of descriptors makes it possible for new channel types to be dynamically added.
Declaration
public virtual ProjectsResource.NotificationChannelDescriptorsResource.ListRequest List(string name)
Parameters
Type | Name | Description |
---|---|---|
string | 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. |
Returns
Type | Description |
---|---|
ProjectsResource.NotificationChannelDescriptorsResource.ListRequest |