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/v1/projects/{projectId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
projectId |
Required. The Project ID (for example, Authorization requires the following IAM permission on the specified resource
|
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.