pub struct VpnGateway {
pub name: String,
pub vpc: String,
pub floating_ip: String,
pub state: i32,
pub create_time: Option<Timestamp>,
pub creator: String,
pub tags: BTreeMap<String, String>,
}Expand description
A VPC’s end of its site-to-site VPN tunnels.
Fields§
§name: StringThe gateway’s resource name.
vpc: StringThe full name of the VPC the gateway serves, of the same project, in the zone’s region. A VPC has at most one VPN gateway.
floating_ip: StringThe full name of the floating IP the tunnels use as the gateway’s public address, of the same project and zone. While the gateway holds it, the floating IP can be neither associated with a network interface nor deleted. It stays allocated when the gateway is deleted.
state: i32Where the gateway is in serving its tunnels.
create_time: Option<Timestamp>When the VPN gateway was created.
creator: StringThe principal that created the VPN gateway, by its full name on iam:
//iam.origincloudapis.eu/users/{user},
//iam.origincloudapis.eu/organizations/{organization}/serviceAccounts/{service_account},
or a platform service agent’s or service’s name when the platform did.
Labels of your own, at most 50. The origin:name tag is the name the
console shows.
Implementations§
Trait Implementations§
Source§impl Clone for VpnGateway
impl Clone for VpnGateway
Source§impl Debug for VpnGateway
impl Debug for VpnGateway
Source§impl Default for VpnGateway
impl Default for VpnGateway
Source§impl<'de> Deserialize<'de> for VpnGateway
impl<'de> Deserialize<'de> for VpnGateway
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Message for VpnGateway
impl Message for VpnGateway
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.