The syntax supports comma-separated paths, * segments, JSON-quoted keys,
and groups after a shared prefix. For example,
spec.(resources,cloud_init),metadata contains three paths. Spaces around
separators are ignored.
Error when the input contains an invalid key, an incomplete path,
an unclosed group, or other trailing text. It also throws if a path reaches
1,000 segments or the parser exceeds eight branch visits per UTF-16 code unit.
Parses field-mask text into a Mask.
The syntax supports comma-separated paths,
*segments, JSON-quoted keys, and groups after a shared prefix. For example,spec.(resources,cloud_init),metadatacontains three paths. Spaces around separators are ignored.Most applications can use Mask.parse or parseFieldMask() from
@nebius/js-sdk/runtime/fieldmask.