Repository navigation
chore: move snippets to library output - #14705
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds auto-generated Go code examples and snippet metadata files for several Google Cloud client libraries, including Access Approval, Access Context Manager, Advisory Notifications, Generative Language, and AlloyDB. These files provide boilerplate templates for calling various API methods. As there are no review comments, I have no feedback to provide.
JoeWang1127
marked this pull request as ready for review
June 4, 2026 14:49
bhshkh
approved these changes
Jun 4, 2026
|
Here is the summary of possible violations 😱 DetailsThere are 212 possible violations for not having product prefix.
This comment is generated by snippet-bot.
|
bhshkh
added a commit
that referenced
this pull request
Jun 9, 2026
…#19927) The continuous integration script runs tests in directories containing Go files. However, the generated examples in directories matching /examples/ (such as accesscontextmanager/examples/apiv1/Client/CommitServicePerimeters) contain only example code with the examples build tag. Running tests in these directories without the examples tag causes go test to fail because all files are excluded by build constraints. To prevent these failures, skip running tests in directories that contain /examples/ in their path, unless they are inside /internal/examples/. 2381 tests failed: https://github.com/googleapis/google-cloud-go/issues?q=is%3Aissue%20state%3Aopen%20%22examples%22%20created%3A2026-06-05%20label%3A%22flakybot%3A%20issue%22%20label%3A%22type%3A%20bug%22 Snippets were recently moved in #14705 --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Move snippets to
{library}/examplesdirectory.The snippets in
internal/generated/snippetswill be removed after snippet directories are updated in the internal system.See go/sdk-librarian-cglo for more details.
Fixes googleapis/librarian#6294