This covers creating a Cloud Storage bucket and managing basic object level permissions entirely from the command line, using gsutil, the tool included with the Google Cloud SDK. Everything here has a console equivalent, but the command line version is what you want once you are scripting a setup rather than clicking through it by hand.
Object level ACL commands, the kind used partway through this guide, only work on a bucket still using Fine Grained access control. If your bucket uses Uniform access control, the current default for new buckets, these specific commands will not apply, and permissions need to be managed through IAM instead.
Click on Activate Cloud Shell

gsutil mb -l LOCATION gs://BUCKET_NAME
Replace LOCATION and BUCKET_NAME with your own values, and make sure there is no space anywhere inside the gs colon slash slash URL itself.

Give the Authorization if asked.

gsutil ls gs://

gsutil ls gs://BUCKET_NAME

gsutil ls -l gs://BUCKET_NAME

gsutil ls -l gs://BUCKET_NAME/FILE_NAME

gsutil rm gs://BUCKET_NAME/FILE_NAME

The acl ch command changes an object’s ACL. The u flag targets a specific user by email, and R grants read access, letting that person view or download the file without any other permissions.
gsutil acl ch -u user@example.com:R gs://BUCKET_NAME/FILE_NAME

The O value grants full ownership of the object, including the ability to change its permissions further or delete it. Grant this only to someone who genuinely needs that level of control, and never to AllUsers, which would mean granting it to anyone on the internet with no restriction at all.
gsutil acl ch -u user@example.com:O gs://BUCKET_NAME/FILE_NAME

gsutil acl ch -d user@example.com gs://BUCKET_NAME/FILE_NAME

The r flag makes this recursive, removing every object under the given prefix, which is different from removing a single file as shown earlier.
gsutil rm -r gs://BUCKET_NAME/FOLDER_NAME

gsutil rm -r gs://BUCKET_NAME
This removes every object in the bucket, then the bucket itself.

gsutil mb -p PROJECT_NAME -c STORAGE_CLASS -l LOCATION gs://BUCKET_NAME

That covers creating a bucket and managing object permissions with gsutil, and the one command worth never running the way the original showed it. To go further, explore Prwatech’s Google Cloud training program, which includes placement assistance.