Note: The following fields are mutually exclusive: vm_creation_config, vm_selection_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: vm_creation_config, vm_selection_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: vm_creation_config, vm_selection_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#vm_port
defvm_port()->::Integer
Returns
(::Integer) — The port that will be open on the bastion host.
#vm_port=
defvm_port=(value)->::Integer
Parameter
value (::Integer) — The port that will be open on the bastion host.
Returns
(::Integer) — The port that will be open on the bastion host.
Note: The following fields are mutually exclusive: vm_selection_config, vm_creation_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: vm_selection_config, vm_creation_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: vm_selection_config, vm_creation_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::GenerateSshScriptRequest (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.3.0/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [1.2.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.2.2/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.1.0/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.0.1/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.8.0/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [0.7.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.7.2/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.6.0/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.5.0/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.4.0/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.3.0/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.2.0/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest)\n- [0.1.5](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.1.5/Google-Cloud-CloudDMS-V1-GenerateSshScriptRequest) \nReference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::GenerateSshScriptRequest.\n\nRequest message for 'GenerateSshScript' request. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #migration_job\n\n def migration_job() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Name of the migration job resource to generate the SSH script.\n\n### #migration_job=\n\n def migration_job=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Name of the migration job resource to generate the SSH script. \n**Returns**\n\n- (::String) --- Name of the migration job resource to generate the SSH script.\n\n### #vm\n\n def vm() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Bastion VM Instance name to use or to create.\n\n### #vm=\n\n def vm=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Bastion VM Instance name to use or to create. \n**Returns**\n\n- (::String) --- Required. Bastion VM Instance name to use or to create.\n\n### #vm_creation_config\n\n def vm_creation_config() -\u003e ::Google::Cloud::CloudDMS::V1::VmCreationConfig\n\n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::VmCreationConfig](./Google-Cloud-CloudDMS-V1-VmCreationConfig)) --- The VM creation configuration\n\n\n Note: The following fields are mutually exclusive: `vm_creation_config`, `vm_selection_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #vm_creation_config=\n\n def vm_creation_config=(value) -\u003e ::Google::Cloud::CloudDMS::V1::VmCreationConfig\n\n**Parameter**\n\n- **value** ([::Google::Cloud::CloudDMS::V1::VmCreationConfig](./Google-Cloud-CloudDMS-V1-VmCreationConfig)) --- The VM creation configuration\n\n\nNote: The following fields are mutually exclusive: `vm_creation_config`, `vm_selection_config`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::VmCreationConfig](./Google-Cloud-CloudDMS-V1-VmCreationConfig)) --- The VM creation configuration\n\n\n Note: The following fields are mutually exclusive: `vm_creation_config`, `vm_selection_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #vm_port\n\n def vm_port() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The port that will be open on the bastion host.\n\n### #vm_port=\n\n def vm_port=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The port that will be open on the bastion host. \n**Returns**\n\n- (::Integer) --- The port that will be open on the bastion host.\n\n### #vm_selection_config\n\n def vm_selection_config() -\u003e ::Google::Cloud::CloudDMS::V1::VmSelectionConfig\n\n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::VmSelectionConfig](./Google-Cloud-CloudDMS-V1-VmSelectionConfig)) --- The VM selection configuration\n\n\n Note: The following fields are mutually exclusive: `vm_selection_config`, `vm_creation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #vm_selection_config=\n\n def vm_selection_config=(value) -\u003e ::Google::Cloud::CloudDMS::V1::VmSelectionConfig\n\n**Parameter**\n\n- **value** ([::Google::Cloud::CloudDMS::V1::VmSelectionConfig](./Google-Cloud-CloudDMS-V1-VmSelectionConfig)) --- The VM selection configuration\n\n\nNote: The following fields are mutually exclusive: `vm_selection_config`, `vm_creation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::VmSelectionConfig](./Google-Cloud-CloudDMS-V1-VmSelectionConfig)) --- The VM selection configuration\n\n\n Note: The following fields are mutually exclusive: `vm_selection_config`, `vm_creation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]