MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / deleteQueue

Function deleteQueue

cloud-tasks/snippets/deleteQueue.js:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 const client = new cloudTasks.CloudTasksClient();
31
32 async function deleteQueue() {
33 // Get the fully qualified path to the queue
34 const name = client.queuePath(project, location, queue);
35
36 // Send delete queue request.
37 await client.deleteQueue({name});
38 console.log(`Deleted queue '${queue}'.`);
39 }
40 deleteQueue();
41 // [END cloud_tasks_delete_queue]
42}

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected