# Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport (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::VolumeConfig::NfsExport.

A NFS export entry.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allow_dev

    def allow_dev() -> ::Boolean

**Returns**

- (::Boolean) --- Allow dev flag in NfsShare AllowedClientsRequest.

### #allow_dev=

    def allow_dev=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Allow dev flag in NfsShare AllowedClientsRequest.
**Returns**

- (::Boolean) --- Allow dev flag in NfsShare AllowedClientsRequest.

### #allow_suid

    def allow_suid() -> ::Boolean

**Returns**

- (::Boolean) --- Allow the setuid flag.

### #allow_suid=

    def allow_suid=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Allow the setuid flag.
**Returns**

- (::Boolean) --- Allow the setuid flag.

### #cidr

    def cidr() -> ::String

**Returns**

- (::String) --- A CIDR range.

  Note: The following fields are mutually exclusive: `cidr`, `machine_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #cidr=

    def cidr=(value) -> ::String

**Parameter**

- **value** (::String) --- A CIDR range.


  Note: The following fields are mutually exclusive: `cidr`, `machine_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- A CIDR range.

  Note: The following fields are mutually exclusive: `cidr`, `machine_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #machine_id

    def machine_id() -> ::String

**Returns**

- (::String) --- Either a single machine, identified by an ID, or a comma-separated list of machine IDs.

  Note: The following fields are mutually exclusive: `machine_id`, `cidr`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #machine_id=

    def machine_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Either a single machine, identified by an ID, or a comma-separated list of machine IDs.


  Note: The following fields are mutually exclusive: `machine_id`, `cidr`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Either a single machine, identified by an ID, or a comma-separated list of machine IDs.

  Note: The following fields are mutually exclusive: `machine_id`, `cidr`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #network_id

    def network_id() -> ::String

**Returns**

- (::String) --- Network to use to publish the export.

### #network_id=

    def network_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Network to use to publish the export.
**Returns**

- (::String) --- Network to use to publish the export.

### #no_root_squash

    def no_root_squash() -> ::Boolean

**Returns**

- (::Boolean) --- Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.

### #no_root_squash=

    def no_root_squash=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
**Returns**

- (::Boolean) --- Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.

### #permissions

    def permissions() -> ::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions

**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport-Permissions)) --- Export permissions.

### #permissions=

    def permissions=(value) -> ::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions

**Parameter**

- **value** ([::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport-Permissions)) --- Export permissions.
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport-Permissions)) --- Export permissions.