# CaseAssistantWidget

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#SCHEMA_REPRESENTATION)
- [AiCaseAssistantStatus](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#AiCaseAssistantStatus)
- [CaseAssistantSummaryData](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantSummaryData)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantSummaryData.SCHEMA_REPRESENTATION)
- [CaseAssistantType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantType)
- [CaseAssistantReasonsData](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantReasonsData)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantReasonsData.SCHEMA_REPRESENTATION)
- [CaseAssistantNextStepsData](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantNextStepsData)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantNextStepsData.SCHEMA_REPRESENTATION)

Case assistant widget.

| JSON representation |
|---|
| ``` { "state": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#AiCaseAssistantStatus`), "summaryPrediction": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantSummaryData`) }, "reasonsPrediction": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantReasonsData`) }, "nextStepsPrediction": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantNextStepsData`) }, "alertsCount": integer, "eventsCount": integer, "entitiesCount": integer, "environment": string, "modificationTimeUnixTimeInMs": string, "title": string, "order": integer, "type": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetTemplateType`), "gridColumns": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetTemplateGridColumns`), "description": string, "identifier": string, "jsonData": string, "errorJsonData": string, "resultStatus": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetResultStatus`), "investigationNotebookId": string } ``` |

| Fields ||
|---|---|
| `state` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#AiCaseAssistantStatus`)`` Output only. The widget state. |
| `summaryPrediction` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantSummaryData`)`` Output only. The summary prediction. |
| `reasonsPrediction` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantReasonsData`)`` Output only. The case assistant reasons data. |
| `nextStepsPrediction` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantNextStepsData`)`` Output only. The case assistant next steps prediction data. |
| `alertsCount` | `integer` Output only. The number of alerts in the case. |
| `eventsCount` | `integer` Output only. The number of events in the case. |
| `entitiesCount` | `integer` Output only. The number of entities in the case. |
| `environment` | `string` Output only. The environment of the case. |
| `modificationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The case modification time in milliseconds. |
| `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/v1/WidgetTemplateType`)`` Output only. The widget template type. |
| `gridColumns` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/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/v1/WidgetResultStatus`)`` Output only. The widget result status. |
| `investigationNotebookId` | `string` Output only. The investigation notebook id. |

## AiCaseAssistantStatus

AI Case assistant widget status.

| Enums ||
|---|---|
| `AI_CASE_ASSISTANT_STATUS_UNSPECIFIED` | Unspecified AI case assistant widget status. |
| `PENDING_START` | AI case assistant widget is pending start. |
| `IN_PROGRESS` | AI case assistant widget is in progress. |
| `SUCCESSFUL` | AI case assistant widget is successful. |
| `AI_CASE_ASSISTANT_ERROR` | AI case assistant widget is error. |

## CaseAssistantSummaryData

Case assistant summary data.

| JSON representation |
|---|
| ``` { "caseSummary": string, "caseSummaryId": integer, "caseAssistantType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantType`) } ``` |

| Fields ||
|---|---|
| `caseSummary` | `string` Output only. The case summary. |
| `caseSummaryId` | `integer` Output only. The case summary id. |
| `caseAssistantType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantType`)`` Output only. The case assistant type. |

## CaseAssistantType

Case assistant type.

| Enums ||
|---|---|
| `CASE_ASSISTANT_TYPE_UNSPECIFIED` | Unspecified case assistant type. |
| `THREAT_SUMMARY` | Case assistant type is summary. |
| `RECOMMENDATION_REASONS` | Case assistant type is recommendation. |
| `RECOMMENDATION_NEXT_STEPS` | Case assistant type is recommendation next steps. |

## CaseAssistantReasonsData

Case assistant reasons data.

| JSON representation |
|---|
| ``` { "reasons": [ string ], "score": number, "caseSummaryId": integer, "caseAssistantType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantType`) } ``` |

| Fields ||
|---|---|
| `reasons[]` | `string` Output only. The case assistant reasons. |
| `score` | `number` Output only. The case assistant score. |
| `caseSummaryId` | `integer` Output only. The case summary id. |
| `caseAssistantType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantType`)`` Output only. The case assistant type. |

## CaseAssistantNextStepsData

Case assistant next steps data.

| JSON representation |
|---|
| ``` { "nextSteps": [ string ], "caseSummaryId": integer, "caseAssistantType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantType`) } ``` |

| Fields ||
|---|---|
| `nextSteps[]` | `string` Output only. The case assistant next steps. |
| `caseSummaryId` | `integer` Output only. The case summary id. |
| `caseAssistantType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/CaseAssistantWidget#CaseAssistantType`)`` Output only. The case assistant type. |