pub struct RouteTable {
pub name: String,
pub urn: String,
pub vpc: String,
pub main: bool,
pub local_routes: Vec<String>,
pub create_time: Option<Timestamp>,
pub creator: String,
pub tags: BTreeMap<String, String>,
}Expand description
Routes out of a VPC for the subnets associated with the table.
Fields§
§name: StringThe route table’s resource name.
urn: StringThe route table’s URN, the identifier access policies and the audit log use.
vpc: StringThe VPC the table routes for, in the same project and region.
main: boolWhether the platform created the table with the VPC, as its main route table. Only the project’s default VPC has such resources. It can’t be deleted, and goes with its VPC. Like any other table, it routes only for the subnets a route table association names it for.
local_routes: Vec<String>The VPC’s own ranges, which every table reaches directly. Traffic within the VPC never needs a route.
create_time: Option<Timestamp>When the route table was created.
creator: StringThe principal that created the route table, such as user:<id> or
service_account:<id>; empty for one the platform created.
Labels of your own, at most 50. The origin:name tag is the name the
console shows.
Trait Implementations§
Source§impl Clone for RouteTable
impl Clone for RouteTable
Source§impl Debug for RouteTable
impl Debug for RouteTable
Source§impl Default for RouteTable
impl Default for RouteTable
Source§impl<'de> Deserialize<'de> for RouteTable
impl<'de> Deserialize<'de> for RouteTable
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 RouteTable
impl Message for RouteTable
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.