Class AppConnectionsServiceConnection (2.20.0-rc)

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

To create a concrete instance, see MakeAppConnectionsServiceConnection().

For mocking, see beyondcorp_appconnections_v1_mocks::MockAppConnectionsServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListAppConnections(google::cloud::beyondcorp::appconnections::v1::ListAppConnectionsRequest)

Parameter
NameDescription
request google::cloud::beyondcorp::appconnections::v1::ListAppConnectionsRequest
Returns
TypeDescription
StreamRange< google::cloud::beyondcorp::appconnections::v1::AppConnection >

virtual GetAppConnection(google::cloud::beyondcorp::appconnections::v1::GetAppConnectionRequest const &)

Parameter
NameDescription
request google::cloud::beyondcorp::appconnections::v1::GetAppConnectionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::beyondcorp::appconnections::v1::AppConnection >

virtual CreateAppConnection(google::cloud::beyondcorp::appconnections::v1::CreateAppConnectionRequest const &)

Parameter
NameDescription
request google::cloud::beyondcorp::appconnections::v1::CreateAppConnectionRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::beyondcorp::appconnections::v1::AppConnection > >

virtual UpdateAppConnection(google::cloud::beyondcorp::appconnections::v1::UpdateAppConnectionRequest const &)

Parameter
NameDescription
request google::cloud::beyondcorp::appconnections::v1::UpdateAppConnectionRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::beyondcorp::appconnections::v1::AppConnection > >

virtual DeleteAppConnection(google::cloud::beyondcorp::appconnections::v1::DeleteAppConnectionRequest const &)

Parameter
NameDescription
request google::cloud::beyondcorp::appconnections::v1::DeleteAppConnectionRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::beyondcorp::appconnections::v1::AppConnectionOperationMetadata > >

virtual ResolveAppConnections(google::cloud::beyondcorp::appconnections::v1::ResolveAppConnectionsRequest)

Parameter
NameDescription
request google::cloud::beyondcorp::appconnections::v1::ResolveAppConnectionsRequest
Returns
TypeDescription
StreamRange< google::cloud::beyondcorp::appconnections::v1::ResolveAppConnectionsResponse::AppConnectionDetails >