Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add samples for using a regional endpoint with SCC v2 API #12739

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

onagbonoga
Copy link

@onagbonoga onagbonoga commented Oct 30, 2024

Description

The SCC API can be accessed via Regional Endpoints to meet customer data residency requirements. This sample shows how to override the endpoint for an API client. See https://cloud.google.com/security-command-center/docs/data-residency-support.md#regional-urls for more information on data residency

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

The SCC API can be accessed via Regional Endpoints to meet customer data residency requirements. This sample shows how to override the endpoint for an API client. See https://cloud.google.com/security-command-center/docs/data-residency-support.md#regional-urls for more information on data residency
@onagbonoga onagbonoga requested review from a team as code owners October 30, 2024 21:46
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: securitycenter Issues related to the Security Command Center API. labels Oct 30, 2024
Copy link

snippet-bot bot commented Oct 30, 2024

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@iennae
Copy link
Contributor

iennae commented Nov 21, 2024

@onagbonoga it feels like this is pretty duplicative of https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/securitycenter/snippets_v2/snippets_findings_v2.py bar the sending options which seems like it could be an addition to the existing snippet. Any particular reason to need both?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: securitycenter Issues related to the Security Command Center API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants