Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion docs/Argument.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Argument defines the type of argument in a Call. It can be either a ComputedAttr
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**computedAttribute** | [**ComputedAttribute**](ComputedAttribute.md) | | [optional] |
|**contextAttribute** | [**ContextAttribute**](ContextAttribute.md) | | [optional] |



18 changes: 8 additions & 10 deletions docs/AttributeType.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,21 @@
## Enum


* `ATTRIBUTE_TYPE_UNSPECIFIED` (value: `"ATTRIBUTE_TYPE_UNSPECIFIED"`)
* `BOOLEAN` (value: `"ATTRIBUTE_TYPE_BOOLEAN"`)

* `ATTRIBUTE_TYPE_BOOLEAN` (value: `"ATTRIBUTE_TYPE_BOOLEAN"`)
* `BOOLEAN_ARRAY` (value: `"ATTRIBUTE_TYPE_BOOLEAN_ARRAY"`)

* `ATTRIBUTE_TYPE_BOOLEAN_ARRAY` (value: `"ATTRIBUTE_TYPE_BOOLEAN_ARRAY"`)
* `STRING` (value: `"ATTRIBUTE_TYPE_STRING"`)

* `ATTRIBUTE_TYPE_STRING` (value: `"ATTRIBUTE_TYPE_STRING"`)
* `STRING_ARRAY` (value: `"ATTRIBUTE_TYPE_STRING_ARRAY"`)

* `ATTRIBUTE_TYPE_STRING_ARRAY` (value: `"ATTRIBUTE_TYPE_STRING_ARRAY"`)
* `INTEGER` (value: `"ATTRIBUTE_TYPE_INTEGER"`)

* `ATTRIBUTE_TYPE_INTEGER` (value: `"ATTRIBUTE_TYPE_INTEGER"`)
* `INTEGER_ARRAY` (value: `"ATTRIBUTE_TYPE_INTEGER_ARRAY"`)

* `ATTRIBUTE_TYPE_INTEGER_ARRAY` (value: `"ATTRIBUTE_TYPE_INTEGER_ARRAY"`)
* `DOUBLE` (value: `"ATTRIBUTE_TYPE_DOUBLE"`)

* `ATTRIBUTE_TYPE_DOUBLE` (value: `"ATTRIBUTE_TYPE_DOUBLE"`)

* `ATTRIBUTE_TYPE_DOUBLE_ARRAY` (value: `"ATTRIBUTE_TYPE_DOUBLE_ARRAY"`)
* `DOUBLE_ARRAY` (value: `"ATTRIBUTE_TYPE_DOUBLE_ARRAY"`)



2 changes: 1 addition & 1 deletion docs/PermissionCheckBody.md → docs/CheckBody.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# PermissionCheckBody
# CheckBody

PermissionCheckRequest is the request message for the Check method in the Permission service.

Expand Down
6 changes: 2 additions & 4 deletions docs/CheckResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
## Enum


* `CHECK_RESULT_UNSPECIFIED` (value: `"CHECK_RESULT_UNSPECIFIED"`)
* `ALLOWED` (value: `"CHECK_RESULT_ALLOWED"`)

* `CHECK_RESULT_ALLOWED` (value: `"CHECK_RESULT_ALLOWED"`)

* `CHECK_RESULT_DENIED` (value: `"CHECK_RESULT_DENIED"`)
* `DENIED` (value: `"CHECK_RESULT_DENIED"`)



2 changes: 1 addition & 1 deletion docs/CheckedExpr.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A CEL expression which has been successfully type checked.
|**typeMap** | [**Map<String, V1alpha1Type>**](V1alpha1Type.md) | A map from expression ids to types. Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space. | [optional] |
|**sourceInfo** | [**SourceInfo**](SourceInfo.md) | | [optional] |
|**exprVersion** | **String** | The expr version indicates the major / minor version number of the `expr` representation. The most common reason for a version change will be to indicate to the CEL runtimes that transformations have been performed on the expr during static analysis. In some cases, this will save the runtime the work of applying the same or similar transformations prior to evaluation. | [optional] |
|**expr** | **Object** | An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`. | [optional] |
|**expr** | [**Expr**](Expr.md) | | [optional] |



10 changes: 5 additions & 5 deletions docs/Comprehension.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ A comprehension expression applied to a list or map. Comprehensions are not par
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**iterVar** | **String** | The name of the iteration variable. | [optional] |
|**iterRange** | **Object** | An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`. | [optional] |
|**iterRange** | [**Expr**](Expr.md) | | [optional] |
|**accuVar** | **String** | The name of the variable used for accumulation of the result. | [optional] |
|**accuInit** | **Object** | An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`. | [optional] |
|**loopCondition** | **Object** | An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`. | [optional] |
|**loopStep** | **Object** | An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`. | [optional] |
|**result** | **Object** | An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`. | [optional] |
|**accuInit** | [**Expr**](Expr.md) | | [optional] |
|**loopCondition** | [**Expr**](Expr.md) | | [optional] |
|**loopStep** | [**Expr**](Expr.md) | | [optional] |
|**result** | [**Expr**](Expr.md) | | [optional] |



