Google Cloud Ai Platform V1 Client - Class PipelineTaskDetail (0.12.0)

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

The runtime detail of a task execution.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ task_id int|string

Output only. The system generated ID of the task.

↳ parent_task_id int|string

Output only. The id of the parent task if the task is within a component scope. Empty if the task is at the root level.

↳ task_name string

Output only. The user specified name of the task that is defined in PipelineJob.spec.

↳ create_time Google\Protobuf\Timestamp

Output only. Task create time.

↳ start_time Google\Protobuf\Timestamp

Output only. Task start time.

↳ end_time Google\Protobuf\Timestamp

Output only. Task end time.

↳ executor_detail Google\Cloud\AIPlatform\V1\PipelineTaskExecutorDetail

Output only. The detailed execution info.

↳ state int

Output only. State of the task.

↳ execution Google\Cloud\AIPlatform\V1\Execution

Output only. The execution metadata of the task.

↳ error Google\Rpc\Status

Output only. The error that occurred during task execution. Only populated when the task's state is FAILED or CANCELLED.

↳ pipeline_task_status array<Google\Cloud\AIPlatform\V1\PipelineTaskDetail\PipelineTaskStatus>

Output only. A list of task status. This field keeps a record of task status evolving over time.

↳ inputs array|Google\Protobuf\Internal\MapField

Output only. The runtime input artifacts of the task.

↳ outputs array|Google\Protobuf\Internal\MapField

Output only. The runtime output artifacts of the task.

getTaskId

Output only. The system generated ID of the task.

Returns
TypeDescription
int|string

setTaskId

Output only. The system generated ID of the task.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getParentTaskId

Output only. The id of the parent task if the task is within a component scope. Empty if the task is at the root level.

Returns
TypeDescription
int|string

setParentTaskId

Output only. The id of the parent task if the task is within a component scope. Empty if the task is at the root level.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTaskName

Output only. The user specified name of the task that is defined in PipelineJob.spec.

Returns
TypeDescription
string

setTaskName

Output only. The user specified name of the task that is defined in PipelineJob.spec.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Task create time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Task create time.

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

getStartTime

Output only. Task start time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. Task start time.

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

getEndTime

Output only. Task end time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. Task end time.

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

getExecutorDetail

Output only. The detailed execution info.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\PipelineTaskExecutorDetail|null

hasExecutorDetail

clearExecutorDetail

setExecutorDetail

Output only. The detailed execution info.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\PipelineTaskExecutorDetail
Returns
TypeDescription
$this

getState

Output only. State of the task.

Returns
TypeDescription
int

setState

Output only. State of the task.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getExecution

Output only. The execution metadata of the task.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\Execution|null

hasExecution

clearExecution

setExecution

Output only. The execution metadata of the task.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\Execution
Returns
TypeDescription
$this

getError

Output only. The error that occurred during task execution.

Only populated when the task's state is FAILED or CANCELLED.

Returns
TypeDescription
Google\Rpc\Status|null

hasError

clearError

setError

Output only. The error that occurred during task execution.

Only populated when the task's state is FAILED or CANCELLED.

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

getPipelineTaskStatus

Output only. A list of task status. This field keeps a record of task status evolving over time.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPipelineTaskStatus

Output only. A list of task status. This field keeps a record of task status evolving over time.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\PipelineTaskDetail\PipelineTaskStatus>
Returns
TypeDescription
$this

getInputs

Output only. The runtime input artifacts of the task.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setInputs

Output only. The runtime input artifacts of the task.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getOutputs

Output only. The runtime output artifacts of the task.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setOutputs

Output only. The runtime output artifacts of the task.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this