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

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

Message requesting rename of a server.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}

↳ new_nfsshare_id string

Required. The new id of the nfsshare.

getName

Required. The name field is used to identify the nfsshare.

Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}

Returns
TypeDescription
string

setName

Required. The name field is used to identify the nfsshare.

Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNewNfsshareId

Required. The new id of the nfsshare.

Returns
TypeDescription
string

setNewNfsshareId

Required. The new id of the nfsshare.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
name string

Required. The name field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare} Please see Google\Cloud\BareMetalSolution\V2\BareMetalSolutionClient::nFSShareName() for help formatting this field.

newNfsshareId string

Required. The new id of the nfsshare.

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\RenameNfsShareRequest