Google Cloud BigQuery Migration V2 Client - Class TaskOutput (1.5.2)

Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class TaskOutput.

The task output for a task type including the status and any errors.

Generated from protobuf message google.cloud.bigquery.migration.v2.TaskOutput

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ lineage_output LineageOutput

The output of the task with output type "LINEAGE".

↳ state int

Output only. The current state of the task output.

↳ processing_error Google\Rpc\ErrorInfo

An explanation that may be populated when the task output is in FAILED state.

getLineageOutput

The output of the task with output type "LINEAGE".

Returns
Type Description
LineageOutput|null

hasLineageOutput

setLineageOutput

The output of the task with output type "LINEAGE".

Parameter
Name Description
var LineageOutput
Returns
Type Description
$this

getState

Output only. The current state of the task output.

Returns
Type Description
int Enum of type State.

setState

Output only. The current state of the task output.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this

getProcessingError

An explanation that may be populated when the task output is in FAILED state.

Returns
Type Description
Google\Rpc\ErrorInfo|null

hasProcessingError

clearProcessingError

setProcessingError

An explanation that may be populated when the task output is in FAILED state.

Parameter
Name Description
var Google\Rpc\ErrorInfo
Returns
Type Description
$this

getOutput

Returns
Type Description
string