Skip to content

cloud run docs: Add authentication prerequisites to deployment guide#1277

Open
hari-silvers wants to merge 4 commits intogoogle:mainfrom
hari-silvers:docs/cloud-run-docs-update
Open

cloud run docs: Add authentication prerequisites to deployment guide#1277
hari-silvers wants to merge 4 commits intogoogle:mainfrom
hari-silvers:docs/cloud-run-docs-update

Conversation

@hari-silvers
Copy link
Copy Markdown

@hari-silvers hari-silvers commented Apr 25, 2026

ISSUE NO - 1271

Problem

it's not that much of change but the deployment guide (deploy.sh) uses gcloud commands but does not mention
authentication steps. Users who are not authenticated will face failures
when running the script.

Proposed Fix

Add a Prerequisites section to the README after the Introduction that covers:

  • Running gcloud auth login
  • Running gcloud auth application-default login
  • Enabling required APIs

The proposed changes rendered in the A2UI\samples\agent\adk\gemini_enterprise\cloud_run\README.md is shown below:
Image

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

Copy link
Copy Markdown
Contributor

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

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 introduces a Prerequisites section to the README for deploying a Gemini-based agent on Cloud Run, including authentication steps and API enablement. The review feedback highlights that the requirement for Application Default Credentials is misleading for this deployment context and suggests including additional necessary APIs, such as Artifact Registry and IAM, to ensure the workflow functions correctly.

Comment thread samples/agent/adk/gemini_enterprise/cloud_run/README.md Outdated
Comment thread samples/agent/adk/gemini_enterprise/cloud_run/README.md
hari-silvers and others added 2 commits April 25, 2026 12:53
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant