{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/comments/76128736","id":76128736,"diff_hunk":"@@ -0,0 +1,212 @@\n+/*!\n+ * Copyright 2016 Google Inc. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+/*!\n+ * @module common/grpcOperation\n+ */\n+\n+'use strict';\n+\n+var events = require('events');\n+var modelo = require('modelo');\n+\n+/**\n+ * @type {module:common/grpcService}\n+ * @private\n+ */\n+var GrpcService = require('./grpc-service.js');\n+\n+/**\n+ * @type {module:common/grpcServiceObject}\n+ * @private\n+ */\n+var GrpcServiceObject = require('./grpc-service-object.js');\n+\n+/**\n+ * @type {module:common/util}\n+ * @private\n+ */\n+var util = require('./util.js');\n+\n+/**\n+ * An Operation object allows you to interact with APIs that take longer to\n+ * process things.\n+ *\n+ * @constructor\n+ * @alias module:common/grpcOperation\n+ *\n+ * @param {module:common/grpcService|module:common/grpcServiceObject} parent - The\n+ *     parent object. This should be configured to use the longrunning.operation\n+ *     service.\n+ * @param {string} name - The operation name.\n+ */\n+function GrpcOperation(parent, name) {\n+  var methods = {\n+\n+    /**\n+     * Deletes an operation.\n+     */\n+    delete: {\n+      protoOpts: {\n+        service: 'Operations',\n+        method: 'deleteOperation'\n+      },\n+      reqOpts: {\n+        name: name\n+      }\n+    },\n+\n+    /**\n+     * Checks to see if an operation exists.\n+     */\n+    exists: true,\n+\n+    /**\n+     * Retrieves the operation.\n+     */\n+    get: true,\n+\n+    /**\n+     * Retrieves metadata for the operation.\n+     */\n+    getMetadata: {\n+      protoOpts: {\n+        service: 'Operations',\n+        method: 'getOperation'\n+      },\n+      reqOpts: {\n+        name: name\n+      }\n+    }\n+  };\n+\n+  var config = {\n+    parent: parent,\n+    id: name,\n+    methods: methods\n+  };\n+\n+  GrpcServiceObject.call(this, config);\n+  events.EventEmitter.call(this);\n+\n+  this.completeListeners = 0;\n+  this.hasActiveListeners = false;\n+\n+  this.listenForEvents_();\n+}\n+\n+modelo.inherits(GrpcOperation, GrpcServiceObject, events.EventEmitter);\n+\n+/**\n+ * Status text used to describe the current state of the operation.\n+ *\n+ * @private\n+ */\n+GrpcOperation.STATUS = {\n+  running: 'RUNNING',\n+  done: 'DONE'\n+};\n+\n+/**\n+ * Cancel the operation.\n+ *\n+ * @param {function=} callback - The callback function.\n+ * @param {?error} callback.err - An error returned while making this\n+ *     request.\n+ * @param {object} callback.apiResponse - The full API response.\n+ */\n+GrpcOperation.prototype.cancel = function(callback) {\n+  var protoOpts = {\n+    service: 'Operations',\n+    method: 'cancelOperation'\n+  };\n+\n+  var reqOpts = {\n+    name: this.id\n+  };\n+\n+  this.request(protoOpts, reqOpts, callback || util.noop);\n+};\n+\n+/**\n+ * Begin listening for events on the operation. This method keeps track of how\n+ * many \"complete\" listeners are registered and removed, making sure polling is\n+ * handled automatically.\n+ *\n+ * As long as there is one active \"complete\" listener, the connection is open.\n+ * When there are no more listeners, the polling stops.\n+ *\n+ * @private\n+ */\n+GrpcOperation.prototype.listenForEvents_ = function() {\n+  var self = this;\n+\n+  this.on('newListener', function(event) {\n+    if (event === 'complete') {\n+      self.completeListeners++;\n+\n+      if (!self.hasActiveListeners) {\n+        self.hasActiveListeners = true;\n+        self.startPolling_();\n+      }\n+    }\n+  });\n+\n+  this.on('removeListener', function(event) {\n+    if (event === 'complete' && --self.completeListeners === 0) {\n+      self.hasActiveListeners = false;\n+    }\n+  });\n+};\n+\n+/**\n+ * Poll `getMetadata` to check the operation's status. This runs a loop to ping\n+ * the API on an interval.\n+ *\n+ * Note: This method is automatically called once a \"complete\" event handler is\n+ * registered on the operation.\n+ *\n+ * @private\n+ */\n+GrpcOperation.prototype.startPolling_ = function() {\n+  var self = this;\n+\n+  if (!this.hasActiveListeners) {\n+    return;\n+  }\n+\n+  this.getMetadata(function(err, resp) {\n+    if (err || resp.error) {\n+      self.emit('error', err || GrpcService.decorateStatus_(resp.result));\n+      return;\n+    }\n+\n+    if (!resp.done && self.status !== GrpcOperation.STATUS.running) {","path":"packages/common/src/grpc-operation.js","position":null,"original_position":197,"commit_id":"8c38734735e5d5d7e92a788a331f25ecf8c644e7","original_commit_id":"d137c82ac141005e0a45ec57caa693b41ffbebb1","user":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"body":"I just stole your refactor and removed some dead tests, PTAL","created_at":"2016-08-24T20:05:44Z","updated_at":"2016-08-24T20:05:44Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1525#discussion_r76128736","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/1525","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/comments/76128736"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1525#discussion_r76128736"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/1525"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/1525","id":82592283,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1525","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1525.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1525.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/1525","number":1525,"state":"open","locked":false,"title":"common: create grpc operation object","user":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"body":"Moving the `GrpcOperation` section of the [Bigtable PR](https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1439) to it's own PR.","created_at":"2016-08-24T18:21:51Z","updated_at":"2016-08-24T20:05:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db1c9d4a8dba8ad536151425de9b7f031f331ea4","assignee":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"assignees":[{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/1525/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/1525/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/1525/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/statuses/8c38734735e5d5d7e92a788a331f25ecf8c644e7","head":{"label":"callmehiphop:grpc-operation","ref":"grpc-operation","sha":"8c38734735e5d5d7e92a788a331f25ecf8c644e7","user":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"repo":{"id":39030018,"name":"gcloud-node","full_name":"callmehiphop/gcloud-node","owner":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/callmehiphop/gcloud-node","description":"Google Cloud Client Library for Node.js","fork":true,"url":"https://api.github.com/repos/callmehiphop/gcloud-node","forks_url":"https://api.github.com/repos/callmehiphop/gcloud-node/forks","keys_url":"https://api.github.com/repos/callmehiphop/gcloud-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/callmehiphop/gcloud-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/callmehiphop/gcloud-node/teams","hooks_url":"https://api.github.com/repos/callmehiphop/gcloud-node/hooks","issue_events_url":"https://api.github.com/repos/callmehiphop/gcloud-node/issues/events{/number}","events_url":"https://api.github.com/repos/callmehiphop/gcloud-node/events","assignees_url":"https://api.github.com/repos/callmehiphop/gcloud-node/assignees{/user}","branches_url":"https://api.github.com/repos/callmehiphop/gcloud-node/branches{/branch}","tags_url":"https://api.github.com/repos/callmehiphop/gcloud-node/tags","blobs_url":"https://api.github.com/repos/callmehiphop/gcloud-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/callmehiphop/gcloud-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/callmehiphop/gcloud-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/callmehiphop/gcloud-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/callmehiphop/gcloud-node/statuses/{sha}","languages_url":"https://api.github.com/repos/callmehiphop/gcloud-node/languages","stargazers_url":"https://api.github.com/repos/callmehiphop/gcloud-node/stargazers","contributors_url":"https://api.github.com/repos/callmehiphop/gcloud-node/contributors","subscribers_url":"https://api.github.com/repos/callmehiphop/gcloud-node/subscribers","subscription_url":"https://api.github.com/repos/callmehiphop/gcloud-node/subscription","commits_url":"https://api.github.com/repos/callmehiphop/gcloud-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/callmehiphop/gcloud-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/callmehiphop/gcloud-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/callmehiphop/gcloud-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/callmehiphop/gcloud-node/contents/{+path}","compare_url":"https://api.github.com/repos/callmehiphop/gcloud-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/callmehiphop/gcloud-node/merges","archive_url":"https://api.github.com/repos/callmehiphop/gcloud-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/callmehiphop/gcloud-node/downloads","issues_url":"https://api.github.com/repos/callmehiphop/gcloud-node/issues{/number}","pulls_url":"https://api.github.com/repos/callmehiphop/gcloud-node/pulls{/number}","milestones_url":"https://api.github.com/repos/callmehiphop/gcloud-node/milestones{/number}","notifications_url":"https://api.github.com/repos/callmehiphop/gcloud-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/callmehiphop/gcloud-node/labels{/name}","releases_url":"https://api.github.com/repos/callmehiphop/gcloud-node/releases{/id}","deployments_url":"https://api.github.com/repos/callmehiphop/gcloud-node/deployments","created_at":"2015-07-13T18:32:45Z","updated_at":"2016-06-24T15:31:14Z","pushed_at":"2016-08-24T20:05:05Z","git_url":"git://github.com/callmehiphop/gcloud-node.git","ssh_url":"git@github.com:callmehiphop/gcloud-node.git","clone_url":"https://github.com/callmehiphop/gcloud-node.git","svn_url":"https://github.com/callmehiphop/gcloud-node","homepage":"https://googlecloudplatform.github.io/gcloud-node/","size":16237,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"2b5795da391f54537e9f0d7494656dd27255fa7e","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":19483273,"name":"google-cloud-node","full_name":"GoogleCloudPlatform/google-cloud-node","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-node","description":"Google Cloud Client Library for Node.js","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/deployments","created_at":"2014-05-06T06:18:00Z","updated_at":"2016-08-24T03:23:48Z","pushed_at":"2016-08-24T20:05:06Z","git_url":"git://github.com/GoogleCloudPlatform/google-cloud-node.git","ssh_url":"git@github.com:GoogleCloudPlatform/google-cloud-node.git","clone_url":"https://github.com/GoogleCloudPlatform/google-cloud-node.git","svn_url":"https://github.com/GoogleCloudPlatform/google-cloud-node","homepage":"https://googlecloudplatform.github.io/google-cloud-node/","size":18013,"stargazers_count":871,"watchers_count":871,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":198,"mirror_url":null,"open_issues_count":64,"forks":198,"open_issues":64,"watchers":871,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/1525"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1525"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/1525"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/issues/1525/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/1525/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/pulls/1525/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-node/statuses/8c38734735e5d5d7e92a788a331f25ecf8c644e7"}}}}
{"actor":{"display_login":"callmehiphop"}}