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

    Class FieldPath

    Stores an ordered path through message fields.

    append and appendMany change this instance. Use copy or concat when the original path must stay unchanged.

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

    const path = FieldPath.from('spec', 'resources', 'memory');
    path.marshal(); // "spec.resources.memory"

    Indexable

    • [key: symbol]: (() => string) | (() => Iterator<FieldKey>)

      Stores an ordered path through message fields.

      append and appendMany change this instance. Use copy or concat when the original path must stay unchanged.

      • () => string
          • (): string
          • Stores an ordered path through message fields.

            append and appendMany change this instance. Use copy or concat when the original path must stay unchanged.

            Returns string

      • () => Iterator<FieldKey>
          • (): Iterator<FieldKey>
          • Iterates over the path segments in traversal order.

            Returns Iterator<FieldKey>

    Index
    parts: FieldKey[]

    Contains the path segments in traversal order.

    • Returns whether this path is a strict prefix of another path.

      Equal paths are not prefixes for this method.

      Parameters

      Returns boolean