Skip to main content

notifications

Creates, updates, deletes, gets or lists a notifications resource.

Overview

Namenotifications
TypeResource
Idgoogle.advisorynotifications.notifications

Fields

NameDatatypeDescription
namestringThe resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.
createTimestringOutput only. Time the notification was created.
messagesarrayA list of messages in the notification.
notificationTypestringType of notification
subjectobjectA subject line of a notification.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, notificationsId, projectsIdGets a notification.
listSELECTlocationsId, projectsIdLists notifications under a given parent.

SELECT examples

Lists notifications under a given parent.

SELECT
name,
createTime,
messages,
notificationType,
subject
FROM google.advisorynotifications.notifications
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';