Google Cloud Dataform V1beta1 Client - Class ScheduledExecutionRecord (0.3.0)

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

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

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

Namespace

Google \ Cloud \ Dataform \ V1beta1 \ WorkflowConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ execution_time Google\Protobuf\Timestamp

The timestamp of this execution attempt.

↳ workflow_invocation string

The name of the created workflow invocation, if one was successfully created. Must be in the format projects/*/locations/*/repositories/*/workflowInvocations/*.

↳ error_status Google\Rpc\Status

The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful.

getExecutionTime

The timestamp of this execution attempt.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExecutionTime

clearExecutionTime

setExecutionTime

The timestamp of this execution attempt.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getWorkflowInvocation

The name of the created workflow invocation, if one was successfully created. Must be in the format projects/*/locations/*/repositories/*/workflowInvocations/*.

Returns
TypeDescription
string

hasWorkflowInvocation

setWorkflowInvocation

The name of the created workflow invocation, if one was successfully created. Must be in the format projects/*/locations/*/repositories/*/workflowInvocations/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getErrorStatus

The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful.

Returns
TypeDescription
Google\Rpc\Status|null

hasErrorStatus

setErrorStatus

The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getResult

Returns
TypeDescription
string