Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I identify the Google Cloud Storage URI from my Google Developers Console?

When I attempt load data into BigQuery from Google Cloud Storage it asks for the Google Cloud Storage URI (gs://). I have reviewed all of your online support as well as stackoverflow and cannot find a way to identify the URL for my uploaded data via the browser based Google Developers Console. The only way I see to find the URL is via gsutil and I have not been able to get gsutil to work on my machine.

Is there a way to determine the URL via the browser based Google Developers Console?

like image 991
Kelly Avatar asked Aug 18 '14 23:08

Kelly


People also ask

Where can I find Google Cloud Storage URI?

The Cloud Storage URI comprises your bucket name and your object (filename). For example, if the Cloud Storage bucket is named mybucket and the data file is named myfile. csv , the bucket URI would be gs://mybucket/myfile.csv .

How do I get my GCS bucket path?

In the toolbar, select the Explorer tab. Select the Configuration tab. Expand the Select a metric menu, enter Total bytes in the filter bar, and then use the submenus to select a specific resource type and metric: In the Active resources menu, select GCS Bucket.

How is the Google Cloud Platform project identified?

Identifying projects To interact with Google Cloud resources, you must provide the identifying project information for every request. A project is identified by its project ID and project number. To get the project ID and the project number, do the following: Go to the Dashboard page in the console.

Which command line tool is used for Google Cloud Storage?

gsutil is a Python application that lets you access Cloud Storage from the command line. You can use gsutil to do a wide range of bucket and object management tasks, including: Creating and deleting buckets. Uploading, downloading, and deleting objects.


2 Answers

The path should be gs://<bucket_name>/<file_path_inside_bucket>.

like image 159
nmore Avatar answered Sep 17 '22 07:09

nmore


To answer this question more information is needed. Did you already load your data into GCS?

If not, the easiest would be to go to the project console, click on project, and Storage -> Cloud Storage -> Storage browser.

You can create buckets there and upload files to the bucket.

Then the files will be found at gs://<bucket_name>/<file_path_inside_bucket> as @nmore says.

like image 23
Felipe Hoffa Avatar answered Sep 18 '22 07:09

Felipe Hoffa