Class ClientGatewaysServiceConnection (2.12.0)

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

To create a concrete instance, see MakeClientGatewaysServiceConnection().

For mocking, see beyondcorp_clientgateways_v1_mocks::MockClientGatewaysServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListClientGateways(google::cloud::beyondcorp::clientgateways::v1::ListClientGatewaysRequest)

Parameter
Name Description
request google::cloud::beyondcorp::clientgateways::v1::ListClientGatewaysRequest
Returns
Type Description
StreamRange< google::cloud::beyondcorp::clientgateways::v1::ClientGateway >

virtual GetClientGateway(google::cloud::beyondcorp::clientgateways::v1::GetClientGatewayRequest const &)

Parameter
Name Description
request google::cloud::beyondcorp::clientgateways::v1::GetClientGatewayRequest const &
Returns
Type Description
StatusOr< google::cloud::beyondcorp::clientgateways::v1::ClientGateway >

virtual CreateClientGateway(google::cloud::beyondcorp::clientgateways::v1::CreateClientGatewayRequest const &)

Parameter
Name Description
request google::cloud::beyondcorp::clientgateways::v1::CreateClientGatewayRequest const &
Returns
Type Description
future< StatusOr< google::cloud::beyondcorp::clientgateways::v1::ClientGateway > >

virtual DeleteClientGateway(google::cloud::beyondcorp::clientgateways::v1::DeleteClientGatewayRequest const &)

Parameter
Name Description
request google::cloud::beyondcorp::clientgateways::v1::DeleteClientGatewayRequest const &
Returns
Type Description
future< StatusOr< google::cloud::beyondcorp::clientgateways::v1::ClientGatewayOperationMetadata > >