Reference documentation and code samples for the Compute V1 Client class BgpRoute.
Generated from protobuf message google.cloud.compute.v1.BgpRoute
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ as_paths
↳ communities
array
[Output only] BGP communities in human-readable A:B format.
↳ destination
BgpRouteNetworkLayerReachabilityInformation
[Output only] Destination IP range for the route, in human-readable CIDR format
↳ med
int
[Output only] BGP multi-exit discriminator
↳ origin
string
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
getAsPaths
[Output only] AS-PATH for the route
setAsPaths
[Output only] AS-PATH for the route
$this
getCommunities
[Output only] BGP communities in human-readable A:B format.
setCommunities
[Output only] BGP communities in human-readable A:B format.
var
string[]
$this
getDestination
[Output only] Destination IP range for the route, in human-readable CIDR format
hasDestination
clearDestination
setDestination
[Output only] Destination IP range for the route, in human-readable CIDR format
$this
getMed
[Output only] BGP multi-exit discriminator
int
hasMed
clearMed
setMed
[Output only] BGP multi-exit discriminator
var
int
$this
getOrigin
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
string
hasOrigin
clearOrigin
setOrigin
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
var
string
$this