Google Cloud Tasks V2beta2 Client - Class LeaseTasksResponse (1.11.11)

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

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