Method: projects.getConfig

Returns the Cloud Source Repositories configuration of the project.

HTTP request

GET https://sourcerepo.googleapis.com/v1/{name=projects/*}/config

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

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

  • source.repos.getProjectConfig

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview .

Create a Mobile Website
View Site in Mobile | Classic
Share by: