- [Resource: WorkflowConfig](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs#WorkflowConfig)
  - [JSON representation](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs#WorkflowConfig.SCHEMA_REPRESENTATION)
- [ScheduledExecutionRecord](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs#ScheduledExecutionRecord)
  - [JSON representation](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs#ScheduledExecutionRecord.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs#METHODS_SUMMARY)

## Resource: WorkflowConfig

Represents a Dataform workflow configuration.

| JSON representation |
|---|
| ``` { "name": string, "releaseConfig": string, "invocationConfig": { object (`https://docs.cloud.google.com/dataform/reference/rest/v1/InvocationConfig`) }, "cronSchedule": string, "timeZone": string, "recentScheduledExecutionRecords": [ { object (`https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs#ScheduledExecutionRecord`) } ], "disabled": boolean, "createTime": string, "updateTime": string, "internalMetadata": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The workflow config's name. |
| `releaseConfig` | `string` Required. The name of the release config whose releaseCompilationResult should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`. |
| `invocationConfig` | ``object (`https://docs.cloud.google.com/dataform/reference/rest/v1/InvocationConfig`)`` Optional. If left unset, a default InvocationConfig will be used. |
| `cronSchedule` | `string` Optional. Optional schedule (in cron format) for automatic execution of this workflow config. |
| `timeZone` | `string` Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the [time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is `UTC`. |
| `recentScheduledExecutionRecords[]` | ``object (`https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs#ScheduledExecutionRecord`)`` Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `executionTime`. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. |
| `disabled` | `boolean` Optional. Disables automatic creation of workflow invocations. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp of when the WorkflowConfig was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp of when the WorkflowConfig was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `internalMetadata` | `string` Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. |

## ScheduledExecutionRecord

A record of an attempt to create a workflow invocation for this workflow config.

| JSON representation |
|---|
| ``` { "executionTime": string, // Union field `result` can be only one of the following: "workflowInvocation": string, "errorStatus": { object (`https://docs.cloud.google.com/dataform/reference/rest/Shared.Types/ListOperationsResponse#Status`) } // End of list of possible types for union field `result`. } ``` |

| Fields ||
|---|---|
| `executionTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp of this execution attempt. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| Union field `result`. The result of this execution attempt. `result` can be only one of the following: ||
| `workflowInvocation` | `string` The name of the created workflow invocation, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/workflowInvocations/*`. |
| `errorStatus` | ``object (`https://docs.cloud.google.com/dataform/reference/rest/Shared.Types/ListOperationsResponse#Status`)`` The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs/create` | Creates a new WorkflowConfig in a given Repository. |
| ### `https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs/delete` | Deletes a single WorkflowConfig. |
| ### `https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs/get` | Fetches a single WorkflowConfig. |
| ### `https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs/list` | Lists WorkflowConfigs in a given Repository. |
| ### `https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.workflowConfigs/patch` | Updates a single WorkflowConfig. |