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

Represents an 'access point' for the share.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allow_dev

    def allow_dev() -> ::Boolean

**Returns**

- (::Boolean) --- Allow dev flag. Which controls whether to allow creation of devices.

### #allow_dev=

    def allow_dev=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Allow dev flag. Which controls whether to allow creation of devices.
**Returns**

- (::Boolean) --- Allow dev flag. Which controls whether to allow creation of devices.

### #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.

### #allowed_clients_cidr

    def allowed_clients_cidr() -> ::String

**Returns**

- (::String) --- The subnet of IP addresses permitted to access the share.

### #allowed_clients_cidr=

    def allowed_clients_cidr=(value) -> ::String

**Parameter**

- **value** (::String) --- The subnet of IP addresses permitted to access the share.
**Returns**

- (::String) --- The subnet of IP addresses permitted to access the share.

### #mount_permissions

    def mount_permissions() -> ::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions

**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-NfsShare-MountPermissions)) --- Mount permissions.

### #mount_permissions=

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

**Parameter**

- **value** ([::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-NfsShare-MountPermissions)) --- Mount permissions.
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-NfsShare-MountPermissions)) --- Mount permissions.

### #network

    def network() -> ::String

**Returns**

- (::String) --- The network the access point sits on.

### #network=

    def network=(value) -> ::String

**Parameter**

- **value** (::String) --- The network the access point sits on.
**Returns**

- (::String) --- The network the access point sits on.

### #nfs_path

    def nfs_path() -> ::String

**Returns**

- (::String) --- Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"

### #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.

### #share_ip

    def share_ip() -> ::String

**Returns**

- (::String) --- Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.