Compute V1 Client - Class UsableSubnetworkSecondaryRange (1.5.0)

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

Secondary IP range of a usable subnetwork.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ip_cidr_range string

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

↳ range_name string

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.

getIpCidrRange

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

Generated from protobuf field optional string ip_cidr_range = 98117322;

Returns
TypeDescription
string

hasIpCidrRange

clearIpCidrRange

setIpCidrRange

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

Generated from protobuf field optional string ip_cidr_range = 98117322;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRangeName

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.

Generated from protobuf field optional string range_name = 332216397;

Returns
TypeDescription
string

hasRangeName

clearRangeName

setRangeName

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.

Generated from protobuf field optional string range_name = 332216397;

Parameter
NameDescription
var string
Returns
TypeDescription
$this