Class: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb

Overview

ComputeEngineDisksTargetDetails is a collection of created Persistent Disks details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ComputeEngineDisksTargetDetails

Returns a new instance of ComputeEngineDisksTargetDetails.



689
690
691
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 689

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disksArray<Google::Apis::VmmigrationV1::PersistentDisk>

The details of each created Persistent Disk. Corresponds to the JSON property disks



687
688
689
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 687

def disks
  @disks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



694
695
696
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 694

def update!(**args)
  @disks = args[:disks] if args.key?(:disks)
end