# Event

> **Package : spaceone.api.monitoring.plugin**

## Event

{% hint style="info" %}
**Event Methods:**
{% endhint %}

| NO | Method              | Request Type                  | Response Type             | Description |
| -- | ------------------- | ----------------------------- | ------------------------- | ----------- |
| 1  | [**parse**](#parse) | [ParseRequest](#parserequest) | [EventsInfo](#eventsinfo) |             |

### parse

| Type     | Message                       |
| -------- | ----------------------------- |
| Request  | [ParseRequest](#parserequest) |
| Response | [EventsInfo](#eventsinfo)     |

## Message

### EventInfo

| No | Field            | Type                                                                                                                | Description |
| -- | ---------------- | ------------------------------------------------------------------------------------------------------------------- | ----------- |
| 1  | event\_key       | string                                                                                                              |             |
| 2  | event\_type      | string                                                                                                              |             |
| 3  | title            | string                                                                                                              |             |
| 4  | description      | string                                                                                                              |             |
| 5  | severity         | <ul><li>SEVERITY\_NONE</li><li>CRITICAL</li><li>ERROR</li><li>WARNING</li><li>INFO</li><li>NOT\_AVAILABLE</li></ul> |             |
| 6  | resource         | [google.protobuf.Struct](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto)  |             |
| 7  | rule             | string                                                                                                              |             |
| 8  | occurred\_at     | string                                                                                                              |             |
| 9  | additional\_info | [google.protobuf.Struct](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto)  |             |

### EventsInfo

| No | Field   | Type                            | Description |
| -- | ------- | ------------------------------- | ----------- |
| 1  | results | [list of EventInfo](#eventinfo) |             |

### ParseRequest

| No | Field   | Type                                                                                                               | Required | Description                                       |
| -- | ------- | ------------------------------------------------------------------------------------------------------------------ | :------: | ------------------------------------------------- |
| 1  | options | [google.protobuf.Struct](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto) |     ✅    |                                                   |
| 2  | data    | [google.protobuf.Struct](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/struct.proto) |     ✅    | Unpredictable data format that comes from Webhook |
