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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamigration_v1beta1/classes.rb,
lib/google/apis/datamigration_v1beta1/representations.rb,
lib/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.



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

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)


527
528
529
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 527

def vm
  @vm
end

#vm_creation_configGoogle::Apis::DatamigrationV1beta1::VmCreationConfig

VM creation configuration message Corresponds to the JSON property vmCreationConfig



532
533
534
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 532

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)


537
538
539
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 537

def vm_port
  @vm_port
end

#vm_selection_configGoogle::Apis::DatamigrationV1beta1::VmSelectionConfig

VM selection configuration message Corresponds to the JSON property vmSelectionConfig



542
543
544
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 542

def vm_selection_config
  @vm_selection_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



549
550
551
552
553
554
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 549

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