GoogleCloudPlatform / golang-samples

Sample apps and code written for Google Cloud in the Go programming language.
Apache License 2.0
4.29k stars 1.73k forks source link

feat(auth): add sample apikeys_authenticate_api_key #4380

Closed quartzmo closed 1 week ago

quartzmo commented 2 weeks ago

Description

Fixes #

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

Checklist

The usage of language/apiv1 is new in auth, but it appears that his API is already enabled for language/analyze/analyze_test.go.

New env var for integration test with language/apiv1:

GOLANG_SAMPLES_API_KEY
snippet-bot[bot] commented 2 weeks ago

Here is the summary of changes.

You are about to add 1 region tag. - [auth/authenticate_with_api_key.go:17](https://github.com/quartzmo/golang-samples/blob/73e45e819500c71cbe92f14fd8924c0abd3d233a/auth/authenticate_with_api_key.go#L17), tag `apikeys_authenticate_api_key`

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: