code: public final Queue resumeQueue(QueueName name) {
  
      ResumeQueueRequest request =
          ResumeQueueRequest.newBuilder().setName(name == null ? null : name.toString()).build();
      return resumeQueue(request);
    }
docs: Resume a queue.
  
  <p>This method resumes a queue after it has been
  [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED] or
  [DISABLED][google.cloud.tasks.v2.Queue.State.DISABLED]. The state of a queue is stored in the
  queue's [state][google.cloud.tasks.v2.Queue.state]; after calling this method it will be set to
  [RUNNING][google.cloud.tasks.v2.Queue.State.RUNNING].
  
  <p>WARNING: Resuming many high-QPS queues at the same time can lead to target overloading. If
  you are resuming high-QPS queues, follow the 500/50/5 pattern described in [Managing Cloud
  Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
  
  <p>Sample code:
  
  <pre><code>
  try (CloudTasksClient cloudTasksClient = CloudTasksClient.create()) {
  QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]");
  Queue response = cloudTasksClient.resumeQueue(name);
  }
  </code></pre>
  
  @param name Required.
  <p>The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
  @throws com.google.api.gax.rpc.ApiException if the remote call fails