[[["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,["# Google Cloud Dms V1 Client - Class ReverseSshConnectivity (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.ReverseSshConnectivity)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.ReverseSshConnectivity)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.ReverseSshConnectivity)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.ReverseSshConnectivity)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.ReverseSshConnectivity)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.ReverseSshConnectivity)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.ReverseSshConnectivity)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.ReverseSshConnectivity) \nReference documentation and code samples for the Google Cloud Dms V1 Client class 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\nGenerated from protobuf message `google.cloud.clouddms.v1.ReverseSshConnectivity`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getVmIp\n\nRequired. The IP of the virtual machine (Compute Engine) used as the\nbastion server for the SSH tunnel.\n\n### setVmIp\n\nRequired. The IP of the virtual machine (Compute Engine) used as the\nbastion server for the SSH tunnel.\n\n### getVmPort\n\nRequired. The forwarding port of the virtual machine (Compute Engine) used\nas the bastion server for the SSH tunnel.\n\n### setVmPort\n\nRequired. The forwarding port of the virtual machine (Compute Engine) used\nas the bastion server for the SSH tunnel.\n\n### getVm\n\nThe name of the virtual machine (Compute Engine) used as the bastion server\nfor the SSH tunnel.\n\n### setVm\n\nThe name of the virtual machine (Compute Engine) used as the bastion server\nfor the SSH tunnel.\n\n### getVpc\n\nThe name of the VPC to peer with the Cloud SQL private network.\n\n### setVpc\n\nThe name of the VPC to peer with the Cloud SQL private network."]]