Class Operation

java.lang.Object
org.jclouds.googlecomputeengine.domain.Operation

public abstract class Operation extends Object
  • Method Details

    • id

      public abstract String id()
    • creationTimestamp

      @Nullable public abstract Date creationTimestamp()
    • selfLink

      public abstract URI selfLink()
    • name

      public abstract String name()
    • description

      @Nullable public abstract String description()
    • 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 example user@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.
    • startTime

      @Nullable public abstract Date startTime()
    • endTime

      @Nullable public abstract Date endTime()
    • httpErrorStatusCode

      @Nullable public abstract Integer httpErrorStatusCode()
    • httpErrorMessage

      @Nullable public abstract String httpErrorMessage()
    • operationType

      public abstract String operationType()
      Examples include insert, update, and delete.
    • error

      public abstract Operation.Error error()
    • warnings

      @Nullable public abstract List<Warning> warnings()
    • region

      @Nullable public abstract URI region()
    • zone

      @Nullable public abstract URI zone()
    • 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)