Skip to content

FieldPath

FieldPath represents a selection path to a field from a variable in a CEL environment.

new FieldPath(type, path, description, isLeaf): FieldPath

Creates a field path discovered while traversing a CEL type.

Type

Type is the CEL type selected by the path.

string

Path represents the selection path to the field.

string

Description contains provider-supplied documentation for the field.

boolean

IsLeaf indicates whether traversal stops at this path.

FieldPath

readonly description: string

Description contains provider-supplied documentation for the field.


isLeaf: boolean

IsLeaf indicates whether traversal stops at this path.


readonly path: string

Path represents the selection path to the field.


readonly type: Type

Type is the CEL type selected by the path.

documentation(): Doc

Documentation implements the Documentor interface.

Doc