anarche
anarche

Reputation: 536

Determining base URL for GCP Project

What is the base url for a GCP Project? I need to specify this for a connector and am not sure what this would be.

Project urls seem to use the project Id for different services such as console, storage, etc thus,

http://console.cloud.Google.com/home/dashboard?project=<project_id>

I am looking for the generic URL for the project.

Upvotes: 1

Views: 2682

Answers (1)

matas-g
matas-g

Reputation: 11

I think the following Cloud SDK command may be what you need (documented here):

gcloud projects list --uri

It returns a list of projects as URIs. They look like this:

https://cloudresourcemanager.googleapis.com/v1/projects/<project-id>

I guess you can also try simply inserting your project-id in this URI and see if it works.

Upvotes: 1

Related Questions