- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#SCHEMA_REPRESENTATION)
- [LegacyApiDynamicResultMetadata](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#LegacyApiDynamicResultMetadata)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#LegacyApiDynamicResultMetadata.SCHEMA_REPRESENTATION)
- [LegacyApiActionParameter](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#LegacyApiActionParameter)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#LegacyApiActionParameter.SCHEMA_REPRESENTATION)
- [CustomActionParameterType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#CustomActionParameterType)

| JSON representation |
|---|
| ``` { "name": string, "description": string, "script": string, "integrationIdentifier": string, "scriptResultName": string, "dynamicResultsMetadata": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#LegacyApiDynamicResultMetadata`) } ], "creator": string, "version": number, "parameters": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#LegacyApiActionParameter`) } ], "timeoutSeconds": string, "asyncPollingIntervalInSeconds": string, "totalIntervalTimeoutForAsyncInSeconds": string, "defaultResultValue": string, "integrationInstances": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiIntegrationInstanceDataModel`) } ], "id": string, "creationTimeUnixTimeInMs": string, "modificationTimeUnixTimeInMs": string, "additionalProperties": { string: string, ... }, "isEnabled": boolean, "isAsync": boolean, "hasJsonResult": boolean, "actionWidgetTemplateIdentifier": string, "actionType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ActionType`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The name of the action. |
| `description` | `string` Output only. The description of the action. |
| `script` | `string` Output only. The script of the action. |
| `integrationIdentifier` | `string` Output only. The integration identifier of the action. |
| `scriptResultName` | `string` Output only. The script result name of the action. |
| `dynamicResultsMetadata[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#LegacyApiDynamicResultMetadata`)`` Output only. The dynamic results metadata of the action. |
| `creator` | `string` Output only. The creator of the action. |
| `version` | `number` Output only. The version of the action. |
| `parameters[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#LegacyApiActionParameter`)`` Optional. The parameters of the action. |
| `timeoutSeconds` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The timeout seconds of the action. |
| `asyncPollingIntervalInSeconds` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The async polling interval in seconds of the action. |
| `totalIntervalTimeoutForAsyncInSeconds` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The total interval timeout for async in seconds of the action. |
| `defaultResultValue` | `string` Output only. The default result value of the action. |
| `integrationInstances[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiIntegrationInstanceDataModel`)`` Output only. The integration instances of the action. |
| `id` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The id. |
| `creationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The creation time unix time in ms. |
| `modificationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The modification time unix time in ms. |
| `additionalProperties` | `map (key: string, value: string)` Output only. The additional properties. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `isEnabled` | `boolean` Output only. Whether the action is enabled. |
| `isAsync` | `boolean` Output only. Whether the action is async. |
| `hasJsonResult` | `boolean` Output only. Whether the action has json result. |
| `actionWidgetTemplateIdentifier` | `string` Output only. The action widget template identifier of the action. |
| `actionType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ActionType`)`` Output only. Action type. |

## LegacyApiDynamicResultMetadata

The dynamic results metadata of the action.

| JSON representation |
|---|
| ``` { "resultName": string, "resultExample": string } ``` |

| Fields ||
|---|---|
| `resultName` | `string` Output only. The result name. |
| `resultExample` | `string` Output only. The result example. |

## LegacyApiActionParameter

The action parameter.

| JSON representation |
|---|
| ``` { "id": string, "creationTimeUnixTimeInMs": string, "modificationTimeUnixTimeInMs": string, "customActionId": string, "defaultValue": string, "description": string, "name": string, "value": string, "type": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#CustomActionParameterType`), "optionalValues": [ string ], "isMandatory": boolean } ``` |

| Fields ||
|---|---|
| `id` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The id. |
| `creationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The creation time unix time in ms. |
| `modificationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The modification time unix time in ms. |
| `customActionId` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The custom action id. |
| `defaultValue` | `string` Output only. The default value. |
| `description` | `string` Output only. The description. |
| `name` | `string` Output only. The name. |
| `value` | `string` Output only. The value. |
| `type` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyApiActionDefinitionDataModel#CustomActionParameterType`)`` Output only. The type. |
| `optionalValues[]` | `string` Output only. The optional values. |
| `isMandatory` | `boolean` Output only. Whether is mandatory. |

## CustomActionParameterType

Custom action parameter type.

| Enums ||
|---|---|
| `STRING` | String. |
| `BOOLEAN` | Boolean. |
| `WFS_REPOSITORY` | Playbooks. |
| `USER_REPOSITORY` | Users. |
| `STAGES_REPOSITORY` | Case stages. |
| `CLOSE_CASE_REASON_REPOSITORY` | Close case reasons. |
| `CLOSE_CASE_ROOT_CAUSE_REPOSITORY` | Close root causes. |
| `PRIORITIES_REPOSITORY` | Case priorities. |
| `EMAIL_CONTENT` | Email Content. |
| `CONTENT` | Content. |
| `PASSWORD` | Password. |
| `ENTITY_TYPE` | Entity Type. |
| `MULTI_VALUES` | Multi Values. |
| `LIST` | List. |
| `CODE` | Code. |
| `TIME_SPAN_SECONDS` | TimeSpanSeconds. |
| `MULTIPLE_CHOICE_PARAMETER` | MultipleChoiceParameter. |