Skip to content

Commit d3273bb

Browse files
fix: drop dependency on lodash.merge (#105)
1 parent afeadfa commit d3273bb

File tree

7 files changed

+222
-74
lines changed

7 files changed

+222
-74
lines changed

packages/google-cloud-securitycenter/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@
4949
"eslint-config-prettier": "^4.0.0",
5050
"eslint-plugin-node": "^9.0.0",
5151
"eslint-plugin-prettier": "^3.0.0",
52-
"jsdoc-baseline": "^0.1.0",
5352
"intelli-espower-loader": "^1.0.1",
54-
"jsdoc": "^3.5.5",
53+
"jsdoc": "^3.6.2",
54+
"jsdoc-baseline": "^0.1.0",
55+
"linkinator": "^1.4.2",
5556
"mocha": "^6.0.0",
5657
"nyc": "^14.0.0",
5758
"power-assert": "^1.4.4",
58-
"prettier": "^1.7.4",
59-
"linkinator": "^1.1.2"
59+
"prettier": "^1.7.4"
6060
}
6161
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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+
// http://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+
16+
syntax = "proto3";
17+
18+
package google.cloud.securitycenter.v1;
19+
20+
import "google/protobuf/duration.proto";
21+
import "google/protobuf/timestamp.proto";
22+
import "google/api/annotations.proto";
23+
24+
option csharp_namespace = "Google.Cloud.SecurityCenter.V1";
25+
option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter";
26+
option java_multiple_files = true;
27+
option java_package = "com.google.cloud.securitycenter.v1";
28+
option php_namespace = "Google\\Cloud\\SecurityCenter\\V1";
29+
option ruby_package = "Google::Cloud::SecurityCenter::V1";
30+
31+
// Response of asset discovery run
32+
message RunAssetDiscoveryResponse {
33+
// The state of an asset discovery run.
34+
enum State {
35+
// Asset discovery run state was unspecified.
36+
STATE_UNSPECIFIED = 0;
37+
38+
// Asset discovery run completed successfully.
39+
COMPLETED = 1;
40+
41+
// Asset discovery run was cancelled with tasks still pending, as another
42+
// run for the same organization was started with a higher priority.
43+
SUPERSEDED = 2;
44+
45+
// Asset discovery run was killed and terminated.
46+
TERMINATED = 3;
47+
}
48+
49+
// The state of an asset discovery run.
50+
State state = 1;
51+
52+
// The duration between asset discovery run start and end
53+
google.protobuf.Duration duration = 2;
54+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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

Comments
 (0)