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

General information associated with a UDM event.

| JSON representation |
|---|
| ``` { "id": string, "productLogId": string, "eventTimestamp": string, "eventTimestampAttributes": [ enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EventTimestampAttribute`) ], "collectedTimestamp": string, "ingestedTimestamp": string, "eventType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EventType`), "vendorName": string, "productName": string, "productVersion": string, "productEventType": string, "productDeploymentId": string, "description": string, "urlBackToProduct": string, "ingestionLabels": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Label`) } ], "tags": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Metadata#Tags`) }, "enrichmentState": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EnrichmentState`), "logType": string, "baseLabels": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/DataAccessLabels`) }, "enrichmentLabels": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/DataAccessLabels`) }, "structuredFields": { object }, "parserVersion": string } ``` |

| Fields ||
|---|---|
| `id` | `string (https://developers.google.com/discovery/v1/type-format format)` ID of the UDM event. Can be used for raw and normalized event retrieval. A base64-encoded string. |
| `productLogId` | `string` A vendor-specific event identifier to uniquely identify the event (e.g. a GUID). |
| `eventTimestamp` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The GMT timestamp when the event was generated. 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"`. |
| `eventTimestampAttributes[]` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EventTimestampAttribute`)`` Attributes associated with eventTimestamp. This field is used to distinguish between different types of timestamps that can be used to represent the eventTimestamp. |
| `collectedTimestamp` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The GMT timestamp when the event was collected by the vendor's local collection infrastructure. 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"`. |
| `ingestedTimestamp` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The GMT timestamp when the event was ingested (received) by Google SecOps. 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"`. |
| `eventType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EventType`)`` The event type. If an event has multiple possible types, this specifies the most specific type. |
| `vendorName` | `string` The name of the product vendor. |
| `productName` | `string` The name of the product. |
| `productVersion` | `string` The version of the product. |
| `productEventType` | `string` A short, descriptive, human-readable, product-specific event name or type (e.g. "Scanned X", "User account created", "process_start"). |
| `productDeploymentId` | `string` The deployment identifier assigned by the vendor for a product deployment. |
| `description` | `string` A human-readable unparsable description of the event. |
| `urlBackToProduct` | `string` A URL that takes the user to the source product console for this event. |
| `ingestionLabels[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Label`)`` User-configured ingestion metadata labels. |
| `tags` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Metadata#Tags`)`` Tags added by Google SecOps after an event is parsed. It is an error to populate this field from within a parser. |
| `enrichmentState` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EnrichmentState`)`` The enrichment state. |
| `logType` | `string` The string value of log type. |
| `baseLabels` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/DataAccessLabels`)`` Data access labels on the base event. |
| `enrichmentLabels` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/DataAccessLabels`)`` Data access labels from all the contextual events used to enrich the base event. |
| `structuredFields (deprecated)` | ``object (`https://protobuf.dev/reference/protobuf/google.protobuf#struct` format)`` > [!WARNING] > This item is deprecated! Flattened fields extracted from the log. |
| `parserVersion` | `string` The version of the parser that generated this UDM event. |

## Tags

Tags are event metadata which is set by examining event contents post-parsing. For example, a UDM event may be assigned a tenantId based on certain customer-defined parameters.

| JSON representation |
|---|
| ``` { "tenantId": [ string ], "dataTapConfigName": [ string ] } ``` |

| Fields ||
|---|---|
| `tenantId[]` | `string (https://developers.google.com/discovery/v1/type-format format)` A list of subtenant ids that this event belongs to. A base64-encoded string. |
| `dataTapConfigName[]` | `string` A list of sink name values defined in DataTap configurations. |