# Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::UpdateNfsShareRequest (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::UpdateNfsShareRequest.

Message requesting to updating an NFS share.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #nfs_share

    def nfs_share() -> ::Google::Cloud::BareMetalSolution::V2::NfsShare

**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::NfsShare](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/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}

### #nfs_share=

    def nfs_share=(value) -> ::Google::Cloud::BareMetalSolution::V2::NfsShare

**Parameter**

- **value** ([::Google::Cloud::BareMetalSolution::V2::NfsShare](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/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}
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::NfsShare](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/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

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Protobuf-FieldMask)) --- The list of fields to update. The only currently supported fields are: `labels` `allowed_clients`

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Protobuf-FieldMask)) --- The list of fields to update. The only currently supported fields are: `labels` `allowed_clients`
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Protobuf-FieldMask)) --- The list of fields to update. The only currently supported fields are: `labels` `allowed_clients`