# REST Resource: projects.locations.notifications

- [Resource: Notification](https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/projects.locations.notifications#Notification)
  - [JSON representation](https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/projects.locations.notifications#Notification.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/projects.locations.notifications#METHODS_SUMMARY)

## Resource: Notification

A notification object for notifying customers about security and privacy issues.

| JSON representation |
|---|
| ``` { "name": string, "subject": { object (`https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/organizations.locations.notifications#Notification.Subject`) }, "messages": [ { object (`https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/organizations.locations.notifications#Notification.Message`) } ], "createTime": string, "notificationType": enum (`https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/organizations.locations.notifications#Notification.NotificationType`) } ``` |

| Fields ||
|---|---|
| `name` | `string` The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}. |
| `subject` | ``object (`https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/organizations.locations.notifications#Notification.Subject`)`` The subject line of the notification. |
| `messages[]` | ``object (`https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/organizations.locations.notifications#Notification.Message`)`` A list of messages in the notification. |
| `createTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Output only. Time the notification was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `notificationType` | ``enum (`https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/organizations.locations.notifications#Notification.NotificationType`)`` Type of notification |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/projects.locations.notifications/get` | Gets a notification. |
| ### `https://docs.cloud.google.com/advisory-notifications/docs/reference/rest/v1/projects.locations.notifications/list` | Lists notifications under a given parent. |