Class: Google::Apis::NotebooksV1::UpgradeHistoryEntry
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::UpgradeHistoryEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/notebooks_v1/classes.rb,
generated/google/apis/notebooks_v1/representations.rb,
generated/google/apis/notebooks_v1/representations.rb
Instance Attribute Summary collapse
-
#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.
-
#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.
1384 1385 1386 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1384 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container_image ⇒ String
The container image before this instance upgrade.
Corresponds to the JSON property containerImage
1352 1353 1354 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1352 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
1357 1358 1359 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1357 def create_time @create_time end |
#framework ⇒ String
The framework of this notebook instance.
Corresponds to the JSON property framework
1362 1363 1364 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1362 def framework @framework end |
#snapshot ⇒ String
The snapshot of the boot disk of this notebook instance before upgrade.
Corresponds to the JSON property snapshot
1367 1368 1369 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1367 def snapshot @snapshot end |
#state ⇒ String
The state of this instance upgrade history entry.
Corresponds to the JSON property state
1372 1373 1374 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1372 def state @state end |
#version ⇒ String
The version of the notebook instance before this upgrade.
Corresponds to the JSON property version
1377 1378 1379 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1377 def version @version end |
#vm_image ⇒ String
The VM image before this instance upgrade.
Corresponds to the JSON property vmImage
1382 1383 1384 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1382 def vm_image @vm_image end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1389 1390 1391 1392 1393 1394 1395 1396 1397 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1389 def update!(**args) @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) @version = args[:version] if args.key?(:version) @vm_image = args[:vm_image] if args.key?(:vm_image) end |