Reference documentation and code samples for the Google Cloud Net App V1 Client class SquashMode.
SquashMode defines how remote user privileges are restricted when accessing an NFS export. It controls how user identities (like root) are mapped to anonymous users to limit access and enforce security.
Protobuf type google.cloud.netapp.v1.SimpleExportPolicyRule.SquashMode
Namespace
Google \ Cloud \ NetApp \ V1 \ SimpleExportPolicyRuleMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SQUASH_MODE_UNSPECIFIED
Value: 0Defaults to NO_ROOT_SQUASH.
Generated from protobuf enum SQUASH_MODE_UNSPECIFIED = 0;
NO_ROOT_SQUASH
Value: 1The root user (UID 0) retains full access. Other users are unaffected.
Generated from protobuf enum NO_ROOT_SQUASH = 1;
ROOT_SQUASH
Value: 2The root user (UID 0) is squashed to anonymous user ID. Other users are unaffected.
Generated from protobuf enum ROOT_SQUASH = 2;
ALL_SQUASH
Value: 3All users are squashed to anonymous user ID.
Generated from protobuf enum ALL_SQUASH = 3;