# ApiWorkflowStepDataModel

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#SCHEMA_REPRESENTATION)
- [WorkflowStepTypeValue](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#WorkflowStepTypeValue)
- [ApiWorkflowStepDebugDataModel](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#ApiWorkflowStepDebugDataModel)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#ApiWorkflowStepDebugDataModel.SCHEMA_REPRESENTATION)
- [ApiEnrichmentData](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#ApiEnrichmentData)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#ApiEnrichmentData.SCHEMA_REPRESENTATION)

ApiWorkflowStepDataModel represents a workflow step.

| JSON representation |
|---|
| ``` { "id": string, "creationTimeUnixTimeInMs": string, "modificationTimeUnixTimeInMs": string, "additionalProperties": { string: string, ... }, "identifier": string, "originalStepIdentifier": string, "instanceName": string, "name": string, "integration": string, "description": string, "actionProvider": string, "actionName": string, "type": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#WorkflowStepTypeValue`), "parameters": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepParameterDataModel`) } ], "debugData": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#ApiWorkflowStepDebugDataModel`) }, "parentStepContainerId": string, "workflowIdentifier": string, "startLoopStepIdentifier": string, "parallelActions": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel`) } ], "isAutomatic": boolean, "isSkippable": boolean, "autoSkipOnFailure": boolean, "isDebugMockData": boolean, "isTouchedByAi": boolean } ``` |

| Fields ||
|---|---|
| `id` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. Id is the unique identifier of the data model object. |
| `creationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. CreationTimeUnixTimeInMs is the creation time of the data model object. Represents DateTime CreationTimeUnixTimeInMs as unix time |
| `modificationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. ModificationTimeUnixTimeInMs is the modification time of the data model object. Represents DateTime ModificationTimeUnixTimeInMs as unix time |
| `additionalProperties` | `map (key: string, value: string)` Optional. AdditionalProperties is a map of additional properties for the data model object. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `identifier` | `string` Required. Identifier is the unique identifier of the step. |
| `originalStepIdentifier` | `string` Required. OriginalStepIdentifier is the original identifier of the step. |
| `instanceName` | `string` Required. InstanceName is the name of the instance. |
| `name` | `string` Required. Name is the name of the step. |
| `integration` | `string` Required. Integration is the integration of the step. |
| `description` | `string` Required. Description is the description of the step. |
| `actionProvider` | `string` Required. ActionProvider is the provider of the action. |
| `actionName` | `string` Required. ActionName is the name of the action. |
| `type` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#WorkflowStepTypeValue`)`` Required. Type is the type of the step. |
| `parameters[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepParameterDataModel`)`` Optional. Parameters is a list of parameters for the step. |
| `debugData` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#ApiWorkflowStepDebugDataModel`)`` Optional. DebugData is the debug data for the step. |
| `parentStepContainerId` | `string` Optional. ParentStepContainerId is the identifier of the parent step container. |
| `workflowIdentifier` | `string` Optional. WorkflowIdentifier is the identifier of the workflow. |
| `startLoopStepIdentifier` | `string` Optional. StartLoopStepIdentifier is the identifier of the start loop step. |
| `parallelActions[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel`)`` Optional. ParallelActions is a list of parallel actions for the step. |
| `isAutomatic` | `boolean` Optional. IsAutomatic indicates if the step is automatic. |
| `isSkippable` | `boolean` Optional. IsSkippable indicates if the step is skippable. |
| `autoSkipOnFailure` | `boolean` Optional. AutoSkipOnFailure indicates if the step should be skipped on failure. |
| `isDebugMockData` | `boolean` Optional. IsDebugMockData indicates if debug mock data is enabled for the step. |
| `isTouchedByAi` | `boolean` Optional. IsTouchedByAi indicates whether the step is touched by AI. |

## WorkflowStepTypeValue

WorkflowStepTypeValue represents the type of a workflow step.

| Enums ||
|---|---|
| `WORKFLOW_STEP_TYPE_VALUE_UNSPECIFIED` | The type is unspecified. |
| `ACTION` | The type is action. |
| `MULTI_CHOICE_QUESTION` | The type is multi choice question. |
| `PREVIOUS_ACTION` | The type is previous action. |
| `CASE_DATA_CONDITION` | The type is case data condition. |
| `CONDITION` | The type is condition. |
| `BLOCK` | The type is block. |
| `OUTPUT` | The type is output. |
| `PARALLEL_ACTIONS_CONTAINER` | The type is parallel actions container. |
| `FOR_EACH_START_LOOP` | The type is for each start loop. |
| `FOR_EACH_END_LOOP` | The type is for each end loop. |
| `FOR_EACH_LOOP_CONTAINER` | The type is for each loop container. |

## ApiWorkflowStepDebugDataModel

ApiWorkflowStepDebugDataModel represents debug data for a workflow step.

| JSON representation |
|---|
| ``` { "id": string, "creationTimeUnixTimeInMs": string, "modificationTimeUnixTimeInMs": string, "additionalProperties": { string: string, ... }, "originalWorkflowIdentifier": string, "originalStepIdentifier": string, "resultValue": string, "resultJson": string, "scopeEntitiesEnrichmentData": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#ApiEnrichmentData`) } ] } ``` |

| Fields ||
|---|---|
| `id` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. Id is the unique identifier of the data model object. |
| `creationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. CreationTimeUnixTimeInMs is the creation time of the data model object. Represents DateTime CreationTimeUnixTimeInMs as unix time |
| `modificationTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. ModificationTimeUnixTimeInMs is the modification time of the data model object. Represents DateTime ModificationTimeUnixTimeInMs as unix time |
| `additionalProperties` | `map (key: string, value: string)` Optional. AdditionalProperties is a map of additional properties for the data model object. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `originalWorkflowIdentifier` | `string` Required. OriginalWorkflowIdentifier is the identifier of the original workflow. |
| `originalStepIdentifier` | `string` Required. OriginalStepIdentifier is the identifier of the original step. |
| `resultValue` | `string` Optional. ResultValue is the result value of the step. |
| `resultJson` | `string` Optional. ResultJson is the JSON result of the step. |
| `scopeEntitiesEnrichmentData[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepDataModel#ApiEnrichmentData`)`` Optional. ScopeEntitiesEnrichmentData is a list of enrichment data for scope entities. |

## ApiEnrichmentData

ApiEnrichmentData represents enrichment data.

| JSON representation |
|---|
| ``` { "field": string, "value": string, "groupName": string, "useInPlaybook": boolean, "isCustom": boolean } ``` |

| Fields ||
|---|---|
| `field` | `string` Required. Field is the field name. |
| `value` | `string` Required. Value is the field value. |
| `groupName` | `string` Optional. GroupName is the name of the group. |
| `useInPlaybook` | `boolean` Optional. UseInPlaybook indicates if the enrichment data should be used in the playbook. |
| `isCustom` | `boolean` Optional. IsCustom indicates if the enrichment data is custom. |