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 class
Operation.Error
static class
Operation.Status
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
clientOperationId()
Identifier specified by the client when the mutation was initiated.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)
abstract Date
creationTimestamp()
abstract String
description()
abstract Date
endTime()
abstract Operation.Error
error()
abstract String
httpErrorMessage()
abstract Integer
httpErrorStatusCode()
abstract String
id()
abstract Date
insertTime()
The time that this operation was requested.abstract String
name()
abstract String
operationType()
Examples include insert, update, and delete.abstract Integer
progress()
A progress indicator that ranges from 0 to 100.abstract URI
region()
abstract URI
selfLink()
abstract Date
startTime()
abstract Operation.Status
status()
abstract String
statusMessage()
Textual description of the current status of the operation.abstract String
targetId()
Target id which identifies a particular incarnation of the target.abstract URI
targetLink()
URL of the resource the operation is mutating.abstract String
user()
User who requested the operation, for exampleuser@example.com
.abstract List<Warning>
warnings()
abstract URI
zone()
-
-
-
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)
-
-