public final class Operation extends 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 Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Operation() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
clone() |
List<StatusCondition> |
getClusterConditions()
Which conditions caused the current cluster state.
|
String |
getDetail()
Detailed operation progress, if available.
|
String |
getEndTime()
[Output only] The time the operation completed, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
String |
getLocation()
[Output only] The name of the Google Compute Engine [zone](/compute/docs/regions-zones/regions-
zones#available) or [region](/compute/docs/regions-zones/regions-zones#available) in which the
cluster resides.
|
String |
getName()
The server-assigned ID for the operation.
|
List<StatusCondition> |
getNodepoolConditions()
Which conditions caused the current node pool state.
|
String |
getOperationType()
The operation type.
|
OperationProgress |
getProgress()
Output only.
|
String |
getSelfLink()
Server-defined URL for the resource.
|
String |
getStartTime()
[Output only] The time the operation started, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
String |
getStatus()
The current status of the operation.
|
String |
getStatusMessage()
Output only.
|
String |
getTargetLink()
Server-defined URL for the target of the operation.
|
String |
getZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the
operation is taking place.
|
Operation |
set(String fieldName,
Object value) |
Operation |
setClusterConditions(List<StatusCondition> clusterConditions)
Which conditions caused the current cluster state.
|
Operation |
setDetail(String detail)
Detailed operation progress, if available.
|
Operation |
setEndTime(String endTime)
[Output only] The time the operation completed, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation |
setLocation(String location)
[Output only] The name of the Google Compute Engine [zone](/compute/docs/regions-zones/regions-
zones#available) or [region](/compute/docs/regions-zones/regions-zones#available) in which the
cluster resides.
|
Operation |
setName(String name)
The server-assigned ID for the operation.
|
Operation |
setNodepoolConditions(List<StatusCondition> nodepoolConditions)
Which conditions caused the current node pool state.
|
Operation |
setOperationType(String operationType)
The operation type.
|
Operation |
setProgress(OperationProgress progress)
Output only.
|
Operation |
setSelfLink(String selfLink)
Server-defined URL for the resource.
|
Operation |
setStartTime(String startTime)
[Output only] The time the operation started, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation |
setStatus(String status)
The current status of the operation.
|
Operation |
setStatusMessage(String statusMessage)
Output only.
|
Operation |
setTargetLink(String targetLink)
Server-defined URL for the target of the operation.
|
Operation |
setZone(String zone)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the
operation is taking place.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<StatusCondition> getClusterConditions()
null for nonepublic Operation setClusterConditions(List<StatusCondition> clusterConditions)
clusterConditions - clusterConditions or null for nonepublic String getDetail()
null for nonepublic Operation setDetail(String detail)
detail - detail or null for nonepublic String getEndTime()
null for nonepublic Operation setEndTime(String endTime)
endTime - endTime or null for nonepublic String getLocation()
null for nonepublic Operation setLocation(String location)
location - location or null for nonepublic String getName()
null for nonepublic Operation setName(String name)
name - name or null for nonepublic List<StatusCondition> getNodepoolConditions()
null for nonepublic Operation setNodepoolConditions(List<StatusCondition> nodepoolConditions)
nodepoolConditions - nodepoolConditions or null for nonepublic String getOperationType()
null for nonepublic Operation setOperationType(String operationType)
operationType - operationType or null for nonepublic OperationProgress getProgress()
null for nonepublic Operation setProgress(OperationProgress progress)
progress - progress or null for nonepublic String getSelfLink()
null for nonepublic Operation setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStartTime()
null for nonepublic Operation setStartTime(String startTime)
startTime - startTime or null for nonepublic String getStatus()
null for nonepublic Operation setStatus(String status)
status - status or null for nonepublic String getStatusMessage()
null for nonepublic Operation setStatusMessage(String statusMessage)
statusMessage - statusMessage or null for nonepublic String getTargetLink()
null for nonepublic Operation setTargetLink(String targetLink)
targetLink - targetLink or null for nonepublic String getZone()
null for nonepublic Operation setZone(String zone)
zone - zone or null for nonepublic Operation set(String fieldName, Object value)
set in class GenericJsonpublic Operation clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.