Google Cloud Bare Metal Solution V2 Client - Class UpdateNfsShareRequest (0.2.8)

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

Message requesting to updating a NFS share.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ nfs_share Google\Cloud\BareMetalSolution\V2\NfsShare

Required. The NFS share to update. The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

↳ update_mask Google\Protobuf\FieldMask

The list of fields to update. The only currently supported fields are: labels

getNfsShare

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\NfsShare|null

hasNfsShare

clearNfsShare

setNfsShare

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

Parameter
NameDescription
var Google\Cloud\BareMetalSolution\V2\NfsShare
Returns
TypeDescription
$this

getUpdateMask

The list of fields to update.

The only currently supported fields are: labels

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to update.

The only currently supported fields are: labels

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this