14 changes: 0 additions & 14 deletions docs/ContextAttribute.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/CreateList.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A list creation expression. Lists may either be homogenous, e.g. `[1, 2, 3]`, o

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**elements** | **List<Object>** | The elements part of the list. | [optional] |
|**elements** | [**List<Expr>**](Expr.md) | The elements part of the list. | [optional] |
|**optionalIndices** | **List<Integer>** | The indices within the elements list which are marked as optional elements. When an optional-typed value is present, the value it contains is included in the list. If the optional-typed value is absent, the list element is omitted from the CreateList result. | [optional] |


Expand Down
6 changes: 2 additions & 4 deletions docs/DataChangeOperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
## Enum


* `OPERATION_UNSPECIFIED` (value: `"OPERATION_UNSPECIFIED"`)
* `CREATE` (value: `"OPERATION_CREATE"`)

* `OPERATION_CREATE` (value: `"OPERATION_CREATE"`)

* `OPERATION_DELETE` (value: `"OPERATION_DELETE"`)
* `DELETE` (value: `"OPERATION_DELETE"`)



8 changes: 3 additions & 5 deletions docs/EntityDefinitionReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
## Enum


* `REFERENCE_UNSPECIFIED` (value: `"REFERENCE_UNSPECIFIED"`)
* `RELATION` (value: `"REFERENCE_RELATION"`)

* `REFERENCE_RELATION` (value: `"REFERENCE_RELATION"`)
* `PERMISSION` (value: `"REFERENCE_PERMISSION"`)

* `REFERENCE_PERMISSION` (value: `"REFERENCE_PERMISSION"`)

* `REFERENCE_ATTRIBUTE` (value: `"REFERENCE_ATTRIBUTE"`)
* `ATTRIBUTE` (value: `"REFERENCE_ATTRIBUTE"`)



4 changes: 2 additions & 2 deletions docs/Entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Represents an entry.
|------------ | ------------- | ------------- | -------------|
|**id** | **String** | Required. An id assigned to this node by the parser which is unique in a given expression tree. This is used to associate type information and other attributes to the node. | [optional] |
|**fieldKey** | **String** | The field key for a message creator statement. | [optional] |
|**mapKey** | **Object** | An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`. | [optional] |
|**value** | **Object** | An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`. | [optional] |
|**mapKey** | [**Expr**](Expr.md) | | [optional] |
|**value** | [**Expr**](Expr.md) | | [optional] |
|**optionalEntry** | **Boolean** | Whether the key-value pair is optional. | [optional] |


Expand Down
2 changes: 1 addition & 1 deletion docs/ExpandTreeNode.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ExpandTreeNode represents a node in an expansion tree with a specific operation
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**operation** | **ExpandTreeNodeOperation** | | [optional] |
|**children** | **List<Object>** | | [optional] |
|**children** | [**List<V1Expand>**](V1Expand.md) | | [optional] |



8 changes: 3 additions & 5 deletions docs/ExpandTreeNodeOperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
## Enum


* `OPERATION_UNSPECIFIED` (value: `"OPERATION_UNSPECIFIED"`)
* `UNION` (value: `"OPERATION_UNION"`)

* `OPERATION_UNION` (value: `"OPERATION_UNION"`)
* `INTERSECTION` (value: `"OPERATION_INTERSECTION"`)

* `OPERATION_INTERSECTION` (value: `"OPERATION_INTERSECTION"`)

* `OPERATION_EXCLUSION` (value: `"OPERATION_EXCLUSION"`)
* `EXCLUSION` (value: `"OPERATION_EXCLUSION"`)



21 changes: 21 additions & 0 deletions docs/Expr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


# Expr

An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **String** | Required. An id assigned to this node by the parser which is unique in a given expression tree. This is used to associate type information and other attributes to a node in the parse tree. | [optional] |
|**constExpr** | [**Constant**](Constant.md) | | [optional] |
|**identExpr** | [**Ident**](Ident.md) | | [optional] |
|**selectExpr** | [**Select**](Select.md) | | [optional] |
|**callExpr** | [**ExprCall**](ExprCall.md) | | [optional] |
|**listExpr** | [**CreateList**](CreateList.md) | | [optional] |
|**structExpr** | [**CreateStruct**](CreateStruct.md) | | [optional] |
|**comprehensionExpr** | [**Comprehension**](Comprehension.md) | | [optional] |



4 changes: 2 additions & 2 deletions docs/ExprCall.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ A call expression, including calls to predefined functions and operators. For e

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**target** | **Object** | An abstract representation of a common expression. Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST. All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration. For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`. | [optional] |
|**target** | [**Expr**](Expr.md) | | [optional] |
|**function** | **String** | Required. The name of the function or method being called. | [optional] |
|**args** | **List<Object>** | The arguments. | [optional] |
|**args** | [**List<Expr>**](Expr.md) | The arguments. | [optional] |



Loading