Google Cloud Tasks V2beta2 Client - Class LeaseTasksResponse (1.15.0)

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
Name Description
data array

Optional. Data for populating the Message object.

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

The leased tasks.

getTasks

The leased tasks.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTasks

The leased tasks.

Parameter
Name Description
var array<Google\Cloud\Tasks\V2beta2\Task>
Returns
Type Description
$this