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

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







RouterBgpPeer (Compute Engine API v1-rev20200104-1.30.8)












com.google.api.services.compute.model

Class RouterBgpPeer

    • Constructor Detail

      • RouterBgpPeer

        public RouterBgpPeer()
    • Method Detail

      • getAdvertiseMode

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

        public RouterBgpPeer setAdvertiseMode(String advertiseMode)
        User-specified flag to indicate which mode to use for advertisement.
        Parameters:
        advertiseMode - advertiseMode or null for none
      • getAdvertisedGroups

        public List<String> getAdvertisedGroups()
        User-specified list of prefix groups to advertise in custom mode, which can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. - ALL_PEER_VPC_SUBNETS: Advertises peer subnets of the router's VPC network. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.
        Returns:
        value or null for none
      • setAdvertisedGroups

        public RouterBgpPeer setAdvertisedGroups(List<String> advertisedGroups)
        User-specified list of prefix groups to advertise in custom mode, which can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. - ALL_PEER_VPC_SUBNETS: Advertises peer subnets of the router's VPC network. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are 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 overrides the list defined for the router (in the "bgp" message). These IP ranges are 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 RouterBgpPeer 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 overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
        Parameters:
        advertisedIpRanges - advertisedIpRanges or null for none
      • getAdvertisedRoutePriority

        public Long getAdvertisedRoutePriority()
        The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win.
        Returns:
        value or null for none
      • setAdvertisedRoutePriority

        public RouterBgpPeer setAdvertisedRoutePriority(Long advertisedRoutePriority)
        The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win.
        Parameters:
        advertisedRoutePriority - advertisedRoutePriority or null for none
      • getInterfaceName

        public String getInterfaceName()
        Name of the interface the BGP peer is associated with.
        Returns:
        value or null for none
      • setInterfaceName

        public RouterBgpPeer setInterfaceName(String interfaceName)
        Name of the interface the BGP peer is associated with.
        Parameters:
        interfaceName - interfaceName or null for none
      • getIpAddress

        public String getIpAddress()
        IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
        Returns:
        value or null for none
      • setIpAddress

        public RouterBgpPeer setIpAddress(String ipAddress)
        IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
        Parameters:
        ipAddress - ipAddress or null for none
      • getManagementType

        public String getManagementType()
        [Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted.
        Returns:
        value or null for none
      • setManagementType

        public RouterBgpPeer setManagementType(String managementType)
        [Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted.
        Parameters:
        managementType - managementType or null for none
      • getName

        public String getName()
        Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
        Returns:
        value or null for none
      • setName

        public RouterBgpPeer setName(String name)
        Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
        Parameters:
        name - name or null for none
      • getPeerAsn

        public Long getPeerAsn()
        Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
        Returns:
        value or null for none
      • setPeerAsn

        public RouterBgpPeer setPeerAsn(Long peerAsn)
        Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
        Parameters:
        peerAsn - peerAsn or null for none
      • getPeerIpAddress

        public String getPeerIpAddress()
        IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
        Returns:
        value or null for none
      • setPeerIpAddress

        public RouterBgpPeer setPeerIpAddress(String peerIpAddress)
        IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
        Parameters:
        peerIpAddress - peerIpAddress or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy