To find which project contains a specific bucket:
If you are searching over a moderate number of projects and buckets, use the Google Cloud Console, select each project, and view the buckets it contains.
Otherwise, go to the storage.bucket.get page in the API Explorer and enter the bucket's name in the bucket field. When you click Authorize and Execute, the associated project number appears as part of the response. To get the project name, use the project number in the following terminal command:
gcloud projects list | grep [PROJECT_NUMBER]
I found this answer very helpful.
But it took me a while to figure out how to use the API Explorer and to find the right page within the API Explorer. It's the "Cloud Storage JSON API".
Also, I was able to get the same information using
gsutil ls -L -b gs://bucket | grep projectNumber
The preferred way to export an image ...READ MORE
Buckets are the basic containers that hold your ...READ MORE
You could do this probably by overwriting the ...READ MORE
First of all, check the API access ...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
Use the gsutil iam ch command to give a ...READ MORE
To view the metadata associated with an ...READ MORE
Already have an account? Sign in.