# Dataform V1 API - Class Google::Cloud::Dataform::V1::WorkflowConfig (v0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Dataform V1 API class Google::Cloud::Dataform::V1::WorkflowConfig.

Represents a Dataform workflow configuration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp of when the WorkflowConfig was created.

### #cron_schedule

    def cron_schedule() -> ::String

**Returns**

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

### #cron_schedule=

    def cron_schedule=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Optional schedule (in cron format) for automatic execution of this workflow config.
**Returns**

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

### #disabled

    def disabled() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Disables automatic creation of workflow invocations.

### #disabled=

    def disabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Disables automatic creation of workflow invocations.
**Returns**

- (::Boolean) --- Optional. Disables automatic creation of workflow invocations.

### #internal_metadata

    def internal_metadata() -> ::String

**Returns**

- (::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.

### #invocation_config

    def invocation_config() -> ::Google::Cloud::Dataform::V1::InvocationConfig

**Returns**

- ([::Google::Cloud::Dataform::V1::InvocationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-InvocationConfig)) --- Optional. If left unset, a default InvocationConfig will be used.

### #invocation_config=

    def invocation_config=(value) -> ::Google::Cloud::Dataform::V1::InvocationConfig

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1::InvocationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-InvocationConfig)) --- Optional. If left unset, a default InvocationConfig will be used.
**Returns**

- ([::Google::Cloud::Dataform::V1::InvocationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-InvocationConfig)) --- Optional. If left unset, a default InvocationConfig will be used.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The workflow config's name.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The workflow config's name.
**Returns**

- (::String) --- Identifier. The workflow config's name.

### #recent_scheduled_execution_records

    def recent_scheduled_execution_records() -> ::Array<::Google::Cloud::Dataform::V1::WorkflowConfig::ScheduledExecutionRecord>

**Returns**

- (::Array\<[::Google::Cloud::Dataform::V1::WorkflowConfig::ScheduledExecutionRecord](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-WorkflowConfig-ScheduledExecutionRecord)\>) --- 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.

### #release_config

    def release_config() -> ::String

**Returns**

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

### #release_config=

    def release_config=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
**Returns**

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

### #time_zone

    def time_zone() -> ::String

**Returns**

- (::String) --- 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.

### #time_zone=

    def time_zone=(value) -> ::String

**Parameter**

- **value** (::String) --- 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**

- (::String) --- 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.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp of when the WorkflowConfig was last updated.