Google Cloud Tpu V2 Client - Class FailedData (2.1.0)

Reference documentation and code samples for the Google Cloud Tpu V2 Client class FailedData.

Further data for the failed state.

Generated from protobuf message google.cloud.tpu.v2.QueuedResourceState.FailedData

Namespace

Google \ Cloud \ Tpu \ V2 \ QueuedResourceState

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error Google\Rpc\Status

Output only. The error that caused the queued resource to enter the FAILED state.

getError

Output only. The error that caused the queued resource to enter the FAILED state.

Returns
Type Description
Google\Rpc\Status|null

hasError

clearError

setError

Output only. The error that caused the queued resource to enter the FAILED state.

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