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

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

Message requesting to updating an NFS share.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ nfs_share 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 allowed_clients

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
Type Description
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
Name Description
var NfsShare
Returns
Type Description
$this

getUpdateMask

The list of fields to update.

The only currently supported fields are: labels allowed_clients

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to update.

The only currently supported fields are: labels allowed_clients

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
nfsShare 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}

updateMask Google\Protobuf\FieldMask

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

Returns
Type Description
UpdateNfsShareRequest