Compute V1 Client - Class RouterBgpPeerCustomLearnedIpRange (1.10.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this