Skip to content

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

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

chiragjangiir wants to merge 4 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
# Google BigQuery

<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=bigquery/README.md">
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>

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.

medium

Use HTTPS instead of HTTP for the image source URL to ensure secure transport, and remove the extra space before the equals sign.

Suggested change
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>
<img alt="Open in Cloud Shell" src="https://gstatic.com/cloudssh/images/open-btn.png"></a>

Comment thread bigquery/README.md Outdated

## Contributing

See the [contributor guide](../../CONTRIBUTING.md) for this repository.

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.

medium

The bigquery directory is a top-level directory, so the relative path to CONTRIBUTING.md should be ../CONTRIBUTING.md instead of ../../CONTRIBUTING.md.

Suggested change
See the [contributor guide](../../CONTRIBUTING.md) for this repository.
See the [contributor guide](../CONTRIBUTING.md) for this repository.

Comment thread bigtable/README.md Outdated
# Google Cloud Bigtable

<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=bigtable/README.md">
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>

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.

medium

Use HTTPS instead of HTTP for the image source URL to ensure secure transport, and remove the extra space before the equals sign.

Suggested change
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>
<img alt="Open in Cloud Shell" src="https://gstatic.com/cloudssh/images/open-btn.png"></a>

Comment thread bigtable/README.md Outdated

## Contributing

See the [contributor guide](../../CONTRIBUTING.md) for this repository.

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.

medium

The bigtable directory is a top-level directory, so the relative path to CONTRIBUTING.md should be ../CONTRIBUTING.md instead of ../../CONTRIBUTING.md.

Suggested change
See the [contributor guide](../../CONTRIBUTING.md) for this repository.
See the [contributor guide](../CONTRIBUTING.md) for this repository.

Comment thread dialogflow-cx/README.md Outdated
# Dialogflow CX

<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=dialogflow-cx/README.md">
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>

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.

medium

Use HTTPS instead of HTTP for the image source URL to ensure secure transport, and remove the extra space before the equals sign.

Suggested change
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>
<img alt="Open in Cloud Shell" src="https://gstatic.com/cloudssh/images/open-btn.png"></a>

Comment thread firestore/README.md Outdated

## Contributing

See the [contributor guide](../../CONTRIBUTING.md) for this repository.

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.

medium

The firestore directory is a top-level directory, so the relative path to CONTRIBUTING.md should be ../CONTRIBUTING.md instead of ../../CONTRIBUTING.md.

Suggested change
See the [contributor guide](../../CONTRIBUTING.md) for this repository.
See the [contributor guide](../CONTRIBUTING.md) for this repository.

Comment thread pubsub/README.md Outdated
# Google Cloud Pub/Sub

<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=pubsub/README.md">
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>

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.

medium

Use HTTPS instead of HTTP for the image source URL to ensure secure transport, and remove the extra space before the equals sign.

Suggested change
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>
<img alt="Open in Cloud Shell" src="https://gstatic.com/cloudssh/images/open-btn.png"></a>

Comment thread pubsub/README.md Outdated

## Contributing

See the [contributor guide](../../CONTRIBUTING.md) for this repository.

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.

medium

The pubsub directory is a top-level directory, so the relative path to CONTRIBUTING.md should be ../CONTRIBUTING.md instead of ../../CONTRIBUTING.md.

Suggested change
See the [contributor guide](../../CONTRIBUTING.md) for this repository.
See the [contributor guide](../CONTRIBUTING.md) for this repository.

Comment thread storage/README.md Outdated
# Google Cloud Storage

<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=storage/README.md">
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>

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.

medium

Use HTTPS instead of HTTP for the image source URL to ensure secure transport, and remove the extra space before the equals sign.

Suggested change
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>
<img alt="Open in Cloud Shell" src="https://gstatic.com/cloudssh/images/open-btn.png"></a>

Comment thread storage/README.md Outdated

## Contributing

See the [contributor guide](../../CONTRIBUTING.md) for this repository.

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.

medium

The storage directory is a top-level directory, so the relative path to CONTRIBUTING.md should be ../CONTRIBUTING.md instead of ../../CONTRIBUTING.md.

Suggested change
See the [contributor guide](../../CONTRIBUTING.md) for this repository.
See the [contributor guide](../CONTRIBUTING.md) for this repository.

@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.

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