squashMode property

String? squashMode
getter/setter pair

Defines how user identity squashing is applied for this export rule.

This field is the preferred way to configure squashing behavior and takes precedence over has_root_access if both are provided.

Optional. Possible string values are:

  • "SQUASH_MODE_UNSPECIFIED" : Defaults to NO_ROOT_SQUASH.
  • "NO_ROOT_SQUASH" : The root user (UID 0) retains full access. Other users are unaffected.
  • "ROOT_SQUASH" : The root user (UID 0) is squashed to anonymous user ID. Other users are unaffected.
  • "ALL_SQUASH" : All users are squashed to anonymous user ID.

Implementation

core.String? squashMode;