Skip to content

Commit

Permalink
fix: drop dependency on lodash.merge (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored May 31, 2019
1 parent afeadfa commit d3273bb
Show file tree
Hide file tree
Showing 7 changed files with 222 additions and 74 deletions.
8 changes: 4 additions & 4 deletions packages/google-cloud-securitycenter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-node": "^9.0.0",
"eslint-plugin-prettier": "^3.0.0",
"jsdoc-baseline": "^0.1.0",
"intelli-espower-loader": "^1.0.1",
"jsdoc": "^3.5.5",
"jsdoc": "^3.6.2",
"jsdoc-baseline": "^0.1.0",
"linkinator": "^1.4.2",
"mocha": "^6.0.0",
"nyc": "^14.0.0",
"power-assert": "^1.4.4",
"prettier": "^1.7.4",
"linkinator": "^1.1.2"
"prettier": "^1.7.4"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// 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
//
// http://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.
//

syntax = "proto3";

package google.cloud.securitycenter.v1;

import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.SecurityCenter.V1";
option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter";
option java_multiple_files = true;
option java_package = "com.google.cloud.securitycenter.v1";
option php_namespace = "Google\\Cloud\\SecurityCenter\\V1";
option ruby_package = "Google::Cloud::SecurityCenter::V1";

// Response of asset discovery run
message RunAssetDiscoveryResponse {
// The state of an asset discovery run.
enum State {
// Asset discovery run state was unspecified.
STATE_UNSPECIFIED = 0;

// Asset discovery run completed successfully.
COMPLETED = 1;

// Asset discovery run was cancelled with tasks still pending, as another
// run for the same organization was started with a higher priority.
SUPERSEDED = 2;

// Asset discovery run was killed and terminated.
TERMINATED = 3;
}

// The state of an asset discovery run.
State state = 1;

// The duration between asset discovery run start and end
google.protobuf.Duration duration = 2;
}
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.
};
Loading

0 comments on commit d3273bb

Please sign in to comment.