Struct google_api_proto::google::cloud::clouddms::v1::ReverseSshConnectivity
source · pub struct ReverseSshConnectivity {
pub vm_ip: String,
pub vm_port: i32,
pub vm: String,
pub vpc: String,
}
Expand description
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.
Fields§
§vm_ip: String
Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
vm_port: i32
Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
vm: String
The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
vpc: String
The name of the VPC to peer with the Cloud SQL private network.
Trait Implementations§
source§impl Clone for ReverseSshConnectivity
impl Clone for ReverseSshConnectivity
source§fn clone(&self) -> ReverseSshConnectivity
fn clone(&self) -> ReverseSshConnectivity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReverseSshConnectivity
impl Debug for ReverseSshConnectivity
source§impl Default for ReverseSshConnectivity
impl Default for ReverseSshConnectivity
source§impl Message for ReverseSshConnectivity
impl Message for ReverseSshConnectivity
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ReverseSshConnectivity
impl PartialEq for ReverseSshConnectivity
source§fn eq(&self, other: &ReverseSshConnectivity) -> bool
fn eq(&self, other: &ReverseSshConnectivity) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReverseSshConnectivity
Auto Trait Implementations§
impl Freeze for ReverseSshConnectivity
impl RefUnwindSafe for ReverseSshConnectivity
impl Send for ReverseSshConnectivity
impl Sync for ReverseSshConnectivity
impl Unpin for ReverseSshConnectivity
impl UnwindSafe for ReverseSshConnectivity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request