Skip navigation links

Package com.google.cloud.tasks.v2

A client to Cloud Tasks API.

See: Description

Package com.google.cloud.tasks.v2 Description

A client to Cloud Tasks API.

The interfaces provided are listed below, along with usage samples.

================ CloudTasksClient ================

Service Description: Cloud Tasks allows developers to manage the execution of background work in their applications.

Sample for CloudTasksClient:

 
 try (CloudTasksClient cloudTasksClient = CloudTasksClient.create()) {
   QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]");
   Queue response = cloudTasksClient.getQueue(name);
 }
 
 
Skip navigation links

Copyright © 2019 Google LLC. All rights reserved.