Class: Google::Type::Expr
- Inherits:
-
Object
- Object
- Google::Type::Expr
- Defined in:
- lib/google/cloud/tasks/v2/doc/google/type/expr.rb,
lib/google/cloud/tasks/v2beta2/doc/google/type/expr.rb,
lib/google/cloud/tasks/v2beta3/doc/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.
43 |
# File 'lib/google/cloud/tasks/v2/doc/google/type/expr.rb', line 43 class Expr; 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.
43 |
# File 'lib/google/cloud/tasks/v2/doc/google/type/expr.rb', line 43 class Expr; 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.
43 |
# File 'lib/google/cloud/tasks/v2/doc/google/type/expr.rb', line 43 class Expr; 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.
43 |
# File 'lib/google/cloud/tasks/v2/doc/google/type/expr.rb', line 43 class Expr; end |