Google Cloud Bare Metal Solution V2 Client - Class NetworkUsage (0.3.2)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class NetworkUsage.

Network with all used IP addresses.

Generated from protobuf message google.cloud.baremetalsolution.v2.NetworkUsage

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ network Google\Cloud\BareMetalSolution\V2\Network

Network.

↳ used_ips array

All used IP addresses in this network.

getNetwork

Network.

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\Network|null

hasNetwork

clearNetwork

setNetwork

Network.

Parameter
NameDescription
var Google\Cloud\BareMetalSolution\V2\Network
Returns
TypeDescription
$this

getUsedIps

All used IP addresses in this network.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUsedIps

All used IP addresses in this network.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this