java-docs-samples
java-docs-samples copied to clipboard
Java and Kotlin Code samples used on cloud.google.com
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://togithub.com/googleapis/java-pubsub) | `1.120.3` -> `1.120.11` | [](https://docs.renovatebot.com/merge-confidence/)...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/GoogleCloudPlatform/java-docs-samples). ## Repository problems These problems occurred while...
This is the first PR out of three PRs that introduce Cloud Bigtable fraud-detection use-case example. This PR adds the following: 1) The Terraform code that builds and destroys the...
Added sample for creating Secret with UserManaged replication Fixes b/222386112 > It's a good idea to open an issue first for discussion. - [x] I have followed [Sample Format Guide](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md)...
Quickstart example that is given in the opencensus repo failing with below exception. ``` Exception in thread "main" java.lang.NoClassDefFoundError: com/google/api/client/json/jackson2/JacksonFactory at io.opencensus.exporter.stats.stackdriver.StackdriverStatsConfiguration.(StackdriverStatsConfiguration.java:50) at com.example.opencensus.Quickstart.main(Quickstart.java:26) Caused by: java.lang.ClassNotFoundException: com.google.api.client.json.jackson2.JacksonFactory at java.net.URLClassLoader.findClass(URLClassLoader.java:387)...
Note: #7077 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky. ---- commit: 5d149252e952aedb9eacff0c7bc6ba12a2adb886 buildURL: [Build Status](https://source.cloud.google.com/results/invocations/9d3113ef-0584-49f8-9411-e23c2606b552), [Sponge](http://sponge2/9d3113ef-0584-49f8-9411-e23c2606b552) status:...
Note: #5864 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky. ---- commit: 9ba9157ff45d5c48be0e7aebb8b29fd455b44a57 buildURL: [Build Status](https://source.cloud.google.com/results/invocations/0b3733c1-1162-4a46-836d-ae257039f8d7), [Sponge](http://sponge2/0b3733c1-1162-4a46-836d-ae257039f8d7) status:...
compute/cloud-client/src/main/java/compute/CreateInstanceFromTemplate.java has no test and is broken
This snippet is never tested anywhere: compute/cloud-client/src/main/java/compute/CreateInstanceFromTemplate.java When I tried to run it, I got: ``` { "error": { "code": 400, "message": "Invalid value for field 'resource.disks[0].initializeParams.diskType': 'pd-balanced'. The URL...
Added Compute Machine type samples and tests. Docs: https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type