Class: Google::Apis::MigrationcenterV1::AwsEc2PlatformDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::AwsEc2PlatformDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
AWS EC2 specific details.
Instance Attribute Summary collapse
-
#location ⇒ String
The location of the machine in the AWS format.
-
#machine_type_label ⇒ String
AWS platform's machine type label.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AwsEc2PlatformDetails
constructor
A new instance of AwsEc2PlatformDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AwsEc2PlatformDetails
Returns a new instance of AwsEc2PlatformDetails.
563 564 565 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
The location of the machine in the AWS format.
Corresponds to the JSON property location
556 557 558 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 556 def location @location end |
#machine_type_label ⇒ String
AWS platform's machine type label.
Corresponds to the JSON property machineTypeLabel
561 562 563 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 561 def machine_type_label @machine_type_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
568 569 570 571 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 568 def update!(**args) @location = args[:location] if args.key?(:location) @machine_type_label = args[:machine_type_label] if args.key?(:machine_type_label) end |