Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into renovate/google-cloud-common-0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Oct 3, 2018
2 parents 9621aec + 9a67aa3 commit 4c7cdee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,12 @@ function VM(zone, name) {
* // If the callback is omitted, we'll return a Promise.
* //-
* vm.getMetadata().then(function(data) {
* // Representation of this VM as the API sees it.
* const metadata = data[0];
* const apiResponse = data[1];
*
* // Custom metadata and predefined keys.
* const customMetadata = metadata.metadata;
* });
*/
getMetadata: true,
Expand Down

0 comments on commit 4c7cdee

Please sign in to comment.