class Google::Apis::DatamigrationV1::GenerateSshScriptRequest

Request message for 'GenerateSshScript' request.

Attributes

vm[RW]

Required. Bastion VM Instance name to use or to create. Corresponds to the JSON property `vm` @return [String]

vm_creation_config[RW]

VM creation configuration message Corresponds to the JSON property `vmCreationConfig` @return [Google::Apis::DatamigrationV1::VmCreationConfig]

vm_port[RW]

The port that will be open on the bastion host Corresponds to the JSON property `vmPort` @return [Fixnum]

vm_selection_config[RW]

VM selection configuration message Corresponds to the JSON property `vmSelectionConfig` @return [Google::Apis::DatamigrationV1::VmSelectionConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datamigration_v1/classes.rb, line 558
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_v1/classes.rb, line 563
def update!(**args)
  @vm = args[:vm] if args.key?(:vm)
  @vm_creation_config = args[:vm_creation_config] if args.key?(:vm_creation_config)
  @vm_port = args[:vm_port] if args.key?(:vm_port)
  @vm_selection_config = args[:vm_selection_config] if args.key?(:vm_selection_config)
end