Google Cloud Dataform V1beta1 Client - Class WorkflowConfig (0.3.0)

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.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The workflow config's name.

↳ release_config string

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

↳ invocation_config Google\Cloud\Dataform\V1beta1\InvocationConfig

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

↳ cron_schedule string

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

↳ time_zone 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.

↳ recent_scheduled_execution_records array<Google\Cloud\Dataform\V1beta1\WorkflowConfig\ScheduledExecutionRecord>

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

getName

Output only. The workflow config's name.

Returns
TypeDescription
string

setName

Output only. The workflow config's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getInvocationConfig

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

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\InvocationConfig|null

hasInvocationConfig

clearInvocationConfig

setInvocationConfig

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

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\InvocationConfig
Returns
TypeDescription
$this

getCronSchedule

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

Returns
TypeDescription
string

setCronSchedule

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getRecentScheduledExecutionRecords

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRecentScheduledExecutionRecords

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

Parameter
NameDescription
var array<Google\Cloud\Dataform\V1beta1\WorkflowConfig\ScheduledExecutionRecord>
Returns
TypeDescription
$this