class Google::Apis::NotebooksV1::UpgradeHistoryEntry

The entry of VM image upgrade history.

Attributes

action[RW]

Action. Rolloback or Upgrade. Corresponds to the JSON property `action` @return [String]

container_image[RW]

The container image before this instance upgrade. Corresponds to the JSON property `containerImage` @return [String]

create_time[RW]

The time that this instance upgrade history entry is created. Corresponds to the JSON property `createTime` @return [String]

framework[RW]

The framework of this notebook instance. Corresponds to the JSON property `framework` @return [String]

snapshot[RW]

The snapshot of the boot disk of this notebook instance before upgrade. Corresponds to the JSON property `snapshot` @return [String]

state[RW]

The state of this instance upgrade history entry. Corresponds to the JSON property `state` @return [String]

target_image[RW]

Target VM Image. Format: ainotebooks-vm/project/image-name/name. Corresponds to the JSON property `targetImage` @return [String]

target_version[RW]

Target VM Version, like m63. Corresponds to the JSON property `targetVersion` @return [String]

version[RW]

The version of the notebook instance before this upgrade. Corresponds to the JSON property `version` @return [String]

vm_image[RW]

The VM image before this instance upgrade. Corresponds to the JSON property `vmImage` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/notebooks_v1/classes.rb, line 2646
def update!(**args)
  @action = args[:action] if args.key?(:action)
  @container_image = args[:container_image] if args.key?(:container_image)
  @create_time = args[:create_time] if args.key?(:create_time)
  @framework = args[:framework] if args.key?(:framework)
  @snapshot = args[:snapshot] if args.key?(:snapshot)
  @state = args[:state] if args.key?(:state)
  @target_image = args[:target_image] if args.key?(:target_image)
  @target_version = args[:target_version] if args.key?(:target_version)
  @version = args[:version] if args.key?(:version)
  @vm_image = args[:vm_image] if args.key?(:vm_image)
end