Class ClientGatewaysServiceConnection (2.14.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::beyondcorp::clientgateways::v1::ListClientGatewaysRequest
Returns
TypeDescription
StreamRange< google::cloud::beyondcorp::clientgateways::v1::ClientGateway >

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

Parameter
NameDescription
request google::cloud::beyondcorp::clientgateways::v1::GetClientGatewayRequest const &
Returns
TypeDescription
StatusOr< google::cloud::beyondcorp::clientgateways::v1::ClientGateway >

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

Parameter
NameDescription
request google::cloud::beyondcorp::clientgateways::v1::CreateClientGatewayRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::beyondcorp::clientgateways::v1::ClientGateway > >

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

Parameter
NameDescription
request google::cloud::beyondcorp::clientgateways::v1::DeleteClientGatewayRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::beyondcorp::clientgateways::v1::ClientGatewayOperationMetadata > >