Class GameServerDeploymentsServiceConnection (2.12.0)

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

To create a concrete instance, see MakeGameServerDeploymentsServiceConnection().

For mocking, see gameservices_v1_mocks::MockGameServerDeploymentsServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListGameServerDeployments(google::cloud::gaming::v1::ListGameServerDeploymentsRequest)

Parameter
NameDescription
request google::cloud::gaming::v1::ListGameServerDeploymentsRequest
Returns
TypeDescription
StreamRange< google::cloud::gaming::v1::GameServerDeployment >

virtual GetGameServerDeployment(google::cloud::gaming::v1::GetGameServerDeploymentRequest const &)

Parameter
NameDescription
request google::cloud::gaming::v1::GetGameServerDeploymentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::gaming::v1::GameServerDeployment >

virtual CreateGameServerDeployment(google::cloud::gaming::v1::CreateGameServerDeploymentRequest const &)

Parameter
NameDescription
request google::cloud::gaming::v1::CreateGameServerDeploymentRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::gaming::v1::GameServerDeployment > >

virtual DeleteGameServerDeployment(google::cloud::gaming::v1::DeleteGameServerDeploymentRequest const &)

Parameter
NameDescription
request google::cloud::gaming::v1::DeleteGameServerDeploymentRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::gaming::v1::OperationMetadata > >

virtual UpdateGameServerDeployment(google::cloud::gaming::v1::UpdateGameServerDeploymentRequest const &)

Parameter
NameDescription
request google::cloud::gaming::v1::UpdateGameServerDeploymentRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::gaming::v1::GameServerDeployment > >

virtual GetGameServerDeploymentRollout(google::cloud::gaming::v1::GetGameServerDeploymentRolloutRequest const &)

Parameter
NameDescription
request google::cloud::gaming::v1::GetGameServerDeploymentRolloutRequest const &
Returns
TypeDescription
StatusOr< google::cloud::gaming::v1::GameServerDeploymentRollout >

virtual UpdateGameServerDeploymentRollout(google::cloud::gaming::v1::UpdateGameServerDeploymentRolloutRequest const &)

Parameter
NameDescription
request google::cloud::gaming::v1::UpdateGameServerDeploymentRolloutRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::gaming::v1::GameServerDeployment > >

virtual PreviewGameServerDeploymentRollout(google::cloud::gaming::v1::PreviewGameServerDeploymentRolloutRequest const &)

Parameter
NameDescription
request google::cloud::gaming::v1::PreviewGameServerDeploymentRolloutRequest const &
Returns
TypeDescription
StatusOr< google::cloud::gaming::v1::PreviewGameServerDeploymentRolloutResponse >

virtual FetchDeploymentState(google::cloud::gaming::v1::FetchDeploymentStateRequest const &)

Parameter
NameDescription
request google::cloud::gaming::v1::FetchDeploymentStateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::gaming::v1::FetchDeploymentStateResponse >