public sealed class ReverseSshConnectivity : IMessage<ReverseSshConnectivity>, IEquatable<ReverseSshConnectivity>, IDeepCloneable<ReverseSshConnectivity>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class ReverseSshConnectivity.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003eReverseSshConnectivity\u003c/code\u003e class within the Google Cloud Database Migration v1 API, which is used to configure a reverse SSH tunnel between source and destination databases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReverseSshConnectivity\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.CloudDms.V1\u003c/code\u003e namespace and has several versions available, with the latest being 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eReverseSshConnectivity\u003c/code\u003e class include \u003ccode\u003eVm\u003c/code\u003e, \u003ccode\u003eVmIp\u003c/code\u003e, \u003ccode\u003eVmPort\u003c/code\u003e, and \u003ccode\u003eVpc\u003c/code\u003e, which define the virtual machine and network details for the SSH tunnel setup.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReverseSshConnectivity\u003c/code\u003e class is crucial for creating the SSH tunnel script and setting up the necessary VPC peering between the Cloud SQL private network and the VPC.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class ReverseSshConnectivity (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ReverseSshConnectivity)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.ReverseSshConnectivity)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.ReverseSshConnectivity)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.ReverseSshConnectivity)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.ReverseSshConnectivity)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.ReverseSshConnectivity)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.ReverseSshConnectivity)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.ReverseSshConnectivity)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.ReverseSshConnectivity) \n\n public sealed class ReverseSshConnectivity : IMessage\u003cReverseSshConnectivity\u003e, IEquatable\u003cReverseSshConnectivity\u003e, IDeepCloneable\u003cReverseSshConnectivity\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API 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\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ReverseSshConnectivity \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ReverseSshConnectivity](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ReverseSshConnectivity), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ReverseSshConnectivity](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ReverseSshConnectivity), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ReverseSshConnectivity](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ReverseSshConnectivity), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudDms.V1](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudDms.V1.dll\n\nConstructors\n------------\n\n### ReverseSshConnectivity()\n\n public ReverseSshConnectivity()\n\n### ReverseSshConnectivity(ReverseSshConnectivity)\n\n public ReverseSshConnectivity(ReverseSshConnectivity other)\n\nProperties\n----------\n\n### Vm\n\n public string Vm { get; set; }\n\nThe name of the virtual machine (Compute Engine) used as the bastion server\nfor the SSH tunnel.\n\n### VmIp\n\n public string VmIp { get; set; }\n\nRequired. The IP of the virtual machine (Compute Engine) used as the\nbastion server for the SSH tunnel.\n\n### VmPort\n\n public int VmPort { get; set; }\n\nRequired. The forwarding port of the virtual machine (Compute Engine) used\nas the bastion server for the SSH tunnel.\n\n### Vpc\n\n public string Vpc { get; set; }\n\nThe name of the VPC to peer with the Cloud SQL private network."]]