class Google::Apis::DatamigrationV1beta1::VmCreationConfig
VM creation configuration message
Attributes
subnet[RW]
The subnet name the vm needs to be created in. Corresponds to the JSON property `subnet` @return [String]
vm_machine_type[RW]
Required. VM instance machine type to create. Corresponds to the JSON property `vmMachineType` @return [String]
vm_zone[RW]
The Google
Cloud Platform zone to create the VM in. Corresponds to the JSON property `vmZone` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datamigration_v1beta1/classes.rb, line 1615 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datamigration_v1beta1/classes.rb, line 1620 def update!(**args) @subnet = args[:subnet] if args.key?(:subnet) @vm_machine_type = args[:vm_machine_type] if args.key?(:vm_machine_type) @vm_zone = args[:vm_zone] if args.key?(:vm_zone) end