Use the gsutil iam ch command to give a specific email address permission to read and write objects in your bucket:
gsutil iam ch user:firstname.lastname@example.org:objectCreator,objectViewer gs://my-awesome-bucket
The command is successful if no error is returned.
Now someone else can put things into and view what's in your bucket.
To remove this permission, use the command:
gsutil iam ch -d user:email@example.com:objectCreator,objectViewer gs://my-awesome-bucket
You have removed the user's access to this bucket.
Hope it works!!
To find out more about Google Cloud, join Google Cloud training today.
Use the gsutil defstorageclass set command:
gsutil defstorageclass set [STORAGE_CLASS] ...READ MORE
No, in this case another individual has ...READ MORE
To find which project contains a specific ...READ MORE
To use gsutil to perform a streaming ...READ MORE
Check that your credentials are correct. For ...READ MORE
If your browser downloads a zero byte ...READ MORE
You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE
This error indicates that you have not ...READ MORE
Yes, you could certainly do this.
You can ...READ MORE
No,Individual object storage classes cannot be set ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.