Google Cloud Container V1 Client - Class UsableSubnetworkSecondaryRange (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Container V1 Client class UsableSubnetworkSecondaryRange.

Secondary IP range of a usable subnetwork.

Generated from protobuf message google.container.v1.UsableSubnetworkSecondaryRange

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ range_name string

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.

↳ ip_cidr_range string

The range of IP addresses belonging to this subnetwork secondary range.

↳ status int

This field is to determine the status of the secondary range programmably.

getRangeName

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.

Returns
Type Description
string

setRangeName

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getIpCidrRange

The range of IP addresses belonging to this subnetwork secondary range.

Returns
Type Description
string

setIpCidrRange

The range of IP addresses belonging to this subnetwork secondary range.

Parameter
Name Description
var string
Returns
Type Description
$this

getStatus

This field is to determine the status of the secondary range programmably.

Returns
Type Description
int

setStatus

This field is to determine the status of the secondary range programmably.

Parameter
Name Description
var int
Returns
Type Description
$this