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

The channel for which to execute the request. The format is projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID].

Authorization requires the following Google 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 Auth Guide.

Try it!

Send feedback about...

Stackdriver Monitoring