GoogleCloudPlatform/java-docs-samples

Java and Kotlin Code samples used on cloud.google.com

Owned by Google

View on GitHub ↗Jump to charts ↓Open shareable report →

GoogleCloudPlatform/java-docs-samples has 1.5k+ stars and 2.5k+ forks on GitHub, is written in Java, and was last pushed on Oct 13, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on October 12th, 2026
Created on March 25th, 2015
Open Issues & Pull Requests: 55 (+0)
GitHub issues: Enabled
Number of forks: 2,881
Total Stargazers: 1,909 (+0)
Total Subscribers: 279 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 45.6 hours
90th percentile: 0.0 hours
Tracked items: 264

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 10
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 910 days
Stale 30+ days: 8
Stale 90+ days: 8

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • samples (264)
  • api: cloudfunctions (133)
  • type: bug (22)
  • priority: p2 (20)
  • triage me (19)
  • api: compute (13)
  • flakybot: issue (8)
  • priority: p1 (5)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Java-docs-samples is a collection of code samples demonstrating Google Cloud Platform services, written in Java and Kotlin.

The repository serves as a reference implementation library for developers learning to integrate Google Cloud services into Java applications. It provides working examples across multiple GCP products including App Engine, authentication, AutoML, CDN, translation, video processing, and vision APIs. Each sample is designed to be self-contained and directly runnable, with setup instructions covering Java environment configuration, credential management through Application Default Credentials, and authentication flows.

Developers should use this repository when learning GCP service integration patterns or when seeking verified, production-ready code snippets for specific Google Cloud APIs. The samples are particularly valuable for teams adopting GCP services in Java-based projects, as they demonstrate idiomatic usage patterns and proper credential handling. The repository is most useful as a reference during development rather than as a library to be imported; samples are meant to be adapted for specific use cases. Some samples include accompanying guides on cloud.google.com that provide additional context.

The project maintains compatibility across multiple Java runtimes, with all changes required to pass testing on Java 11 and Java 17 before merging. Periodic validation occurs on Java 8 and Java 21 environments, though failures on these versions do not block contributions. The repository enforces consistent licensing headers across all source files and provides clear contribution guidelines for those submitting new samples or improvements.