Body
application/json
Request message for batch parsing CEL expressions.
The CEL expression strings to parse.
Response
OK
Response message for batch parsing CEL expressions.
The parsed CEL expressions as AST.
{
"expressions": [
{
"id": "<string>",
"constExpr": {
"nullValue": "NULL_VALUE",
"boolValue": true,
"int64Value": "<string>",
"uint64Value": "<string>",
"doubleValue": 123,
"stringValue": "<string>",
"bytesValue": "<string>",
"durationValue": "<string>",
"timestampValue": "2023-11-07T05:31:56Z"
},
"identExpr": {
"name": "<string>"
},
"selectExpr": {
"operand": {},
"field": "<string>",
"testOnly": true
},
"callExpr": {
"target": {},
"function": "<string>",
"args": [
{}
]
},
"listExpr": {
"elements": [
{}
],
"optionalIndices": [
123
]
},
"structExpr": {
"messageName": "<string>",
"entries": [
{
"id": "<string>",
"fieldKey": "<string>",
"mapKey": {},
"value": {},
"optionalEntry": true
}
]
},
"comprehensionExpr": {
"iterVar": "<string>",
"iterVar2": "<string>",
"iterRange": {},
"accuVar": "<string>",
"accuInit": {},
"loopCondition": {},
"loopStep": {},
"result": {}
}
}
]
}
Parses multiple CEL expression strings into AST representations. Permissions required: None
{
"expressions": [
{
"id": "<string>",
"constExpr": {
"nullValue": "NULL_VALUE",
"boolValue": true,
"int64Value": "<string>",
"uint64Value": "<string>",
"doubleValue": 123,
"stringValue": "<string>",
"bytesValue": "<string>",
"durationValue": "<string>",
"timestampValue": "2023-11-07T05:31:56Z"
},
"identExpr": {
"name": "<string>"
},
"selectExpr": {
"operand": {},
"field": "<string>",
"testOnly": true
},
"callExpr": {
"target": {},
"function": "<string>",
"args": [
{}
]
},
"listExpr": {
"elements": [
{}
],
"optionalIndices": [
123
]
},
"structExpr": {
"messageName": "<string>",
"entries": [
{
"id": "<string>",
"fieldKey": "<string>",
"mapKey": {},
"value": {},
"optionalEntry": true
}
]
},
"comprehensionExpr": {
"iterVar": "<string>",
"iterVar2": "<string>",
"iterRange": {},
"accuVar": "<string>",
"accuInit": {},
"loopCondition": {},
"loopStep": {},
"result": {}
}
}
]
}
Request message for batch parsing CEL expressions.
The CEL expression strings to parse.
OK
Response message for batch parsing CEL expressions.
The parsed CEL expressions as AST.
Show child attributes
Was this page helpful?