Compute V1 Client - Class RouterBgpPeerCustomLearnedIpRange (1.18.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ range string

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

getRange

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

Returns
Type Description
string

hasRange

clearRange

setRange

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

Parameter
Name Description
var string
Returns
Type Description
$this