Expr
class Expr extends Message
Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
Generated from protobuf message google.type.Expr
Methods
Constructor.
Textual representation of an expression in Common Expression Language syntax.
Textual representation of an expression in Common Expression Language syntax.
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.
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.
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
Details
at line 76
__construct(array $data = NULL)
Constructor.
at line 90
string
getExpression()
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.
Generated from protobuf field string expression = 1;
at line 105
$this
setExpression(string $var)
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.
Generated from protobuf field string expression = 1;
at line 121
string
getTitle()
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.
Generated from protobuf field string title = 2;
at line 135
$this
setTitle(string $var)
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.
Generated from protobuf field string title = 2;
at line 150
string
getDescription()
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
Generated from protobuf field string description = 3;
at line 163
$this
setDescription(string $var)
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
Generated from protobuf field string description = 3;
at line 178
string
getLocation()
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
Generated from protobuf field string location = 4;
at line 191
$this
setLocation(string $var)
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
Generated from protobuf field string location = 4;