public class CloudBuild.Projects.Locations.Operations extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudBuild.Projects.Locations.Operations.Cancel |
class |
CloudBuild.Projects.Locations.Operations.Get |
| Constructor and Description |
|---|
Operations() |
| Modifier and Type | Method and Description |
|---|---|
CloudBuild.Projects.Locations.Operations.Cancel |
cancel(String name,
CancelOperationRequest content)
Starts asynchronous cancellation on a long-running operation.
|
CloudBuild.Projects.Locations.Operations.Get |
get(String name)
Gets the latest state of a long-running operation.
|
public CloudBuild.Projects.Locations.Operations.Cancel cancel(String name, CancelOperationRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the operation resource to be cancelled.content - the CancelOperationRequestIOExceptionpublic CloudBuild.Projects.Locations.Operations.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the operation resource.IOExceptionCopyright © 2011–2025 Google. All rights reserved.