# GoogleCloudPlatform/java-docs-samples

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

Repository: https://github.com/GoogleCloudPlatform/java-docs-samples
Canonical: https://ross.abutalabs.com/products/java-docs-samples
Homepage: https://cloud.google.com/java
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, kotlin, appengine, auth, automl, cdn, vision, video, translate, samples
Last push: 2026-08-26T15:33:44+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 4179, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1906, forks 2881 (observed 2026-08-28T04:05:51.996298+00:00)

## What it is
A collection of Java and Kotlin code samples demonstrating how to use Google Cloud Platform services, maintained by Google and referenced from cloud.google.com documentation. It covers topics like authentication, App Engine, AutoML, Vision, Video, and Translate APIs.

## Use cases
- learn how to call Google Cloud APIs from Java
- find example code for authenticating with Google Cloud in Java
- copy sample code for Vision or Translate APIs
- get started with App Engine using Java
- see best-practice examples for Cloud client libraries
- bootstrap a Kotlin app on Google Cloud

## When to choose
- you are building a Java or Kotlin application on Google Cloud and want working reference code
- you are following a cloud.google.com guide that links to these samples
- you want to see idiomatic usage of Google Cloud client libraries

## When to avoid
- you need a production-ready library rather than example code
- you use a language other than Java or Kotlin
- you need samples for non-Google cloud providers

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, sdk, auth, machine-learning, image-processing, video-processing, nlp
- domain: cloud-computing, developer-tools, documentation, tutorials, apis
- platform: jvm, cloud, cross-platform
- tags: google-cloud, code-samples, kotlin, appengine, documentation-samples, cloud-client-libraries

## Member repositories
- GoogleCloudPlatform/java-docs-samples (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.996298+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:17.055076+00:00, confidence not recorded.
  - readme: https://github.com/GoogleCloudPlatform/java-docs-samples (fetched 2026-08-28T04:05:51.996298+00:00, sha 73326b84251b)
  - homepage: https://cloud.google.com/java (fetched 2026-08-29T10:50:30.275997+00:00, sha ade2f37d2785)
- Data as of 2026-08-30T08:39:29.467469+00:00.
