- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Lists notifications under a given parent.
HTTP request
GET https://advisorynotifications.googleapis.com/v1/{parent=projects/*/locations/*}/notifications
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}". |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50. |
pageToken |
A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token. |
view |
Specifies which parts of the notification resource should be returned in the response. |
languageCode |
ISO code for requested localization language. If unset, will be interpereted as "en". If the requested language is valid, but not supported for this notification, English will be returned with an "Not applicable" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListNotificationsResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
advisorynotifications.notifications.list
For more information, see the IAM documentation.