Skip to content

Commit eda8cf8

Browse files
kchertenkoparthea
authored andcommitted
chore(samples): remove unnecessary permission (#315)
Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 9d4cb2b commit eda8cf8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generated_samples/interactive-tutorials/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ To access the Retail API, you must create a service account. Check that you are
7878
1. Assign the needed roles to your service account:
7979

8080
```bash
81-
for role in {retail.admin,storage.admin,bigquery.admin}
81+
for role in {retail.admin,storage.admin}
8282
do gcloud projects add-iam-policy-binding <YOUR_PROJECT_ID> --member="serviceAccount:<YOUR_SERVICE_ACCOUNT_ID>@<YOUR_PROJECT_ID>.iam.gserviceaccount.com" --role="roles/${role}"
8383
done
8484
```

generated_samples/interactive-tutorials/user_environment_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
gcloud iam service-accounts create "$service_account_id"
3030
} && {
3131
# assign necessary roles to your new service account
32-
for role in {retail.admin,editor,bigquery.admin}
32+
for role in {retail.admin,editor}
3333
do
3434
gcloud projects add-iam-policy-binding "$project_id" --member="serviceAccount:$service_account_id@$project_id.iam.gserviceaccount.com" --role=roles/"${role}"
3535
done

0 commit comments

Comments
 (0)