# Class SimpleExportPolicyRule (0.10.1)

0.10.1 (latest) 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.24 0.2.0 0.1.0

    SimpleExportPolicyRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An export policy rule describing various export options.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `allowed_clients` | `str` Comma separated list of allowed clients IP addresses This field is a member of `oneof`_ `_allowed_clients`. |
| `has_root_access` | `str` Whether Unix root access will be granted. This field is a member of `oneof`_ `_has_root_access`. |
| `access_type` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.AccessType` Access type (ReadWrite, ReadOnly, None) This field is a member of `oneof`_ `_access_type`. |
| `nfsv3` | `bool` NFS V3 protocol. This field is a member of `oneof`_ `_nfsv3`. |
| `nfsv4` | `bool` NFS V4 protocol. This field is a member of `oneof`_ `_nfsv4`. |
| `kerberos_5_read_only` | `bool` If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. This field is a member of `oneof`_ `_kerberos_5_read_only`. |
| `kerberos_5_read_write` | `bool` If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value be ignored if this is enabled. This field is a member of `oneof`_ `_kerberos_5_read_write`. |
| `kerberos_5i_read_only` | `bool` If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. This field is a member of `oneof`_ `_kerberos_5i_read_only`. |
| `kerberos_5i_read_write` | `bool` If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value be ignored if this is enabled. This field is a member of `oneof`_ `_kerberos_5i_read_write`. |
| `kerberos_5p_read_only` | `bool` If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. This field is a member of `oneof`_ `_kerberos_5p_read_only`. |
| `kerberos_5p_read_write` | `bool` If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value be ignored if this is enabled. This field is a member of `oneof`_ `_kerberos_5p_read_write`. |
| `squash_mode` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.SimpleExportPolicyRule.SquashMode` Optional. Defines how user identity squashing is applied for this export rule. This field is the preferred way to configure squashing behavior and takes precedence over `has_root_access` if both are provided. This field is a member of `oneof`_ `_squash_mode`. |
| `anon_uid` | `int` Optional. An integer representing the anonymous user ID. Range is 0 to `4294967295`. Required when `squash_mode` is `ROOT_SQUASH` or `ALL_SQUASH`. This field is a member of `oneof`_ `_anon_uid`. |

## Classes

### SquashMode

    SquashMode(value)

`SquashMode` defines how remote user privileges are restricted
when accessing an NFS export. It controls how user identities (like
root) are mapped to anonymous users to limit access and enforce
security.