Class: Google::Apis::MigrationcenterV1::PlatformDetails

Inherits:
Object
  • Object
show all
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

Information about the platform.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlatformDetails

Returns a new instance of PlatformDetails.



4233
4234
4235
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4233

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#aws_ec2_detailsGoogle::Apis::MigrationcenterV1::AwsEc2PlatformDetails

AWS EC2 specific details. Corresponds to the JSON property awsEc2Details



4211
4212
4213
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4211

def aws_ec2_details
  @aws_ec2_details
end

#azure_vm_detailsGoogle::Apis::MigrationcenterV1::AzureVmPlatformDetails

Azure VM specific details. Corresponds to the JSON property azureVmDetails



4216
4217
4218
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4216

def azure_vm_details
  @azure_vm_details
end

#generic_detailsGoogle::Apis::MigrationcenterV1::GenericPlatformDetails

Generic platform details. Corresponds to the JSON property genericDetails



4221
4222
4223
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4221

def generic_details
  @generic_details
end

#physical_detailsGoogle::Apis::MigrationcenterV1::PhysicalPlatformDetails

Platform specific details for Physical Machines. Corresponds to the JSON property physicalDetails



4226
4227
4228
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4226

def physical_details
  @physical_details
end

#vmware_detailsGoogle::Apis::MigrationcenterV1::VmwarePlatformDetails

VMware specific details. Corresponds to the JSON property vmwareDetails



4231
4232
4233
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4231

def vmware_details
  @vmware_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4238
4239
4240
4241
4242
4243
4244
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4238

def update!(**args)
  @aws_ec2_details = args[:aws_ec2_details] if args.key?(:aws_ec2_details)
  @azure_vm_details = args[:azure_vm_details] if args.key?(:azure_vm_details)
  @generic_details = args[:generic_details] if args.key?(:generic_details)
  @physical_details = args[:physical_details] if args.key?(:physical_details)
  @vmware_details = args[:vmware_details] if args.key?(:vmware_details)
end