Google Cloud Batch V1 Client - Class ListTasksResponse (0.2.2)

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

ListTasks Response.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tasks array<Google\Cloud\Batch\V1\Task>

Tasks.

↳ next_page_token string

Next page token.

↳ unreachable array

Locations that could not be reached.

getTasks

Tasks.

Generated from protobuf field repeated .google.cloud.batch.v1.Task tasks = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTasks

Tasks.

Generated from protobuf field repeated .google.cloud.batch.v1.Task tasks = 1;

Parameter
NameDescription
var array<Google\Cloud\Batch\V1\Task>
Returns
TypeDescription
$this

getNextPageToken

Next page token.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

Next page token.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached.

Generated from protobuf field repeated string unreachable = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Generated from protobuf field repeated string unreachable = 3;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this