-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
In which file did you encounter the issue?
- v1 code sample for receiving notifications: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/611b32be/security-command-center/snippets/src/main/java/NotificationReceiver.java
- All v2 code samples for notifications: https://github.com/GoogleCloudPlatform/java-docs-samples/tree/611b32be/security-command-center/snippets/src/main/java/vtwo/notifications
Did you change the file? If so, how?
No
Describe the issue
In #9276, we added code samples that show how to manage notifications with the Security Command Center v2 API. However, we didn't add a v2 version of NotificationReceiver.java
.
We need to create a v2 version of this sample, with the region tag securitycenter_receive_notifications_v2
.
cc: @owenhuyn
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.