0.18.0 (latest) 0.17.1 0.16.0 0.15.3 0.12.0 0.11.0 0.10.1 0.9.2 0.8.1 0.7.0 0.6.0 0.5.1 0.4.7 0.3.0 0.2.3 0.1.6

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class WorkflowConfig.

Represents a Dataform workflow configuration.

Generated from protobuf message `google.cloud.dataform.v1beta1.WorkflowConfig`

## Namespace

Google \\ Cloud \\ Dataform \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getName

Identifier. The workflow config's name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The workflow config's name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReleaseConfig

Required. The name of the release config whose release_compilation_result
should be executed. Must be in the format
`projects/*/locations/*/repositories/*/releaseConfigs/*`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setReleaseConfig

Required. The name of the release config whose release_compilation_result
should be executed. Must be in the format
`projects/*/locations/*/repositories/*/releaseConfigs/*`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInvocationConfig

Optional. If left unset, a default InvocationConfig will be used.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.InvocationConfig|null` |   |

### hasInvocationConfig

### clearInvocationConfig

### setInvocationConfig

Optional. If left unset, a default InvocationConfig will be used.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.InvocationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCronSchedule

Optional. Optional schedule (in cron format) for automatic execution of
this workflow config.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCronSchedule

Optional. Optional schedule (in cron format) for automatic execution of
this workflow config.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTimeZone

Optional. Specifies the time zone to be used when interpreting
cron_schedule. 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`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTimeZone

Optional. Specifies the time zone to be used when interpreting
cron_schedule. 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`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRecentScheduledExecutionRecords

Output only. Records of the 10 most recent scheduled execution attempts,
ordered in descending order of `execution_time`. Updated whenever automatic
creation of a workflow invocation is triggered by cron_schedule.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowConfig.ScheduledExecutionRecord>` |   |

### setRecentScheduledExecutionRecords

Output only. Records of the 10 most recent scheduled execution attempts,
ordered in descending order of `execution_time`. Updated whenever automatic
creation of a workflow invocation is triggered by cron_schedule.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowConfig.ScheduledExecutionRecord>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisabled

Optional. Disables automatic creation of workflow invocations.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setDisabled

Optional. Disables automatic creation of workflow invocations.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreateTime

Output only. The timestamp of when the WorkflowConfig was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The timestamp of when the WorkflowConfig was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateTime

Output only. The timestamp of when the WorkflowConfig was last updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The timestamp of when the WorkflowConfig was last updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInternalMetadata

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasInternalMetadata

### clearInternalMetadata

### setInternalMetadata

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getWorkflowTriggerConfig

Optional. Trigger configuration for this workflow.

If present, the workflow will be triggered based on the specified triggers.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowTriggerConfig|null` |   |

### hasWorkflowTriggerConfig

### clearWorkflowTriggerConfig

### setWorkflowTriggerConfig

Optional. Trigger configuration for this workflow.

If present, the workflow will be triggered based on the specified triggers.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowTriggerConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |