Class: Google::Apis::NetappV1::SimpleExportPolicyRule
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::SimpleExportPolicyRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
An export policy rule describing various export options.
Instance Attribute Summary collapse
-
#access_type ⇒ String
Access type (ReadWrite, ReadOnly, None) Corresponds to the JSON property
accessType. -
#allowed_clients ⇒ String
Comma separated list of allowed clients IP addresses Corresponds to the JSON property
allowedClients. -
#has_root_access ⇒ String
Whether Unix root access will be granted.
-
#kerberos5_read_only ⇒ Boolean
(also: #kerberos5_read_only?)
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.
-
#kerberos5_read_write ⇒ Boolean
(also: #kerberos5_read_write?)
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.
-
#kerberos5i_read_only ⇒ Boolean
(also: #kerberos5i_read_only?)
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.
-
#kerberos5i_read_write ⇒ Boolean
(also: #kerberos5i_read_write?)
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.
-
#kerberos5p_read_only ⇒ Boolean
(also: #kerberos5p_read_only?)
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.
-
#kerberos5p_read_write ⇒ Boolean
(also: #kerberos5p_read_write?)
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.
-
#nfsv3 ⇒ Boolean
(also: #nfsv3?)
NFS V3 protocol.
-
#nfsv4 ⇒ Boolean
(also: #nfsv4?)
NFS V4 protocol.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SimpleExportPolicyRule
constructor
A new instance of SimpleExportPolicyRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SimpleExportPolicyRule
Returns a new instance of SimpleExportPolicyRule.
1785 1786 1787 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1785 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_type ⇒ String
Access type (ReadWrite, ReadOnly, None)
Corresponds to the JSON property accessType
1710 1711 1712 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1710 def access_type @access_type end |
#allowed_clients ⇒ String
Comma separated list of allowed clients IP addresses
Corresponds to the JSON property allowedClients
1715 1716 1717 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1715 def allowed_clients @allowed_clients end |
#has_root_access ⇒ String
Whether Unix root access will be granted.
Corresponds to the JSON property hasRootAccess
1720 1721 1722 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1720 def has_root_access @has_root_access end |
#kerberos5_read_only ⇒ Boolean Also known as: kerberos5_read_only?
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.
Corresponds to the JSON property kerberos5ReadOnly
1727 1728 1729 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1727 def kerberos5_read_only @kerberos5_read_only end |
#kerberos5_read_write ⇒ Boolean Also known as: kerberos5_read_write?
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.
Corresponds to the JSON property kerberos5ReadWrite
1736 1737 1738 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1736 def kerberos5_read_write @kerberos5_read_write end |
#kerberos5i_read_only ⇒ Boolean Also known as: kerberos5i_read_only?
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.
Corresponds to the JSON property kerberos5iReadOnly
1744 1745 1746 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1744 def kerberos5i_read_only @kerberos5i_read_only end |
#kerberos5i_read_write ⇒ Boolean Also known as: kerberos5i_read_write?
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.
Corresponds to the JSON property kerberos5iReadWrite
1753 1754 1755 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1753 def kerberos5i_read_write @kerberos5i_read_write end |
#kerberos5p_read_only ⇒ Boolean Also known as: kerberos5p_read_only?
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.
Corresponds to the JSON property kerberos5pReadOnly
1761 1762 1763 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1761 def kerberos5p_read_only @kerberos5p_read_only end |
#kerberos5p_read_write ⇒ Boolean Also known as: kerberos5p_read_write?
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.
Corresponds to the JSON property kerberos5pReadWrite
1770 1771 1772 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1770 def kerberos5p_read_write @kerberos5p_read_write end |
#nfsv3 ⇒ Boolean Also known as: nfsv3?
NFS V3 protocol.
Corresponds to the JSON property nfsv3
1776 1777 1778 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1776 def nfsv3 @nfsv3 end |
#nfsv4 ⇒ Boolean Also known as: nfsv4?
NFS V4 protocol.
Corresponds to the JSON property nfsv4
1782 1783 1784 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1782 def nfsv4 @nfsv4 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1790 def update!(**args) @access_type = args[:access_type] if args.key?(:access_type) @allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients) @has_root_access = args[:has_root_access] if args.key?(:has_root_access) @kerberos5_read_only = args[:kerberos5_read_only] if args.key?(:kerberos5_read_only) @kerberos5_read_write = args[:kerberos5_read_write] if args.key?(:kerberos5_read_write) @kerberos5i_read_only = args[:kerberos5i_read_only] if args.key?(:kerberos5i_read_only) @kerberos5i_read_write = args[:kerberos5i_read_write] if args.key?(:kerberos5i_read_write) @kerberos5p_read_only = args[:kerberos5p_read_only] if args.key?(:kerberos5p_read_only) @kerberos5p_read_write = args[:kerberos5p_read_write] if args.key?(:kerberos5p_read_write) @nfsv3 = args[:nfsv3] if args.key?(:nfsv3) @nfsv4 = args[:nfsv4] if args.key?(:nfsv4) end |