ExprResponse

data class ExprResponse(val description: String, val expression: String, val location: String, val title: String)

Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) 0"

Constructors

Link copied to clipboard
fun ExprResponse(description: String, expression: String, location: String, title: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

Link copied to clipboard

Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.

Link copied to clipboard

An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

Link copied to clipboard

An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.