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

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.

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

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