Class: Google::Apis::VmmigrationV1::SourceStorageResource
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::SourceStorageResource
- 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
SourceStorageResource describes a storage resource in the source.
Instance Attribute Summary collapse
-
#aws_disk_details ⇒ Google::Apis::VmmigrationV1::AwsSourceDiskDetails
Represents the source AWS Disk details.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceStorageResource
constructor
A new instance of SourceStorageResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SourceStorageResource
Returns a new instance of SourceStorageResource.
4667 4668 4669 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4667 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aws_disk_details ⇒ Google::Apis::VmmigrationV1::AwsSourceDiskDetails
Represents the source AWS Disk details.
Corresponds to the JSON property awsDiskDetails
4665 4666 4667 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4665 def aws_disk_details @aws_disk_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4672 4673 4674 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4672 def update!(**args) @aws_disk_details = args[:aws_disk_details] if args.key?(:aws_disk_details) end |