Google Cloud Bare Metal Solution V2 Client - Class NetworkMountPoint (1.0.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
Name Description
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
Type Description
string

setInstance

Instance to attach network to.

Parameter
Name Description
var string
Returns
Type Description
$this

getLogicalInterface

Logical interface to detach from.

Returns
Type Description
string

setLogicalInterface

Logical interface to detach from.

Parameter
Name Description
var string
Returns
Type Description
$this

getDefaultGateway

Network should be a default gateway.

Returns
Type Description
bool

setDefaultGateway

Network should be a default gateway.

Parameter
Name Description
var bool
Returns
Type Description
$this

getIpAddress

Ip address of the server.

Returns
Type Description
string

setIpAddress

Ip address of the server.

Parameter
Name Description
var string
Returns
Type Description
$this