ContextVariable
ContextVariable represents a structured message whose fields are to be treated as the top-level variable identifiers within CEL expressions.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ContextVariable(
typeName):ContextVariable
Constructor creates a serializable context variable with a specific type name.
Parameters
Section titled “Parameters”typeName
Section titled “typeName”string
Returns
Section titled “Returns”ContextVariable
Properties
Section titled “Properties”typeName
Section titled “typeName”typeName:
string
Methods
Section titled “Methods”validate()
Section titled “validate()”validate():
Error|undefined
Validate validates the context-variable configuration is well-formed.
Returns
Section titled “Returns”Error | undefined