Reference documentation and code samples for the Google Cloud Edge Network V1 Client class BgpPeer.
BGPPeer defines the peer side layer-3 information for building the BGP session.
Generated from protobuf message google.cloud.edgenetwork.v1.Router.BgpPeer
Namespace
Google \ Cloud \ EdgeNetwork \ V1 \ RouterMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of this BGP peer. Unique within the Zones resource.
↳ interface
string
Name of the RouterInterface the BGP peer is associated with.
↳ interface_ipv4_cidr
string
IP range of the interface within Google.
↳ interface_ipv6_cidr
string
IPv6 range of the interface within Google.
↳ peer_ipv4_cidr
string
IP range of the BGP interface outside Google.
↳ peer_ipv6_cidr
string
IPv6 range of the BGP interface outside Google.
↳ peer_asn
int
Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
↳ local_asn
int
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.
getName
Name of this BGP peer. Unique within the Zones resource.
string
setName
Name of this BGP peer. Unique within the Zones resource.
var
string
$this
getInterface
Name of the RouterInterface the BGP peer is associated with.
string
setInterface
Name of the RouterInterface the BGP peer is associated with.
var
string
$this
getInterfaceIpv4Cidr
IP range of the interface within Google.
string
setInterfaceIpv4Cidr
IP range of the interface within Google.
var
string
$this
getInterfaceIpv6Cidr
IPv6 range of the interface within Google.
string
setInterfaceIpv6Cidr
IPv6 range of the interface within Google.
var
string
$this
getPeerIpv4Cidr
IP range of the BGP interface outside Google.
string
setPeerIpv4Cidr
IP range of the BGP interface outside Google.
var
string
$this
getPeerIpv6Cidr
IPv6 range of the BGP interface outside Google.
string
setPeerIpv6Cidr
IPv6 range of the BGP interface outside Google.
var
string
$this
getPeerAsn
Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
int
setPeerAsn
Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
var
int
$this
getLocalAsn
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.
int
setLocalAsn
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.
var
int
$this