Google Cloud Container V1 Client - Class UsableSubnetworkSecondaryRange (1.24.0)

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
NameDescription
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
TypeDescription
string

setRangeName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpCidrRange

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

Returns
TypeDescription
string

setIpCidrRange

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatus

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

Returns
TypeDescription
int

setStatus

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this