Method: projects.get

Retrieves the Project identified by the specified projectId (for example, my-project-123).

The caller must have read permissions for this Project.

HTTP request

GET https://cloudresourcemanager.googleapis.com/v1beta1/projects/{projectId}

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
projectId

string

The Project ID (for example, my-project-123).

Required.

Authorization requires the following Google IAM permission on the specified resource project_id:

  • resourcemanager.projects.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Project.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only
  • https://www.googleapis.com/auth/cloudplatformprojects
  • https://www.googleapis.com/auth/cloudplatformprojects.readonly

For more information, see the Authentication Overview.

Was this page helpful? Let us know how we did:

Send feedback about...

Resource Manager