Class GatewayControlConnection (2.30.0)

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

To create a concrete instance, see MakeGatewayControlConnection().

For mocking, see gkeconnect_gateway_v1_mocks::MockGatewayControlConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GenerateCredentials(google::cloud::gkeconnect::gateway::v1::GenerateCredentialsRequest const &)

Parameter
Name Description
request google::cloud::gkeconnect::gateway::v1::GenerateCredentialsRequest const &
Returns
Type Description
StatusOr< google::cloud::gkeconnect::gateway::v1::GenerateCredentialsResponse >