Description
When copying and pasting the multi-line gcloud services enable command from step 2 ("Before you begin") into the Cloud Shell terminal, the command execution breaks. The terminal interprets the last service (aiplatform.googleapis.com) as a standalone bash command rather than arguments for gcloud, resulting in a partial execution and a bash: aiplatform.googleapis.com: command not found error.
Steps to Reproduce
- Navigate to the Chat With Your Data using BigQuery Agents & Antigravity IDE codelab, Step 2.
- Scroll down to instruction number 8 ("Enable the required APIs").
- Click the copy icon or manually highlight the block containing the multi-line
gcloud services enable command with backslashes (\).
- Paste the block into the Google Cloud Shell terminal and press Enter.
Expected Behavior
The terminal should recognize the backslashes as line continuations and successfully enable all 10 listed Google Cloud APIs under the active project.
Actual Behavior
The command breaks at the final line continuation, resulting in the following output:
violations:
- subject: ?error_code=220002&services=+
type: googleapis.com
...
reason: SERVICE_CONFIG_NOT_FOUND_OR_PERMISSION_DENIED
(.venv) yashwanthponnam55@cloudshell:~ (yash-genai-final)$ gcloud services enable alloydb.googleapis.com bigquery.googleapis.com run.googleapis.com cloudbuild.googleapis.com artifactregistry.googleapis.com iam.googleapis.com secretmanager.googleapis.com compute.googleapis.com servicenetworking.googleapis.com aiplatform.googleapis.com
bash: aiplatform.googleapis.com: command not found
Suggested FixUpdate the codelab markdown documentation to provide the command as a single line, or ensure there are absolutely no trailing spaces/hidden characters after the backslashes (\) inside the code block wrapper
Description
When copying and pasting the multi-line
gcloud services enablecommand from step 2 ("Before you begin") into the Cloud Shell terminal, the command execution breaks. The terminal interprets the last service (aiplatform.googleapis.com) as a standalone bash command rather than arguments forgcloud, resulting in a partial execution and abash: aiplatform.googleapis.com: command not founderror.Steps to Reproduce
gcloud services enablecommand with backslashes (\).Expected Behavior
The terminal should recognize the backslashes as line continuations and successfully enable all 10 listed Google Cloud APIs under the active project.
Actual Behavior
The command breaks at the final line continuation, resulting in the following output: