java-docs-samples
java-docs-samples copied to clipboard
Java and Kotlin Code samples used on cloud.google.com
## Description Golang sample - https://github.com/GoogleCloudPlatform/golang-samples/blob/8957a58ef69c14e5e483b3cac06e8e4ed369dc66/compute/reservations/update_reservation_vms.go#L17 Fixes # Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google. ## Checklist -...
## Description Sample in Python https://github.com/GoogleCloudPlatform/python-docs-samples/pull/12690 Fixes # Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google. ## Checklist -...
## Description PR in Puthon https://github.com/GoogleCloudPlatform/python-docs-samples/pull/12705. Faced the same issue with libraties. Implemented this sample using Preemptible. Fixes # Note: Before submitting a pull request, please open an issue for...
## Description Sample in Python [feat: TPU *Create / *get / *create_with_script / *delete Samples by Thoughtseize1 · Pull Request #12690 · GoogleCloudPlatform/python-docs-samples](https://github.com/GoogleCloudPlatform/python-docs-samples/pull/12690) Fixes # Note: Before submitting a pull...
## Description Fixes b/287183421 Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google. ## Checklist - [X] I have followed...
chore(deps): bump org.eclipse.jetty:jetty-server from 10.0.20 to 10.0.24 in /flexible/java-11/pubsub
Bumps org.eclipse.jetty:jetty-server from 10.0.20 to 10.0.24. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
## Description Adds a v2 equivalent of [`security-command-center/snippets/src/main/java/muteconfig/SetMuteUndefinedFinding.java`](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/dd24a49330921d8bf7015523ade842f6f0fe0068/security-command-center/snippets/src/main/java/muteconfig/SetMuteUndefinedFinding.java). ## Checklist - [x] I have followed [Sample Format Guide](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md) - [x] `pom.xml` parent set to latest `shared-configuration` - [x] Appropriate changes...
## Description Java Cloud SDK introduced a new API to allow users to authenticate via an API key. This provides a sample usage of the new setApiKey function. ## Checklist...
## Description Adds a snippet that shows how to reading from a Cloud Storage file into Dataflow. Snippet bug: b/340947448 Related doc bug: b/337851367 I structured this snippet similarly to...
## Description Fixes # Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google. ## Checklist - [x] I have followed...