Skip to content

Commit

Permalink
docs: add update samples (#230)
Browse files Browse the repository at this point in the history
* feat: Add update samples

* Address feedback

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
irataxy and gcf-owl-bot[bot] authored Nov 18, 2021
1 parent 5fdd967 commit ee8bac4
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/google-cloud-gaming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-game-server
| List_deployments | [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/list_deployments.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_deployments.js,samples/README.md) |
| List_realms | [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/list_realms.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_realms.js,samples/README.md) |
| Create Game Server Realm | [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/quickstart.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/quickstart.js,samples/README.md) |
| Update_cluster | [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_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/update_cluster.js,samples/README.md) |
| Update_deployment | [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_deployment.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/update_deployment.js,samples/README.md) |
| Update_realm | [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_realm.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/update_realm.js,samples/README.md) |
| Update_rollout_default | [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_rollout_default.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/update_rollout_default.js,samples/README.md) |
| Update_rollout_override | [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_rollout_override.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/update_rollout_override.js,samples/README.md) |
| Update_rollout_remove_default | [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_rollout_remove_default.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/update_rollout_remove_default.js,samples/README.md) |
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-gaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/node": "^16.0.0",
"@types/sinon": "^10.0.0",
"c8": "^7.0.0",
"gts": "^2.0.0",
"gts": "^2.0.2",
"jsdoc": "^3.5.5",
"jsdoc-fresh": "^1.0.1",
"jsdoc-region-tag": "^1.0.2",
Expand Down
54 changes: 54 additions & 0 deletions packages/google-cloud-gaming/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
* [List_deployments](#list_deployments)
* [List_realms](#list_realms)
* [Create Game Server Realm](#create-game-server-realm)
* [Update_cluster](#update_cluster)
* [Update_deployment](#update_deployment)
* [Update_realm](#update_realm)
* [Update_rollout_default](#update_rollout_default)
* [Update_rollout_override](#update_rollout_override)
* [Update_rollout_remove_default](#update_rollout_remove_default)
Expand Down Expand Up @@ -358,6 +361,57 @@ __Usage:__



### Update_cluster

View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_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/update_cluster.js,samples/README.md)

__Usage:__


`node samples/update_cluster.js`


-----




### Update_deployment

View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_deployment.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/update_deployment.js,samples/README.md)

__Usage:__


`node samples/update_deployment.js`


-----




### Update_realm

View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_realm.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/update_realm.js,samples/README.md)

__Usage:__


`node samples/update_realm.js`


-----




### Update_rollout_default

View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/main/samples/update_rollout_default.js).
Expand Down

0 comments on commit ee8bac4

Please sign in to comment.