[BindServiceMethod(typeof(DeveloperConnect), "BindService")]
public abstract class DeveloperConnect.DeveloperConnectBaseReference documentation and code samples for the Developer Connect v1 API class DeveloperConnect.DeveloperConnectBase.
Base class for server-side implementations of DeveloperConnect
Namespace
Google.Cloud.DeveloperConnect.V1Assembly
Google.Cloud.DeveloperConnect.V1.dll
Methods
CreateConnection(CreateConnectionRequest, ServerCallContext)
public virtual Task<Operation> CreateConnection(CreateConnectionRequest request, ServerCallContext context)Creates a new Connection in a given project and location.
| 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). |
CreateGitRepositoryLink(CreateGitRepositoryLinkRequest, ServerCallContext)
public virtual Task<Operation> CreateGitRepositoryLink(CreateGitRepositoryLinkRequest request, ServerCallContext context)Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateGitRepositoryLinkRequestThe 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). |
DeleteGitRepositoryLink(DeleteGitRepositoryLinkRequest, ServerCallContext)
public virtual Task<Operation> DeleteGitRepositoryLink(DeleteGitRepositoryLinkRequest request, ServerCallContext context)Deletes a single GitRepositoryLink.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGitRepositoryLinkRequestThe 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). |
FetchGitHubInstallations(FetchGitHubInstallationsRequest, ServerCallContext)
public virtual Task<FetchGitHubInstallationsResponse> FetchGitHubInstallations(FetchGitHubInstallationsRequest request, ServerCallContext context)FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchGitHubInstallationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchGitHubInstallationsResponse |
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). |
FetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest, ServerCallContext)
public virtual Task<FetchLinkableGitRepositoriesResponse> FetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest request, ServerCallContext context)FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchLinkableGitRepositoriesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchLinkableGitRepositoriesResponse |
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 gitRepositoryLink.
| 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 gitRepositoryLink.
| 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). |
GetGitRepositoryLink(GetGitRepositoryLinkRequest, ServerCallContext)
public virtual Task<GitRepositoryLink> GetGitRepositoryLink(GetGitRepositoryLinkRequest request, ServerCallContext context)Gets details of a single GitRepositoryLink.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGitRepositoryLinkRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGitRepositoryLink |
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). |
ListGitRepositoryLinks(ListGitRepositoryLinksRequest, ServerCallContext)
public virtual Task<ListGitRepositoryLinksResponse> ListGitRepositoryLinks(ListGitRepositoryLinksRequest request, ServerCallContext context)Lists GitRepositoryLinks in a given project, location, and connection.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGitRepositoryLinksRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListGitRepositoryLinksResponse |
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 the parameters of 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). |