{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1320","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1320/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1320/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1320/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/pull/1320","id":155080622,"number":1320,"title":"compute: implement InstanceGroups","user":{"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},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/labels/cla:%20yes","name":"cla: yes","color":"009800"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/labels/compute","name":"compute","color":"4386FA"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/labels/don't%20merge","name":"don't merge","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-16T17:40:37Z","updated_at":"2016-05-17T16:01:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/pulls/1320","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/pull/1320","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-node/pull/1320.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-node/pull/1320.patch"},"body":"RE: #1073 \r\n\r\n#### To Dos\r\n\r\n- [x] Docs\r\n- [ ] Tests\r\n  - [x] System\r\n  - [ ] Unit\r\n\r\nThis adds support for instance groups:\r\n\r\n```js\r\nvar gce = gcloud.compute();\r\nvar zone = gce.zone('us-central1-a');\r\n\r\n// Get all of the instance groups in the project (also available in stream mode)\r\ngce.getInstanceGroups(function(err, instanceGroups) {});\r\n\r\n// Get all of the instance groups in a zone (also available in stream mode)\r\nzone.getInstanceGroups(function(err, instanceGroups) {});\r\n\r\n// Reference an existing instance group\r\nvar instanceGroup = zone.instanceGroup('instance-group-name');\r\n\r\n// Add VMs to an instance group (1 or more)\r\ninstanceGroup.add([\r\n  zone.vm('my-vm'),\r\n  zone.vm('my-other-vm')\r\n], function(err, operation, apiResponse) {});\r\n\r\n// Remove them (1 or more)\r\ninstanceGroup.remove(zone.vm('my-vm'), function(err, operation, apiResponse) {});\r\n\r\n// Get the VMs from the group (also available in stream mode)\r\ninstanceGroup.getVms(function(err, vms) {});\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/comments/219765785","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/pull/1320#issuecomment-219765785","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1320","id":219765785,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T16:01:05Z","updated_at":"2016-05-17T16:01:05Z","body":"\n[![Coverage Status](https://coveralls.io/builds/6214408/badge)](https://coveralls.io/builds/6214408)\n\nCoverage decreased (-2.4%) to 97.634% when pulling **51d24b9c865a1cb1d9b2e3e65a3c80aa20450c79 on stephenplusplus:spp--1073-instance-groups** into **17e510b32b0b2dfb1901c5d4b918df10daf36cc9 on GoogleCloudPlatform:master**.\n"}}