Class AppGatewaysServiceConnection (2.20.0)

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

To create a concrete instance, see MakeAppGatewaysServiceConnection().

For mocking, see beyondcorp_appgateways_v1_mocks::MockAppGatewaysServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListAppGateways(google::cloud::beyondcorp::appgateways::v1::ListAppGatewaysRequest)

Parameter
Name Description
request google::cloud::beyondcorp::appgateways::v1::ListAppGatewaysRequest
Returns
Type Description
StreamRange< google::cloud::beyondcorp::appgateways::v1::AppGateway >

virtual GetAppGateway(google::cloud::beyondcorp::appgateways::v1::GetAppGatewayRequest const &)

Parameter
Name Description
request google::cloud::beyondcorp::appgateways::v1::GetAppGatewayRequest const &
Returns
Type Description
StatusOr< google::cloud::beyondcorp::appgateways::v1::AppGateway >

virtual CreateAppGateway(google::cloud::beyondcorp::appgateways::v1::CreateAppGatewayRequest const &)

Parameter
Name Description
request google::cloud::beyondcorp::appgateways::v1::CreateAppGatewayRequest const &
Returns
Type Description
future< StatusOr< google::cloud::beyondcorp::appgateways::v1::AppGateway > >

virtual DeleteAppGateway(google::cloud::beyondcorp::appgateways::v1::DeleteAppGatewayRequest const &)

Parameter
Name Description
request google::cloud::beyondcorp::appgateways::v1::DeleteAppGatewayRequest const &
Returns
Type Description
future< StatusOr< google::cloud::beyondcorp::appgateways::v1::AppGatewayOperationMetadata > >