params.Expression class
Stay organized with collections
Save and categorize content based on your preferences.
Signature:
export declare abstract class Expression<T extends string | 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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[null,null,["Last updated 2024-09-20 UTC."],[],[],null,["**Signature:** \n\n export declare abstract class Expression\u003cT extends string | number | boolean | string[]\u003e \n\nMethods\n\nparams.Expression.toCEL()\n\nReturns the expression's representation as a braced CEL expression.\n\n**Signature:** \n\n toCEL(): string;\n\n**Returns:**\n\nstring\n\nparams.Expression.toJSON()\n\nReturns the expression's representation as JSON.\n\n**Signature:** \n\n toJSON(): string;\n\n**Returns:**\n\nstring\n\nparams.Expression.value()\n\nReturns the expression's runtime value, based on the CLI's resolution of parameters.\n\n**Signature:** \n\n value(): T;\n\n**Returns:**\n\nT"]]