Method: projects.repos.get

Returns information about a repo.

HTTP request


The URL uses Google API HTTP annotation syntax.

Path parameters



The name of the requested repository. Values are of the form projects/<project>/repos/<repo>.

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

  • source.repos.get

Request body

The request body must be empty.

Response body

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


Requires one of the following OAuth scopes:


For more information, see the Auth Guide.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Source Repositories