Google Cloud Ai Platform V1 Client - Class PipelineTaskStatus (0.22.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
NameDescription
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
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Update time of this status.

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

getState

Output only. The state of the task.

Returns
TypeDescription
int

setState

Output only. The state of the task.

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this