Skip to content

Commit

Permalink
Do not show sample for Google API Client library (#76)
Browse files Browse the repository at this point in the history
Keep the example source code because it is
referenced [here](https://cloud.google.com/compute/docs/tutorials/nodejs-guide).
Do not list this sample in the README as it is for googleapi, not
@Google-Cloud.
  • Loading branch information
fhinkel authored May 3, 2018
1 parent f0b08ff commit e52cc77
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 22 deletions.
7 changes: 0 additions & 7 deletions packages/google-cloud-compute/.cloud-repo-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
"file": "vms.js",
"docs_link": "https://cloud.google.com/compute/docs",
"description": "Get a list of virtual machine instances and log the first result.\n\n"
},
{
"id": "vms_api",
"name": "Use Google Auth and list Virtual Machines",
"file": "vms_api.js",
"docs_link": "https://cloud.google.com/compute/docs",
"description": "After explicit authentication, get a list of virtual machine instances and log the first result.\n\n"
}
]
}
1 change: 0 additions & 1 deletion packages/google-cloud-compute/CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ CRoed <chris.roed@anserinnovation.com>
Dave Gramlich <callmehiphop@gmail.com>
Eric Uldall <ericuldall@gmail.com>
F. Hinkelmann <fhinkel@vt.edu>
Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Jason Dobry <jason.dobry@gmail.com>
Jason Dobry <jmdobry@users.noreply.github.com>
Kevin Leung <kevinresol@users.noreply.github.com>
Expand Down
1 change: 0 additions & 1 deletion packages/google-cloud-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ has instructions for running the samples.
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| List Virtual Machines | [source code](https://github.com/googleapis/nodejs-compute/blob/master/samples/vms.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/vms.js,samples/README.md) |
| Use Google Auth and list Virtual Machines | [source code](https://github.com/googleapis/nodejs-compute/blob/master/samples/vms_api.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/vms_api.js,samples/README.md) |

The [Compute Engine Node.js Client API Reference][client-docs] documentation
also contains samples.
Expand Down
1 change: 0 additions & 1 deletion packages/google-cloud-compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"Dave Gramlich <callmehiphop@gmail.com>",
"Eric Uldall <ericuldall@gmail.com>",
"F. Hinkelmann <fhinkel@vt.edu>",
"Franziska Hinkelmann <franziska.hinkelmann@gmail.com>",
"Jason Dobry <jason.dobry@gmail.com>",
"Jason Dobry <jmdobry@users.noreply.github.com>",
"Kevin Leung <kevinresol@users.noreply.github.com>",
Expand Down
12 changes: 0 additions & 12 deletions packages/google-cloud-compute/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* [Before you begin](#before-you-begin)
* [Samples](#samples)
* [List Virtual Machines](#list-virtual-machines)
* [Use Google Auth and list Virtual Machines](#use-google-auth-and-list-virtual-machines)

## Before you begin

Expand All @@ -34,16 +33,5 @@ Get a list of virtual machine instances and log the first result.
[vms_0_docs]: https://cloud.google.com/compute/docs
[vms_0_code]: vms.js

### Use Google Auth and list Virtual Machines

View the [source code][vms_api_1_code].

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/vms_api.js,samples/README.md)

After explicit authentication, get a list of virtual machine instances and log the first result.

[vms_api_1_docs]: https://cloud.google.com/compute/docs
[vms_api_1_code]: vms_api.js

[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/README.md

0 comments on commit e52cc77

Please sign in to comment.