class Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate

Update of a single instance.

Attributes

error[RW]

Errors that occurred during the instance update. Corresponds to the JSON property `error` @return [Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error]

instance[RW]

Fully-qualified URL of the instance being updated. Corresponds to the JSON property `instance` @return [String]

status[RW]

Status of the instance update. Possible values are:

  • “PENDING”: The instance update is pending execution.

  • “ROLLING_FORWARD”: The instance update is going forward.

  • “ROLLING_BACK”: The instance update is being rolled back.

  • “PAUSED”: The instance update is temporarily paused (inactive).

  • “ROLLED_OUT”: The instance update is finished, the instance is running the

new template.

  • “ROLLED_BACK”: The instance update is finished, the instance has been

reverted to the previous template.

  • “CANCELLED”: The instance update is paused and no longer can be resumed,

undefined in which template the instance is running. Corresponds to the JSON property `status` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/replicapoolupdater_v1beta1/classes.rb, line 54
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/replicapoolupdater_v1beta1/classes.rb, line 59
def update!(**args)
  @error = args[:error] if args.key?(:error)
  @instance = args[:instance] if args.key?(:instance)
  @status = args[:status] if args.key?(:status)
end