Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::NfsExportOptions.
NFS export options specifications.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_mode
def access_mode() -> ::Google::Cloud::Filestore::V1::NfsExportOptions::AccessMode
    Returns
    
  - (::Google::Cloud::Filestore::V1::NfsExportOptions::AccessMode) — Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
#access_mode=
def access_mode=(value) -> ::Google::Cloud::Filestore::V1::NfsExportOptions::AccessMode
    Parameter
    
  - value (::Google::Cloud::Filestore::V1::NfsExportOptions::AccessMode) — Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    Returns
    
  - (::Google::Cloud::Filestore::V1::NfsExportOptions::AccessMode) — Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
#anon_gid
def anon_gid() -> ::Integer
    Returns
    
  - (::Integer) — An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
#anon_gid=
def anon_gid=(value) -> ::Integer
    Parameter
    
  - value (::Integer) — An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    Returns
    
  - (::Integer) — An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
#anon_uid
def anon_uid() -> ::Integer
    Returns
    
  - (::Integer) — An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
#anon_uid=
def anon_uid=(value) -> ::Integer
    Parameter
    
  - value (::Integer) — An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    Returns
    
  - (::Integer) — An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
#ip_ranges
def ip_ranges() -> ::Array<::String>
    Returns
    
  - 
        (::Array<::String>) — List of either an IPv4 addresses in the format
{octet1}.{octet2}.{octet3}.{octet4}or CIDR ranges in the format{octet1}.{octet2}.{octet3}.{octet4}/{mask size}which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
#ip_ranges=
def ip_ranges=(value) -> ::Array<::String>
    Parameter
    
  - 
        value (::Array<::String>) — List of either an IPv4 addresses in the format
{octet1}.{octet2}.{octet3}.{octet4}or CIDR ranges in the format{octet1}.{octet2}.{octet3}.{octet4}/{mask size}which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    Returns
    
  - 
        (::Array<::String>) — List of either an IPv4 addresses in the format
{octet1}.{octet2}.{octet3}.{octet4}or CIDR ranges in the format{octet1}.{octet2}.{octet3}.{octet4}/{mask size}which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
#squash_mode
def squash_mode() -> ::Google::Cloud::Filestore::V1::NfsExportOptions::SquashMode
    Returns
    
  - (::Google::Cloud::Filestore::V1::NfsExportOptions::SquashMode) — Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
#squash_mode=
def squash_mode=(value) -> ::Google::Cloud::Filestore::V1::NfsExportOptions::SquashMode
    Parameter
    
  - value (::Google::Cloud::Filestore::V1::NfsExportOptions::SquashMode) — Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    Returns
    
- (::Google::Cloud::Filestore::V1::NfsExportOptions::SquashMode) — Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.