Filestore V1 API - Class Google::Cloud::Filestore::V1::NfsExportOptions (v0.9.0)

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

#access_mode=

def access_mode=(value) -> ::Google::Cloud::Filestore::V1::NfsExportOptions::AccessMode
Parameter
Returns

#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

#squash_mode=

def squash_mode=(value) -> ::Google::Cloud::Filestore::V1::NfsExportOptions::SquashMode
Parameter
Returns