notifications
Creates, updates, deletes, gets or lists a notifications
resource.
Overview
Name | notifications |
Type | Resource |
Id | google.advisorynotifications.notifications |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}. |
createTime | string | Output only. Time the notification was created. |
messages | array | A list of messages in the notification. |
notificationType | string | Type of notification |
subject | object | A subject line of a notification. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, notificationsId, projectsId | Gets a notification. |
list | SELECT | locationsId, projectsId | Lists 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 }}';