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 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 |
|---|
Operation() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
clone() |
java.lang.String |
getDetail()
Detailed operation progress, if available.
|
java.lang.String |
getEndTime()
[Output only] The time the operation completed, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
java.lang.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.
|
java.lang.String |
getName()
The server-assigned ID for the operation.
|
java.lang.String |
getOperationType()
The operation type.
|
java.lang.String |
getSelfLink()
Server-defined URL for the resource.
|
java.lang.String |
getStartTime()
[Output only] The time the operation started, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
java.lang.String |
getStatus()
The current status of the operation.
|
java.lang.String |
getStatusMessage()
If an error has occurred, a textual description of the error.
|
java.lang.String |
getTargetLink()
Server-defined URL for the target of the operation.
|
java.lang.String |
getZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the
operation is taking place.
|
Operation |
set(java.lang.String fieldName,
java.lang.Object value) |
Operation |
setDetail(java.lang.String detail)
Detailed operation progress, if available.
|
Operation |
setEndTime(java.lang.String endTime)
[Output only] The time the operation completed, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation |
setLocation(java.lang.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(java.lang.String name)
The server-assigned ID for the operation.
|
Operation |
setOperationType(java.lang.String operationType)
The operation type.
|
Operation |
setSelfLink(java.lang.String selfLink)
Server-defined URL for the resource.
|
Operation |
setStartTime(java.lang.String startTime)
[Output only] The time the operation started, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation |
setStatus(java.lang.String status)
The current status of the operation.
|
Operation |
setStatusMessage(java.lang.String statusMessage)
If an error has occurred, a textual description of the error.
|
Operation |
setTargetLink(java.lang.String targetLink)
Server-defined URL for the target of the operation.
|
Operation |
setZone(java.lang.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, setUnknownKeyspublic java.lang.String getDetail()
null for nonepublic Operation setDetail(java.lang.String detail)
detail - detail or null for nonepublic java.lang.String getEndTime()
null for nonepublic Operation setEndTime(java.lang.String endTime)
endTime - endTime or null for nonepublic java.lang.String getLocation()
null for nonepublic Operation setLocation(java.lang.String location)
location - location 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 getSelfLink()
null for nonepublic Operation setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getStartTime()
null for nonepublic Operation setStartTime(java.lang.String startTime)
startTime - startTime 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 getStatusMessage()
null for nonepublic Operation setStatusMessage(java.lang.String statusMessage)
statusMessage - statusMessage or null for nonepublic java.lang.String getTargetLink()
null for nonepublic Operation setTargetLink(java.lang.String targetLink)
targetLink - targetLink 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