Google Cloud Batch V1 Client - Class TaskStatus (0.16.10)

Reference documentation and code samples for the Google Cloud Batch V1 Client class TaskStatus.

Status of a task

Generated from protobuf message google.cloud.batch.v1.TaskStatus

Namespace

Google \ Cloud \ Batch \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ state
int

Task state

↳ status_events
array< Google\Cloud\Batch\V1\StatusEvent >

Detailed info about why the state is reached.

getState

Task state

Returns
Type
Description
int

setState

Task state

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getStatusEvents

Detailed info about why the state is reached.

Returns
Type
Description

setStatusEvents

Detailed info about why the state is reached.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: