Struct google_compute1::api::RouterBgp[][src]

pub struct RouterBgp {
    pub advertise_mode: Option<String>,
    pub advertised_groups: Option<Vec<String>>,
    pub advertised_ip_ranges: Option<Vec<RouterAdvertisedIpRange>>,
    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

advertise_mode: Option<String>

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.

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.

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 Clone for RouterBgp[src]

impl Debug for RouterBgp[src]

impl Default for RouterBgp[src]

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

impl Part for RouterBgp[src]

impl Serialize for RouterBgp[src]

Auto Trait Implementations

impl RefUnwindSafe for RouterBgp[src]

impl Send for RouterBgp[src]

impl Sync for RouterBgp[src]

impl Unpin for RouterBgp[src]

impl UnwindSafe for RouterBgp[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.