Reference documentation and code samples for the Google Cloud Tasks V2 Client class PurgeQueueRequest.
Request message for PurgeQueue.
Generated from protobuf message google.cloud.tasks.v2.PurgeQueueRequest
Namespace
Google \ Cloud \ Tasks \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The queue name. For example: |
getName
Required. The queue name. For example:
projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID
Returns | |
---|---|
Type | Description |
string |
setName
Required. The queue name. For example:
projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The queue name. For example:
|
Returns | |
---|---|
Type | Description |
Google\Cloud\Tasks\V2\PurgeQueueRequest |