Skip to content

docs: add missing product READMEs and fix two doc inaccuracies - #10353

Open
chiragjangiir wants to merge 5 commits into
GoogleCloudPlatform:mainfrom
chiragjangiir:main
Open

chiragjangiir wants to merge 5 commits into
GoogleCloudPlatform:mainfrom
chiragjangiir:main

Conversation

@chiragjangiir

@chiragjangiir chiragjangiir commented Oct 7, 2026 •

Copy link
Copy Markdown

Summary

This PR adds top-level product READMEs for Java sample directories that already contain samples but had no product-level README:

  • bigquery/
  • pubsub/
  • storage/
  • bigtable/
  • dialogflow/
  • dialogflow-cx/
  • firestore/

The new READMEs follow the existing repo pattern from secretmanager/README.md: a Cloud Shell badge, a short product description, API enablement guidance, and a pointer to where the samples live in each folder.

This PR also fixes two small doc inaccuracies:

  • run/README.md had a Cloud Shell link pointing at blog/README.md
  • auth/README.md used com.example.storage.ClassName in the quickstart exec example instead of an auth-appropriate class name

Why

A product-level README helps readers find the samples and understand basic setup without opening every subdirectory. The two fixes remove confusing or incorrect links and examples in existing docs.

Scope

  • Docs-only change. No sample code is added or modified.
  • Product descriptions are based on the common Google Cloud product descriptions and the actual folder layout in this repo.
  • The new READMEs are intentionally minimal and follow the existing repo pattern.

Test plan

  • Spot-check each new README against the contents of its directory so the listed sample paths are accurate.
  • Confirm the Cloud Shell links resolve to the right file in each new README.
  • Confirm run/README.md and auth/README.md changes are correct.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff noreply@codebuff.com

Add top-level READMEs for product directories that had real samples but no
product-level README: bigquery, pubsub, storage, bigtable, dialogflow,
dialogflow-cx, and firestore. Use the existing repo README shape from
secretmanager/README.md so the new docs match current conventions.

Also fix two doc inaccuracies:
- run/README.md had a Cloud Shell link pointing at blog/README.md
- auth/README.md used com.example.storage.ClassName in the quickstart exec
  example instead of an auth-appropriate class name

This is a docs-only change.
Add a small documentation-only guideline to CONTRIBUTING.md for
contributions that add missing product-level READMEs. This helps keep
future contributions consistent and avoids inventing sample entrypoints,
class names, or product claims that the folder contents do not support.

This is a docs-only change.
Remove an accidental non-English word from the documentation-only
contribution guidance and keep the wording clean.

This is a docs-only change.
@chiragjangiir
chiragjangiir requested review from a team and yoshi-approver as code owners October 7, 2026 12:50
@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: auth api: bigtable Issues related to the Bigtable API. api: dialogflow Issues related to the Dialogflow API. api: pubsub Issues related to the Pub/Sub API. api: run Issues related to the Cloud Run API. api: storage Issues related to the Cloud Storage API. labels Oct 7, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds guidelines for documentation-only contributions to CONTRIBUTING.md, updates execution commands and links in existing READMEs, and introduces new README.md files for several Google Cloud products (BigQuery, Bigtable, Dialogflow, Dialogflow CX, Firestore, Pub/Sub, and Storage). The feedback recommends using HTTPS instead of HTTP for the Cloud Shell badge image URLs in the new READMEs and correcting the relative paths to CONTRIBUTING.md from ../../ to ../ since these directories are located at the root level.

Comment thread bigquery/README.md Outdated
Comment thread bigquery/README.md Outdated
Comment thread bigtable/README.md Outdated
Comment thread bigtable/README.md Outdated
Comment thread dialogflow-cx/README.md Outdated
Comment thread firestore/README.md Outdated
Comment thread pubsub/README.md Outdated
Comment thread pubsub/README.md Outdated
Comment thread storage/README.md Outdated
Comment thread storage/README.md Outdated
@chiragjangiir

chiragjangiir commented Oct 7, 2026 •

Copy link
Copy Markdown
Author

Review feedback status

The suggestions from the automated review are now addressed in commit 9b85fed:

  • Cloud Shell badge image now uses https://gstatic.com/cloudssh/images/open-btn.png in all new product READMEs.
  • CONTRIBUTING.md relative path is now ../CONTRIBUTING.md in all new product READMEs.

Files changed:

  • bigquery/README.md
  • bigtable/README.md
  • dialogflow/README.md
  • dialogflow-cx/README.md
  • firestore/README.md
  • pubsub/README.md
  • storage/README.md

The two doc fixes from the original PR are unchanged:

  • run/README.md Cloud Shell link now points at run/README.md
  • auth/README.md quickstart exec example now uses an auth-appropriate class name

If the review comments still appear against the old patch, that is because they were issued before this fix landed. The current Files changed tab shows the corrected versions.

…tive path

- Use https:// for the Cloud Shell badge image across all new product READMEs
- Fix CONTRIBUTING.md relative path from ../../ to ../ (all are top-level dirs)
@chiragjangiir

chiragjangiir commented Oct 7, 2026 •

Copy link
Copy Markdown
Author

Quick pointer for reviewers: the earlier review suggestions are now reflected in the current diff.

  • Cloud Shell badge images use https://gstatic.com/cloudssh/images/open-btn.png in all new product READMEs.
  • CONTRIBUTING.md relative path is ../CONTRIBUTING.md in all new product READMEs.

The corrected versions are visible on the Files changed tab:
https://github.com/GoogleCloudPlatform/java-docs-samples/pull/10353/files

The two original doc fixes are unchanged:

  • run/README.md
  • auth/README.md

Checks are green on the latest commit.

The review flagged the badge image on seven READMEs (HTTP src plus a space
before `=`) and the CONTRIBUTING.md relative path; both were corrected in
9412589. The same two defects survived in the other READMEs this PR touches:
auth/README.md still loaded the badge over http:// with a space before `=`, and
run/README.md declared [shell_img] over http://. Both now use
https://gstatic.com/cloudssh/images/open-btn.png like the other badges.
@chiragjangiir

Copy link
Copy Markdown
Author

I re-checked every finding against the current files. The two categories were already addressed in 9412589, but the same defect class survived in two READMEs the review did not flag — fixed in 13151c9.

Already correct at 9412589 (the seven READMEs the review commented on):

File Badge image CONTRIBUTING.md link
bigquery, bigtable, dialogflow, dialogflow-cx, firestore, pubsub, storage src="https://gstatic.com/cloudssh/images/open-btn.png" — HTTPS, no space before = ](../CONTRIBUTING.md)

So all 14 findings on those files are resolved by the current content.

Still inconsistent, now fixed in 13151c9:

  • auth/README.md:4 was <img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"> → src="https://gstatic.com/cloudssh/images/open-btn.png"
  • run/README.md:5 was [shell_img]: http://gstatic.com/cloudssh/images/open-btn.png → https://gstatic.com/cloudssh/images/open-btn.png

Both now match the other seven badges.

Two http:// occurrences remain on purpose: http://maven.apache.org/ in auth/README.md (pre-existing link on a line this PR does not touch) and http://localhost:9090 in run/README.md's local-run instruction. The PR's checks were green at 9412589; this change touches Markdown only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: auth api: bigtable Issues related to the Bigtable API. api: dialogflow Issues related to the Dialogflow API. api: pubsub Issues related to the Pub/Sub API. api: run Issues related to the Cloud Run API. api: storage Issues related to the Cloud Storage API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants