public final UnaryCallable<UploadQueueYamlRequest, Empty> uploadQueueYamlCallable() {
    return stub.uploadQueueYamlCallable();
  }
Update queue list by uploading a queue.yaml file.

<p>The queue.yaml file is supplied in the request body as a YAML encoded string. This method
was added to support gcloud clients versions before 322.0.0. New clients should use CreateQueue
instead of this method.

<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()) {
  UploadQueueYamlRequest request =
      UploadQueueYamlRequest.newBuilder()
          .setAppId("appId93028124")
          .setHttpBody(HttpBody.newBuilder().build())
          .build();
  ApiFuture<Empty> future = cloudTasksClient.uploadQueueYamlCallable().futureCall(request);
  // Do something.
  future.get();
}
}</pre>
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java