[BindServiceMethod(typeof(RepositoryManager), "BindService")]
public abstract class RepositoryManager.RepositoryManagerBaseReference documentation and code samples for the Cloud Build v2 API class RepositoryManager.RepositoryManagerBase.
Base class for server-side implementations of RepositoryManager
Namespace
Google.Cloud.CloudBuild.V2Assembly
Google.Cloud.CloudBuild.V2.dll
Methods
BatchCreateRepositories(BatchCreateRepositoriesRequest, ServerCallContext)
public virtual Task<Operation> BatchCreateRepositories(BatchCreateRepositoriesRequest request, ServerCallContext context)Creates multiple repositories inside a connection.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        BatchCreateRepositoriesRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskOperation | 
        The response to send back to the client (wrapped by a task).  | 
      
CreateConnection(CreateConnectionRequest, ServerCallContext)
public virtual Task<Operation> CreateConnection(CreateConnectionRequest request, ServerCallContext context)Creates a Connection.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateConnectionRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskOperation | 
        The response to send back to the client (wrapped by a task).  | 
      
CreateRepository(CreateRepositoryRequest, ServerCallContext)
public virtual Task<Operation> CreateRepository(CreateRepositoryRequest request, ServerCallContext context)Creates a Repository.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateRepositoryRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskOperation | 
        The response to send back to the client (wrapped by a task).  | 
      
DeleteConnection(DeleteConnectionRequest, ServerCallContext)
public virtual Task<Operation> DeleteConnection(DeleteConnectionRequest request, ServerCallContext context)Deletes a single connection.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteConnectionRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskOperation | 
        The response to send back to the client (wrapped by a task).  | 
      
DeleteRepository(DeleteRepositoryRequest, ServerCallContext)
public virtual Task<Operation> DeleteRepository(DeleteRepositoryRequest request, ServerCallContext context)Deletes a single repository.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteRepositoryRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskOperation | 
        The response to send back to the client (wrapped by a task).  | 
      
FetchGitRefs(FetchGitRefsRequest, ServerCallContext)
public virtual Task<FetchGitRefsResponse> FetchGitRefs(FetchGitRefsRequest request, ServerCallContext context)Fetch the list of branches or tags for a given repository.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        FetchGitRefsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskFetchGitRefsResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
FetchLinkableRepositories(FetchLinkableRepositoriesRequest, ServerCallContext)
public virtual Task<FetchLinkableRepositoriesResponse> FetchLinkableRepositories(FetchLinkableRepositoriesRequest request, ServerCallContext context)FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        FetchLinkableRepositoriesRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskFetchLinkableRepositoriesResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
FetchReadToken(FetchReadTokenRequest, ServerCallContext)
public virtual Task<FetchReadTokenResponse> FetchReadToken(FetchReadTokenRequest request, ServerCallContext context)Fetches read token of a given repository.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        FetchReadTokenRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskFetchReadTokenResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
FetchReadWriteToken(FetchReadWriteTokenRequest, ServerCallContext)
public virtual Task<FetchReadWriteTokenResponse> FetchReadWriteToken(FetchReadWriteTokenRequest request, ServerCallContext context)Fetches read/write token of a given repository.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        FetchReadWriteTokenRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskFetchReadWriteTokenResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
GetConnection(GetConnectionRequest, ServerCallContext)
public virtual Task<Connection> GetConnection(GetConnectionRequest request, ServerCallContext context)Gets details of a single connection.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetConnectionRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskConnection | 
        The response to send back to the client (wrapped by a task).  | 
      
GetRepository(GetRepositoryRequest, ServerCallContext)
public virtual Task<Repository> GetRepository(GetRepositoryRequest request, ServerCallContext context)Gets details of a single repository.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetRepositoryRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskRepository | 
        The response to send back to the client (wrapped by a task).  | 
      
ListConnections(ListConnectionsRequest, ServerCallContext)
public virtual Task<ListConnectionsResponse> ListConnections(ListConnectionsRequest request, ServerCallContext context)Lists Connections in a given project and location.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListConnectionsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskListConnectionsResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
ListRepositories(ListRepositoriesRequest, ServerCallContext)
public virtual Task<ListRepositoriesResponse> ListRepositories(ListRepositoriesRequest request, ServerCallContext context)Lists Repositories in a given connection.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListRepositoriesRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskListRepositoriesResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
UpdateConnection(UpdateConnectionRequest, ServerCallContext)
public virtual Task<Operation> UpdateConnection(UpdateConnectionRequest request, ServerCallContext context)Updates a single connection.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateConnectionRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskOperation | 
        The response to send back to the client (wrapped by a task).  |