public final class CancelOperationRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
CancelOperationRequest() |
| Modifier and Type | Method and Description |
|---|---|
CancelOperationRequest |
clone() |
java.lang.String |
getName()
The name (project, location, operation id) of the operation to cancel.
|
java.lang.String |
getOperationId()
The server-assigned `name` of the operation.
|
java.lang.String |
getProjectId()
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
java.lang.String |
getZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the
operation resides.
|
CancelOperationRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
CancelOperationRequest |
setName(java.lang.String name)
The name (project, location, operation id) of the operation to cancel.
|
CancelOperationRequest |
setOperationId(java.lang.String operationId)
The server-assigned `name` of the operation.
|
CancelOperationRequest |
setProjectId(java.lang.String projectId)
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
CancelOperationRequest |
setZone(java.lang.String zone)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the
operation resides.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getName()
null for nonepublic CancelOperationRequest setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getOperationId()
null for nonepublic CancelOperationRequest setOperationId(java.lang.String operationId)
operationId - operationId or null for nonepublic java.lang.String getProjectId()
null for nonepublic CancelOperationRequest setProjectId(java.lang.String projectId)
projectId - projectId or null for nonepublic java.lang.String getZone()
null for nonepublic CancelOperationRequest setZone(java.lang.String zone)
zone - zone or null for nonepublic CancelOperationRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CancelOperationRequest clone()
clone in class com.google.api.client.json.GenericJson