Google Cloud Bare Metal Solution V2 Client - Class DetachLunRequest (1.0.2)

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

Message for detach specific LUN from an Instance.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance string

Required. Name of the instance.

↳ lun string

Required. Name of the Lun to detach.

↳ skip_reboot bool

If true, performs lun unmapping without instance reboot.

getInstance

Required. Name of the instance.

Returns
Type Description
string

setInstance

Required. Name of the instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getLun

Required. Name of the Lun to detach.

Returns
Type Description
string

setLun

Required. Name of the Lun to detach.

Parameter
Name Description
var string
Returns
Type Description
$this

getSkipReboot

If true, performs lun unmapping without instance reboot.

Returns
Type Description
bool

setSkipReboot

If true, performs lun unmapping without instance reboot.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
instance string

Required. Name of the instance. Please see BareMetalSolutionClient::instanceName() for help formatting this field.

lun string

Required. Name of the Lun to detach. Please see BareMetalSolutionClient::lunName() for help formatting this field.

Returns
Type Description
DetachLunRequest