Distributed Cloud Edge Network V1 API - Class Google::Cloud::EdgeNetwork::V1::Router::BgpPeer (v0.2.1)

Reference documentation and code samples for the Distributed Cloud Edge Network V1 API class Google::Cloud::EdgeNetwork::V1::Router::BgpPeer.

BGPPeer defines the peer side layer-3 information for building the BGP session.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#interface

def interface() -> ::String
Returns
  • (::String) — Name of the RouterInterface the BGP peer is associated with.

#interface=

def interface=(value) -> ::String
Parameter
  • value (::String) — Name of the RouterInterface the BGP peer is associated with.
Returns
  • (::String) — Name of the RouterInterface the BGP peer is associated with.

#interface_ipv4_cidr

def interface_ipv4_cidr() -> ::String
Returns
  • (::String) — IP range of the interface within Google.

#interface_ipv4_cidr=

def interface_ipv4_cidr=(value) -> ::String
Parameter
  • value (::String) — IP range of the interface within Google.
Returns
  • (::String) — IP range of the interface within Google.

#interface_ipv6_cidr

def interface_ipv6_cidr() -> ::String
Returns
  • (::String) — IPv6 range of the interface within Google.

#interface_ipv6_cidr=

def interface_ipv6_cidr=(value) -> ::String
Parameter
  • value (::String) — IPv6 range of the interface within Google.
Returns
  • (::String) — IPv6 range of the interface within Google.

#local_asn

def local_asn() -> ::Integer
Returns
  • (::Integer) — Output only. Local BGP Autonomous System Number (ASN). This field is ST_NOT_REQUIRED because it stores private ASNs, which are meaningless outside the zone in which they are being used.

#name

def name() -> ::String
Returns
  • (::String) — Name of this BGP peer. Unique within the Zones resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of this BGP peer. Unique within the Zones resource.
Returns
  • (::String) — Name of this BGP peer. Unique within the Zones resource.

#peer_asn

def peer_asn() -> ::Integer
Returns
  • (::Integer) — Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.

#peer_asn=

def peer_asn=(value) -> ::Integer
Parameter
  • value (::Integer) — Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
Returns
  • (::Integer) — Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.

#peer_ipv4_cidr

def peer_ipv4_cidr() -> ::String
Returns
  • (::String) — IP range of the BGP interface outside Google.

#peer_ipv4_cidr=

def peer_ipv4_cidr=(value) -> ::String
Parameter
  • value (::String) — IP range of the BGP interface outside Google.
Returns
  • (::String) — IP range of the BGP interface outside Google.

#peer_ipv6_cidr

def peer_ipv6_cidr() -> ::String
Returns
  • (::String) — IPv6 range of the BGP interface outside Google.

#peer_ipv6_cidr=

def peer_ipv6_cidr=(value) -> ::String
Parameter
  • value (::String) — IPv6 range of the BGP interface outside Google.
Returns
  • (::String) — IPv6 range of the BGP interface outside Google.