From 994bc5c693de9b2332cf4960a3d79ea57c200913 Mon Sep 17 00:00:00 2001 From: t-karasova <91195610+t-karasova@users.noreply.github.com> Date: Thu, 7 Apr 2022 03:25:21 +0200 Subject: [PATCH] docs(samples): improve the setup scripts (#207) * update README * fix: sleep is added to the setup script * improve the setup scripts Co-authored-by: tetiana-karasova Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com> --- .../interactive-tutorials/README.md | 16 ++-------- .../user_environment_setup.sh | 32 +++++++++---------- .../user_import_data_to_catalog.sh | 4 +-- 3 files changed, 20 insertions(+), 32 deletions(-) diff --git a/generated_samples/interactive-tutorials/README.md b/generated_samples/interactive-tutorials/README.md index e1abc3088296..e6e96b0fb064 100644 --- a/generated_samples/interactive-tutorials/README.md +++ b/generated_samples/interactive-tutorials/README.md @@ -58,18 +58,6 @@ After the project is created, set your PROJECT_ID to a ```project``` variable: 1. Ensure that the Retail API is enabled for your project in the [API & Services page](https://console.cloud.google.com/apis/api/retail.googleapis.com/). -1. Log in with your user credentials to run a code sample from the Cloud Shell: - - ```bash - gcloud auth login - ``` - -1. Type `Y` and press **Enter**. Click the link in the Terminal. A browser window - should appear asking you to log in using your Gmail account. - -1. Provide the Google Auth Library with access to your credentials and paste - the code from the browser to the Terminal. - ## Prepare your work environment To prepare the work environment you should perform the following steps: @@ -167,7 +155,7 @@ The bucket name must be unique. For convenience, you can name it `