Class DeveloperConnectGrpc.DeveloperConnectBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DeveloperConnectGrpc.DeveloperConnectBlockingV2Stub>
com.google.cloud.developerconnect.v1.DeveloperConnectGrpc.DeveloperConnectBlockingV2Stub
- Enclosing class:
- DeveloperConnectGrpc
public static final class DeveloperConnectGrpc.DeveloperConnectBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<DeveloperConnectGrpc.DeveloperConnectBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service DeveloperConnect.
Service describing handlers for resources
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Creates a new AccountConnector in a given project and location.createConnection(CreateConnectionRequest request) Creates a new Connection in a given project and location.Creates a GitRepositoryLink.Deletes a single AccountConnector.deleteConnection(DeleteConnectionRequest request) Deletes a single Connection.Deletes a single GitRepositoryLink.deleteSelf(DeleteSelfRequest request) Delete the User based on the user credentials.deleteUser(DeleteUserRequest request) Deletes a single User.fetchAccessToken(FetchAccessTokenRequest request) Fetches OAuth access token based on end user credentials.FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection.fetchGitRefs(FetchGitRefsRequest request) Fetch the list of branches or tags for a given repository.FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.fetchReadToken(FetchReadTokenRequest request) Fetches read token of a given gitRepositoryLink.Fetches read/write token of a given gitRepositoryLink.fetchSelf(FetchSelfRequest request) Fetch the User based on the user credentials.finishOAuth(FinishOAuthRequest request) Finishes OAuth flow for an account connector.Gets details of a single AccountConnector.getConnection(GetConnectionRequest request) Gets details of a single Connection.Gets details of a single GitRepositoryLink.Lists AccountConnectors in a given project and location.listConnections(ListConnectionsRequest request) Lists Connections in a given project and location.Lists GitRepositoryLinks in a given project, location, and connection.listUsers(ListUsersRequest request) Lists Users in a given project, location, and account_connector.startOAuth(StartOAuthRequest request) Starts OAuth flow for an account connector.Updates the parameters of a single AccountConnector.updateConnection(UpdateConnectionRequest request) Updates the parameters of a single Connection.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DeveloperConnectGrpc.DeveloperConnectBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DeveloperConnectGrpc.DeveloperConnectBlockingV2Stub>
-
listConnections
public ListConnectionsResponse listConnections(ListConnectionsRequest request) throws io.grpc.StatusException Lists Connections in a given project and location.
- Throws:
io.grpc.StatusException
-
getConnection
Gets details of a single Connection.
- Throws:
io.grpc.StatusException
-
createConnection
Creates a new Connection in a given project and location.
- Throws:
io.grpc.StatusException
-
updateConnection
Updates the parameters of a single Connection.
- Throws:
io.grpc.StatusException
-
deleteConnection
Deletes a single Connection.
- Throws:
io.grpc.StatusException
-
createGitRepositoryLink
public Operation createGitRepositoryLink(CreateGitRepositoryLinkRequest request) throws io.grpc.StatusException 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. Connections that use Gemini Code Assist will have events forwarded to Gemini Code Assist service. All other Connections will have events forwarded to Cloud Build.
- Throws:
io.grpc.StatusException
-
deleteGitRepositoryLink
public Operation deleteGitRepositoryLink(DeleteGitRepositoryLinkRequest request) throws io.grpc.StatusException Deletes a single GitRepositoryLink.
- Throws:
io.grpc.StatusException
-
listGitRepositoryLinks
public ListGitRepositoryLinksResponse listGitRepositoryLinks(ListGitRepositoryLinksRequest request) throws io.grpc.StatusException Lists GitRepositoryLinks in a given project, location, and connection.
- Throws:
io.grpc.StatusException
-
getGitRepositoryLink
public GitRepositoryLink getGitRepositoryLink(GetGitRepositoryLinkRequest request) throws io.grpc.StatusException Gets details of a single GitRepositoryLink.
- Throws:
io.grpc.StatusException
-
fetchReadWriteToken
public FetchReadWriteTokenResponse fetchReadWriteToken(FetchReadWriteTokenRequest request) throws io.grpc.StatusException Fetches read/write token of a given gitRepositoryLink.
- Throws:
io.grpc.StatusException
-
fetchReadToken
public FetchReadTokenResponse fetchReadToken(FetchReadTokenRequest request) throws io.grpc.StatusException Fetches read token of a given gitRepositoryLink.
- Throws:
io.grpc.StatusException
-
fetchLinkableGitRepositories
public FetchLinkableGitRepositoriesResponse fetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest request) throws io.grpc.StatusException FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
- Throws:
io.grpc.StatusException
-
fetchGitHubInstallations
public FetchGitHubInstallationsResponse fetchGitHubInstallations(FetchGitHubInstallationsRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
fetchGitRefs
public FetchGitRefsResponse fetchGitRefs(FetchGitRefsRequest request) throws io.grpc.StatusException Fetch the list of branches or tags for a given repository.
- Throws:
io.grpc.StatusException
-
listAccountConnectors
public ListAccountConnectorsResponse listAccountConnectors(ListAccountConnectorsRequest request) throws io.grpc.StatusException Lists AccountConnectors in a given project and location.
- Throws:
io.grpc.StatusException
-
getAccountConnector
public AccountConnector getAccountConnector(GetAccountConnectorRequest request) throws io.grpc.StatusException Gets details of a single AccountConnector.
- Throws:
io.grpc.StatusException
-
createAccountConnector
public Operation createAccountConnector(CreateAccountConnectorRequest request) throws io.grpc.StatusException Creates a new AccountConnector in a given project and location.
- Throws:
io.grpc.StatusException
-
updateAccountConnector
public Operation updateAccountConnector(UpdateAccountConnectorRequest request) throws io.grpc.StatusException Updates the parameters of a single AccountConnector.
- Throws:
io.grpc.StatusException
-
deleteAccountConnector
public Operation deleteAccountConnector(DeleteAccountConnectorRequest request) throws io.grpc.StatusException Deletes a single AccountConnector.
- Throws:
io.grpc.StatusException
-
fetchAccessToken
public FetchAccessTokenResponse fetchAccessToken(FetchAccessTokenRequest request) throws io.grpc.StatusException Fetches OAuth access token based on end user credentials.
- Throws:
io.grpc.StatusException
-
listUsers
Lists Users in a given project, location, and account_connector.
- Throws:
io.grpc.StatusException
-
deleteUser
Deletes a single User.
- Throws:
io.grpc.StatusException
-
fetchSelf
Fetch the User based on the user credentials.
- Throws:
io.grpc.StatusException
-
deleteSelf
Delete the User based on the user credentials.
- Throws:
io.grpc.StatusException
-
startOAuth
Starts OAuth flow for an account connector.
- Throws:
io.grpc.StatusException
-
finishOAuth
Finishes OAuth flow for an account connector.
- Throws:
io.grpc.StatusException
-