All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.RouterBgp.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250107-2.0.0
Show newest version






RouterBgp (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class RouterBgp

    • Constructor Detail

      • RouterBgp

        public RouterBgp()
    • Method Detail

      • getAdvertiseMode

        public String getAdvertiseMode()
        User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.
        Returns:
        value or null for none
      • setAdvertiseMode

        public RouterBgp setAdvertiseMode(String advertiseMode)
        User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.
        Parameters:
        advertiseMode - advertiseMode or null for none
      • getAdvertisedGroups

        public List<String> getAdvertisedGroups()
        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.
        Returns:
        value or null for none
      • setAdvertisedGroups

        public RouterBgp setAdvertisedGroups(List<String> advertisedGroups)
        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.
        Parameters:
        advertisedGroups - advertisedGroups or null for none
      • getAdvertisedIpRanges

        public List<RouterAdvertisedIpRange> getAdvertisedIpRanges()
        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.
        Returns:
        value or null for none
      • setAdvertisedIpRanges

        public RouterBgp setAdvertisedIpRanges(List<RouterAdvertisedIpRange> advertisedIpRanges)
        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.
        Parameters:
        advertisedIpRanges - advertisedIpRanges or null for none
      • getAsn

        public Long getAsn()
        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.
        Returns:
        value or null for none
      • setAsn

        public RouterBgp setAsn(Long asn)
        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.
        Parameters:
        asn - asn or null for none
      • getKeepaliveInterval

        public Long getKeepaliveInterval()
        The interval in seconds between BGP keepalive messages that are sent to the peer. Not currently available publicly. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 1 and 120. The default is 20.
        Returns:
        value or null for none
      • setKeepaliveInterval

        public RouterBgp setKeepaliveInterval(Long keepaliveInterval)
        The interval in seconds between BGP keepalive messages that are sent to the peer. Not currently available publicly. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 1 and 120. The default is 20.
        Parameters:
        keepaliveInterval - keepaliveInterval or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy