Google Cloud Container V1 Client - Class UsableSubnetworkSecondaryRange (1.9.1)

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

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.

Generated from protobuf field string range_name = 1;

Returns
TypeDescription
string

setRangeName

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

Generated from protobuf field string range_name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpCidrRange

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

Generated from protobuf field string ip_cidr_range = 2;

Returns
TypeDescription
string

setIpCidrRange

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

Generated from protobuf field string ip_cidr_range = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatus

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

Generated from protobuf field .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3;

Returns
TypeDescription
int

setStatus

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

Generated from protobuf field .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3;

Parameter
NameDescription
var int
Returns
TypeDescription
$this