Package | Description |
---|---|
com.google.cloud.tasks.v2beta2 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
TaskName |
TaskName.Builder.build() |
static TaskName |
TaskName.of(String project,
String location,
String queue,
String task) |
static TaskName |
TaskName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<TaskName> |
TaskName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
void |
CloudTasksClient.acknowledgeTask(TaskName name,
Timestamp scheduleTime)
Acknowledges a pull task.
|
Task |
CloudTasksClient.cancelLease(TaskName name,
Timestamp scheduleTime)
Cancel a pull task's lease.
|
void |
CloudTasksClient.deleteTask(TaskName name)
Deletes a task.
|
Task |
CloudTasksClient.getTask(TaskName name)
Gets a task.
|
Task |
CloudTasksClient.renewLease(TaskName name,
Timestamp scheduleTime,
Duration leaseDuration)
Renew the current lease of a pull task.
|
Task |
CloudTasksClient.runTask(TaskName name)
Forces a task to run now.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
TaskName.toStringList(List<TaskName> values) |
Copyright © 2022 Google LLC. All rights reserved.