blob: dd85c985f6f6fa6ba6b9616b16bc768d07487ce9 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/gaming/apiv1",
"version": "1.5.0",
"language": "GO",
"apis": [
{
"id": "google.cloud.gaming.v1",
"version": "v1"
}
]
},
"snippets": [
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerClustersClient"
},
"method": {
"shortName": "CreateGameServerCluster",
"fullName": "google.cloud.gaming.v1.GameServerClustersService.CreateGameServerCluster",
"service": {
"shortName": "GameServerClustersService",
"fullName": "google.cloud.gaming.v1.GameServerClustersService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerClustersClient"
},
"method": {
"shortName": "DeleteGameServerCluster",
"fullName": "google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerCluster",
"service": {
"shortName": "GameServerClustersService",
"fullName": "google.cloud.gaming.v1.GameServerClustersService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerClustersClient"
},
"method": {
"shortName": "GetGameServerCluster",
"fullName": "google.cloud.gaming.v1.GameServerClustersService.GetGameServerCluster",
"service": {
"shortName": "GameServerClustersService",
"fullName": "google.cloud.gaming.v1.GameServerClustersService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerClustersClient"
},
"method": {
"shortName": "ListGameServerClusters",
"fullName": "google.cloud.gaming.v1.GameServerClustersService.ListGameServerClusters",
"service": {
"shortName": "GameServerClustersService",
"fullName": "google.cloud.gaming.v1.GameServerClustersService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerClustersClient"
},
"method": {
"shortName": "PreviewCreateGameServerCluster",
"fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerCluster",
"service": {
"shortName": "GameServerClustersService",
"fullName": "google.cloud.gaming.v1.GameServerClustersService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerClustersClient"
},
"method": {
"shortName": "PreviewDeleteGameServerCluster",
"fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerCluster",
"service": {
"shortName": "GameServerClustersService",
"fullName": "google.cloud.gaming.v1.GameServerClustersService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerClustersClient"
},
"method": {
"shortName": "PreviewUpdateGameServerCluster",
"fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerCluster",
"service": {
"shortName": "GameServerClustersService",
"fullName": "google.cloud.gaming.v1.GameServerClustersService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerClustersClient"
},
"method": {
"shortName": "UpdateGameServerCluster",
"fullName": "google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerCluster",
"service": {
"shortName": "GameServerClustersService",
"fullName": "google.cloud.gaming.v1.GameServerClustersService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerConfigsClient"
},
"method": {
"shortName": "CreateGameServerConfig",
"fullName": "google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfig",
"service": {
"shortName": "GameServerConfigsService",
"fullName": "google.cloud.gaming.v1.GameServerConfigsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerConfigsClient"
},
"method": {
"shortName": "DeleteGameServerConfig",
"fullName": "google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfig",
"service": {
"shortName": "GameServerConfigsService",
"fullName": "google.cloud.gaming.v1.GameServerConfigsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerConfigsClient"
},
"method": {
"shortName": "GetGameServerConfig",
"fullName": "google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfig",
"service": {
"shortName": "GameServerConfigsService",
"fullName": "google.cloud.gaming.v1.GameServerConfigsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerConfigsClient"
},
"method": {
"shortName": "ListGameServerConfigs",
"fullName": "google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigs",
"service": {
"shortName": "GameServerConfigsService",
"fullName": "google.cloud.gaming.v1.GameServerConfigsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerDeploymentsClient"
},
"method": {
"shortName": "CreateGameServerDeployment",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeployment",
"service": {
"shortName": "GameServerDeploymentsService",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerDeploymentsClient"
},
"method": {
"shortName": "DeleteGameServerDeployment",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeployment",
"service": {
"shortName": "GameServerDeploymentsService",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerDeploymentsClient"
},
"method": {
"shortName": "FetchDeploymentState",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentState",
"service": {
"shortName": "GameServerDeploymentsService",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerDeploymentsClient"
},
"method": {
"shortName": "GetGameServerDeployment",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeployment",
"service": {
"shortName": "GameServerDeploymentsService",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerDeploymentsClient"
},
"method": {
"shortName": "GetGameServerDeploymentRollout",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRollout",
"service": {
"shortName": "GameServerDeploymentsService",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerDeploymentsClient"
},
"method": {
"shortName": "ListGameServerDeployments",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeployments",
"service": {
"shortName": "GameServerDeploymentsService",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerDeploymentsClient"
},
"method": {
"shortName": "PreviewGameServerDeploymentRollout",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRollout",
"service": {
"shortName": "GameServerDeploymentsService",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerDeploymentsClient"
},
"method": {
"shortName": "UpdateGameServerDeployment",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeployment",
"service": {
"shortName": "GameServerDeploymentsService",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.GameServerDeploymentsClient"
},
"method": {
"shortName": "UpdateGameServerDeploymentRollout",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRollout",
"service": {
"shortName": "GameServerDeploymentsService",
"fullName": "google.cloud.gaming.v1.GameServerDeploymentsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.RealmsClient"
},
"method": {
"shortName": "CreateRealm",
"fullName": "google.cloud.gaming.v1.RealmsService.CreateRealm",
"service": {
"shortName": "RealmsService",
"fullName": "google.cloud.gaming.v1.RealmsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.RealmsClient"
},
"method": {
"shortName": "DeleteRealm",
"fullName": "google.cloud.gaming.v1.RealmsService.DeleteRealm",
"service": {
"shortName": "RealmsService",
"fullName": "google.cloud.gaming.v1.RealmsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.RealmsClient"
},
"method": {
"shortName": "GetRealm",
"fullName": "google.cloud.gaming.v1.RealmsService.GetRealm",
"service": {
"shortName": "RealmsService",
"fullName": "google.cloud.gaming.v1.RealmsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.RealmsClient"
},
"method": {
"shortName": "ListRealms",
"fullName": "google.cloud.gaming.v1.RealmsService.ListRealms",
"service": {
"shortName": "RealmsService",
"fullName": "google.cloud.gaming.v1.RealmsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.RealmsClient"
},
"method": {
"shortName": "PreviewRealmUpdate",
"fullName": "google.cloud.gaming.v1.RealmsService.PreviewRealmUpdate",
"service": {
"shortName": "RealmsService",
"fullName": "google.cloud.gaming.v1.RealmsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "gameservices_v1_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.v1.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.v1.RealmsClient"
},
"method": {
"shortName": "UpdateRealm",
"fullName": "google.cloud.gaming.v1.RealmsService.UpdateRealm",
"service": {
"shortName": "RealmsService",
"fullName": "google.cloud.gaming.v1.RealmsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
}
]
}