[][src]Struct google_compute1::RouterBgp

pub struct RouterBgp {
    pub advertised_ip_ranges: Option<Vec<RouterAdvertisedIpRange>>,
    pub advertise_mode: Option<String>,
    pub advertised_groups: Option<Vec<String>>,
    pub asn: Option<u32>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

advertised_ip_ranges: Option<Vec<RouterAdvertisedIpRange>>

User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.

User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.

advertised_groups: Option<Vec<String>>

User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.

asn: Option<u32>

Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.

Trait Implementations

impl Part for RouterBgp[src]

impl Default for RouterBgp[src]

impl Clone for RouterBgp[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for RouterBgp[src]

impl Serialize for RouterBgp[src]

impl<'de> Deserialize<'de> for RouterBgp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]