Compute V1 Client - Class BgpRouteNetworkLayerReachabilityInformation (1.26.0)

Reference documentation and code samples for the Compute V1 Client class BgpRouteNetworkLayerReachabilityInformation.

Network Layer Reachability Information (NLRI) for a route.

Generated from protobuf message google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ path_id int

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.

↳ prefix string

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

getPathId

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.

Returns
Type Description
int

hasPathId

clearPathId

setPathId

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.

Parameter
Name Description
var int
Returns
Type Description
$this

getPrefix

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

Returns
Type Description
string

hasPrefix

clearPrefix

setPrefix

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

Parameter
Name Description
var string
Returns
Type Description
$this