- [Resource: DataAccessLabel](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dataAccessLabels#DataAccessLabel)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dataAccessLabels#DataAccessLabel.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dataAccessLabels#METHODS_SUMMARY)

## Resource: DataAccessLabel

A DataAccessLabel is a label on events to define user access to data.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "createTime": string, "updateTime": string, "author": string, "lastEditor": string, "description": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "udmQuery": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `name` | `string` The unique resource name of the data access label. |
| `displayName` | `string` Output only. The short name displayed for the label as it appears on event data. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time at which the data access label was created. 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"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time at which the data access label 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"`. |
| `author` | `string` Output only. The user who created the data access label. |
| `lastEditor` | `string` Output only. The user who last updated the data access label. |
| `description` | `string` Optional. A description of the data access label for a human reader. |
| Required. The definition of the data access label that determines which data gets tagged with this label. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `udmQuery` | `string` A UDM query over event data. |
| End of mutually exclusive fields. ||

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dataAccessLabels/create` | Creates a data access label. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dataAccessLabels/delete` | Deletes a data access label. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dataAccessLabels/get` | Gets a data access label. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dataAccessLabels/list` | Lists all data access labels for the customer. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dataAccessLabels/patch` | Updates a data access label. |