# EventTypeArray

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.EventTypeArray/

Struct for an array of event types.

- **Full name:** `MFiles.EventTypeArray`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-event_types"></a>`event_types` | repeated [`EventType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.EventType/index.md) | 1 | The event types. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCEventsAdmin.GetEventLogFilterRecord](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/GetEventLogFilterRecord/index.md): Gets the conditions of the calling user's default event log filter.
- [IRPCEventsAdmin.GetEventsRange](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/GetEventsRange/index.md): Gets events by ID range and filters, oldest or newest first, with an optional maximum count.

<a id="used-in-fields"></a>

## Used in fields

- [`EventLogFilterCondition.event_types`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.EventLogFilterCondition/index.md#f-event_types): Event Types in Filter View.
- [`GetEventsRangeRequest.event_types`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/GetEventsRange/index.md#request): Only events of these types; empty for all types.
- [`GetEventsRangeResponse.disabled_event_types`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/GetEventsRange/index.md#response): The event types that the vault's settings exclude from logging, so their absence from the results does not mean nothing happened.
- [`GetEventLogFilterRecordResponse.event_types`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/GetEventLogFilterRecord/index.md#response): Event Types in Filter View.
