Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::ReverseSshConnectivity (v0.1.5)

Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::ReverseSshConnectivity.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#vm

def vm() -> ::String
Returns
  • (::String) — The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

#vm=

def vm=(value) -> ::String
Parameter
  • value (::String) — The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
Returns
  • (::String) — The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

#vm_ip

def vm_ip() -> ::String
Returns
  • (::String) — Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

#vm_ip=

def vm_ip=(value) -> ::String
Parameter
  • value (::String) — Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
Returns
  • (::String) — Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

#vm_port

def vm_port() -> ::Integer
Returns
  • (::Integer) — Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

#vm_port=

def vm_port=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
Returns
  • (::Integer) — Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.

#vpc

def vpc() -> ::String
Returns
  • (::String) — The name of the VPC to peer with the Cloud SQL private network.

#vpc=

def vpc=(value) -> ::String
Parameter
  • value (::String) — The name of the VPC to peer with the Cloud SQL private network.
Returns
  • (::String) — The name of the VPC to peer with the Cloud SQL private network.