Google Cloud Tasks V2beta2 Client - Class LeaseTasksResponse (1.14.4)

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

Response message for leasing tasks using LeaseTasks.

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

Namespace

Google \ Cloud \ Tasks \ V2beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

The leased tasks.

getTasks

The leased tasks.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTasks

The leased tasks.

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