Class: Google::Apis::MigrationcenterV1alpha1::PlatformDetails

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

Information about the platform.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlatformDetails

Returns a new instance of PlatformDetails.



3300
3301
3302
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3300

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

Instance Attribute Details

#aws_ec2_detailsGoogle::Apis::MigrationcenterV1alpha1::AwsEc2PlatformDetails

AWS EC2 specific details. Corresponds to the JSON property awsEc2Details



3278
3279
3280
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3278

def aws_ec2_details
  @aws_ec2_details
end

#azure_vm_detailsGoogle::Apis::MigrationcenterV1alpha1::AzureVmPlatformDetails

Azure VM specific details. Corresponds to the JSON property azureVmDetails



3283
3284
3285
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3283

def azure_vm_details
  @azure_vm_details
end

#generic_detailsGoogle::Apis::MigrationcenterV1alpha1::GenericPlatformDetails

Generic platform details. Corresponds to the JSON property genericDetails



3288
3289
3290
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3288

def generic_details
  @generic_details
end

#physical_detailsGoogle::Apis::MigrationcenterV1alpha1::PhysicalPlatformDetails

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



3293
3294
3295
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3293

def physical_details
  @physical_details
end

#vmware_detailsGoogle::Apis::MigrationcenterV1alpha1::VmwarePlatformDetails

VMware specific details. Corresponds to the JSON property vmwareDetails



3298
3299
3300
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3298

def vmware_details
  @vmware_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3305
3306
3307
3308
3309
3310
3311
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3305

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