Reference documentation and code samples for the Google Cloud Managed Lustre V1 API module Google::Cloud::Lustre::V1::AccessRulesOptions::SquashMode.
Squash mode for an access rule.
Constants
SQUASH_MODE_UNSPECIFIED
value: 0
Unspecified squash mode.
NO_SQUASH
value: 1
Squash is disabled.
If set inside an AccessRule, root users matching the [ip_ranges][AccessRule.ip_ranges] are not squashed.
If set as the default_squash_mode, root squash is disabled for this instance.
If the default squash mode is NO_SQUASH, do not set the
default_squash_uid
or
default_squash_gid,
or an invalid argument error is returned.
ROOT_SQUASH
value: 2
Root user squash is enabled.
Not supported inside an AccessRule.
If set as the default_squash_mode, root users not matching any of the access_rules are squashed to the default_squash_uid and default_squash_gid.