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/*}/locationsLists information about the supported locations for this service. | 
REST Resource: v1.projects.locations.instances
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*}/instancesCreates 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/*}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{parent=projects/*/locations/*}/instancesLists Instances in a given project and location. | 
| setIamPolicy | POST /v1/{resource=projects/*/locations/*/instances/*}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /v1/{resource=projects/*/locations/*/instances/*}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
REST Resource: v1.projects.locations.operations
| Methods | |
|---|---|
| cancel | POST /v1/{name=projects/*/locations/*/operations/*}:cancelStarts 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/*}/operationsLists operations that match the specified filter in the request. | 
REST Resource: v1.projects.locations.repositories
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*}/repositoriesCreates 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/*}:fetchBlobFetches a blob from a repository. | 
| fetchTree | GET /v1/{repository=projects/*/locations/*/repositories/*}:fetchTreeFetches a tree from a repository. | 
| get | GET /v1/{name=projects/*/locations/*/repositories/*}Gets metadata of a repository. | 
| getIamPolicy | GET /v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicyGet IAM policy for a repository. | 
| list | GET /v1/{parent=projects/*/locations/*}/repositoriesLists Repositories in a given project and location. | 
| patch | PATCH /v1/{repository.name=projects/*/locations/*/repositories/*}Updates the metadata of a repository. | 
| setIamPolicy | POST /v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicySet IAM policy on a repository. | 
| testIamPermissions | POST /v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissionsTest IAM permissions on a repository. | 
REST Resource: v1.projects.locations.repositories.branchRules
| Methods | |
|---|---|
| create | POST /v1/{parent=projects/*/locations/*/repositories/*}/branchRulesCreateBranchRule 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/*}/branchRulesListBranchRules 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/*}/hooksCreates 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/*}/hooksLists 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/*}:closeCloses an issue. | 
| create | POST /v1/{parent=projects/*/locations/*/repositories/*}/issuesCreates 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/*}/issuesLists issues in a repository. | 
| open | POST /v1/{name=projects/*/locations/*/repositories/*/issues/*}:openOpens 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/*}/issueCommentsCreates 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/*}/issueCommentsLists 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/*}:closeCloses a pull request without merging. | 
| create | POST /v1/{parent=projects/*/locations/*/repositories/*}/pullRequestsCreates a pull request. | 
| get | GET /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}Gets a pull request. | 
| list | GET /v1/{parent=projects/*/locations/*/repositories/*}/pullRequestsLists pull requests in a repository. | 
| listFileDiffs | GET /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:listFileDiffsLists a pull request's file diffs. | 
| merge | POST /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:mergeMerges a pull request. | 
| open | POST /v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:openOpens 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:batchCreateBatch creates pull request comments. | 
| create | POST /v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestCommentsCreates 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/*}/pullRequestCommentsLists 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:resolveResolves pull request comments. | 
| unresolve | POST /v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:unresolveUnresolves pull request comments. |