Class: Google::Apis::NotebooksV1::UpgradeHistoryEntry

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_imageString

The container image before this instance upgrade. Corresponds to the JSON property containerImage

Returns:

  • (String)


1352
1353
1354
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1352

def container_image
  @container_image
end

#create_timeString

The time that this instance upgrade history entry is created. Corresponds to the JSON property createTime

Returns:

  • (String)


1357
1358
1359
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1357

def create_time
  @create_time
end

#frameworkString

The framework of this notebook instance. Corresponds to the JSON property framework

Returns:

  • (String)


1362
1363
1364
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1362

def framework
  @framework
end

#snapshotString

The snapshot of the boot disk of this notebook instance before upgrade. Corresponds to the JSON property snapshot

Returns:

  • (String)


1367
1368
1369
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1367

def snapshot
  @snapshot
end

#stateString

The state of this instance upgrade history entry. Corresponds to the JSON property state

Returns:

  • (String)


1372
1373
1374
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1372

def state
  @state
end

#versionString

The version of the notebook instance before this upgrade. Corresponds to the JSON property version

Returns:

  • (String)


1377
1378
1379
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1377

def version
  @version
end

#vm_imageString

The VM image before this instance upgrade. Corresponds to the JSON property vmImage

Returns:

  • (String)


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