| { |
| "clientLibrary": { |
| "name": "cloud.google.com/go/gaming/apiv1beta", |
| "version": "1.5.0", |
| "language": "GO", |
| "apis": [ |
| { |
| "id": "google.cloud.gaming.v1beta", |
| "version": "v1beta" |
| } |
| ] |
| }, |
| "snippets": [ |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerClustersService_CreateGameServerCluster_sync", |
| "title": "gameservices CreateGameServerCluster Sample", |
| "description": "CreateGameServerCluster creates a new game server cluster in a given project and location.", |
| "file": "GameServerClustersClient/CreateGameServerCluster/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient.CreateGameServerCluster", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.CreateGameServerClusterRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateGameServerClusterOperation", |
| "client": { |
| "shortName": "GameServerClustersClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient" |
| }, |
| "method": { |
| "shortName": "CreateGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerCluster", |
| "service": { |
| "shortName": "GameServerClustersService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerClustersService_DeleteGameServerCluster_sync", |
| "title": "gameservices DeleteGameServerCluster Sample", |
| "description": "DeleteGameServerCluster deletes a single game server cluster.", |
| "file": "GameServerClustersClient/DeleteGameServerCluster/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient.DeleteGameServerCluster", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.DeleteGameServerClusterRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteGameServerClusterOperation", |
| "client": { |
| "shortName": "GameServerClustersClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient" |
| }, |
| "method": { |
| "shortName": "DeleteGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.DeleteGameServerCluster", |
| "service": { |
| "shortName": "GameServerClustersService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 55, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerClustersService_GetGameServerCluster_sync", |
| "title": "gameservices GetGameServerCluster Sample", |
| "description": "GetGameServerCluster gets details of a single game server cluster.", |
| "file": "GameServerClustersClient/GetGameServerCluster/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient.GetGameServerCluster", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.GetGameServerClusterRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.GameServerCluster", |
| "client": { |
| "shortName": "GameServerClustersClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient" |
| }, |
| "method": { |
| "shortName": "GetGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.GetGameServerCluster", |
| "service": { |
| "shortName": "GameServerClustersService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerClustersService_ListGameServerClusters_sync", |
| "title": "gameservices ListGameServerClusters Sample", |
| "description": "ListGameServerClusters lists game server clusters in a given project and location.", |
| "file": "GameServerClustersClient/ListGameServerClusters/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListGameServerClusters", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient.ListGameServerClusters", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.ListGameServerClustersRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "GameServerClusterIterator", |
| "client": { |
| "shortName": "GameServerClustersClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient" |
| }, |
| "method": { |
| "shortName": "ListGameServerClusters", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.ListGameServerClusters", |
| "service": { |
| "shortName": "GameServerClustersService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerClustersService_PreviewCreateGameServerCluster_sync", |
| "title": "gameservices PreviewCreateGameServerCluster Sample", |
| "description": "PreviewCreateGameServerCluster previews creation of a new game server cluster in a given project and\nlocation.", |
| "file": "GameServerClustersClient/PreviewCreateGameServerCluster/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "PreviewCreateGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient.PreviewCreateGameServerCluster", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.PreviewCreateGameServerClusterRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.PreviewCreateGameServerClusterResponse", |
| "client": { |
| "shortName": "GameServerClustersClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient" |
| }, |
| "method": { |
| "shortName": "PreviewCreateGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewCreateGameServerCluster", |
| "service": { |
| "shortName": "GameServerClustersService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerClustersService_PreviewDeleteGameServerCluster_sync", |
| "title": "gameservices PreviewDeleteGameServerCluster Sample", |
| "description": "PreviewDeleteGameServerCluster previews deletion of a single game server cluster.", |
| "file": "GameServerClustersClient/PreviewDeleteGameServerCluster/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "PreviewDeleteGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient.PreviewDeleteGameServerCluster", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.PreviewDeleteGameServerClusterRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.PreviewDeleteGameServerClusterResponse", |
| "client": { |
| "shortName": "GameServerClustersClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient" |
| }, |
| "method": { |
| "shortName": "PreviewDeleteGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewDeleteGameServerCluster", |
| "service": { |
| "shortName": "GameServerClustersService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerClustersService_PreviewUpdateGameServerCluster_sync", |
| "title": "gameservices PreviewUpdateGameServerCluster Sample", |
| "description": "PreviewUpdateGameServerCluster previews updating a GameServerCluster.", |
| "file": "GameServerClustersClient/PreviewUpdateGameServerCluster/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "PreviewUpdateGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient.PreviewUpdateGameServerCluster", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.PreviewUpdateGameServerClusterRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.PreviewUpdateGameServerClusterResponse", |
| "client": { |
| "shortName": "GameServerClustersClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient" |
| }, |
| "method": { |
| "shortName": "PreviewUpdateGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewUpdateGameServerCluster", |
| "service": { |
| "shortName": "GameServerClustersService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerClustersService_UpdateGameServerCluster_sync", |
| "title": "gameservices UpdateGameServerCluster Sample", |
| "description": "UpdateGameServerCluster patches a single game server cluster.", |
| "file": "GameServerClustersClient/UpdateGameServerCluster/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient.UpdateGameServerCluster", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.UpdateGameServerClusterRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateGameServerClusterOperation", |
| "client": { |
| "shortName": "GameServerClustersClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersClient" |
| }, |
| "method": { |
| "shortName": "UpdateGameServerCluster", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.UpdateGameServerCluster", |
| "service": { |
| "shortName": "GameServerClustersService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_CreateGameServerConfig_sync", |
| "title": "gameservices CreateGameServerConfig Sample", |
| "description": "CreateGameServerConfig creates a new game server config in a given project, location, and game\nserver deployment. Game server configs are immutable, and are not applied\nuntil referenced in the game server deployment rollout resource.", |
| "file": "GameServerConfigsClient/CreateGameServerConfig/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateGameServerConfig", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsClient.CreateGameServerConfig", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.CreateGameServerConfigRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateGameServerConfigOperation", |
| "client": { |
| "shortName": "GameServerConfigsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsClient" |
| }, |
| "method": { |
| "shortName": "CreateGameServerConfig", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfig", |
| "service": { |
| "shortName": "GameServerConfigsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_DeleteGameServerConfig_sync", |
| "title": "gameservices DeleteGameServerConfig Sample", |
| "description": "DeleteGameServerConfig deletes a single game server config. The deletion will fail if the game\nserver config is referenced in a game server deployment rollout.", |
| "file": "GameServerConfigsClient/DeleteGameServerConfig/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteGameServerConfig", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsClient.DeleteGameServerConfig", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.DeleteGameServerConfigRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteGameServerConfigOperation", |
| "client": { |
| "shortName": "GameServerConfigsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsClient" |
| }, |
| "method": { |
| "shortName": "DeleteGameServerConfig", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfig", |
| "service": { |
| "shortName": "GameServerConfigsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 55, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_GetGameServerConfig_sync", |
| "title": "gameservices GetGameServerConfig Sample", |
| "description": "GetGameServerConfig gets details of a single game server config.", |
| "file": "GameServerConfigsClient/GetGameServerConfig/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetGameServerConfig", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsClient.GetGameServerConfig", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.GetGameServerConfigRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.GameServerConfig", |
| "client": { |
| "shortName": "GameServerConfigsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsClient" |
| }, |
| "method": { |
| "shortName": "GetGameServerConfig", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfig", |
| "service": { |
| "shortName": "GameServerConfigsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_ListGameServerConfigs_sync", |
| "title": "gameservices ListGameServerConfigs Sample", |
| "description": "ListGameServerConfigs lists game server configs in a given project, location, and game server\ndeployment.", |
| "file": "GameServerConfigsClient/ListGameServerConfigs/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListGameServerConfigs", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsClient.ListGameServerConfigs", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.ListGameServerConfigsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "GameServerConfigIterator", |
| "client": { |
| "shortName": "GameServerConfigsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsClient" |
| }, |
| "method": { |
| "shortName": "ListGameServerConfigs", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.ListGameServerConfigs", |
| "service": { |
| "shortName": "GameServerConfigsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_CreateGameServerDeployment_sync", |
| "title": "gameservices CreateGameServerDeployment Sample", |
| "description": "CreateGameServerDeployment creates a new game server deployment in a given project and location.", |
| "file": "GameServerDeploymentsClient/CreateGameServerDeployment/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateGameServerDeployment", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient.CreateGameServerDeployment", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.CreateGameServerDeploymentRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateGameServerDeploymentOperation", |
| "client": { |
| "shortName": "GameServerDeploymentsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient" |
| }, |
| "method": { |
| "shortName": "CreateGameServerDeployment", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeployment", |
| "service": { |
| "shortName": "GameServerDeploymentsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_DeleteGameServerDeployment_sync", |
| "title": "gameservices DeleteGameServerDeployment Sample", |
| "description": "DeleteGameServerDeployment deletes a single game server deployment.", |
| "file": "GameServerDeploymentsClient/DeleteGameServerDeployment/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteGameServerDeployment", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient.DeleteGameServerDeployment", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.DeleteGameServerDeploymentRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteGameServerDeploymentOperation", |
| "client": { |
| "shortName": "GameServerDeploymentsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient" |
| }, |
| "method": { |
| "shortName": "DeleteGameServerDeployment", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.DeleteGameServerDeployment", |
| "service": { |
| "shortName": "GameServerDeploymentsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 55, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_FetchDeploymentState_sync", |
| "title": "gameservices FetchDeploymentState Sample", |
| "description": "FetchDeploymentState retrieves information about the current state of the game server\ndeployment. Gathers all the Agones fleets and Agones autoscalers,\nincluding fleets running an older version of the game server deployment.", |
| "file": "GameServerDeploymentsClient/FetchDeploymentState/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "FetchDeploymentState", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient.FetchDeploymentState", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.FetchDeploymentStateRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.FetchDeploymentStateResponse", |
| "client": { |
| "shortName": "GameServerDeploymentsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient" |
| }, |
| "method": { |
| "shortName": "FetchDeploymentState", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.FetchDeploymentState", |
| "service": { |
| "shortName": "GameServerDeploymentsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_GetGameServerDeployment_sync", |
| "title": "gameservices GetGameServerDeployment Sample", |
| "description": "GetGameServerDeployment gets details of a single game server deployment.", |
| "file": "GameServerDeploymentsClient/GetGameServerDeployment/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetGameServerDeployment", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient.GetGameServerDeployment", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.GetGameServerDeploymentRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.GameServerDeployment", |
| "client": { |
| "shortName": "GameServerDeploymentsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient" |
| }, |
| "method": { |
| "shortName": "GetGameServerDeployment", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeployment", |
| "service": { |
| "shortName": "GameServerDeploymentsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_GetGameServerDeploymentRollout_sync", |
| "title": "gameservices GetGameServerDeploymentRollout Sample", |
| "description": "GetGameServerDeploymentRollout gets details a single game server deployment rollout.", |
| "file": "GameServerDeploymentsClient/GetGameServerDeploymentRollout/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetGameServerDeploymentRollout", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient.GetGameServerDeploymentRollout", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.GetGameServerDeploymentRolloutRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.GameServerDeploymentRollout", |
| "client": { |
| "shortName": "GameServerDeploymentsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient" |
| }, |
| "method": { |
| "shortName": "GetGameServerDeploymentRollout", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentRollout", |
| "service": { |
| "shortName": "GameServerDeploymentsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_ListGameServerDeployments_sync", |
| "title": "gameservices ListGameServerDeployments Sample", |
| "description": "ListGameServerDeployments lists game server deployments in a given project and location.", |
| "file": "GameServerDeploymentsClient/ListGameServerDeployments/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListGameServerDeployments", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient.ListGameServerDeployments", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.ListGameServerDeploymentsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "GameServerDeploymentIterator", |
| "client": { |
| "shortName": "GameServerDeploymentsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient" |
| }, |
| "method": { |
| "shortName": "ListGameServerDeployments", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.ListGameServerDeployments", |
| "service": { |
| "shortName": "GameServerDeploymentsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_PreviewGameServerDeploymentRollout_sync", |
| "title": "gameservices PreviewGameServerDeploymentRollout Sample", |
| "description": "PreviewGameServerDeploymentRollout previews the game server deployment rollout. This API does not mutate the\nrollout resource.", |
| "file": "GameServerDeploymentsClient/PreviewGameServerDeploymentRollout/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "PreviewGameServerDeploymentRollout", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient.PreviewGameServerDeploymentRollout", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.PreviewGameServerDeploymentRolloutRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.PreviewGameServerDeploymentRolloutResponse", |
| "client": { |
| "shortName": "GameServerDeploymentsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient" |
| }, |
| "method": { |
| "shortName": "PreviewGameServerDeploymentRollout", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", |
| "service": { |
| "shortName": "GameServerDeploymentsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_UpdateGameServerDeployment_sync", |
| "title": "gameservices UpdateGameServerDeployment Sample", |
| "description": "UpdateGameServerDeployment patches a game server deployment.", |
| "file": "GameServerDeploymentsClient/UpdateGameServerDeployment/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateGameServerDeployment", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient.UpdateGameServerDeployment", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.UpdateGameServerDeploymentRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateGameServerDeploymentOperation", |
| "client": { |
| "shortName": "GameServerDeploymentsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient" |
| }, |
| "method": { |
| "shortName": "UpdateGameServerDeployment", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeployment", |
| "service": { |
| "shortName": "GameServerDeploymentsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_UpdateGameServerDeploymentRollout_sync", |
| "title": "gameservices UpdateGameServerDeploymentRollout Sample", |
| "description": "UpdateGameServerDeploymentRollout patches a single game server deployment rollout.\nThe method will not return an error if the update does not affect any\nexisting realms. For example - if the default_game_server_config is changed\nbut all existing realms use the override, that is valid. Similarly, if a\nnon existing realm is explicitly called out in game_server_config_overrides\nfield, that will also not result in an error.", |
| "file": "GameServerDeploymentsClient/UpdateGameServerDeploymentRollout/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateGameServerDeploymentRollout", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient.UpdateGameServerDeploymentRollout", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.UpdateGameServerDeploymentRolloutRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateGameServerDeploymentRolloutOperation", |
| "client": { |
| "shortName": "GameServerDeploymentsClient", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsClient" |
| }, |
| "method": { |
| "shortName": "UpdateGameServerDeploymentRollout", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", |
| "service": { |
| "shortName": "GameServerDeploymentsService", |
| "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_RealmsService_CreateRealm_sync", |
| "title": "gameservices CreateRealm Sample", |
| "description": "CreateRealm creates a new realm in a given project and location.", |
| "file": "RealmsClient/CreateRealm/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "CreateRealm", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient.CreateRealm", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.CreateRealmRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "CreateRealmOperation", |
| "client": { |
| "shortName": "RealmsClient", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient" |
| }, |
| "method": { |
| "shortName": "CreateRealm", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService.CreateRealm", |
| "service": { |
| "shortName": "RealmsService", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_RealmsService_DeleteRealm_sync", |
| "title": "gameservices DeleteRealm Sample", |
| "description": "DeleteRealm deletes a single realm.", |
| "file": "RealmsClient/DeleteRealm/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "DeleteRealm", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient.DeleteRealm", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.DeleteRealmRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "DeleteRealmOperation", |
| "client": { |
| "shortName": "RealmsClient", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient" |
| }, |
| "method": { |
| "shortName": "DeleteRealm", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService.DeleteRealm", |
| "service": { |
| "shortName": "RealmsService", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 55, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_RealmsService_GetRealm_sync", |
| "title": "gameservices GetRealm Sample", |
| "description": "GetRealm gets details of a single realm.", |
| "file": "RealmsClient/GetRealm/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "GetRealm", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient.GetRealm", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.GetRealmRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.Realm", |
| "client": { |
| "shortName": "RealmsClient", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient" |
| }, |
| "method": { |
| "shortName": "GetRealm", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService.GetRealm", |
| "service": { |
| "shortName": "RealmsService", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_RealmsService_ListRealms_sync", |
| "title": "gameservices ListRealms Sample", |
| "description": "ListRealms lists realms in a given project and location.", |
| "file": "RealmsClient/ListRealms/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "ListRealms", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient.ListRealms", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.ListRealmsRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "RealmIterator", |
| "client": { |
| "shortName": "RealmsClient", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient" |
| }, |
| "method": { |
| "shortName": "ListRealms", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService.ListRealms", |
| "service": { |
| "shortName": "RealmsService", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 59, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_RealmsService_PreviewRealmUpdate_sync", |
| "title": "gameservices PreviewRealmUpdate Sample", |
| "description": "PreviewRealmUpdate previews patches to a single realm.", |
| "file": "RealmsClient/PreviewRealmUpdate/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "PreviewRealmUpdate", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient.PreviewRealmUpdate", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.PreviewRealmUpdateRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "gamingpb.PreviewRealmUpdateResponse", |
| "client": { |
| "shortName": "RealmsClient", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient" |
| }, |
| "method": { |
| "shortName": "PreviewRealmUpdate", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService.PreviewRealmUpdate", |
| "service": { |
| "shortName": "RealmsService", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 52, |
| "type": "FULL" |
| } |
| ] |
| }, |
| { |
| "regionTag": "gameservices_v1beta_generated_RealmsService_UpdateRealm_sync", |
| "title": "gameservices UpdateRealm Sample", |
| "description": "UpdateRealm patches a single realm.", |
| "file": "RealmsClient/UpdateRealm/main.go", |
| "language": "GO", |
| "clientMethod": { |
| "shortName": "UpdateRealm", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient.UpdateRealm", |
| "parameters": [ |
| { |
| "type": "context.Context", |
| "name": "ctx" |
| }, |
| { |
| "type": "gamingpb.UpdateRealmRequest", |
| "name": "req" |
| }, |
| { |
| "type": "...gax.CallOption", |
| "name": "opts" |
| } |
| ], |
| "resultType": "UpdateRealmOperation", |
| "client": { |
| "shortName": "RealmsClient", |
| "fullName": "google.cloud.gaming.v1beta.RealmsClient" |
| }, |
| "method": { |
| "shortName": "UpdateRealm", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService.UpdateRealm", |
| "service": { |
| "shortName": "RealmsService", |
| "fullName": "google.cloud.gaming.v1beta.RealmsService" |
| } |
| } |
| }, |
| "origin": "API_DEFINITION", |
| "segments": [ |
| { |
| "start": 18, |
| "end": 57, |
| "type": "FULL" |
| } |
| ] |
| } |
| ] |
| } |