Compute V1 Client - Class SubnetworkUtilizationDetailsIPV4Utilization (2.1.0)

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

The IPV4 utilization of a single IP range.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ range_name string

Will be set for secondary range. Empty for primary IPv4 range.

↳ total_allocated_ip int|string
↳ total_free_ip int|string

getRangeName

Will be set for secondary range. Empty for primary IPv4 range.

Returns
Type Description
string

hasRangeName

clearRangeName

setRangeName

Will be set for secondary range. Empty for primary IPv4 range.

Parameter
Name Description
var string
Returns
Type Description
$this

getTotalAllocatedIp

Generated from protobuf field optional int64 total_allocated_ip = 279055546;

Returns
Type Description
int|string

hasTotalAllocatedIp

clearTotalAllocatedIp

setTotalAllocatedIp

Generated from protobuf field optional int64 total_allocated_ip = 279055546;

Parameter
Name Description
var int|string
Returns
Type Description
$this

getTotalFreeIp

Generated from protobuf field optional int64 total_free_ip = 105624031;

Returns
Type Description
int|string

hasTotalFreeIp

clearTotalFreeIp

setTotalFreeIp

Generated from protobuf field optional int64 total_free_ip = 105624031;

Parameter
Name Description
var int|string
Returns
Type Description
$this