Class: Google::Apis::DatamigrationV1beta1::GenerateSshScriptRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1beta1::GenerateSshScriptRequest
- 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
-
#vm ⇒ String
Required.
-
#vm_creation_config ⇒ Google::Apis::DatamigrationV1beta1::VmCreationConfig
VM creation configuration message Corresponds to the JSON property
vmCreationConfig
. -
#vm_port ⇒ Fixnum
The port that will be open on the bastion host Corresponds to the JSON property
vmPort
. -
#vm_selection_config ⇒ Google::Apis::DatamigrationV1beta1::VmSelectionConfig
VM selection configuration message Corresponds to the JSON property
vmSelectionConfig
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateSshScriptRequest
constructor
A new instance of GenerateSshScriptRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#vm ⇒ String
Required. Bastion VM Instance name to use or to create.
Corresponds to the JSON property vm
527 528 529 |
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 527 def vm @vm end |
#vm_creation_config ⇒ Google::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_port ⇒ Fixnum
The port that will be open on the bastion host
Corresponds to the JSON property vmPort
537 538 539 |
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 537 def vm_port @vm_port end |
#vm_selection_config ⇒ Google::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 |