public class Container.Projects.Zones.Operations extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Container.Projects.Zones.Operations.Cancel |
class |
Container.Projects.Zones.Operations.Get |
class |
Container.Projects.Zones.Operations.List |
| Constructor and Description |
|---|
Operations() |
| Modifier and Type | Method and Description |
|---|---|
Container.Projects.Zones.Operations.Cancel |
cancel(String projectId,
String zone,
String operationId,
CancelOperationRequest content)
Cancels the specified operation.
|
Container.Projects.Zones.Operations.Get |
get(String projectId,
String zone,
String operationId)
Gets the specified operation.
|
Container.Projects.Zones.Operations.List |
list(String projectId,
String zone)
Lists all operations in a project in a specific zone or all zones.
|
public Container.Projects.Zones.Operations.Cancel cancel(String projectId, String zone, String operationId, CancelOperationRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
operation resides.
This field has been deprecated and replaced by the name field.operationId - Deprecated. The server-assigned `name` of the operation.
This field has been deprecated and replaced
by the name field.content - the CancelOperationRequestIOExceptionpublic Container.Projects.Zones.Operations.Get get(String projectId, String zone, String operationId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.operationId - Deprecated. The server-assigned `name` of the operation.
This field has been deprecated and replaced
by the name field.IOExceptionpublic Container.Projects.Zones.Operations.List list(String projectId, String zone) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the parent field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) to return
operations for, or `-` for
all zones. This field has been deprecated and replaced by the
parent field.IOExceptionCopyright © 2011–2020 Google. All rights reserved.