Class: Google::Apis::MigrationcenterV1alpha1::AwsEc2PlatformDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AwsEc2PlatformDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
AWS EC2 specific details.
Instance Attribute Summary collapse
-
#hyperthreading ⇒ String
Optional.
-
#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.
1367 1368 1369 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1367 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hyperthreading ⇒ String
Optional. Whether the machine is hyperthreaded.
Corresponds to the JSON property hyperthreading
1355 1356 1357 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1355 def hyperthreading @hyperthreading end |
#location ⇒ String
The location of the machine in the AWS format.
Corresponds to the JSON property location
1360 1361 1362 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1360 def location @location end |
#machine_type_label ⇒ String
AWS platform's machine type label.
Corresponds to the JSON property machineTypeLabel
1365 1366 1367 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1365 def machine_type_label @machine_type_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1372 1373 1374 1375 1376 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1372 def update!(**args) @hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading) @location = args[:location] if args.key?(:location) @machine_type_label = args[:machine_type_label] if args.key?(:machine_type_label) end |