-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduces 'expression text', deprecates version field (#143)
- Loading branch information
1 parent
cffab9d
commit 4f88558
Showing
6 changed files
with
168 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
packages/google-cloud-asset/src/v1/doc/google/type/doc_expr.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright 2019 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Note: this file is purely for documentation. Any contents are not expected | ||
// to be loaded as the JS file. | ||
|
||
/** | ||
* Represents an expression text. Example: | ||
* | ||
* title: "User account presence" | ||
* description: "Determines whether the request has a user account" | ||
* expression: "size(request.user) > 0" | ||
* | ||
* @property {string} expression | ||
* 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. | ||
* | ||
* @property {string} title | ||
* 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. | ||
* | ||
* @property {string} description | ||
* An optional description of the expression. This is a longer text which | ||
* describes the expression, e.g. when hovered over it in a UI. | ||
* | ||
* @property {string} location | ||
* An optional string indicating the location of the expression for error | ||
* reporting, e.g. a file name and a position in the file. | ||
* | ||
* @typedef Expr | ||
* @memberof google.type | ||
* @see [google.type.Expr definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/type/expr.proto} | ||
*/ | ||
const Expr = { | ||
// This is for documentation. Actual contents will be loaded by gRPC. | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
packages/google-cloud-asset/src/v1beta1/doc/google/type/doc_expr.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright 2019 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Note: this file is purely for documentation. Any contents are not expected | ||
// to be loaded as the JS file. | ||
|
||
/** | ||
* Represents an expression text. Example: | ||
* | ||
* title: "User account presence" | ||
* description: "Determines whether the request has a user account" | ||
* expression: "size(request.user) > 0" | ||
* | ||
* @property {string} expression | ||
* 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. | ||
* | ||
* @property {string} title | ||
* 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. | ||
* | ||
* @property {string} description | ||
* An optional description of the expression. This is a longer text which | ||
* describes the expression, e.g. when hovered over it in a UI. | ||
* | ||
* @property {string} location | ||
* An optional string indicating the location of the expression for error | ||
* reporting, e.g. a file name and a position in the file. | ||
* | ||
* @typedef Expr | ||
* @memberof google.type | ||
* @see [google.type.Expr definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/type/expr.proto} | ||
*/ | ||
const Expr = { | ||
// This is for documentation. Actual contents will be loaded by gRPC. | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters