Class Operation
- java.lang.Object
-
- org.jclouds.googlecomputeengine.domain.Operation
-
public abstract class Operation extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperation.Errorstatic classOperation.Status
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringclientOperationId()Identifier specified by the client when the mutation was initiated.static Operationcreate(String id, Date creationTimestamp, URI selfLink, String name, String description, URI targetLink, String targetId, String clientOperationId, Operation.Status status, String statusMessage, String user, Integer progress, Date insertTime, Date startTime, Date endTime, Integer httpErrorStatusCode, String httpErrorMessage, String operationType, Operation.Error error, List<Warning> warnings, URI region, URI zone)abstract DatecreationTimestamp()abstract Stringdescription()abstract DateendTime()abstract Operation.Errorerror()abstract StringhttpErrorMessage()abstract IntegerhttpErrorStatusCode()abstract Stringid()abstract DateinsertTime()The time that this operation was requested.abstract Stringname()abstract StringoperationType()Examples include insert, update, and delete.abstract Integerprogress()A progress indicator that ranges from 0 to 100.abstract URIregion()abstract URIselfLink()abstract DatestartTime()abstract Operation.Statusstatus()abstract StringstatusMessage()Textual description of the current status of the operation.abstract StringtargetId()Target id which identifies a particular incarnation of the target.abstract URItargetLink()URL of the resource the operation is mutating.abstract Stringuser()User who requested the operation, for exampleuser@example.com.abstract List<Warning>warnings()abstract URIzone()
-
-
-
Method Detail
-
id
public abstract String id()
-
selfLink
public abstract URI selfLink()
-
name
public abstract String name()
-
targetLink
public abstract URI targetLink()
URL of the resource the operation is mutating.
-
targetId
@Nullable public abstract String targetId()
Target id which identifies a particular incarnation of the target.
-
clientOperationId
@Nullable public abstract String clientOperationId()
Identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.
-
status
public abstract Operation.Status status()
-
statusMessage
@Nullable public abstract String statusMessage()
Textual description of the current status of the operation.
-
user
@Nullable public abstract String user()
User who requested the operation, for exampleuser@example.com.
-
progress
@Nullable public abstract Integer progress()
A progress indicator that ranges from 0 to 100. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses.
-
insertTime
public abstract Date insertTime()
The time that this operation was requested.
-
operationType
public abstract String operationType()
Examples include insert, update, and delete.
-
error
public abstract Operation.Error error()
-
create
public static Operation create(String id, Date creationTimestamp, URI selfLink, String name, String description, URI targetLink, String targetId, String clientOperationId, Operation.Status status, String statusMessage, String user, Integer progress, Date insertTime, Date startTime, Date endTime, Integer httpErrorStatusCode, String httpErrorMessage, String operationType, Operation.Error error, List<Warning> warnings, URI region, URI zone)
-
-