# ProjectConfig

- [JSON representation](https://docs.cloud.google.com/source-repositories/docs/reference/rest/v1/ProjectConfig#SCHEMA_REPRESENTATION)

Cloud Source Repositories configuration of a project.

| JSON representation |
|---|
| ``` { "name": string, "pubsubConfigs": { string: { object (`https://docs.cloud.google.com/source-repositories/docs/reference/rest/v1/projects.repos#PubsubConfig`) }, ... }, "enablePrivateKeyCheck": boolean } ``` |

| Fields ||
|---|---|
| `name` | `string` The name of the project. Values are of the form `projects/<project>`. |
| `pubsubConfigs` | ``map (key: string, value: object (`https://docs.cloud.google.com/source-repositories/docs/reference/rest/v1/projects.repos#PubsubConfig`))`` How this project publishes a change in the repositories through Cloud Pub/Sub. Keyed by the topic names. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `enablePrivateKeyCheck` | `boolean` Reject a Git push that contains a private key. |