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 Google Container Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Operation() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
clone() |
String |
getDetail()
Detailed operation progress, if available.
|
String |
getName()
The server-assigned ID for the operation.
|
String |
getOperationType()
The operation type.
|
String |
getSelfLink()
Server-defined URL for the resource.
|
String |
getStatus()
The current status of the operation.
|
String |
getStatusMessage()
If an error has occurred, a textual description of the error.
|
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 |
setDetail(String detail)
Detailed operation progress, if available.
|
Operation |
setName(String name)
The server-assigned ID for the operation.
|
Operation |
setOperationType(String operationType)
The operation type.
|
Operation |
setSelfLink(String selfLink)
Server-defined URL for the resource.
|
Operation |
setStatus(String status)
The current status of the operation.
|
Operation |
setStatusMessage(String statusMessage)
If an error has occurred, a textual description of the error.
|
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getDetail()
null for nonepublic Operation setDetail(String detail)
detail - detail or null for nonepublic String getName()
null for nonepublic Operation setName(String name)
name - name or null for nonepublic String getOperationType()
null for nonepublic Operation setOperationType(String operationType)
operationType - operationType or null for nonepublic String getSelfLink()
null for nonepublic Operation setSelfLink(String selfLink)
selfLink - selfLink 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 GenericJson