This repository has been archived by the owner on Sep 16, 2023. It is now read-only.
feat: add canonical_name and folder fields #489
Merged
Merged
Conversation
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
PiperOrigin-RevId: 372148900 Source-Author: Google APIs <noreply@google.com> Source-Date: Wed May 5 09:59:48 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: bad68ed1d9c79d9f5aa3dde11560f3f747409b61 Source-Link: googleapis/googleapis@bad68ed
Assets and findings may be created in organizations, folders or projects, however in the current API version the name field for resources will always be prefixed by "organizations/...", for historical reasons. The "canonical_name" field shows the actual location of the resource, and in requests either the name or "canonical name" can be used for the "name" in the request. The "folder" field contains the folders in the resource's ancestry. PiperOrigin-RevId: 372964926 Source-Author: Google APIs <noreply@google.com> Source-Date: Mon May 10 10:52:29 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 1d3573f5124e2f9ffdd174c6992269ea7f1e92a6 Source-Link: googleapis/googleapis@1d3573f
Assets and findings may be created in organizations, folders or projects, however in the current API version the name field for resources will always be prefixed by "organizations/...", for historical reasons. The "canonical_name" field shows the actual location of the resource, and in requests either the name or "canonical name" can be used for the "name" in the request. The "folder" field contains the folders in the resource's ancestry. PiperOrigin-RevId: 372965035 Source-Author: Google APIs <noreply@google.com> Source-Date: Mon May 10 10:52:52 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 0a992df8020d2fce3a18ccb7d43f727fb4f4a3cb Source-Link: googleapis/googleapis@0a992df
product-auto-label
bot
added
the
api: securitycenter
Issues related to the googleapis/java-securitycenter API.
label
May 12, 2021
google-cla
bot
added
the
cla: yes
This human has signed the Contributor License Agreement.
label
May 12, 2021
Codecov Report
@@ Coverage Diff @@
## master #489 +/- ##
============================================
- Coverage 83.63% 83.54% -0.10%
- Complexity 548 560 +12
============================================
Files 18 18
Lines 4081 4107 +26
Branches 62 66 +4
============================================
+ Hits 3413 3431 +18
Misses 598 598
- Partials 70 78 +8
Continue to review full report at Codecov.
|
Neenu1995
changed the title
[CHANGE ME] Re-generated to pick up changes from googleapis.
feat: add canonical_name and folder fields
May 12, 2021
Neenu1995
approved these changes
May 12, 2021
Neenu1995
added
the
automerge
Merge the pull request once unit tests and other checks pass.
label
May 12, 2021
gcf-merge-on-green
bot
removed
the
automerge
Merge the pull request once unit tests and other checks pass.
label
May 12, 2021
gcf-merge-on-green bot
pushed a commit
that referenced
this pull request
May 14, 2021
馃 I have created a release \*beep\* \*boop\* --- ## [1.5.0](https://www.github.com/googleapis/java-securitycenter/compare/v1.4.2...v1.5.0) (2021-05-14) ### Features * add canonical_name and folder fields ([#489](https://www.github.com/googleapis/java-securitycenter/issues/489)) ([75015df](https://www.github.com/googleapis/java-securitycenter/commit/75015df270e1ee837c2bd76c458da460d90b4ee0)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#486](https://www.github.com/googleapis/java-securitycenter/issues/486)) ([31f05a4](https://www.github.com/googleapis/java-securitycenter/commit/31f05a410ef5c9bb3ab165429755d2e3da3ba53a)) * update dependency com.google.protobuf:protobuf-java-util to v3.17.0 ([#480](https://www.github.com/googleapis/java-securitycenter/issues/480)) ([54124d2](https://www.github.com/googleapis/java-securitycenter/commit/54124d2f8f610013d567c3fe6d47c844cae6e049)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
api: securitycenter
Issues related to the googleapis/java-securitycenter API.
cla: yes
This human has signed the Contributor License Agreement.
context: full
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was generated using Autosynth. 馃寛
Synth log will be available here:
https://source.cloud.google.com/results/invocations/49ba22ec-719b-4e22-8ac5-703d6792de09/targets
PiperOrigin-RevId: 372965035
Source-Link: googleapis/googleapis@0a992df
PiperOrigin-RevId: 372964926
Source-Link: googleapis/googleapis@1d3573f
PiperOrigin-RevId: 372148900
Source-Link: googleapis/googleapis@bad68ed