Google Cloud Tasks V2beta2 Client - Class ListTasksResponse (1.14.5)

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

Response message for listing tasks using ListTasks.

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

Namespace

Google \ Cloud \ Tasks \ V2beta2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ tasks array<Google\Cloud\Tasks\V2beta2\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
Type Description
Google\Protobuf\Internal\RepeatedField

setTasks

The list of tasks.

Parameter
Name Description
var array<Google\Cloud\Tasks\V2beta2\Task>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this