# NotificationMessage

- [JSON representation](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1p1beta1/NotificationMessage#SCHEMA_REPRESENTATION)
- [Resource](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1p1beta1/NotificationMessage#Resource)
  - [JSON representation](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1p1beta1/NotificationMessage#Resource.SCHEMA_REPRESENTATION)

Security Command Center's Notification

| JSON representation |
|---|
| ``` { "notificationConfigName": string, "resource": { object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1p1beta1/NotificationMessage#Resource`) }, // Union field `event` can be only one of the following: "finding": { object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1p1beta1/organizations.sources.findings#Finding`) } // End of list of possible types for union field `event`. } ``` |

| Fields ||
|---|---|
| `notificationConfigName` | `string` Name of the notification config that generated current notification. |
| `resource` | ``object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1p1beta1/NotificationMessage#Resource`)`` The Cloud resource tied to the notification. |
| Union field `event`. Notification Event. `event` can be only one of the following: ||
| `finding` | ``object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1p1beta1/organizations.sources.findings#Finding`)`` If it's a Finding based notification config, this field will be populated. |

## Resource

Information related to the Google Cloud resource.

| JSON representation |
|---|
| ``` { "name": string, "project": string, "projectDisplayName": string, "parent": string, "parentDisplayName": string, "folders": [ { object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1p1beta1/Folder`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` The full resource name of the resource. See: <https://cloud.google.com/apis/design/resource_names#full_resource_name> |
| `project` | `string` The full resource name of project that the resource belongs to. |
| `projectDisplayName` | `string` The project id that the resource belongs to. |
| `parent` | `string` The full resource name of resource's parent. |
| `parentDisplayName` | `string` The human readable name of resource's parent. |
| `folders[]` | ``object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1p1beta1/Folder`)`` Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization. |