Google Cloud Tasks V2beta3 Client - Class CreateQueueRequest (1.13.2)

Reference documentation and code samples for the Google Cloud Tasks V2beta3 Client class CreateQueueRequest.

Request message for CreateQueue.

Generated from protobuf message google.cloud.tasks.v2beta3.CreateQueueRequest

Namespace

Google \ Cloud \ Tasks \ V2beta3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The location name in which the queue will be created. For example: projects/PROJECT_ID/locations/LOCATION_ID The list of allowed locations can be obtained by calling Cloud Tasks' implementation of ListLocations.

↳ queue Google\Cloud\Tasks\V2beta3\Queue

Required. The queue to create. Queue's name cannot be the same as an existing queue.

getParent

Required. The location name in which the queue will be created.

For example: projects/PROJECT_ID/locations/LOCATION_ID The list of allowed locations can be obtained by calling Cloud Tasks' implementation of ListLocations.

Returns
TypeDescription
string

setParent

Required. The location name in which the queue will be created.

For example: projects/PROJECT_ID/locations/LOCATION_ID The list of allowed locations can be obtained by calling Cloud Tasks' implementation of ListLocations.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQueue

Required. The queue to create.

Queue's name cannot be the same as an existing queue.

Returns
TypeDescription
Google\Cloud\Tasks\V2beta3\Queue|null

hasQueue

clearQueue

setQueue

Required. The queue to create.

Queue's name cannot be the same as an existing queue.

Parameter
NameDescription
var Google\Cloud\Tasks\V2beta3\Queue
Returns
TypeDescription
$this