public final UnaryCallable<ResumeQueueRequest, Queue> resumeQueueCallable() {
    return stub.resumeQueueCallable();
  }
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
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudTasksClient cloudTasksClient = CloudTasksClient.create()) {
  ResumeQueueRequest request =
      ResumeQueueRequest.newBuilder()
          .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString())
          .build();
  ApiFuture<Queue> future = cloudTasksClient.resumeQueueCallable().futureCall(request);
  // Do something.
  Queue response = future.get();
}
}</pre>
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java