- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Attribute#SCHEMA_REPRESENTATION)
- [Role](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Attribute#Role)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Attribute#Role.SCHEMA_REPRESENTATION)

Attribute is a container for generic entity attributes including common attributes across core entities (such as, user or asset). For example, Cloud is a generic entity attribute since it can apply to an asset (for example, a VM) or a user (for example, an identity service account).

| JSON representation |
|---|
| ``` { "cloud": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Cloud`) }, "labels": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Label`) } ], "permissions": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Permission`) } ], "roles": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Attribute#Role`) } ], "creationTime": string, "lastUpdateTime": string } ``` |

| Fields ||
|---|---|
| `cloud` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Cloud`)`` Cloud metadata attributes such as project ID, account ID, or organizational hierarchy. |
| `labels[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Label`)`` Set of labels for the entity. Should only be used for product labels (for example, Google Cloud resource labels or Azure AD sensitivity labels. shouldn't be used for arbitrary key-value mappings. |
| `permissions[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Permission`)`` System permissions for IAM entity (human principal, service account, group). |
| `roles[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Attribute#Role`)`` System IAM roles to be assumed by resources to use the role's permissions for access control. |
| `creationTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Time the resource or entity was created or provisioned. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `lastUpdateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Time the resource or entity was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

## Role

System role for resource access and modification.

| JSON representation |
|---|
| ``` { "name": string, "description": string, "type": enum (`Type`) } ``` |

| Fields ||
|---|---|
| `name` | `string` System role name for user. |
| `description` | `string` System role description for user. |
| `type` | ``enum (`Type`)`` System role type for well known roles. |