public class Container.Projects.Locations.Operations extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Container.Projects.Locations.Operations.Cancel |
class |
Container.Projects.Locations.Operations.Get |
class |
Container.Projects.Locations.Operations.List |
| Constructor and Description |
|---|
Operations() |
| Modifier and Type | Method and Description |
|---|---|
Container.Projects.Locations.Operations.Cancel |
cancel(String name,
CancelOperationRequest content)
Cancels the specified operation.
|
Container.Projects.Locations.Operations.Get |
get(String name)
Gets the specified operation.
|
Container.Projects.Locations.Operations.List |
list(String parent)
Lists all operations in a project in the specified zone or all zones.
|
public Container.Projects.Locations.Operations.Cancel cancel(String name, CancelOperationRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name (project, location, operation id) of the operation to cancel. Specified in the format
`projects/locations/operations`.content - the CancelOperationRequestIOExceptionpublic Container.Projects.Locations.Operations.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name (project, location, operation id) of the operation to get. Specified in the format
`projects/locations/operations`.IOExceptionpublic Container.Projects.Locations.Operations.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The parent (project and location) where the operations will be listed. Specified in the format
`projects/locations`. Location "-" matches all zones and all regions.IOExceptionCopyright © 2011–2022 Google. All rights reserved.