Reference documentation and code samples for the Google Cloud Net App V1 Client class SimpleExportPolicyRule.
An export policy rule describing various export options.
Generated from protobuf message google.cloud.netapp.v1.SimpleExportPolicyRule
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ allowed_clients
string
Comma separated list of allowed clients IP addresses
↳ has_root_access
string
Whether Unix root access will be granted.
↳ access_type
int
Access type (ReadWrite, ReadOnly, None)
↳ nfsv3
bool
NFS V3 protocol.
↳ nfsv4
bool
NFS V4 protocol.
↳ 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.
↳ 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.
↳ 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.
↳ 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.
↳ 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.
↳ 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.
↳ squash_mode
int
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.
↳ anon_uid
int|string
Optional. An integer representing the anonymous user ID. Range is 0 to 4294967295
. Required when squash_mode
is ROOT_SQUASH
or ALL_SQUASH
.
getAllowedClients
Comma separated list of allowed clients IP addresses
string
hasAllowedClients
clearAllowedClients
setAllowedClients
Comma separated list of allowed clients IP addresses
var
string
$this
getHasRootAccess
Whether Unix root access will be granted.
string
hasHasRootAccess
clearHasRootAccess
setHasRootAccess
Whether Unix root access will be granted.
var
string
$this
getAccessType
Access type (ReadWrite, ReadOnly, None)
int
hasAccessType
clearAccessType
setAccessType
Access type (ReadWrite, ReadOnly, None)
var
int
$this
getNfsv3
NFS V3 protocol.
bool
hasNfsv3
clearNfsv3
setNfsv3
NFS V3 protocol.
var
bool
$this
getNfsv4
NFS V4 protocol.
bool
hasNfsv4
clearNfsv4
setNfsv4
NFS V4 protocol.
var
bool
$this
getKerberos5ReadOnly
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.
bool
hasKerberos5ReadOnly
clearKerberos5ReadOnly
setKerberos5ReadOnly
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.
var
bool
$this
getKerberos5ReadWrite
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.
bool
hasKerberos5ReadWrite
clearKerberos5ReadWrite
setKerberos5ReadWrite
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.
var
bool
$this
getKerberos5IReadOnly
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.
bool
hasKerberos5IReadOnly
clearKerberos5IReadOnly
setKerberos5IReadOnly
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.
var
bool
$this
getKerberos5IReadWrite
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.
bool
hasKerberos5IReadWrite
clearKerberos5IReadWrite
setKerberos5IReadWrite
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.
var
bool
$this
getKerberos5PReadOnly
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.
bool
hasKerberos5PReadOnly
clearKerberos5PReadOnly
setKerberos5PReadOnly
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.
var
bool
$this
getKerberos5PReadWrite
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.
bool
hasKerberos5PReadWrite
clearKerberos5PReadWrite
setKerberos5PReadWrite
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.
var
bool
$this
getSquashMode
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.
int
hasSquashMode
clearSquashMode
setSquashMode
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.
var
int
$this
getAnonUid
Optional. An integer representing the anonymous user ID. Range is 0 to 4294967295
. Required when squash_mode
is ROOT_SQUASH
or ALL_SQUASH
.
int|string
hasAnonUid
clearAnonUid
setAnonUid
Optional. An integer representing the anonymous user ID. Range is 0 to 4294967295
. Required when squash_mode
is ROOT_SQUASH
or ALL_SQUASH
.
var
int|string
$this

