Skip to content

immutableMask

immutableMask(schema, opts?): FieldMask

Defined in: mask.ts:172

Creates a FieldMask that excludes fields annotated with FieldBehavior.IMMUTABLE.

Useful as a default mask for update operations where fields that cannot be changed after creation should be excluded.

DescMessage

The message descriptor to inspect.

FieldMaskFromBehaviorOptions

Optional settings (e.g. maxDepth).

FieldMask