Get desktop application:
View/edit binary Protocol Buffers messages
The Source Repo API service.
Returns all repos belonging to a project. The sizes of the repos are not set by ListRepos. To get the size of a repo, use GetRepo.
Request for ListRepos.
The project ID whose repos should be listed. Values are of the form `projects/<project>`.
Maximum number of repositories to return; between 1 and 500. If not set or zero, defaults to 100 at the server.
Resume listing repositories where a prior ListReposResponse left off. This is an opaque token that must be obtained from a recent, prior ListReposResponse's next_page_token field.
Response for ListRepos. The size is not set in the returned repositories.
The listed repos.
If non-empty, additional repositories exist within the project. These can be retrieved by including this value in the next ListReposRequest's page_token field.
Returns information about a repo.
Request for GetRepo.
The name of the requested repository. Values are of the form `projects/<project>/repos/<repo>`.
Creates a repo in the given project with the given name. If the named repository already exists, `CreateRepo` returns `ALREADY_EXISTS`.
Request for CreateRepo
The project in which to create the repo. Values are of the form `projects/<project>`.
The repo to create. Only name should be set; setting other fields is an error. The project in the name should match the parent field.
Deletes a repo.
Request for DeleteRepo.
The name of the repo to delete. Values are of the form `projects/<project>/repos/<repo>`.
Sets the access control policy on the specified resource. Replaces any existing policy.
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
Configuration to automatically mirror a repository from another hosting service, for example GitHub or BitBucket.
Used in:
URL of the main repository at the other hosting service.
ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.
ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.
A repository (or repo) is a Git repository storing versioned source content.
Used as response type in: SourceRepo.CreateRepo, SourceRepo.GetRepo
Used as field type in:
,Resource name of the repository, of the form `projects/<project>/repos/<repo>`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash`
The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.
URL to clone the repository from Google Cloud Source Repositories. Read-only field.
How this repository mirrors a repository managed by another service. Read-only field.