Google Cloud Tasks V2 Client - Class GetQueueRequest (1.12.2)

Reference documentation and code samples for the Google Cloud Tasks V2 Client class GetQueueRequest.

Request message for GetQueue.

Generated from protobuf message google.cloud.tasks.v2.GetQueueRequest

Namespace

Google \ Cloud \ Tasks \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the queue. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID

getName

Required. The resource name of the queue. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID

Returns
TypeDescription
string

setName

Required. The resource name of the queue. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The resource name of the queue. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID Please see Google\Cloud\Tasks\V2\CloudTasksClient::queueName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Tasks\V2\GetQueueRequest