1
+ // Copyright 2019 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // https://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // Note: this file is purely for documentation. Any contents are not expected
16
+ // to be loaded as the JS file.
17
+
18
+ /**
19
+ * Represents an expression text. Example:
20
+ *
21
+ * title: "User account presence"
22
+ * description: "Determines whether the request has a user account"
23
+ * expression: "size(request.user) > 0"
24
+ *
25
+ * @property {string } expression
26
+ * Textual representation of an expression in
27
+ * Common Expression Language syntax.
28
+ *
29
+ * The application context of the containing message determines which
30
+ * well-known feature set of CEL is supported.
31
+ *
32
+ * @property {string } title
33
+ * An optional title for the expression, i.e. a short string describing
34
+ * its purpose. This can be used e.g. in UIs which allow to enter the
35
+ * expression.
36
+ *
37
+ * @property {string } description
38
+ * An optional description of the expression. This is a longer text which
39
+ * describes the expression, e.g. when hovered over it in a UI.
40
+ *
41
+ * @property {string } location
42
+ * An optional string indicating the location of the expression for error
43
+ * reporting, e.g. a file name and a position in the file.
44
+ *
45
+ * @typedef Expr
46
+ * @memberof google.type
47
+ * @see [google.type.Expr definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/type/expr.proto}
48
+ */
49
+ const Expr = {
50
+ // This is for documentation. Actual contents will be loaded by gRPC.
51
+ } ;
0 commit comments