Skip to content

Commit

Permalink
Set uniformbucketlevelaccess on test bucket
Browse files Browse the repository at this point in the history
https://cloud.google.com/storage/docs/using-uniform-bucket-level-access#enable

PiperOrigin-RevId: 305988016
Change-Id: I9657b650b99cb909a05018d5b63fd8b0adf32976
  • Loading branch information
chaopeng authored and copybara-github committed Apr 11, 2020
1 parent bcc31ce commit 223ed60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prepare_project.bash
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ tempdir=`mktemp -d`
pushd $tempdir
echo "This is an example" > example.txt
gsutil cp -p=${PROJECT?} example.txt gs://${PROJECT?}-test-dataset
gsutil uniformbucketlevelaccess set on gs://${PROJECT?}-test-dataset
popd
rm -rf $tempdir

Expand Down

0 comments on commit 223ed60

Please sign in to comment.