Class: Google::Apis::DatamigrationV1beta1::GenerateSshScriptRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datamigration_v1beta1/classes.rb,
generated/google/apis/datamigration_v1beta1/representations.rb,
generated/google/apis/datamigration_v1beta1/representations.rb

Overview

Request message for 'GenerateSshScript' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateSshScriptRequest

Returns a new instance of GenerateSshScriptRequest.



546
547
548
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 546

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

Instance Attribute Details

#vmString

Required. Bastion VM Instance name to use or to create. Corresponds to the JSON property vm

Returns:

  • (String)


529
530
531
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 529

def vm
  @vm
end

#vm_creation_configGoogle::Apis::DatamigrationV1beta1::VmCreationConfig

VM creation configuration message Corresponds to the JSON property vmCreationConfig



534
535
536
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 534

def vm_creation_config
  @vm_creation_config
end

#vm_portFixnum

The port that will be open on the bastion host Corresponds to the JSON property vmPort

Returns:

  • (Fixnum)


539
540
541
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 539

def vm_port
  @vm_port
end

#vm_selection_configGoogle::Apis::DatamigrationV1beta1::VmSelectionConfig

VM selection configuration message Corresponds to the JSON property vmSelectionConfig



544
545
546
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 544

def vm_selection_config
  @vm_selection_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



551
552
553
554
555
556
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 551

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