From a642f6502c58be1176aef092c4028134bc413ba0 Mon Sep 17 00:00:00 2001 From: Alexander Fenster Date: Tue, 5 May 2020 18:35:09 -0700 Subject: [PATCH] feat: check status of long running operation by its name (#65) For each client method returning a long running operation, a separate method to check its status is added. Added methods: `checkCreateGameServerClusterProgress`, `checkCreateGameServerConfigProgress`, `checkCreateGameServerDeploymentProgress`, `checkCreateRealmProgress`, `checkDeleteGameServerClusterProgress`, `checkDeleteGameServerConfigProgress`, `checkDeleteGameServerDeploymentProgress`, `checkDeleteRealmProgress`, `checkUpdateGameServerClusterProgress`, `checkUpdateGameServerDeploymentProgress`, `checkUpdateGameServerDeploymentRolloutProgress`, `checkUpdateRealmProgress`. --- generated,README.md/README.md | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/generated,README.md/README.md b/generated,README.md/README.md index ea7144fb66..f6806b8e41 100644 --- a/generated,README.md/README.md +++ b/generated,README.md/README.md @@ -12,9 +12,13 @@ * [Before you begin](#before-you-begin) * [Samples](#samples) + * [Create_cluster](#create_cluster) * [Create_realm](#create_realm) + * [Delete_cluster](#delete_cluster) * [Delete_realm](#delete_realm) + * [Get_cluster](#get_cluster) * [Get_realm](#get_realm) + * [List_clusters](#list_clusters) * [List_realms](#list_realms) * [Create Game Server Realm](#create-game-server-realm) @@ -33,6 +37,23 @@ Before running the samples, make sure you've followed the steps outlined in +### Create_cluster + +View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/master/samples/create_cluster.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-game-servers&page=editor&open_in_editor=samples/create_cluster.js,samples/README.md) + +__Usage:__ + + +`node samples/create_cluster.js` + + +----- + + + + ### Create_realm View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/master/samples/create_realm.js). @@ -50,6 +71,23 @@ __Usage:__ +### Delete_cluster + +View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/master/samples/delete_cluster.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-game-servers&page=editor&open_in_editor=samples/delete_cluster.js,samples/README.md) + +__Usage:__ + + +`node samples/delete_cluster.js` + + +----- + + + + ### Delete_realm View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/master/samples/delete_realm.js). @@ -67,6 +105,23 @@ __Usage:__ +### Get_cluster + +View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/master/samples/get_cluster.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-game-servers&page=editor&open_in_editor=samples/get_cluster.js,samples/README.md) + +__Usage:__ + + +`node samples/get_cluster.js` + + +----- + + + + ### Get_realm View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/master/samples/get_realm.js). @@ -84,6 +139,23 @@ __Usage:__ +### List_clusters + +View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/master/samples/list_clusters.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-game-servers&page=editor&open_in_editor=samples/list_clusters.js,samples/README.md) + +__Usage:__ + + +`node samples/list_clusters.js` + + +----- + + + + ### List_realms View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/master/samples/list_realms.js).