From 6c7551cc1f04d05eb0cba2fd4ed95dfbfd99d934 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 20 Apr 2022 18:30:15 +0000 Subject: [PATCH] build(node): update client library version in samples metadata (#1356) (#260) * build(node): add feat in node post-processor to add client library version number in snippet metadata Co-authored-by: Benjamin E. Coe Source-Link: https://github.com/googleapis/synthtool/commit/d337b88dd1494365183718a2de0b7b4056b6fdfe Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:d106724ad2a96daa1b8d88de101ba50bdb30b8df62ffa0aa2b451d93b4556641 --- ...ippet_metadata.google.cloud.gaming.v1.json | 2408 ++++++++--------- ...t_metadata.google.cloud.gaming.v1beta.json | 2384 ++++++++-------- 2 files changed, 2396 insertions(+), 2396 deletions(-) diff --git a/generated,README.md/generated/v1/snippet_metadata.google.cloud.gaming.v1.json b/generated,README.md/generated/v1/snippet_metadata.google.cloud.gaming.v1.json index d3ad67d4b5..df21cddba1 100644 --- a/generated,README.md/generated/v1/snippet_metadata.google.cloud.gaming.v1.json +++ b/generated,README.md/generated/v1/snippet_metadata.google.cloud.gaming.v1.json @@ -1,1259 +1,1259 @@ { - "clientLibrary": { - "name": "nodejs-gaming", - "version": "0.1.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.gaming.v1", - "version": "v1" - } - ] - }, - "snippets": [ - { - "regionTag": "gameservices_v1_generated_GameServerClustersService_ListGameServerClusters_async", - "title": "GameServerClustersService listGameServerClusters Sample", - "origin": "API_DEFINITION", - "description": " Lists game server clusters in a given project and location.", - "canonical": true, - "file": "game_server_clusters_service.list_game_server_clusters.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 83, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGameServerClusters", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.ListGameServerClusters", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - }, - { - "name": "view", - "type": ".google.cloud.gaming.v1.GameServerClusterView" - } - ], - "resultType": ".google.cloud.gaming.v1.ListGameServerClustersResponse", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" - }, - "method": { - "shortName": "ListGameServerClusters", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.ListGameServerClusters", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1.GameServerClustersService" - } - } - } + "clientLibrary": { + "name": "nodejs-gaming", + "version": "2.5.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.gaming.v1", + "version": "v1" + } + ] }, - { - "regionTag": "gameservices_v1_generated_GameServerClustersService_GetGameServerCluster_async", - "title": "GameServerClustersService getGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single game server cluster.", - "canonical": true, - "file": "game_server_clusters_service.get_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ + "snippets": [ { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.GetGameServerCluster", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "view", - "type": ".google.cloud.gaming.v1.GameServerClusterView" - } - ], - "resultType": ".google.cloud.gaming.v1.GameServerCluster", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + "regionTag": "gameservices_v1_generated_GameServerClustersService_ListGameServerClusters_async", + "title": "GameServerClustersService listGameServerClusters Sample", + "origin": "API_DEFINITION", + "description": " Lists game server clusters in a given project and location.", + "canonical": true, + "file": "game_server_clusters_service.list_game_server_clusters.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 83, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGameServerClusters", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.ListGameServerClusters", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + }, + { + "name": "view", + "type": ".google.cloud.gaming.v1.GameServerClusterView" + } + ], + "resultType": ".google.cloud.gaming.v1.ListGameServerClustersResponse", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + }, + "method": { + "shortName": "ListGameServerClusters", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.ListGameServerClusters", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "GetGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.GetGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerClustersService_CreateGameServerCluster_async", - "title": "GameServerClustersService createGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Creates a new game server cluster in a given project and location.", - "canonical": true, - "file": "game_server_clusters_service.create_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.CreateGameServerCluster", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "game_server_cluster_id", - "type": "TYPE_STRING" - }, - { - "name": "game_server_cluster", - "type": ".google.cloud.gaming.v1.GameServerCluster" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + "regionTag": "gameservices_v1_generated_GameServerClustersService_GetGameServerCluster_async", + "title": "GameServerClustersService getGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single game server cluster.", + "canonical": true, + "file": "game_server_clusters_service.get_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.GetGameServerCluster", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "view", + "type": ".google.cloud.gaming.v1.GameServerClusterView" + } + ], + "resultType": ".google.cloud.gaming.v1.GameServerCluster", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + }, + "method": { + "shortName": "GetGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.GetGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "CreateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.CreateGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerClustersService_PreviewCreateGameServerCluster_async", - "title": "GameServerClustersService previewCreateGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Previews creation of a new game server cluster in a given project and location.", - "canonical": true, - "file": "game_server_clusters_service.preview_create_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewCreateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerCluster", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "game_server_cluster_id", - "type": "TYPE_STRING" - }, - { - "name": "game_server_cluster", - "type": ".google.cloud.gaming.v1.GameServerCluster" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - }, - { - "name": "view", - "type": ".google.cloud.gaming.v1.GameServerClusterView" - } - ], - "resultType": ".google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + "regionTag": "gameservices_v1_generated_GameServerClustersService_CreateGameServerCluster_async", + "title": "GameServerClustersService createGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Creates a new game server cluster in a given project and location.", + "canonical": true, + "file": "game_server_clusters_service.create_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.CreateGameServerCluster", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "game_server_cluster_id", + "type": "TYPE_STRING" + }, + { + "name": "game_server_cluster", + "type": ".google.cloud.gaming.v1.GameServerCluster" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + }, + "method": { + "shortName": "CreateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.CreateGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "PreviewCreateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerClustersService_DeleteGameServerCluster_async", - "title": "GameServerClustersService deleteGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single game server cluster.", - "canonical": true, - "file": "game_server_clusters_service.delete_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerCluster", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + "regionTag": "gameservices_v1_generated_GameServerClustersService_PreviewCreateGameServerCluster_async", + "title": "GameServerClustersService previewCreateGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Previews creation of a new game server cluster in a given project and location.", + "canonical": true, + "file": "game_server_clusters_service.preview_create_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewCreateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerCluster", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "game_server_cluster_id", + "type": "TYPE_STRING" + }, + { + "name": "game_server_cluster", + "type": ".google.cloud.gaming.v1.GameServerCluster" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + }, + { + "name": "view", + "type": ".google.cloud.gaming.v1.GameServerClusterView" + } + ], + "resultType": ".google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + }, + "method": { + "shortName": "PreviewCreateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "DeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerClustersService_PreviewDeleteGameServerCluster_async", - "title": "GameServerClustersService previewDeleteGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Previews deletion of a single game server cluster.", - "canonical": true, - "file": "game_server_clusters_service.preview_delete_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewDeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerCluster", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - } - ], - "resultType": ".google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + "regionTag": "gameservices_v1_generated_GameServerClustersService_DeleteGameServerCluster_async", + "title": "GameServerClustersService deleteGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single game server cluster.", + "canonical": true, + "file": "game_server_clusters_service.delete_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerCluster", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + }, + "method": { + "shortName": "DeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "PreviewDeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerClustersService_UpdateGameServerCluster_async", - "title": "GameServerClustersService updateGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Patches a single game server cluster.", - "canonical": true, - "file": "game_server_clusters_service.update_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerCluster", - "async": true, - "parameters": [ - { - "name": "game_server_cluster", - "type": ".google.cloud.gaming.v1.GameServerCluster" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + "regionTag": "gameservices_v1_generated_GameServerClustersService_PreviewDeleteGameServerCluster_async", + "title": "GameServerClustersService previewDeleteGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Previews deletion of a single game server cluster.", + "canonical": true, + "file": "game_server_clusters_service.preview_delete_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewDeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerCluster", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + } + ], + "resultType": ".google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + }, + "method": { + "shortName": "PreviewDeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "UpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerClustersService_PreviewUpdateGameServerCluster_async", - "title": "GameServerClustersService previewUpdateGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Previews updating a GameServerCluster.", - "canonical": true, - "file": "game_server_clusters_service.preview_update_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewUpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerCluster", - "async": true, - "parameters": [ - { - "name": "game_server_cluster", - "type": ".google.cloud.gaming.v1.GameServerCluster" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - } - ], - "resultType": ".google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + "regionTag": "gameservices_v1_generated_GameServerClustersService_UpdateGameServerCluster_async", + "title": "GameServerClustersService updateGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Patches a single game server cluster.", + "canonical": true, + "file": "game_server_clusters_service.update_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerCluster", + "async": true, + "parameters": [ + { + "name": "game_server_cluster", + "type": ".google.cloud.gaming.v1.GameServerCluster" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + }, + "method": { + "shortName": "UpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "PreviewUpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerConfigsService_ListGameServerConfigs_async", - "title": "GameServerClustersService listGameServerConfigs Sample", - "origin": "API_DEFINITION", - "description": " Lists game server configs in a given project, location, and game server deployment.", - "canonical": true, - "file": "game_server_configs_service.list_game_server_configs.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGameServerConfigs", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigs", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1.ListGameServerConfigsResponse", - "client": { - "shortName": "GameServerConfigsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerConfigsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerClustersService_PreviewUpdateGameServerCluster_async", + "title": "GameServerClustersService previewUpdateGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Previews updating a GameServerCluster.", + "canonical": true, + "file": "game_server_clusters_service.preview_update_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewUpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerCluster", + "async": true, + "parameters": [ + { + "name": "game_server_cluster", + "type": ".google.cloud.gaming.v1.GameServerCluster" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + } + ], + "resultType": ".google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerClustersServiceClient" + }, + "method": { + "shortName": "PreviewUpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "ListGameServerConfigs", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigs", - "service": { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerConfigsService_GetGameServerConfig_async", - "title": "GameServerClustersService getGameServerConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single game server config.", - "canonical": true, - "file": "game_server_configs_service.get_game_server_config.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGameServerConfig", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1.GameServerConfig", - "client": { - "shortName": "GameServerConfigsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerConfigsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerConfigsService_ListGameServerConfigs_async", + "title": "GameServerClustersService listGameServerConfigs Sample", + "origin": "API_DEFINITION", + "description": " Lists game server configs in a given project, location, and game server deployment.", + "canonical": true, + "file": "game_server_configs_service.list_game_server_configs.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGameServerConfigs", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1.ListGameServerConfigsResponse", + "client": { + "shortName": "GameServerConfigsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerConfigsServiceClient" + }, + "method": { + "shortName": "ListGameServerConfigs", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigs", + "service": { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService" + } + } + } }, - "method": { - "shortName": "GetGameServerConfig", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfig", - "service": { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerConfigsService_CreateGameServerConfig_async", - "title": "GameServerClustersService createGameServerConfig Sample", - "origin": "API_DEFINITION", - "description": " Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.", - "canonical": true, - "file": "game_server_configs_service.create_game_server_config.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGameServerConfig", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfig", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "config_id", - "type": "TYPE_STRING" - }, - { - "name": "game_server_config", - "type": ".google.cloud.gaming.v1.GameServerConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerConfigsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerConfigsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerConfigsService_GetGameServerConfig_async", + "title": "GameServerClustersService getGameServerConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single game server config.", + "canonical": true, + "file": "game_server_configs_service.get_game_server_config.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGameServerConfig", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1.GameServerConfig", + "client": { + "shortName": "GameServerConfigsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerConfigsServiceClient" + }, + "method": { + "shortName": "GetGameServerConfig", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfig", + "service": { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService" + } + } + } }, - "method": { - "shortName": "CreateGameServerConfig", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfig", - "service": { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerConfigsService_DeleteGameServerConfig_async", - "title": "GameServerClustersService deleteGameServerConfig Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single game server config. The deletion will fail if the game server config is referenced in a game server deployment rollout.", - "canonical": true, - "file": "game_server_configs_service.delete_game_server_config.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGameServerConfig", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerConfigsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerConfigsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerConfigsService_CreateGameServerConfig_async", + "title": "GameServerClustersService createGameServerConfig Sample", + "origin": "API_DEFINITION", + "description": " Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.", + "canonical": true, + "file": "game_server_configs_service.create_game_server_config.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGameServerConfig", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfig", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "config_id", + "type": "TYPE_STRING" + }, + { + "name": "game_server_config", + "type": ".google.cloud.gaming.v1.GameServerConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerConfigsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerConfigsServiceClient" + }, + "method": { + "shortName": "CreateGameServerConfig", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfig", + "service": { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService" + } + } + } }, - "method": { - "shortName": "DeleteGameServerConfig", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfig", - "service": { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_ListGameServerDeployments_async", - "title": "GameServerClustersService listGameServerDeployments Sample", - "origin": "API_DEFINITION", - "description": " Lists game server deployments in a given project and location.", - "canonical": true, - "file": "game_server_deployments_service.list_game_server_deployments.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGameServerDeployments", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeployments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1.ListGameServerDeploymentsResponse", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerConfigsService_DeleteGameServerConfig_async", + "title": "GameServerClustersService deleteGameServerConfig Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single game server config. The deletion will fail if the game server config is referenced in a game server deployment rollout.", + "canonical": true, + "file": "game_server_configs_service.delete_game_server_config.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGameServerConfig", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerConfigsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerConfigsServiceClient" + }, + "method": { + "shortName": "DeleteGameServerConfig", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfig", + "service": { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService" + } + } + } }, - "method": { - "shortName": "ListGameServerDeployments", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeployments", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_GetGameServerDeployment_async", - "title": "GameServerClustersService getGameServerDeployment Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single game server deployment.", - "canonical": true, - "file": "game_server_deployments_service.get_game_server_deployment.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeployment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1.GameServerDeployment", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_ListGameServerDeployments_async", + "title": "GameServerClustersService listGameServerDeployments Sample", + "origin": "API_DEFINITION", + "description": " Lists game server deployments in a given project and location.", + "canonical": true, + "file": "game_server_deployments_service.list_game_server_deployments.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGameServerDeployments", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeployments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1.ListGameServerDeploymentsResponse", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "ListGameServerDeployments", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeployments", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "GetGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeployment", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_CreateGameServerDeployment_async", - "title": "GameServerClustersService createGameServerDeployment Sample", - "origin": "API_DEFINITION", - "description": " Creates a new game server deployment in a given project and location.", - "canonical": true, - "file": "game_server_deployments_service.create_game_server_deployment.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeployment", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "deployment_id", - "type": "TYPE_STRING" - }, - { - "name": "game_server_deployment", - "type": ".google.cloud.gaming.v1.GameServerDeployment" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_GetGameServerDeployment_async", + "title": "GameServerClustersService getGameServerDeployment Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single game server deployment.", + "canonical": true, + "file": "game_server_deployments_service.get_game_server_deployment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeployment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1.GameServerDeployment", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "GetGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeployment", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "CreateGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeployment", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_DeleteGameServerDeployment_async", - "title": "GameServerClustersService deleteGameServerDeployment Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single game server deployment.", - "canonical": true, - "file": "game_server_deployments_service.delete_game_server_deployment.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeployment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_CreateGameServerDeployment_async", + "title": "GameServerClustersService createGameServerDeployment Sample", + "origin": "API_DEFINITION", + "description": " Creates a new game server deployment in a given project and location.", + "canonical": true, + "file": "game_server_deployments_service.create_game_server_deployment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeployment", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "deployment_id", + "type": "TYPE_STRING" + }, + { + "name": "game_server_deployment", + "type": ".google.cloud.gaming.v1.GameServerDeployment" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "CreateGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeployment", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "DeleteGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeployment", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_UpdateGameServerDeployment_async", - "title": "GameServerClustersService updateGameServerDeployment Sample", - "origin": "API_DEFINITION", - "description": " Patches a game server deployment.", - "canonical": true, - "file": "game_server_deployments_service.update_game_server_deployment.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeployment", - "async": true, - "parameters": [ - { - "name": "game_server_deployment", - "type": ".google.cloud.gaming.v1.GameServerDeployment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_DeleteGameServerDeployment_async", + "title": "GameServerClustersService deleteGameServerDeployment Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single game server deployment.", + "canonical": true, + "file": "game_server_deployments_service.delete_game_server_deployment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeployment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "DeleteGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeployment", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "UpdateGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeployment", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_GetGameServerDeploymentRollout_async", - "title": "GameServerClustersService getGameServerDeploymentRollout Sample", - "origin": "API_DEFINITION", - "description": " Gets details a single game server deployment rollout.", - "canonical": true, - "file": "game_server_deployments_service.get_game_server_deployment_rollout.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRollout", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1.GameServerDeploymentRollout", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_UpdateGameServerDeployment_async", + "title": "GameServerClustersService updateGameServerDeployment Sample", + "origin": "API_DEFINITION", + "description": " Patches a game server deployment.", + "canonical": true, + "file": "game_server_deployments_service.update_game_server_deployment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeployment", + "async": true, + "parameters": [ + { + "name": "game_server_deployment", + "type": ".google.cloud.gaming.v1.GameServerDeployment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "UpdateGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeployment", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "GetGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRollout", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_UpdateGameServerDeploymentRollout_async", - "title": "GameServerClustersService updateGameServerDeploymentRollout Sample", - "origin": "API_DEFINITION", - "description": " Patches a single game server deployment rollout. The method will not return an error if the update does not affect any existing realms. For example - if the default_game_server_config is changed but all existing realms use the override, that is valid. Similarly, if a non existing realm is explicitly called out in game_server_config_overrides field, that will also not result in an error.", - "canonical": true, - "file": "game_server_deployments_service.update_game_server_deployment_rollout.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", - "async": true, - "parameters": [ - { - "name": "rollout", - "type": ".google.cloud.gaming.v1.GameServerDeploymentRollout" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_GetGameServerDeploymentRollout_async", + "title": "GameServerClustersService getGameServerDeploymentRollout Sample", + "origin": "API_DEFINITION", + "description": " Gets details a single game server deployment rollout.", + "canonical": true, + "file": "game_server_deployments_service.get_game_server_deployment_rollout.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRollout", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1.GameServerDeploymentRollout", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "GetGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRollout", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "UpdateGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_PreviewGameServerDeploymentRollout_async", - "title": "GameServerClustersService previewGameServerDeploymentRollout Sample", - "origin": "API_DEFINITION", - "description": " Previews the game server deployment rollout. This API does not mutate the rollout resource.", - "canonical": true, - "file": "game_server_deployments_service.preview_game_server_deployment_rollout.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", - "async": true, - "parameters": [ - { - "name": "rollout", - "type": ".google.cloud.gaming.v1.GameServerDeploymentRollout" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - } - ], - "resultType": ".google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_UpdateGameServerDeploymentRollout_async", + "title": "GameServerClustersService updateGameServerDeploymentRollout Sample", + "origin": "API_DEFINITION", + "description": " Patches a single game server deployment rollout. The method will not return an error if the update does not affect any existing realms. For example - if the default_game_server_config is changed but all existing realms use the override, that is valid. Similarly, if a non existing realm is explicitly called out in game_server_config_overrides field, that will also not result in an error.", + "canonical": true, + "file": "game_server_deployments_service.update_game_server_deployment_rollout.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", + "async": true, + "parameters": [ + { + "name": "rollout", + "type": ".google.cloud.gaming.v1.GameServerDeploymentRollout" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "UpdateGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "PreviewGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_FetchDeploymentState_async", - "title": "GameServerClustersService fetchDeploymentState Sample", - "origin": "API_DEFINITION", - "description": " Retrieves information about the current state of the game server deployment. Gathers all the Agones fleets and Agones autoscalers, including fleets running an older version of the game server deployment.", - "canonical": true, - "file": "game_server_deployments_service.fetch_deployment_state.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchDeploymentState", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentState", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1.FetchDeploymentStateResponse", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_PreviewGameServerDeploymentRollout_async", + "title": "GameServerClustersService previewGameServerDeploymentRollout Sample", + "origin": "API_DEFINITION", + "description": " Previews the game server deployment rollout. This API does not mutate the rollout resource.", + "canonical": true, + "file": "game_server_deployments_service.preview_game_server_deployment_rollout.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", + "async": true, + "parameters": [ + { + "name": "rollout", + "type": ".google.cloud.gaming.v1.GameServerDeploymentRollout" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + } + ], + "resultType": ".google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "PreviewGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "FetchDeploymentState", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentState", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_RealmsService_ListRealms_async", - "title": "GameServerClustersService listRealms Sample", - "origin": "API_DEFINITION", - "description": " Lists realms in a given project and location.", - "canonical": true, - "file": "realms_service.list_realms.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListRealms", - "fullName": "google.cloud.gaming.v1.RealmsService.ListRealms", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1.ListRealmsResponse", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + "regionTag": "gameservices_v1_generated_GameServerDeploymentsService_FetchDeploymentState_async", + "title": "GameServerClustersService fetchDeploymentState Sample", + "origin": "API_DEFINITION", + "description": " Retrieves information about the current state of the game server deployment. Gathers all the Agones fleets and Agones autoscalers, including fleets running an older version of the game server deployment.", + "canonical": true, + "file": "game_server_deployments_service.fetch_deployment_state.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchDeploymentState", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentState", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1.FetchDeploymentStateResponse", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "FetchDeploymentState", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentState", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "ListRealms", - "fullName": "google.cloud.gaming.v1.RealmsService.ListRealms", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_RealmsService_GetRealm_async", - "title": "GameServerClustersService getRealm Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single realm.", - "canonical": true, - "file": "realms_service.get_realm.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.GetRealm", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1.Realm", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + "regionTag": "gameservices_v1_generated_RealmsService_ListRealms_async", + "title": "GameServerClustersService listRealms Sample", + "origin": "API_DEFINITION", + "description": " Lists realms in a given project and location.", + "canonical": true, + "file": "realms_service.list_realms.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListRealms", + "fullName": "google.cloud.gaming.v1.RealmsService.ListRealms", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1.ListRealmsResponse", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + }, + "method": { + "shortName": "ListRealms", + "fullName": "google.cloud.gaming.v1.RealmsService.ListRealms", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1.RealmsService" + } + } + } }, - "method": { - "shortName": "GetRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.GetRealm", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_RealmsService_CreateRealm_async", - "title": "GameServerClustersService createRealm Sample", - "origin": "API_DEFINITION", - "description": " Creates a new realm in a given project and location.", - "canonical": true, - "file": "realms_service.create_realm.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.CreateRealm", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "realm_id", - "type": "TYPE_STRING" - }, - { - "name": "realm", - "type": ".google.cloud.gaming.v1.Realm" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + "regionTag": "gameservices_v1_generated_RealmsService_GetRealm_async", + "title": "GameServerClustersService getRealm Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single realm.", + "canonical": true, + "file": "realms_service.get_realm.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.GetRealm", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1.Realm", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + }, + "method": { + "shortName": "GetRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.GetRealm", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1.RealmsService" + } + } + } }, - "method": { - "shortName": "CreateRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.CreateRealm", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_RealmsService_DeleteRealm_async", - "title": "GameServerClustersService deleteRealm Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single realm.", - "canonical": true, - "file": "realms_service.delete_realm.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.DeleteRealm", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + "regionTag": "gameservices_v1_generated_RealmsService_CreateRealm_async", + "title": "GameServerClustersService createRealm Sample", + "origin": "API_DEFINITION", + "description": " Creates a new realm in a given project and location.", + "canonical": true, + "file": "realms_service.create_realm.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.CreateRealm", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "realm_id", + "type": "TYPE_STRING" + }, + { + "name": "realm", + "type": ".google.cloud.gaming.v1.Realm" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + }, + "method": { + "shortName": "CreateRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.CreateRealm", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1.RealmsService" + } + } + } }, - "method": { - "shortName": "DeleteRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.DeleteRealm", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_RealmsService_UpdateRealm_async", - "title": "GameServerClustersService updateRealm Sample", - "origin": "API_DEFINITION", - "description": " Patches a single realm.", - "canonical": true, - "file": "realms_service.update_realm.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.UpdateRealm", - "async": true, - "parameters": [ - { - "name": "realm", - "type": ".google.cloud.gaming.v1.Realm" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + "regionTag": "gameservices_v1_generated_RealmsService_DeleteRealm_async", + "title": "GameServerClustersService deleteRealm Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single realm.", + "canonical": true, + "file": "realms_service.delete_realm.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.DeleteRealm", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + }, + "method": { + "shortName": "DeleteRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.DeleteRealm", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1.RealmsService" + } + } + } }, - "method": { - "shortName": "UpdateRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.UpdateRealm", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1_generated_RealmsService_PreviewRealmUpdate_async", - "title": "GameServerClustersService previewRealmUpdate Sample", - "origin": "API_DEFINITION", - "description": " Previews patches to a single realm.", - "canonical": true, - "file": "realms_service.preview_realm_update.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewRealmUpdate", - "fullName": "google.cloud.gaming.v1.RealmsService.PreviewRealmUpdate", - "async": true, - "parameters": [ - { - "name": "realm", - "type": ".google.cloud.gaming.v1.Realm" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - } - ], - "resultType": ".google.cloud.gaming.v1.PreviewRealmUpdateResponse", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + "regionTag": "gameservices_v1_generated_RealmsService_UpdateRealm_async", + "title": "GameServerClustersService updateRealm Sample", + "origin": "API_DEFINITION", + "description": " Patches a single realm.", + "canonical": true, + "file": "realms_service.update_realm.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.UpdateRealm", + "async": true, + "parameters": [ + { + "name": "realm", + "type": ".google.cloud.gaming.v1.Realm" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + }, + "method": { + "shortName": "UpdateRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.UpdateRealm", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1.RealmsService" + } + } + } }, - "method": { - "shortName": "PreviewRealmUpdate", - "fullName": "google.cloud.gaming.v1.RealmsService.PreviewRealmUpdate", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1.RealmsService" - } + { + "regionTag": "gameservices_v1_generated_RealmsService_PreviewRealmUpdate_async", + "title": "GameServerClustersService previewRealmUpdate Sample", + "origin": "API_DEFINITION", + "description": " Previews patches to a single realm.", + "canonical": true, + "file": "realms_service.preview_realm_update.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewRealmUpdate", + "fullName": "google.cloud.gaming.v1.RealmsService.PreviewRealmUpdate", + "async": true, + "parameters": [ + { + "name": "realm", + "type": ".google.cloud.gaming.v1.Realm" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + } + ], + "resultType": ".google.cloud.gaming.v1.PreviewRealmUpdateResponse", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1.RealmsServiceClient" + }, + "method": { + "shortName": "PreviewRealmUpdate", + "fullName": "google.cloud.gaming.v1.RealmsService.PreviewRealmUpdate", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1.RealmsService" + } + } + } } - } - } - ] -} + ] +} \ No newline at end of file diff --git a/generated,README.md/generated/v1beta/snippet_metadata.google.cloud.gaming.v1beta.json b/generated,README.md/generated/v1beta/snippet_metadata.google.cloud.gaming.v1beta.json index 40642960f2..fd8ae59f91 100644 --- a/generated,README.md/generated/v1beta/snippet_metadata.google.cloud.gaming.v1beta.json +++ b/generated,README.md/generated/v1beta/snippet_metadata.google.cloud.gaming.v1beta.json @@ -1,1247 +1,1247 @@ { - "clientLibrary": { - "name": "nodejs-gaming", - "version": "0.1.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.gaming.v1beta", - "version": "v1beta" - } - ] - }, - "snippets": [ - { - "regionTag": "gameservices_v1beta_generated_GameServerClustersService_ListGameServerClusters_async", - "title": "GameServerClustersService listGameServerClusters Sample", - "origin": "API_DEFINITION", - "description": " Lists game server clusters in a given project and location.", - "canonical": true, - "file": "game_server_clusters_service.list_game_server_clusters.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGameServerClusters", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.ListGameServerClusters", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.ListGameServerClustersResponse", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" - }, - "method": { - "shortName": "ListGameServerClusters", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.ListGameServerClusters", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" - } - } - } + "clientLibrary": { + "name": "nodejs-gaming", + "version": "2.5.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.gaming.v1beta", + "version": "v1beta" + } + ] }, - { - "regionTag": "gameservices_v1beta_generated_GameServerClustersService_GetGameServerCluster_async", - "title": "GameServerClustersService getGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single game server cluster.", - "canonical": true, - "file": "game_server_clusters_service.get_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ + "snippets": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.GetGameServerCluster", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.GameServerCluster", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerClustersService_ListGameServerClusters_async", + "title": "GameServerClustersService listGameServerClusters Sample", + "origin": "API_DEFINITION", + "description": " Lists game server clusters in a given project and location.", + "canonical": true, + "file": "game_server_clusters_service.list_game_server_clusters.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGameServerClusters", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.ListGameServerClusters", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.ListGameServerClustersResponse", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + }, + "method": { + "shortName": "ListGameServerClusters", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.ListGameServerClusters", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "GetGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.GetGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerClustersService_CreateGameServerCluster_async", - "title": "GameServerClustersService createGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Creates a new game server cluster in a given project and location.", - "canonical": true, - "file": "game_server_clusters_service.create_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerCluster", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "game_server_cluster_id", - "type": "TYPE_STRING" - }, - { - "name": "game_server_cluster", - "type": ".google.cloud.gaming.v1beta.GameServerCluster" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerClustersService_GetGameServerCluster_async", + "title": "GameServerClustersService getGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single game server cluster.", + "canonical": true, + "file": "game_server_clusters_service.get_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.GetGameServerCluster", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.GameServerCluster", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + }, + "method": { + "shortName": "GetGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.GetGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "CreateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerClustersService_PreviewCreateGameServerCluster_async", - "title": "GameServerClustersService previewCreateGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Previews creation of a new game server cluster in a given project and location.", - "canonical": true, - "file": "game_server_clusters_service.preview_create_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewCreateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewCreateGameServerCluster", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "game_server_cluster_id", - "type": "TYPE_STRING" - }, - { - "name": "game_server_cluster", - "type": ".google.cloud.gaming.v1beta.GameServerCluster" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - } - ], - "resultType": ".google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerClustersService_CreateGameServerCluster_async", + "title": "GameServerClustersService createGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Creates a new game server cluster in a given project and location.", + "canonical": true, + "file": "game_server_clusters_service.create_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerCluster", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "game_server_cluster_id", + "type": "TYPE_STRING" + }, + { + "name": "game_server_cluster", + "type": ".google.cloud.gaming.v1beta.GameServerCluster" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + }, + "method": { + "shortName": "CreateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "PreviewCreateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewCreateGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerClustersService_DeleteGameServerCluster_async", - "title": "GameServerClustersService deleteGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single game server cluster.", - "canonical": true, - "file": "game_server_clusters_service.delete_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.DeleteGameServerCluster", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerClustersService_PreviewCreateGameServerCluster_async", + "title": "GameServerClustersService previewCreateGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Previews creation of a new game server cluster in a given project and location.", + "canonical": true, + "file": "game_server_clusters_service.preview_create_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewCreateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewCreateGameServerCluster", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "game_server_cluster_id", + "type": "TYPE_STRING" + }, + { + "name": "game_server_cluster", + "type": ".google.cloud.gaming.v1beta.GameServerCluster" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + } + ], + "resultType": ".google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + }, + "method": { + "shortName": "PreviewCreateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewCreateGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "DeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.DeleteGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerClustersService_PreviewDeleteGameServerCluster_async", - "title": "GameServerClustersService previewDeleteGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Previews deletion of a single game server cluster.", - "canonical": true, - "file": "game_server_clusters_service.preview_delete_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewDeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewDeleteGameServerCluster", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - } - ], - "resultType": ".google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerClustersService_DeleteGameServerCluster_async", + "title": "GameServerClustersService deleteGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single game server cluster.", + "canonical": true, + "file": "game_server_clusters_service.delete_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.DeleteGameServerCluster", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + }, + "method": { + "shortName": "DeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.DeleteGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "PreviewDeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewDeleteGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerClustersService_UpdateGameServerCluster_async", - "title": "GameServerClustersService updateGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Patches a single game server cluster.", - "canonical": true, - "file": "game_server_clusters_service.update_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.UpdateGameServerCluster", - "async": true, - "parameters": [ - { - "name": "game_server_cluster", - "type": ".google.cloud.gaming.v1beta.GameServerCluster" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerClustersService_PreviewDeleteGameServerCluster_async", + "title": "GameServerClustersService previewDeleteGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Previews deletion of a single game server cluster.", + "canonical": true, + "file": "game_server_clusters_service.preview_delete_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewDeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewDeleteGameServerCluster", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + } + ], + "resultType": ".google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + }, + "method": { + "shortName": "PreviewDeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewDeleteGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "UpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.UpdateGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerClustersService_PreviewUpdateGameServerCluster_async", - "title": "GameServerClustersService previewUpdateGameServerCluster Sample", - "origin": "API_DEFINITION", - "description": " Previews updating a GameServerCluster.", - "canonical": true, - "file": "game_server_clusters_service.preview_update_game_server_cluster.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewUpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewUpdateGameServerCluster", - "async": true, - "parameters": [ - { - "name": "game_server_cluster", - "type": ".google.cloud.gaming.v1beta.GameServerCluster" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - } - ], - "resultType": ".google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse", - "client": { - "shortName": "GameServerClustersServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerClustersService_UpdateGameServerCluster_async", + "title": "GameServerClustersService updateGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Patches a single game server cluster.", + "canonical": true, + "file": "game_server_clusters_service.update_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.UpdateGameServerCluster", + "async": true, + "parameters": [ + { + "name": "game_server_cluster", + "type": ".google.cloud.gaming.v1beta.GameServerCluster" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + }, + "method": { + "shortName": "UpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.UpdateGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "PreviewUpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewUpdateGameServerCluster", - "service": { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_ListGameServerConfigs_async", - "title": "GameServerClustersService listGameServerConfigs Sample", - "origin": "API_DEFINITION", - "description": " Lists game server configs in a given project, location, and game server deployment.", - "canonical": true, - "file": "game_server_configs_service.list_game_server_configs.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGameServerConfigs", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.ListGameServerConfigs", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.ListGameServerConfigsResponse", - "client": { - "shortName": "GameServerConfigsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerClustersService_PreviewUpdateGameServerCluster_async", + "title": "GameServerClustersService previewUpdateGameServerCluster Sample", + "origin": "API_DEFINITION", + "description": " Previews updating a GameServerCluster.", + "canonical": true, + "file": "game_server_clusters_service.preview_update_game_server_cluster.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewUpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewUpdateGameServerCluster", + "async": true, + "parameters": [ + { + "name": "game_server_cluster", + "type": ".google.cloud.gaming.v1beta.GameServerCluster" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + } + ], + "resultType": ".google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse", + "client": { + "shortName": "GameServerClustersServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersServiceClient" + }, + "method": { + "shortName": "PreviewUpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewUpdateGameServerCluster", + "service": { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService" + } + } + } }, - "method": { - "shortName": "ListGameServerConfigs", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.ListGameServerConfigs", - "service": { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_GetGameServerConfig_async", - "title": "GameServerClustersService getGameServerConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single game server config.", - "canonical": true, - "file": "game_server_configs_service.get_game_server_config.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGameServerConfig", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.GameServerConfig", - "client": { - "shortName": "GameServerConfigsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_ListGameServerConfigs_async", + "title": "GameServerClustersService listGameServerConfigs Sample", + "origin": "API_DEFINITION", + "description": " Lists game server configs in a given project, location, and game server deployment.", + "canonical": true, + "file": "game_server_configs_service.list_game_server_configs.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGameServerConfigs", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.ListGameServerConfigs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.ListGameServerConfigsResponse", + "client": { + "shortName": "GameServerConfigsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsServiceClient" + }, + "method": { + "shortName": "ListGameServerConfigs", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.ListGameServerConfigs", + "service": { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" + } + } + } }, - "method": { - "shortName": "GetGameServerConfig", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfig", - "service": { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_CreateGameServerConfig_async", - "title": "GameServerClustersService createGameServerConfig Sample", - "origin": "API_DEFINITION", - "description": " Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.", - "canonical": true, - "file": "game_server_configs_service.create_game_server_config.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGameServerConfig", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfig", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "config_id", - "type": "TYPE_STRING" - }, - { - "name": "game_server_config", - "type": ".google.cloud.gaming.v1beta.GameServerConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerConfigsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_GetGameServerConfig_async", + "title": "GameServerClustersService getGameServerConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single game server config.", + "canonical": true, + "file": "game_server_configs_service.get_game_server_config.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGameServerConfig", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.GameServerConfig", + "client": { + "shortName": "GameServerConfigsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsServiceClient" + }, + "method": { + "shortName": "GetGameServerConfig", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfig", + "service": { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" + } + } + } }, - "method": { - "shortName": "CreateGameServerConfig", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfig", - "service": { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_DeleteGameServerConfig_async", - "title": "GameServerClustersService deleteGameServerConfig Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single game server config. The deletion will fail if the game server config is referenced in a game server deployment rollout.", - "canonical": true, - "file": "game_server_configs_service.delete_game_server_config.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGameServerConfig", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerConfigsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_CreateGameServerConfig_async", + "title": "GameServerClustersService createGameServerConfig Sample", + "origin": "API_DEFINITION", + "description": " Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.", + "canonical": true, + "file": "game_server_configs_service.create_game_server_config.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGameServerConfig", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfig", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "config_id", + "type": "TYPE_STRING" + }, + { + "name": "game_server_config", + "type": ".google.cloud.gaming.v1beta.GameServerConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerConfigsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsServiceClient" + }, + "method": { + "shortName": "CreateGameServerConfig", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfig", + "service": { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" + } + } + } }, - "method": { - "shortName": "DeleteGameServerConfig", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfig", - "service": { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_ListGameServerDeployments_async", - "title": "GameServerClustersService listGameServerDeployments Sample", - "origin": "API_DEFINITION", - "description": " Lists game server deployments in a given project and location.", - "canonical": true, - "file": "game_server_deployments_service.list_game_server_deployments.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGameServerDeployments", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.ListGameServerDeployments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerConfigsService_DeleteGameServerConfig_async", + "title": "GameServerClustersService deleteGameServerConfig Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single game server config. The deletion will fail if the game server config is referenced in a game server deployment rollout.", + "canonical": true, + "file": "game_server_configs_service.delete_game_server_config.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGameServerConfig", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerConfigsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsServiceClient" + }, + "method": { + "shortName": "DeleteGameServerConfig", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfig", + "service": { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService" + } + } + } }, - "method": { - "shortName": "ListGameServerDeployments", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.ListGameServerDeployments", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_GetGameServerDeployment_async", - "title": "GameServerClustersService getGameServerDeployment Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single game server deployment.", - "canonical": true, - "file": "game_server_deployments_service.get_game_server_deployment.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeployment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.GameServerDeployment", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_ListGameServerDeployments_async", + "title": "GameServerClustersService listGameServerDeployments Sample", + "origin": "API_DEFINITION", + "description": " Lists game server deployments in a given project and location.", + "canonical": true, + "file": "game_server_deployments_service.list_game_server_deployments.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGameServerDeployments", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.ListGameServerDeployments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "ListGameServerDeployments", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.ListGameServerDeployments", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "GetGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeployment", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_CreateGameServerDeployment_async", - "title": "GameServerClustersService createGameServerDeployment Sample", - "origin": "API_DEFINITION", - "description": " Creates a new game server deployment in a given project and location.", - "canonical": true, - "file": "game_server_deployments_service.create_game_server_deployment.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeployment", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "deployment_id", - "type": "TYPE_STRING" - }, - { - "name": "game_server_deployment", - "type": ".google.cloud.gaming.v1beta.GameServerDeployment" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_GetGameServerDeployment_async", + "title": "GameServerClustersService getGameServerDeployment Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single game server deployment.", + "canonical": true, + "file": "game_server_deployments_service.get_game_server_deployment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeployment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.GameServerDeployment", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "GetGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeployment", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "CreateGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeployment", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_DeleteGameServerDeployment_async", - "title": "GameServerClustersService deleteGameServerDeployment Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single game server deployment.", - "canonical": true, - "file": "game_server_deployments_service.delete_game_server_deployment.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.DeleteGameServerDeployment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_CreateGameServerDeployment_async", + "title": "GameServerClustersService createGameServerDeployment Sample", + "origin": "API_DEFINITION", + "description": " Creates a new game server deployment in a given project and location.", + "canonical": true, + "file": "game_server_deployments_service.create_game_server_deployment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeployment", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "deployment_id", + "type": "TYPE_STRING" + }, + { + "name": "game_server_deployment", + "type": ".google.cloud.gaming.v1beta.GameServerDeployment" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "CreateGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeployment", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "DeleteGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.DeleteGameServerDeployment", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_UpdateGameServerDeployment_async", - "title": "GameServerClustersService updateGameServerDeployment Sample", - "origin": "API_DEFINITION", - "description": " Patches a game server deployment.", - "canonical": true, - "file": "game_server_deployments_service.update_game_server_deployment.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeployment", - "async": true, - "parameters": [ - { - "name": "game_server_deployment", - "type": ".google.cloud.gaming.v1beta.GameServerDeployment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_DeleteGameServerDeployment_async", + "title": "GameServerClustersService deleteGameServerDeployment Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single game server deployment.", + "canonical": true, + "file": "game_server_deployments_service.delete_game_server_deployment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.DeleteGameServerDeployment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "DeleteGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.DeleteGameServerDeployment", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "UpdateGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeployment", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_GetGameServerDeploymentRollout_async", - "title": "GameServerClustersService getGameServerDeploymentRollout Sample", - "origin": "API_DEFINITION", - "description": " Gets details a single game server deployment rollout.", - "canonical": true, - "file": "game_server_deployments_service.get_game_server_deployment_rollout.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentRollout", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.GameServerDeploymentRollout", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_UpdateGameServerDeployment_async", + "title": "GameServerClustersService updateGameServerDeployment Sample", + "origin": "API_DEFINITION", + "description": " Patches a game server deployment.", + "canonical": true, + "file": "game_server_deployments_service.update_game_server_deployment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeployment", + "async": true, + "parameters": [ + { + "name": "game_server_deployment", + "type": ".google.cloud.gaming.v1beta.GameServerDeployment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "UpdateGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeployment", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "GetGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentRollout", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_UpdateGameServerDeploymentRollout_async", - "title": "GameServerClustersService updateGameServerDeploymentRollout Sample", - "origin": "API_DEFINITION", - "description": " Patches a single game server deployment rollout. The method will not return an error if the update does not affect any existing realms. For example - if the default_game_server_config is changed but all existing realms use the override, that is valid. Similarly, if a non existing realm is explicitly called out in game_server_config_overrides field, that will also not result in an error.", - "canonical": true, - "file": "game_server_deployments_service.update_game_server_deployment_rollout.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", - "async": true, - "parameters": [ - { - "name": "rollout", - "type": ".google.cloud.gaming.v1beta.GameServerDeploymentRollout" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_GetGameServerDeploymentRollout_async", + "title": "GameServerClustersService getGameServerDeploymentRollout Sample", + "origin": "API_DEFINITION", + "description": " Gets details a single game server deployment rollout.", + "canonical": true, + "file": "game_server_deployments_service.get_game_server_deployment_rollout.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentRollout", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.GameServerDeploymentRollout", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "GetGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentRollout", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "UpdateGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_PreviewGameServerDeploymentRollout_async", - "title": "GameServerClustersService previewGameServerDeploymentRollout Sample", - "origin": "API_DEFINITION", - "description": " Previews the game server deployment rollout. This API does not mutate the rollout resource.", - "canonical": true, - "file": "game_server_deployments_service.preview_game_server_deployment_rollout.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", - "async": true, - "parameters": [ - { - "name": "rollout", - "type": ".google.cloud.gaming.v1beta.GameServerDeploymentRollout" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - } - ], - "resultType": ".google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_UpdateGameServerDeploymentRollout_async", + "title": "GameServerClustersService updateGameServerDeploymentRollout Sample", + "origin": "API_DEFINITION", + "description": " Patches a single game server deployment rollout. The method will not return an error if the update does not affect any existing realms. For example - if the default_game_server_config is changed but all existing realms use the override, that is valid. Similarly, if a non existing realm is explicitly called out in game_server_config_overrides field, that will also not result in an error.", + "canonical": true, + "file": "game_server_deployments_service.update_game_server_deployment_rollout.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", + "async": true, + "parameters": [ + { + "name": "rollout", + "type": ".google.cloud.gaming.v1beta.GameServerDeploymentRollout" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "UpdateGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "PreviewGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_FetchDeploymentState_async", - "title": "GameServerClustersService fetchDeploymentState Sample", - "origin": "API_DEFINITION", - "description": " Retrieves information about the current state of the game server deployment. Gathers all the Agones fleets and Agones autoscalers, including fleets running an older version of the game server deployment.", - "canonical": true, - "file": "game_server_deployments_service.fetch_deployment_state.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchDeploymentState", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.FetchDeploymentState", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.FetchDeploymentStateResponse", - "client": { - "shortName": "GameServerDeploymentsServiceClient", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_PreviewGameServerDeploymentRollout_async", + "title": "GameServerClustersService previewGameServerDeploymentRollout Sample", + "origin": "API_DEFINITION", + "description": " Previews the game server deployment rollout. This API does not mutate the rollout resource.", + "canonical": true, + "file": "game_server_deployments_service.preview_game_server_deployment_rollout.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", + "async": true, + "parameters": [ + { + "name": "rollout", + "type": ".google.cloud.gaming.v1beta.GameServerDeploymentRollout" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + } + ], + "resultType": ".google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "PreviewGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "FetchDeploymentState", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.FetchDeploymentState", - "service": { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_RealmsService_ListRealms_async", - "title": "GameServerClustersService listRealms Sample", - "origin": "API_DEFINITION", - "description": " Lists realms in a given project and location.", - "canonical": true, - "file": "realms_service.list_realms.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListRealms", - "fullName": "google.cloud.gaming.v1beta.RealmsService.ListRealms", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.ListRealmsResponse", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + "regionTag": "gameservices_v1beta_generated_GameServerDeploymentsService_FetchDeploymentState_async", + "title": "GameServerClustersService fetchDeploymentState Sample", + "origin": "API_DEFINITION", + "description": " Retrieves information about the current state of the game server deployment. Gathers all the Agones fleets and Agones autoscalers, including fleets running an older version of the game server deployment.", + "canonical": true, + "file": "game_server_deployments_service.fetch_deployment_state.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchDeploymentState", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.FetchDeploymentState", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.FetchDeploymentStateResponse", + "client": { + "shortName": "GameServerDeploymentsServiceClient", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsServiceClient" + }, + "method": { + "shortName": "FetchDeploymentState", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.FetchDeploymentState", + "service": { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService" + } + } + } }, - "method": { - "shortName": "ListRealms", - "fullName": "google.cloud.gaming.v1beta.RealmsService.ListRealms", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1beta.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_RealmsService_GetRealm_async", - "title": "GameServerClustersService getRealm Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single realm.", - "canonical": true, - "file": "realms_service.get_realm.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.GetRealm", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.gaming.v1beta.Realm", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + "regionTag": "gameservices_v1beta_generated_RealmsService_ListRealms_async", + "title": "GameServerClustersService listRealms Sample", + "origin": "API_DEFINITION", + "description": " Lists realms in a given project and location.", + "canonical": true, + "file": "realms_service.list_realms.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListRealms", + "fullName": "google.cloud.gaming.v1beta.RealmsService.ListRealms", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.ListRealmsResponse", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + }, + "method": { + "shortName": "ListRealms", + "fullName": "google.cloud.gaming.v1beta.RealmsService.ListRealms", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1beta.RealmsService" + } + } + } }, - "method": { - "shortName": "GetRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.GetRealm", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1beta.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_RealmsService_CreateRealm_async", - "title": "GameServerClustersService createRealm Sample", - "origin": "API_DEFINITION", - "description": " Creates a new realm in a given project and location.", - "canonical": true, - "file": "realms_service.create_realm.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.CreateRealm", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "realm_id", - "type": "TYPE_STRING" - }, - { - "name": "realm", - "type": ".google.cloud.gaming.v1beta.Realm" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + "regionTag": "gameservices_v1beta_generated_RealmsService_GetRealm_async", + "title": "GameServerClustersService getRealm Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single realm.", + "canonical": true, + "file": "realms_service.get_realm.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.GetRealm", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.gaming.v1beta.Realm", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + }, + "method": { + "shortName": "GetRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.GetRealm", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1beta.RealmsService" + } + } + } }, - "method": { - "shortName": "CreateRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.CreateRealm", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1beta.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_RealmsService_DeleteRealm_async", - "title": "GameServerClustersService deleteRealm Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single realm.", - "canonical": true, - "file": "realms_service.delete_realm.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.DeleteRealm", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + "regionTag": "gameservices_v1beta_generated_RealmsService_CreateRealm_async", + "title": "GameServerClustersService createRealm Sample", + "origin": "API_DEFINITION", + "description": " Creates a new realm in a given project and location.", + "canonical": true, + "file": "realms_service.create_realm.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.CreateRealm", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "realm_id", + "type": "TYPE_STRING" + }, + { + "name": "realm", + "type": ".google.cloud.gaming.v1beta.Realm" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + }, + "method": { + "shortName": "CreateRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.CreateRealm", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1beta.RealmsService" + } + } + } }, - "method": { - "shortName": "DeleteRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.DeleteRealm", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1beta.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_RealmsService_UpdateRealm_async", - "title": "GameServerClustersService updateRealm Sample", - "origin": "API_DEFINITION", - "description": " Patches a single realm.", - "canonical": true, - "file": "realms_service.update_realm.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.UpdateRealm", - "async": true, - "parameters": [ - { - "name": "realm", - "type": ".google.cloud.gaming.v1beta.Realm" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + "regionTag": "gameservices_v1beta_generated_RealmsService_DeleteRealm_async", + "title": "GameServerClustersService deleteRealm Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single realm.", + "canonical": true, + "file": "realms_service.delete_realm.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.DeleteRealm", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + }, + "method": { + "shortName": "DeleteRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.DeleteRealm", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1beta.RealmsService" + } + } + } }, - "method": { - "shortName": "UpdateRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.UpdateRealm", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1beta.RealmsService" - } - } - } - }, - { - "regionTag": "gameservices_v1beta_generated_RealmsService_PreviewRealmUpdate_async", - "title": "GameServerClustersService previewRealmUpdate Sample", - "origin": "API_DEFINITION", - "description": " Previews patches to a single realm.", - "canonical": true, - "file": "realms_service.preview_realm_update.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PreviewRealmUpdate", - "fullName": "google.cloud.gaming.v1beta.RealmsService.PreviewRealmUpdate", - "async": true, - "parameters": [ - { - "name": "realm", - "type": ".google.cloud.gaming.v1beta.Realm" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "preview_time", - "type": ".google.protobuf.Timestamp" - } - ], - "resultType": ".google.cloud.gaming.v1beta.PreviewRealmUpdateResponse", - "client": { - "shortName": "RealmsServiceClient", - "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + "regionTag": "gameservices_v1beta_generated_RealmsService_UpdateRealm_async", + "title": "GameServerClustersService updateRealm Sample", + "origin": "API_DEFINITION", + "description": " Patches a single realm.", + "canonical": true, + "file": "realms_service.update_realm.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.UpdateRealm", + "async": true, + "parameters": [ + { + "name": "realm", + "type": ".google.cloud.gaming.v1beta.Realm" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + }, + "method": { + "shortName": "UpdateRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.UpdateRealm", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1beta.RealmsService" + } + } + } }, - "method": { - "shortName": "PreviewRealmUpdate", - "fullName": "google.cloud.gaming.v1beta.RealmsService.PreviewRealmUpdate", - "service": { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1beta.RealmsService" - } + { + "regionTag": "gameservices_v1beta_generated_RealmsService_PreviewRealmUpdate_async", + "title": "GameServerClustersService previewRealmUpdate Sample", + "origin": "API_DEFINITION", + "description": " Previews patches to a single realm.", + "canonical": true, + "file": "realms_service.preview_realm_update.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PreviewRealmUpdate", + "fullName": "google.cloud.gaming.v1beta.RealmsService.PreviewRealmUpdate", + "async": true, + "parameters": [ + { + "name": "realm", + "type": ".google.cloud.gaming.v1beta.Realm" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "preview_time", + "type": ".google.protobuf.Timestamp" + } + ], + "resultType": ".google.cloud.gaming.v1beta.PreviewRealmUpdateResponse", + "client": { + "shortName": "RealmsServiceClient", + "fullName": "google.cloud.gaming.v1beta.RealmsServiceClient" + }, + "method": { + "shortName": "PreviewRealmUpdate", + "fullName": "google.cloud.gaming.v1beta.RealmsService.PreviewRealmUpdate", + "service": { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1beta.RealmsService" + } + } + } } - } - } - ] -} + ] +} \ No newline at end of file