# REST Resource: projects.locations.providers.connectors.versions.eventtypes

- [Resource: EventType](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.providers.connectors.versions.eventtypes#EventType)
  - [JSON representation](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.providers.connectors.versions.eventtypes#EventType.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.providers.connectors.versions.eventtypes#METHODS_SUMMARY)

## Resource: EventType

EventType includes fields.

| JSON representation |
|---|
| ``` { "name": string, "eventTypeId": string, "createTime": string, "updateTime": string, "eventPayloadSchema": string, "entityType": string, "idPath": string, "enrichedEventPayloadSchema": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Resource name of the eventtype. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}/eventtypes/{eventtype} Only global location is supported for Connector resource. |
| `eventTypeId` | `string` Output only. Event type id. Example: `ticket.created`. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Created time. Uses RFC 3339, where generated output will always be Z-normalized and uses 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. Updated time. Uses RFC 3339, where generated output will always be Z-normalized and uses 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"`. |
| `eventPayloadSchema` | `string` Output only. Schema of webhook event payload. |
| `entityType` | `string` Output only. Runtime entity type name. Will be null if entity type map is not available. Used for read before send feature. |
| `idPath` | `string` Output only. Id path denotes the path of id in webhook payload. |
| `enrichedEventPayloadSchema` | `string` Output only. Schema of the event payload after enriched. Will be null if read before send is not supported. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.providers.connectors.versions.eventtypes/get` | Gets details of a single event type. |
| ### `https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.providers.connectors.versions.eventtypes/list` | Lists Event Types in a given Connector Version. |