Skip to content

Conversation

@gkevinzheng
Copy link
Contributor

Use detectResource in resource.go to automatically detect the project in logging.NewClient if an empty string is passed in as a parent.

Fixes #7321

@gkevinzheng gkevinzheng requested review from a team as code owners November 14, 2023 19:36
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: logging Issues related to the Cloud Logging API. labels Nov 14, 2023
@gkevinzheng gkevinzheng enabled auto-merge (squash) December 6, 2023 21:47
@gkevinzheng gkevinzheng merged commit bc13e6a into googleapis:main Dec 6, 2023
@gkevinzheng gkevinzheng deleted the logging-new-client-parent branch December 11, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the Cloud Logging API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

logging: automatic project detection in logging.NewClient()

3 participants