Package | Description |
---|---|
com.google.cloud.tasks.v2 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
QueueName |
QueueName.Builder.build() |
static QueueName |
QueueName.of(String project,
String location,
String queue) |
static QueueName |
QueueName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<QueueName> |
QueueName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
Task |
CloudTasksClient.createTask(QueueName parent,
Task task)
Creates a task and adds it to a queue.
|
void |
CloudTasksClient.deleteQueue(QueueName name)
Deletes a queue.
|
com.google.iam.v1.Policy |
CloudTasksClient.getIamPolicy(QueueName queueName) |
Queue |
CloudTasksClient.getQueue(QueueName name)
Gets a queue.
|
CloudTasksClient.ListTasksPagedResponse |
CloudTasksClient.listTasks(QueueName parent)
Lists the tasks in a queue.
|
Queue |
CloudTasksClient.pauseQueue(QueueName name)
Pauses the queue.
|
Queue |
CloudTasksClient.purgeQueue(QueueName name)
Purges a queue by deleting all of its tasks.
|
Queue |
CloudTasksClient.resumeQueue(QueueName name)
Resume a queue.
|
com.google.iam.v1.Policy |
CloudTasksClient.setIamPolicy(QueueName queue,
com.google.iam.v1.Policy policy) |
com.google.iam.v1.TestIamPermissionsResponse |
CloudTasksClient.testIamPermissions(QueueName queue,
List<String> permissions) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
QueueName.toStringList(List<QueueName> values) |
Copyright © 2022 Google LLC. All rights reserved.