Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class WorkflowInvocationAction.
Represents a single action in a workflow invocation.
Generated from protobuf message google.cloud.dataform.v1beta1.WorkflowInvocationAction
Namespace
Google \ Cloud \ Dataform \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ target |
Target
Output only. This action's identifier. Unique within the workflow invocation. |
↳ canonical_target |
Target
Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. |
↳ state |
int
Output only. This action's current state. |
↳ failure_reason |
string
Output only. If and only if action's state is FAILED a failure reason is set. |
↳ invocation_timing |
Google\Type\Interval
Output only. This action's timing details. |
↳ bigquery_action |
WorkflowInvocationAction\BigQueryAction
Output only. The workflow action's bigquery action details. |
getTarget
Output only. This action's identifier. Unique within the workflow invocation.
Returns | |
---|---|
Type | Description |
Target|null |
hasTarget
clearTarget
setTarget
Output only. This action's identifier. Unique within the workflow invocation.
Parameter | |
---|---|
Name | Description |
var |
Target
|
Returns | |
---|---|
Type | Description |
$this |
getCanonicalTarget
Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.
Returns | |
---|---|
Type | Description |
Target|null |
hasCanonicalTarget
clearCanonicalTarget
setCanonicalTarget
Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.
Parameter | |
---|---|
Name | Description |
var |
Target
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. This action's current state.
Returns | |
---|---|
Type | Description |
int |
setState
Output only. This action's current state.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getFailureReason
Output only. If and only if action's state is FAILED a failure reason is set.
Returns | |
---|---|
Type | Description |
string |
setFailureReason
Output only. If and only if action's state is FAILED a failure reason is set.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getInvocationTiming
Output only. This action's timing details.
start_time
will be set if the action is in [RUNNING, SUCCEEDED,
CANCELLED, FAILED] state.
end_time
will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
state.
Returns | |
---|---|
Type | Description |
Google\Type\Interval|null |
hasInvocationTiming
clearInvocationTiming
setInvocationTiming
Output only. This action's timing details.
start_time
will be set if the action is in [RUNNING, SUCCEEDED,
CANCELLED, FAILED] state.
end_time
will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
state.
Parameter | |
---|---|
Name | Description |
var |
Google\Type\Interval
|
Returns | |
---|---|
Type | Description |
$this |
getBigqueryAction
Output only. The workflow action's bigquery action details.
Returns | |
---|---|
Type | Description |
WorkflowInvocationAction\BigQueryAction|null |
hasBigqueryAction
clearBigqueryAction
setBigqueryAction
Output only. The workflow action's bigquery action details.
Parameter | |
---|---|
Name | Description |
var |
WorkflowInvocationAction\BigQueryAction
|
Returns | |
---|---|
Type | Description |
$this |