- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the notification channels that have been created for the project. To list the types of notification channels that are supported, use the notificationChannelDescriptors.list
method.
HTTP request
GET https://monitoring.googleapis.com/v3/{name}/notificationChannels
Path parameters
Parameters | |
---|---|
name |
Required. The project on which to execute the request. The format is:
This names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
filter |
Optional. If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see sorting and filtering. |
order |
Optional. A comma-separated list of fields by which to sort the result. Supports the same set of fields as in For more details, see sorting and filtering. |
page |
Optional. The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service. |
page |
Optional. If non-empty, |
Request body
The request body must be empty.
Response body
The notificationChannels.list
response.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"notificationChannels": [
{
object ( |
Fields | |
---|---|
notification |
The notification channels defined for the specified project. |
next |
If not empty, indicates that there may be more results that match the request. Use the value in the |
total |
The total number of notification channels in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158 |
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.