Google Cloud Net App V1 Client - Class SimpleExportPolicyRule (1.1.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

getAllowedClients

Comma separated list of allowed clients IP addresses

Returns
Type Description
string

hasAllowedClients

clearAllowedClients

setAllowedClients

Comma separated list of allowed clients IP addresses

Parameter
Name Description
var string
Returns
Type Description
$this

getHasRootAccess

Whether Unix root access will be granted.

Returns
Type Description
string

hasHasRootAccess

clearHasRootAccess

setHasRootAccess

Whether Unix root access will be granted.

Parameter
Name Description
var string
Returns
Type Description
$this

getAccessType

Access type (ReadWrite, ReadOnly, None)

Returns
Type Description
int

hasAccessType

clearAccessType

setAccessType

Access type (ReadWrite, ReadOnly, None)

Parameter
Name Description
var int
Returns
Type Description
$this

getNfsv3

NFS V3 protocol.

Returns
Type Description
bool

hasNfsv3

clearNfsv3

setNfsv3

NFS V3 protocol.

Parameter
Name Description
var bool
Returns
Type Description
$this

getNfsv4

NFS V4 protocol.

Returns
Type Description
bool

hasNfsv4

clearNfsv4

setNfsv4

NFS V4 protocol.

Parameter
Name Description
var bool
Returns
Type Description
$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.

Returns
Type Description
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.

Parameter
Name Description
var bool
Returns
Type Description
$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.

Returns
Type Description
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.

Parameter
Name Description
var bool
Returns
Type Description
$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.

Returns
Type Description
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.

Parameter
Name Description
var bool
Returns
Type Description
$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.

Returns
Type Description
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.

Parameter
Name Description
var bool
Returns
Type Description
$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.

Returns
Type Description
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.

Parameter
Name Description
var bool
Returns
Type Description
$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.

Returns
Type Description
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.

Parameter
Name Description
var bool
Returns
Type Description
$this