code: public final void deleteQueue(QueueName name) {
  
      DeleteQueueRequest request =
          DeleteQueueRequest.newBuilder().setName(name == null ? null : name.toString()).build();
      deleteQueue(request);
    }
docs: Deletes a queue.
  
  <p>This command will delete the queue even if it has tasks in it.
  
  <p>Note: If you delete a queue, a queue with the same name can't be created for 7 days.
  
  <p>WARNING: Using this method may have unintended side effects if you are using an App Engine
  `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and
  queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.
  
  <p>Sample code:
  
  <pre><code>
  try (CloudTasksClient cloudTasksClient = CloudTasksClient.create()) {
  QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]");
  cloudTasksClient.deleteQueue(name);
  }
  </code></pre>
  
  @param name Required.
  <p>The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
  @throws com.google.api.gax.rpc.ApiException if the remote call fails