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
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
.
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. |
get |
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. |
set |
POST /v1/{resource=projects/*/locations/*/instances/*}:setIamPolicy Sets the access control policy on the specified resource. |
test |
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. |
get |
GET /v1/{name=projects/*/locations/*/repositories/*} Gets metadata of a repository. |
get |
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. |
set |
POST /v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy Set IAM policy on a repository. |
test |
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. |