Google Cloud Tasks V2beta3 Client - Class ListTasksResponse (1.11.11)

Reference documentation and code samples for the Google Cloud Tasks V2beta3 Client class ListTasksResponse.

Response message for listing tasks using ListTasks.

Generated from protobuf message google.cloud.tasks.v2beta3.ListTasksResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tasks array<Google\Cloud\Tasks\V2beta3\Task>

The list of tasks.

↳ next_page_token string

A token to retrieve next page of results. To return the next page of results, call ListTasks with this value as the page_token. If the next_page_token is empty, there are no more results.

getTasks

The list of tasks.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTasks

The list of tasks.

Parameter
NameDescription
var array<Google\Cloud\Tasks\V2beta3\Task>
Returns
TypeDescription
$this

getNextPageToken

A token to retrieve next page of results.

To return the next page of results, call ListTasks with this value as the page_token. If the next_page_token is empty, there are no more results.

Returns
TypeDescription
string

setNextPageToken

A token to retrieve next page of results.

To return the next page of results, call ListTasks with this value as the page_token. If the next_page_token is empty, there are no more results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this