class Google::Apis::ComputeV1::PreservedState

Preserved state for a given instance.

Attributes

disks[RW]

Preserved disks defined for this instance. This map is keyed with the device names of the disks. Corresponds to the JSON property `disks` @return [Hash<String,Google::Apis::ComputeV1::PreservedStatePreservedDisk>]

metadata[RW]

Preserved metadata defined for this instance. Corresponds to the JSON property `metadata` @return [Hash<String,String>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 25403
def update!(**args)
  @disks = args[:disks] if args.key?(:disks)
  @metadata = args[:metadata] if args.key?(:metadata)
end