Skip navigation links

@Generated(value="by gapic-generator")

Package com.google.cloud.gaming.v1alpha

A client to Game Services API.

See: Description

Package com.google.cloud.gaming.v1alpha Description

A client to Game Services API.

The interfaces provided are listed below, along with usage samples.

=============================== GameServerClustersServiceClient ===============================

Service Description: The game server cluster maps to Kubernetes clusters running Agones and is used to manage fleets within clusters.

Sample for GameServerClustersServiceClient:

 
 try (GameServerClustersServiceClient gameServerClustersServiceClient = GameServerClustersServiceClient.create()) {
   String formattedName = GameServerClustersServiceClient.formatGameServerClusterName("[PROJECT]", "[LOCATION]", "[REALM]", "[GAME_SERVER_CLUSTER]");
   GameServerCluster response = gameServerClustersServiceClient.getGameServerCluster(formattedName);
 }
 
 
================================== GameServerDeploymentsServiceClient ==================================

Service Description: The game server deployment is used to control the deployment of game server software to Agones fleets.

Sample for GameServerDeploymentsServiceClient:

 
 try (GameServerDeploymentsServiceClient gameServerDeploymentsServiceClient = GameServerDeploymentsServiceClient.create()) {
   String formattedName = GameServerDeploymentsServiceClient.formatGameServerDeploymentName("[PROJECT]", "[LOCATION]", "[GAME_SERVER_DEPLOYMENT]");
   GameServerDeployment response = gameServerDeploymentsServiceClient.getGameServerDeployment(formattedName);
 }
 
 
=================== RealmsServiceClient ===================

Service Description: Realm provides grouping of game server clusters that are serving a particular gamer population.

Sample for RealmsServiceClient:

 
 try (RealmsServiceClient realmsServiceClient = RealmsServiceClient.create()) {
   String formattedName = RealmsServiceClient.formatRealmName("[PROJECT]", "[LOCATION]", "[REALM]");
   Realm response = realmsServiceClient.getRealm(formattedName);
 }
 
 
Skip navigation links

Copyright © 2020 Google LLC. All rights reserved.