Skip to content

Commit 0f18d02

Browse files
chore: Migrate gsutil usage to gcloud storage
1 parent 455d71e commit 0f18d02

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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=public-read
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=public-read
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=public-read gs://<your-bucket-name>
2222

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

0 commit comments

Comments
 (0)