class Google::Apis::VmmigrationV1::UpgradeStatus

UpgradeStatus contains information about upgradeAppliance operation.

Attributes

error[RW]

The ‘Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `error` @return [Google::Apis::VmmigrationV1::Status]

previous_version[RW]

The version from which we upgraded. Corresponds to the JSON property ‘previousVersion` @return [String]

start_time[RW]

The time the operation was started. Corresponds to the JSON property ‘startTime` @return [String]

state[RW]

The state of the upgradeAppliance operation. Corresponds to the JSON property ‘state` @return [String]

version[RW]

The version to upgrade to. Corresponds to the JSON property ‘version` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vmmigration_v1/classes.rb, line 1949
def update!(**args)
  @error = args[:error] if args.key?(:error)
  @previous_version = args[:previous_version] if args.key?(:previous_version)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @version = args[:version] if args.key?(:version)
end