Class: Google::Apis::VmmigrationV1alpha1::SourceStorageResource
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::SourceStorageResource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb
Overview
SourceStorageResource describes a storage resource in the source.
Instance Attribute Summary collapse
-
#aws_disk_details ⇒ Google::Apis::VmmigrationV1alpha1::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.
4739 4740 4741 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4739 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aws_disk_details ⇒ Google::Apis::VmmigrationV1alpha1::AwsSourceDiskDetails
Represents the source AWS Disk details.
Corresponds to the JSON property awsDiskDetails
4737 4738 4739 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4737 def aws_disk_details @aws_disk_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4744 4745 4746 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4744 def update!(**args) @aws_disk_details = args[:aws_disk_details] if args.key?(:aws_disk_details) end |