Google Cloud Bare Metal Solution V2 Client - Class NetworkAddress (0.6.0)

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

A network.

Generated from protobuf message google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress

Namespace

Google \ Cloud \ BareMetalSolution \ V2 \ InstanceConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ network_id string

Id of the network to use, within the same ProvisioningConfig request.

↳ address string

IPv4 address to be assigned to the server.

↳ existing_network_id string

Name of the existing network to use.

getNetworkId

Id of the network to use, within the same ProvisioningConfig request.

Returns
TypeDescription
string

setNetworkId

Id of the network to use, within the same ProvisioningConfig request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAddress

IPv4 address to be assigned to the server.

Returns
TypeDescription
string

setAddress

IPv4 address to be assigned to the server.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExistingNetworkId

Name of the existing network to use.

Returns
TypeDescription
string

setExistingNetworkId

Name of the existing network to use.

Parameter
NameDescription
var string
Returns
TypeDescription
$this