Reference documentation and code samples for the Google Cloud Lustre V1 Client class SquashMode.
Squash mode for an access rule.
Protobuf type google.cloud.lustre.v1.AccessRulesOptions.SquashMode
Namespace
Google \ Cloud \ Lustre \ V1 \ AccessRulesOptionsMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SQUASH_MODE_UNSPECIFIED
Value: 0Unspecified squash mode.
Generated from protobuf enum SQUASH_MODE_UNSPECIFIED = 0;
NO_SQUASH
Value: 1Squash is disabled.
If set inside an
AccessRule, root
users matching the 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.
Generated from protobuf enum NO_SQUASH = 1;
ROOT_SQUASH
Value: 2Root 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.
Generated from protobuf enum ROOT_SQUASH = 2;