Class DeveloperConnectConnection (2.33.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in DeveloperConnectClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DeveloperConnectClient.

To create a concrete instance, see MakeDeveloperConnectConnection().

For mocking, see developerconnect_v1_mocks::MockDeveloperConnectConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListConnections(google::cloud::developerconnect::v1::ListConnectionsRequest)

Parameter
Name Description
request google::cloud::developerconnect::v1::ListConnectionsRequest
Returns
Type Description
StreamRange< google::cloud::developerconnect::v1::Connection >

virtual GetConnection(google::cloud::developerconnect::v1::GetConnectionRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::GetConnectionRequest const &
Returns
Type Description
StatusOr< google::cloud::developerconnect::v1::Connection >

virtual CreateConnection(google::cloud::developerconnect::v1::CreateConnectionRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::CreateConnectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::Connection > >

virtual CreateConnection(NoAwaitTag, google::cloud::developerconnect::v1::CreateConnectionRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::developerconnect::v1::CreateConnectionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateConnection(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::Connection > >

virtual UpdateConnection(google::cloud::developerconnect::v1::UpdateConnectionRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::UpdateConnectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::Connection > >

virtual UpdateConnection(NoAwaitTag, google::cloud::developerconnect::v1::UpdateConnectionRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::developerconnect::v1::UpdateConnectionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateConnection(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::Connection > >

virtual DeleteConnection(google::cloud::developerconnect::v1::DeleteConnectionRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::DeleteConnectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::OperationMetadata > >

virtual DeleteConnection(NoAwaitTag, google::cloud::developerconnect::v1::DeleteConnectionRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::developerconnect::v1::DeleteConnectionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteConnection(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::OperationMetadata > >

virtual CreateGitRepositoryLink(google::cloud::developerconnect::v1::CreateGitRepositoryLinkRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::CreateGitRepositoryLinkRequest const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::GitRepositoryLink > >

virtual CreateGitRepositoryLink(NoAwaitTag, google::cloud::developerconnect::v1::CreateGitRepositoryLinkRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::developerconnect::v1::CreateGitRepositoryLinkRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateGitRepositoryLink(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::GitRepositoryLink > >

virtual DeleteGitRepositoryLink(google::cloud::developerconnect::v1::DeleteGitRepositoryLinkRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::DeleteGitRepositoryLinkRequest const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::OperationMetadata > >

virtual DeleteGitRepositoryLink(NoAwaitTag, google::cloud::developerconnect::v1::DeleteGitRepositoryLinkRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::developerconnect::v1::DeleteGitRepositoryLinkRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteGitRepositoryLink(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::developerconnect::v1::OperationMetadata > >

virtual ListGitRepositoryLinks(google::cloud::developerconnect::v1::ListGitRepositoryLinksRequest)

Parameter
Name Description
request google::cloud::developerconnect::v1::ListGitRepositoryLinksRequest
Returns
Type Description
StreamRange< google::cloud::developerconnect::v1::GitRepositoryLink >

virtual GetGitRepositoryLink(google::cloud::developerconnect::v1::GetGitRepositoryLinkRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::GetGitRepositoryLinkRequest const &
Returns
Type Description
StatusOr< google::cloud::developerconnect::v1::GitRepositoryLink >

virtual FetchReadWriteToken(google::cloud::developerconnect::v1::FetchReadWriteTokenRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::FetchReadWriteTokenRequest const &
Returns
Type Description
StatusOr< google::cloud::developerconnect::v1::FetchReadWriteTokenResponse >

virtual FetchReadToken(google::cloud::developerconnect::v1::FetchReadTokenRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::FetchReadTokenRequest const &
Returns
Type Description
StatusOr< google::cloud::developerconnect::v1::FetchReadTokenResponse >

virtual FetchLinkableGitRepositories(google::cloud::developerconnect::v1::FetchLinkableGitRepositoriesRequest)

Parameter
Name Description
request google::cloud::developerconnect::v1::FetchLinkableGitRepositoriesRequest
Returns
Type Description
StreamRange< google::cloud::developerconnect::v1::LinkableGitRepository >

virtual FetchGitHubInstallations(google::cloud::developerconnect::v1::FetchGitHubInstallationsRequest const &)

Parameter
Name Description
request google::cloud::developerconnect::v1::FetchGitHubInstallationsRequest const &
Returns
Type Description
StatusOr< google::cloud::developerconnect::v1::FetchGitHubInstallationsResponse >

virtual FetchGitRefs(google::cloud::developerconnect::v1::FetchGitRefsRequest)

Parameter
Name Description
request google::cloud::developerconnect::v1::FetchGitRefsRequest
Returns
Type Description
StreamRange< std::string >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)

Parameter
Name Description
request google::longrunning::DeleteOperationRequest const &
Returns
Type Description
Status

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status