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

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
Name Description
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
Type Description
string

setName

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getNewNfsshareId

Required. The new id of the nfsshare.

Returns
Type Description
string

setNewNfsshareId

Required. The new id of the nfsshare.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

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

newNfsshareId string

Required. The new id of the nfsshare.

Returns
Type Description
RenameNfsShareRequest