Method: projects.get

Retrieves the project identified by the specified name (for example, projects/415104041262).

The caller must have resourcemanager.projects.get permission for this project.

HTTP request

GET https://cloudresourcemanager.googleapis.com/v3/{name=projects/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the project (for example, projects/415104041262).

Authorization requires the following IAM permission on the specified resource name:

  • 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.