| Modifier and Type | Class and Description |
|---|---|
class |
Storage.Operations.Cancel |
class |
Storage.Operations.Get |
class |
Storage.Operations.List |
| Constructor and Description |
|---|
Operations() |
| Modifier and Type | Method and Description |
|---|---|
Storage.Operations.Cancel |
cancel(String bucket,
String operationId)
Starts asynchronous cancellation on a long-running operation.
|
Storage.Operations.Get |
get(String bucket,
String operationId)
Gets the latest state of a long-running operation.
|
Storage.Operations.List |
list(String bucket)
Lists operations that match the specified filter in the request.
|
public Storage.Operations.Cancel cancel(String bucket, String operationId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - The parent bucket of the operation resource.operationId - The ID of the operation resource.IOExceptionpublic Storage.Operations.Get get(String bucket, String operationId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - The parent bucket of the operation resource.operationId - The ID of the operation resource.IOExceptionpublic Storage.Operations.List list(String bucket) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of the bucket in which to look for operations.IOExceptionCopyright © 2011–2024 Google. All rights reserved.