Method: projects.locations.notifications.get

Gets a notification.

HTTP request

GET https://advisorynotifications.googleapis.com/v1/{name=projects/*/locations/*/notifications/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.

Query parameters

Parameters
languageCode

string

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 Notification.

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 name resource:

  • advisorynotifications.notifications.get

For more information, see the IAM documentation.