Package google.type
Stay organized with collections
Save and categorize content based on your preferences.
Expr
Represents an expression text. Example:
title: "User account presence"
description: "Determines whether the request has a user account"
expression: "size(request.user) > 0"
Fields |
expression |
string
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.
|
title |
string
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.
|
description |
string
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
|
location |
string
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-12-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-12-17 UTC."],[[["The `Expr` message represents an expression text, exemplified by the ability to determine user account presence using `expression: \"size(request.user) \u003e 0\"`."],["The `expression` field is a string that contains the textual representation of an expression using Common Expression Language (CEL) syntax."],["Optional fields include `title`, a short string describing the expression's purpose, and `description`, a longer text explaining the expression."],["The optional `location` field is a string used for error reporting, indicating the expression's origin."]]],[]]