Struct google_api_proto::google::cloud::compute::v1::VpnGatewayStatusVpnConnection
source · pub struct VpnGatewayStatusVpnConnection {
pub peer_external_gateway: Option<String>,
pub peer_gcp_gateway: Option<String>,
pub state: Option<VpnGatewayStatusHighAvailabilityRequirementState>,
pub tunnels: Vec<VpnGatewayStatusTunnel>,
}
Expand description
A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
Fields§
§peer_external_gateway: Option<String>
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
peer_gcp_gateway: Option<String>
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
state: Option<VpnGatewayStatusHighAvailabilityRequirementState>
HighAvailabilityRequirementState for the VPN connection.
tunnels: Vec<VpnGatewayStatusTunnel>
List of VPN tunnels that are in this VPN connection.
Implementations§
source§impl VpnGatewayStatusVpnConnection
impl VpnGatewayStatusVpnConnection
sourcepub fn peer_gcp_gateway(&self) -> &str
pub fn peer_gcp_gateway(&self) -> &str
Returns the value of peer_gcp_gateway
, or the default value if peer_gcp_gateway
is unset.
sourcepub fn peer_external_gateway(&self) -> &str
pub fn peer_external_gateway(&self) -> &str
Returns the value of peer_external_gateway
, or the default value if peer_external_gateway
is unset.
Trait Implementations§
source§impl Clone for VpnGatewayStatusVpnConnection
impl Clone for VpnGatewayStatusVpnConnection
source§fn clone(&self) -> VpnGatewayStatusVpnConnection
fn clone(&self) -> VpnGatewayStatusVpnConnection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for VpnGatewayStatusVpnConnection
impl Message for VpnGatewayStatusVpnConnection
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 VpnGatewayStatusVpnConnection
impl PartialEq for VpnGatewayStatusVpnConnection
source§fn eq(&self, other: &VpnGatewayStatusVpnConnection) -> bool
fn eq(&self, other: &VpnGatewayStatusVpnConnection) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpnGatewayStatusVpnConnection
Auto Trait Implementations§
impl Freeze for VpnGatewayStatusVpnConnection
impl RefUnwindSafe for VpnGatewayStatusVpnConnection
impl Send for VpnGatewayStatusVpnConnection
impl Sync for VpnGatewayStatusVpnConnection
impl Unpin for VpnGatewayStatusVpnConnection
impl UnwindSafe for VpnGatewayStatusVpnConnection
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