Class: Google::Type::Expr
- Inherits:
-
Object
- Object
- Google::Type::Expr
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/type/expr.rb
Overview
Represents an expression text. Example:
title: "User account presence"
description: "Determines whether the request has a user account"
expression: "size(request.user) > 0"
Instance Attribute Summary collapse
-
#description ⇒ ::String
An optional description of the expression.
-
#expression ⇒ ::String
Textual representation of an expression in Common Expression Language syntax.
-
#location ⇒ ::String
An optional string indicating the location of the expression for error reporting, e.g.
-
#title ⇒ ::String
An optional title for the expression, i.e.
Instance Attribute Details
#description ⇒ ::String
Returns An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
47 48 49 50 |
# File 'proto_docs/google/type/expr.rb', line 47 class Expr include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#expression ⇒ ::String
Returns 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.
47 48 49 50 |
# File 'proto_docs/google/type/expr.rb', line 47 class Expr include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location ⇒ ::String
Returns An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
47 48 49 50 |
# File 'proto_docs/google/type/expr.rb', line 47 class Expr include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#title ⇒ ::String
Returns 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.
47 48 49 50 |
# File 'proto_docs/google/type/expr.rb', line 47 class Expr include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |