@nebius/js-sdk - v0.2.54
    Preparing search index...

    Class FieldKey

    Stores one segment of a FieldPath.

    A simple key, such as spec, appears without quotes in a mask. A key that contains punctuation or spaces uses JSON string syntax.

    Indexable

    • [key: symbol]: () => string

      Stores one segment of a FieldPath.

      A simple key, such as spec, appears without quotes in a mask. A key that contains punctuation or spaces uses JSON string syntax.

        • (): string
        • Stores one segment of a FieldPath.

          A simple key, such as spec, appears without quotes in a mask. A key that contains punctuation or spaces uses JSON string syntax.

          Returns string

    Index
    value: string

    Contains the unquoted field name.

    • Returns the key in field-mask syntax.

      The method adds JSON quotes only when the key needs them.

      Returns string

      import { FieldKey } from '@nebius/js-sdk/runtime/fieldmask';

      new FieldKey('spec').marshal(); // "spec"
      new FieldKey('display-name').marshal(); // "\"display-name\""