-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Resource to the v1 NotificationMessage, update protos (#286)
* feat: Add Resource to the v1 NotificationMessage, which contains resource-related fields associated to the Finding notification. docs: Adjusted wording from Cloud SCC to Security Command Center, and updated filtering docs for List APIs. PiperOrigin-RevId: 315715539 Source-Author: Google APIs <[email protected]> Source-Date: Wed Jun 10 10:20:15 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 3e7056405a83fcbdca86c829d32264b8102fc893 Source-Link: googleapis/googleapis@3e70564 * feat: Add Resource to the vp1beta1 NotificationMessage, which contains resource-related fields associated to the Finding notification. feat!: Removed 'having' as a field for the Group and List APIs for both Assets and Findings. docs: Adjusted wording from Cloud SCC to Security Command Center, and updated filtering docs for List APIs. BREAKING CHANGE: Removed 'having' as a field in the List and Group Finding and Asset requests. PiperOrigin-RevId: 315725809 Source-Author: Google APIs <[email protected]> Source-Date: Wed Jun 10 11:04:44 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 027e9775e9d3a6f3eb197fb428727b7f17276e7b Source-Link: googleapis/googleapis@027e977 * fix!: Fix the version casing in the C# namespace option BREAKING CHANGE: This would break any C# code already generated, but this file is very new, so is unlikely to break anyone. PiperOrigin-RevId: 315933871 Source-Author: Google APIs <[email protected]> Source-Date: Thu Jun 11 10:56:35 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: b789f790565ad7cc473571b0cf35dfbe6707f6a8 Source-Link: googleapis/googleapis@b789f79
- Loading branch information
1 parent
6f1c209
commit ccf04e7
Showing
27 changed files
with
1,528 additions
and
485 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
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
46 changes: 46 additions & 0 deletions
46
packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/resource.proto
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,46 @@ | ||
// Copyright 2020 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/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_outer_classname = "ResourceProto"; | ||
option java_package = "com.google.cloud.securitycenter.v1"; | ||
option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; | ||
option ruby_package = "Google::Cloud::SecurityCenter::V1"; | ||
|
||
// Information related to the Google Cloud resource. | ||
message Resource { | ||
// The full resource name of the resource. See: | ||
// https://cloud.google.com/apis/design/resource_names#full_resource_name | ||
string name = 1; | ||
|
||
// The full resource name of project that the resource belongs to. | ||
string project = 2; | ||
|
||
// The human readable name of project that the resource belongs to. | ||
string project_display_name = 3; | ||
|
||
// The full resource name of resource's parent. | ||
string parent = 4; | ||
|
||
// The human readable name of resource's parent. | ||
string parent_display_name = 5; | ||
} |
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
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
Oops, something went wrong.