Class: Google::Apis::NotebooksV1::UpgradeHistoryEntry
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::UpgradeHistoryEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/representations.rb
Overview
The entry of VM image upgrade history.
Instance Attribute Summary collapse
-
#action ⇒ String
Action.
-
#container_image ⇒ String
The container image before this instance upgrade.
-
#create_time ⇒ String
The time that this instance upgrade history entry is created.
-
#framework ⇒ String
The framework of this notebook instance.
-
#snapshot ⇒ String
The snapshot of the boot disk of this notebook instance before upgrade.
-
#state ⇒ String
The state of this instance upgrade history entry.
-
#target_image ⇒ String
Target VM Image.
-
#target_version ⇒ String
Target VM Version, like m63.
-
#version ⇒ String
The version of the notebook instance before this upgrade.
-
#vm_image ⇒ String
The VM image before this instance upgrade.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpgradeHistoryEntry
constructor
A new instance of UpgradeHistoryEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpgradeHistoryEntry
Returns a new instance of UpgradeHistoryEntry.
3050 3051 3052 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3050 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Action. Rolloback or Upgrade.
Corresponds to the JSON property action
3003 3004 3005 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3003 def action @action end |
#container_image ⇒ String
The container image before this instance upgrade.
Corresponds to the JSON property containerImage
3008 3009 3010 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3008 def container_image @container_image end |
#create_time ⇒ String
The time that this instance upgrade history entry is created.
Corresponds to the JSON property createTime
3013 3014 3015 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3013 def create_time @create_time end |
#framework ⇒ String
The framework of this notebook instance.
Corresponds to the JSON property framework
3018 3019 3020 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3018 def framework @framework end |
#snapshot ⇒ String
The snapshot of the boot disk of this notebook instance before upgrade.
Corresponds to the JSON property snapshot
3023 3024 3025 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3023 def snapshot @snapshot end |
#state ⇒ String
The state of this instance upgrade history entry.
Corresponds to the JSON property state
3028 3029 3030 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3028 def state @state end |
#target_image ⇒ String
Target VM Image. Format: ainotebooks-vm/project/image-name/name
.
Corresponds to the JSON property targetImage
3033 3034 3035 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3033 def target_image @target_image end |
#target_version ⇒ String
Target VM Version, like m63.
Corresponds to the JSON property targetVersion
3038 3039 3040 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3038 def target_version @target_version end |
#version ⇒ String
The version of the notebook instance before this upgrade.
Corresponds to the JSON property version
3043 3044 3045 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3043 def version @version end |
#vm_image ⇒ String
The VM image before this instance upgrade.
Corresponds to the JSON property vmImage
3048 3049 3050 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3048 def vm_image @vm_image end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3055 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 |