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

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
NameDescription
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
TypeDescription
string

setInstance

Required. Name of the instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLun

Required. Name of the Lun to detach.

Returns
TypeDescription
string

setLun

Required. Name of the Lun to detach.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSkipReboot

If true, performs lun unmapping without instance reboot.

Returns
TypeDescription
bool

setSkipReboot

If true, performs lun unmapping without instance reboot.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
instance string

Required. Name of the instance. Please see Google\Cloud\BareMetalSolution\V2\BareMetalSolutionClient::instanceName() for help formatting this field.

lun string

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

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\DetachLunRequest