params.Expression class Stay organized with collections Save and categorize content based on your preferences.
Signature:
exportdeclareabstractclassExpression<Textendsstring|number|boolean|string[]>Methods
| Method | Modifiers | Description |
|---|---|---|
| toCEL() | Returns the expression's representation as a braced CEL expression. | |
| toJSON() | Returns the expression's representation as JSON. | |
| value() | Returns the expression's runtime value, based on the CLI's resolution of parameters. |
params.Expression.toCEL()
Returns the expression's representation as a braced CEL expression.
Signature:
toCEL():string;Returns:
string
params.Expression.toJSON()
Returns the expression's representation as JSON.
Signature:
toJSON():string;Returns:
string
params.Expression.value()
Returns the expression's runtime value, based on the CLI's resolution of parameters.
Signature:
value():T;Returns:
T
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.