[[["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-04 UTC."],[],[],null,["# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::ReverseSshConnectivity (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-ReverseSshConnectivity)\n- [1.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.3.0/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [1.2.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.2.2/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [1.1.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.1.0/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [1.0.1](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.0.1/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [0.8.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.8.0/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [0.7.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.7.2/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [0.6.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.6.0/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [0.5.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.5.0/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [0.4.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.4.0/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [0.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.3.0/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [0.2.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.2.0/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity)\n- [0.1.5](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.1.5/Google-Cloud-CloudDMS-V1-ReverseSshConnectivity) \nReference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::ReverseSshConnectivity.\n\nThe details needed to configure a reverse SSH tunnel between the source and\ndestination databases. These details will be used when calling the\ngenerateSshScript method (see\n\u003chttps://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs/generateSshScript\u003e)\nto produce the script that will help set up the reverse SSH tunnel, and to\nset up the VPC peering between the Cloud SQL private network and the VPC. \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### #vm\n\n def vm() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.\n\n### #vm=\n\n def vm=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. \n**Returns**\n\n- (::String) --- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.\n\n### #vm_ip\n\n def vm_ip() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.\n\n### #vm_ip=\n\n def vm_ip=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. \n**Returns**\n\n- (::String) --- Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.\n\n### #vm_port\n\n def vm_port() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.\n\n### #vm_port=\n\n def vm_port=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. \n**Returns**\n\n- (::Integer) --- Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.\n\n### #vpc\n\n def vpc() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The name of the VPC to peer with the Cloud SQL private network.\n\n### #vpc=\n\n def vpc=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The name of the VPC to peer with the Cloud SQL private network. \n**Returns**\n\n- (::String) --- The name of the VPC to peer with the Cloud SQL private network."]]