# EntryMetadata

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/EntryMetadata#SCHEMA_REPRESENTATION)
- [SharingMode](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/EntryMetadata#SharingMode)

Metadata necessary for storage in the UserDataService backend.

| JSON representation |
|---|
| ``` { "sharingMode": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/EntryMetadata#SharingMode`), "createTime": string, "updateTime": string } ``` |

| Fields ||
|---|---|
| `sharingMode` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/EntryMetadata#SharingMode`)`` Optional. Whether other users in the same customer can read the entry. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Optional. The time that the entry 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)`` Optional. The last time the entry was 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"`. |

## SharingMode

Specifies how a resource is shared with other users.

| Enums ||
|---|---|
| `MODE_PRIVATE` | Only the user who created the resource can read it. |
| `MODE_SHARED_WITH_CUSTOMER` | Other users within the same customer can read the resource. |