v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1331113.4 KB
projects

Lists notifications under a given parent.

get/v1/{+parent}/notifications

Path parameters

parentstring required

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

languageCodestring

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.

pageSizeinteger

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.

pageTokenstring

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'NOTIFICATION_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL'

Specifies which parts of the notification resource should be returned in the response.

Response

Successful response