[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
CreateAccountConnector(CreateAccountConnectorRequest, ServerCallContext)
public virtual Task<Operation> CreateAccountConnector(CreateAccountConnectorRequest request, ServerCallContext context)Creates a new AccountConnector in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAccountConnectorRequestThe 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 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). |
DeleteAccountConnector(DeleteAccountConnectorRequest, ServerCallContext)
public virtual Task<Operation> DeleteAccountConnector(DeleteAccountConnectorRequest request, ServerCallContext context)Deletes a single AccountConnector.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAccountConnectorRequestThe 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). |
DeleteSelf(DeleteSelfRequest, ServerCallContext)
public virtual Task<Operation> DeleteSelf(DeleteSelfRequest request, ServerCallContext context)Delete the User based on the user credentials.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSelfRequestThe 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). |
DeleteUser(DeleteUserRequest, ServerCallContext)
public virtual Task<Operation> DeleteUser(DeleteUserRequest request, ServerCallContext context)Deletes a single User.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteUserRequestThe 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). |
FetchAccessToken(FetchAccessTokenRequest, ServerCallContext)
public virtual Task<FetchAccessTokenResponse> FetchAccessToken(FetchAccessTokenRequest request, ServerCallContext context)Fetches OAuth access token based on end user credentials.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchAccessTokenRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchAccessTokenResponse |
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). |
FetchSelf(FetchSelfRequest, ServerCallContext)
public virtual Task<User> FetchSelf(FetchSelfRequest request, ServerCallContext context)Fetch the User based on the user credentials.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchSelfRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskUser |
The response to send back to the client (wrapped by a task). |
GetAccountConnector(GetAccountConnectorRequest, ServerCallContext)
public virtual Task<AccountConnector> GetAccountConnector(GetAccountConnectorRequest request, ServerCallContext context)Gets details of a single AccountConnector.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAccountConnectorRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAccountConnector |
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). |
ListAccountConnectors(ListAccountConnectorsRequest, ServerCallContext)
public virtual Task<ListAccountConnectorsResponse> ListAccountConnectors(ListAccountConnectorsRequest request, ServerCallContext context)Lists AccountConnectors in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAccountConnectorsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAccountConnectorsResponse |
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). |
ListUsers(ListUsersRequest, ServerCallContext)
public virtual Task<ListUsersResponse> ListUsers(ListUsersRequest request, ServerCallContext context)Lists Users in a given project, location, and account_connector.
| Parameters | |
|---|---|
| Name | Description |
request |
ListUsersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListUsersResponse |
The response to send back to the client (wrapped by a task). |
UpdateAccountConnector(UpdateAccountConnectorRequest, ServerCallContext)
public virtual Task<Operation> UpdateAccountConnector(UpdateAccountConnectorRequest request, ServerCallContext context)Updates the parameters of a single AccountConnector.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAccountConnectorRequestThe 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). |
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). |