Google Cloud Ai Platform V1 Client - Class PipelineTaskStatus (1.1.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PipelineTaskStatus.

A single record of the task status.

Generated from protobuf message google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus

Namespace

Google \ Cloud \ AIPlatform \ V1 \ PipelineTaskDetail

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_time Google\Protobuf\Timestamp

Output only. Update time of this status.

↳ state int

Output only. The state of the task.

↳ error Google\Rpc\Status

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

getUpdateTime

Output only. Update time of this status.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Update time of this status.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getState

Output only. The state of the task.

Returns
Type Description
int

setState

Output only. The state of the task.

Parameter
Name Description
var int
Returns
Type Description
$this

getError

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

Returns
Type Description
Google\Rpc\Status|null

hasError

clearError

setError

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

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