Class GameServerConfigsServiceConnection (2.11.0)

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

To create a concrete instance, see MakeGameServerConfigsServiceConnection().

For mocking, see gameservices_v1_mocks::MockGameServerConfigsServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListGameServerConfigs(google::cloud::gaming::v1::ListGameServerConfigsRequest)

Parameter
Name Description
request google::cloud::gaming::v1::ListGameServerConfigsRequest
Returns
Type Description
StreamRange< google::cloud::gaming::v1::GameServerConfig >

virtual GetGameServerConfig(google::cloud::gaming::v1::GetGameServerConfigRequest const &)

Parameter
Name Description
request google::cloud::gaming::v1::GetGameServerConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::gaming::v1::GameServerConfig >

virtual CreateGameServerConfig(google::cloud::gaming::v1::CreateGameServerConfigRequest const &)

Parameter
Name Description
request google::cloud::gaming::v1::CreateGameServerConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gaming::v1::GameServerConfig > >

virtual DeleteGameServerConfig(google::cloud::gaming::v1::DeleteGameServerConfigRequest const &)

Parameter
Name Description
request google::cloud::gaming::v1::DeleteGameServerConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gaming::v1::OperationMetadata > >