Regionally deployed, single-tenant managed source code repository hosted on Google Cloud.
- REST Resource: v1.projects.locations
- REST Resource: v1.projects.locations.instances
- REST Resource: v1.projects.locations.operations
- REST Resource: v1.projects.locations.repositories
- REST Resource: v1.projects.locations.repositories.branchRules
- REST Resource: v1.projects.locations.repositories.hooks
- REST Resource: v1.projects.locations.repositories.issues
- REST Resource: v1.projects.locations.repositories.issues.issueComments
- REST Resource: v1.projects.locations.repositories.pullRequests
- REST Resource: v1.projects.locations.repositories.pullRequests.pullRequestComments
Service: securesourcemanager.googleapis.com
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints.
This API is split across two servers: the control plane and the data plane. Data plane endpoints are hosted directly by your Secure Source Manager instance, so you must connect to your instance's API hostname to access them.
The data plane API hostname resembles the following:
- https://INSTANCE_ID-PROJECT_NUMBER-api.LOCATION.sourcemanager.dev
For example, the following hostname has an instance ID of my-instance
, a project number of 123456890123
and is in location us-central1
.
Regional service endpoint
A regional service endpoint is a base URL that specifies the network address of an API service in a single region. A service that is available in multiple regions might have multiple regional endpoints. Select a location to see its regional service endpoint for this service.
REST Resource: v1.projects.locations
Methods | |
---|---|
get |
GET /v1/{name=projects/*/locations/*} Gets information about a location. |
list |
GET /v1/{name=projects/*}/locations Lists information about the supported locations for this service. |
REST Resource: v1.projects.locations.instances
Methods | |
---|---|
create |
POST /v1/{parent=projects/*/locations/*}/instances Creates a new instance in a given project and location. |
delete |
DELETE /v1/{name=projects/*/locations/*/instances/*} Deletes a single instance. |
get |
GET /v1/{name=projects/*/locations/*/instances/*} Gets details of a single instance. |
getIamPolicy |
GET /v1/{resource=projects/*/locations/*/instances/*}:getIamPolicy Gets the access control policy for a resource. |
list |
GET /v1/{parent=projects/*/locations/*}/instances Lists Instances in a given project and location. |
setIamPolicy |
POST /v1/{resource=projects/*/locations/*/instances/*}:setIamPolicy Sets the access control policy on the specified resource. |
testIamPermissions |
POST /v1/{resource=projects/*/locations/*/instances/*}:testIamPermissions Returns permissions that a caller has on the specified resource. |
REST Resource: v1.projects.locations.operations
Methods | |
---|---|
cancel |
POST /v1/{name=projects/*/locations/*/operations/*}:cancel Starts asynchronous cancellation on a long-running operation. |
delete |
DELETE /v1/{name=projects/*/locations/*/operations/*} Deletes a long-running operation. |
get |
GET /v1/{name=projects/*/locations/*/operations/*} Gets the latest state of a long-running operation. |
list |
GET /v1/{name=projects/*/locations/*}/operations Lists operations that match the specified filter in the request. |
REST Resource: v1.projects.locations.repositories
Methods | |
---|---|
create |
POST /v1/{parent=projects/*/locations/*}/repositories Creates a new repository in a given project and location. |
delete |
DELETE /v1/{name=projects/*/locations/*/repositories/*} Deletes a Repository. |
fetchBlob |
GET /v1/{repository=projects/*/locations/*/repositories/*}:fetchBlob Fetches a blob from a repository. |
fetchTree |
GET /v1/{repository=projects/*/locations/*/repositories/*}:fetchTree Fetches a tree from a repository. |
get |
GET /v1/{name=projects/*/locations/*/repositories/*} Gets metadata of a repository. |
getIamPolicy |
GET /v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy Get IAM policy for a repository. |
list |
GET /v1/{parent=projects/*/locations/*}/repositories Lists Repositories in a given project and location. |
setIamPolicy |
POST /v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy Set IAM policy on a repository. |
testIamPermissions |
POST /v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions Test IAM permissions on a repository. |
REST Resource: v1.projects.locations.repositories.branchRules
Methods | |
---|---|
create |
POST /v1/{parent=projects/*/locations/*/repositories/*}/branchRules CreateBranchRule creates a branch rule in a given repository. |
delete |
DELETE /v1/{name=projects/*/locations/*/repositories/*/branchRules/*} DeleteBranchRule deletes a branch rule. |
get |
GET /v1/{name=projects/*/locations/*/repositories/*/branchRules/*} GetBranchRule gets a branch rule. |
list |
GET /v1/{parent=projects/*/locations/*/repositories/*}/branchRules ListBranchRules lists branch rules in a given repository. |
patch |
PATCH /v1/{branchRule.name=projects/*/locations/*/repositories/*/branchRules/*} UpdateBranchRule updates a branch rule. |
REST Resource: v1.projects.locations.repositories.hooks
Methods | |
---|---|
create |
POST /v1/{parent=projects/*/locations/*/repositories/*}/hooks Creates a new hook in a given repository. |
delete |
DELETE /v1/{name=projects/*/locations/*/repositories/*/hooks/*} Deletes a Hook. |
get |
GET /v1/{name=projects/*/locations/*/repositories/*/hooks/*} Gets metadata of a hook. |
list |
GET /v1/{parent=projects/*/locations/*/repositories/*}/hooks Lists hooks in a given repository. |
patch |
PATCH /v1/{hook.name=projects/*/locations/*/repositories/*/hooks/*} Updates the metadata of a hook. |
REST Resource: v1.projects.locations.repositories.issues
Methods | |
---|---|
close |
POST /v1/{name=projects/*/locations/*/repositories/*/issues/*}:close Closes an issue. |
create |
POST /v1/{parent=projects/*/locations/*/repositories/*}/issues Creates an issue. |
delete |
DELETE /v1/{name=projects/*/locations/*/repositories/*/issues/*} Deletes an issue. |
get |
GET /v1/{name=projects/*/locations/*/repositories/*/issues/*} Gets an issue. |
list |
GET /v1/{parent=projects/*/locations/*/repositories/*}/issues Lists issues in a repository. |
open |
POST /v1/{name=projects/*/locations/*/repositories/*/issues/*}:open Opens an issue. |
patch |
PATCH /v1/{issue.name=projects/*/locations/*/repositories/*/issues/*} Updates a issue. |
REST Resource: v1.projects.locations.repositories.issues.issueComments
Methods | |
---|---|
create |
POST /v1/{parent=projects/*/locations/*/repositories/*/issues/*}/issueComments Creates an issue comment. |
delete |
DELETE /v1/{name=projects/*/locations/*/repositories/*/issues/*/issueComments/*} Deletes an issue comment. |
get |
GET /v1/{name=projects/*/locations/*/repositories/*/issues/*/issueComments/*} Gets an issue comment. |
list |
GET /v1/{parent=projects/*/locations/*/repositories/*/issues/*}/issueComments Lists comments in an issue. |
patch |
PATCH /v1/{issueComment.name=projects/*/locations/*/repositories/*/issues/*/issueComments/*} Updates an issue comment. |
REST Resource: v1.projects.locations.repositories.pullRequests
Methods | |
---|---|
close |
POST /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:close Closes a pull request without merging. |
create |
POST /v1/{parent=projects/*/locations/*/repositories/*}/pullRequests Creates a pull request. |
get |
GET /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*} Gets a pull request. |
list |
GET /v1/{parent=projects/*/locations/*/repositories/*}/pullRequests Lists pull requests in a repository. |
listFileDiffs |
GET /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:listFileDiffs Lists a pull request's file diffs. |
merge |
POST /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:merge Merges a pull request. |
open |
POST /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:open Opens a pull request. |
patch |
PATCH /v1/{pullRequest.name=projects/*/locations/*/repositories/*/pullRequests/*} Updates a pull request. |
REST Resource: v1.projects.locations.repositories.pullRequests.pullRequestComments
Methods | |
---|---|
batchCreate |
POST /v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:batchCreate Batch creates pull request comments. |
create |
POST /v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments Creates a pull request comment. |
delete |
DELETE /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*/pullRequestComments/*} Deletes a pull request comment. |
get |
GET /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*/pullRequestComments/*} Gets a pull request comment. |
list |
GET /v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments Lists pull request comments. |
patch |
PATCH /v1/{pullRequestComment.name=projects/*/locations/*/repositories/*/pullRequests/*/pullRequestComments/*} Updates a pull request comment. |
resolve |
POST /v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:resolve Resolves pull request comments. |
unresolve |
POST /v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:unresolve Unresolves pull request comment. |