Method: projects.notificationChannels.get

Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method.

HTTP request

GET https://monitoring.googleapis.com/v3/{name}

Path parameters

Parameters
name

string

Required. The channel for which to execute the request. The format is:

projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]

Authorization requires the following IAM permission on the specified resource name:

  • monitoring.notificationChannels.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of NotificationChannel.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/monitoring
  • https://www.googleapis.com/auth/monitoring.read

For more information, see the Authentication Overview.