Class: Google::Apis::VmmigrationV1::AwsDiskDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::AwsDiskDetails
- 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
The details of an AWS instance disk.
Instance Attribute Summary collapse
-
#disk_number ⇒ Fixnum
Output only.
-
#size_gb ⇒ Fixnum
Output only.
-
#volume_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AwsDiskDetails
constructor
A new instance of AwsDiskDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AwsDiskDetails
223 224 225 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_number ⇒ Fixnum
Output only. The ordinal number of the disk.
Corresponds to the JSON property diskNumber
211 212 213 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 211 def disk_number @disk_number end |
#size_gb ⇒ Fixnum
Output only. Size in GB.
Corresponds to the JSON property sizeGb
216 217 218 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 216 def size_gb @size_gb end |
#volume_id ⇒ String
Output only. AWS volume ID.
Corresponds to the JSON property volumeId
221 222 223 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 221 def volume_id @volume_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
228 229 230 231 232 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 228 def update!(**args) @disk_number = args[:disk_number] if args.key?(:disk_number) @size_gb = args[:size_gb] if args.key?(:size_gb) @volume_id = args[:volume_id] if args.key?(:volume_id) end |