ReverseSshConnectivity class

The details needed to configure a reverse SSH tunnel between the source and destination databases.

These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.

Constructors

ReverseSshConnectivity({String? vm, String? vmIp, int? vmPort, String? vpc})
ReverseSshConnectivity.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vm String?
The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
getter/setter pair
vmIp String?
The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
getter/setter pair
vmPort int?
The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
getter/setter pair
vpc String?
The name of the VPC to peer with the Cloud SQL private network.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited