# KeyValueWidget

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

Key value widget.

| JSON representation |
|---|
| ``` { "keyValues": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/KeyValueWidget#KeyValueStatistics`) } ], "title": string, "order": integer, "type": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/WidgetTemplateType`), "gridColumns": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/WidgetTemplateGridColumns`), "description": string, "identifier": string, "jsonData": string, "errorJsonData": string, "resultStatus": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/WidgetResultStatus`) } ``` |

| Fields ||
|---|---|
| `keyValues[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/KeyValueWidget#KeyValueStatistics`)`` Output only. The key value statistics. |
| `title` | `string` Output only. The widget title. |
| `order` | `integer` Output only. The widget order. |
| `type` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/WidgetTemplateType`)`` Output only. The widget template type. |
| `gridColumns` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/WidgetTemplateGridColumns`)`` Output only. The widget template grid columns. |
| `description` | `string` Output only. The widget description. |
| `identifier` | `string` Output only. The widget identifier. |
| `jsonData` | `string` Output only. The widget json data. |
| `errorJsonData` | `string` Output only. The widget error json data. |
| `resultStatus` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1beta/WidgetResultStatus`)`` Output only. The widget result status. |

## KeyValueStatistics

Key value statistics.

| JSON representation |
|---|
| ``` { "key": string, "commonValue": string, "values": [ string ], "commonValueCount": integer, "totalValuesCount": integer, "order": integer } ``` |

| Fields ||
|---|---|
| `key` | `string` Output only. The key. |
| `commonValue` | `string` Output only. The common value. |
| `values[]` | `string` Output only. The values. |
| `commonValueCount` | `integer` Output only. The common value count. |
| `totalValuesCount` | `integer` Output only. The total values count. |
| `order` | `integer` Output only. The key value statistics order. |