Skip to content

Commit b8c49e6

Browse files
chore: Migrate gsutil usage to gcloud storage (#4210)
* chore: Migrate gsutil usage to gcloud storage * Update README.md * Update README.md * Update README.md --------- Co-authored-by: Katie McLaughlin <katie@glasnt.com>
1 parent b7a4387 commit b8c49e6

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

appengine/storage/flexible/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Before you can run or deploy the sample, you will need to do the following:
1212
1. Create a Cloud Storage Bucket. You can do this with the [Google Cloud SDK](https://cloud.google.com/sdk)
1313
with the following command:
1414

15-
gsutil mb gs://<your-bucket-name>
15+
gcloud storage buckets create gs://<your-bucket-name>
1616

1717
1. Set the default ACL on your bucket to public read in order to serve files
1818
directly from Cloud Storage. You can do this with the [Google Cloud SDK](https://cloud.google.com/sdk)
1919
with the following command:
2020

21-
gsutil defacl set public-read gs://<your-bucket-name>
21+
gcloud storage buckets update gs://<your-bucket-name> --predefined-default-object-acl=publicRead
2222

2323
1. Update the environment variables in `app.yaml`.
2424

appengine/storage/flexible_nodejs16_and_earlier/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Before you can run or deploy the sample, you will need to do the following:
1212
1. Create a Cloud Storage Bucket. You can do this with the [Google Cloud SDK](https://cloud.google.com/sdk)
1313
with the following command:
1414

15-
gsutil mb gs://<your-bucket-name>
15+
gcloud storage buckets create gs://<your-bucket-name>
1616

1717
1. Set the default ACL on your bucket to public read in order to serve files
1818
directly from Cloud Storage. You can do this with the [Google Cloud SDK](https://cloud.google.com/sdk)
1919
with the following command:
2020

21-
gsutil defacl set public-read gs://<your-bucket-name>
21+
gcloud storage buckets update gs://<your-bucket-name> --predefined-default-object-acl=publicRead
2222

2323
1. Update the environment variables in `app.yaml`.
2424

appengine/storage/standard/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Before you can run or deploy the sample, you will need to do the following:
1212
1. Create a Cloud Storage Bucket. You can do this with the [Google Cloud SDK](https://cloud.google.com/sdk)
1313
with the following command:
1414

15-
gsutil mb gs://<your-bucket-name>
15+
gcloud storage buckets create gs://<your-bucket-name>
1616

1717
1. Set the default ACL on your bucket to public read in order to serve files
1818
directly from Cloud Storage. You can do this with the [Google Cloud SDK](https://cloud.google.com/sdk)
1919
with the following command:
2020

21-
gsutil defacl set public-read gs://<your-bucket-name>
21+
gcloud storage buckets update --predefined-default-object-acl=publicRead gs://<your-bucket-name>
2222

2323
1. Update the environment variables in `app.yaml`.
2424

0 commit comments

Comments
 (0)