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

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

Mount point for a network.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance string

Instance to attach network to.

↳ logical_interface string

Logical interface to detach from.

↳ default_gateway bool

Network should be a default gateway.

↳ ip_address string

Ip address of the server.

getInstance

Instance to attach network to.

Returns
TypeDescription
string

setInstance

Instance to attach network to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLogicalInterface

Logical interface to detach from.

Returns
TypeDescription
string

setLogicalInterface

Logical interface to detach from.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDefaultGateway

Network should be a default gateway.

Returns
TypeDescription
bool

setDefaultGateway

Network should be a default gateway.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getIpAddress

Ip address of the server.

Returns
TypeDescription
string

setIpAddress

Ip address of the server.

Parameter
NameDescription
var string
Returns
TypeDescription
$this