public final class Operation
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 Container Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Operation() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
clone() |
java.lang.String |
getErrorMessage()
If an error has occurred, a textual description of the error.
|
java.lang.String |
getName()
The server-assigned ID for this operation.
|
java.lang.String |
getOperationType()
The operation type.
|
java.lang.String |
getStatus()
The current status of the operation.
|
java.lang.String |
getTarget()
[Optional] The URL of the cluster resource that this operation is associated with.
|
java.lang.String |
getZone()
The name of the Google Compute Engine zone in which the operation is taking place.
|
Operation |
set(java.lang.String fieldName,
java.lang.Object value) |
Operation |
setErrorMessage(java.lang.String errorMessage)
If an error has occurred, a textual description of the error.
|
Operation |
setName(java.lang.String name)
The server-assigned ID for this operation.
|
Operation |
setOperationType(java.lang.String operationType)
The operation type.
|
Operation |
setStatus(java.lang.String status)
The current status of the operation.
|
Operation |
setTarget(java.lang.String target)
[Optional] The URL of the cluster resource that this operation is associated with.
|
Operation |
setZone(java.lang.String zone)
The name of the Google Compute Engine zone in which the operation is taking place.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getErrorMessage()
null for nonepublic Operation setErrorMessage(java.lang.String errorMessage)
errorMessage - errorMessage or null for nonepublic java.lang.String getName()
null for nonepublic Operation setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getOperationType()
null for nonepublic Operation setOperationType(java.lang.String operationType)
operationType - operationType or null for nonepublic java.lang.String getStatus()
null for nonepublic Operation setStatus(java.lang.String status)
status - status or null for nonepublic java.lang.String getTarget()
null for nonepublic Operation setTarget(java.lang.String target)
target - target or null for nonepublic java.lang.String getZone()
null for nonepublic Operation setZone(java.lang.String zone)
zone - zone or null for nonepublic Operation set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Operation clone()
clone in class com.google.api.client.json.GenericJson