{"action":"opened","number":332,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/pulls/332","id":69209557,"html_url":"https://github.com/GoogleCloudPlatform/python-docs-samples/pull/332","diff_url":"https://github.com/GoogleCloudPlatform/python-docs-samples/pull/332.diff","patch_url":"https://github.com/GoogleCloudPlatform/python-docs-samples/pull/332.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/332","number":332,"state":"open","locked":false,"title":"Update compute metadata hanging get example to use \"wait_for_change\".","user":{"login":"Galabar001","id":11302687,"avatar_url":"https://avatars.githubusercontent.com/u/11302687?v=3","gravatar_id":"","url":"https://api.github.com/users/Galabar001","html_url":"https://github.com/Galabar001","followers_url":"https://api.github.com/users/Galabar001/followers","following_url":"https://api.github.com/users/Galabar001/following{/other_user}","gists_url":"https://api.github.com/users/Galabar001/gists{/gist_id}","starred_url":"https://api.github.com/users/Galabar001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galabar001/subscriptions","organizations_url":"https://api.github.com/users/Galabar001/orgs","repos_url":"https://api.github.com/users/Galabar001/repos","events_url":"https://api.github.com/users/Galabar001/events{/privacy}","received_events_url":"https://api.github.com/users/Galabar001/received_events","type":"User","site_admin":false},"body":"We need to include \"wait_for_change\" in order to perform a hanging get.  In\r\naddition, we should deal with possible errors (like too many hanging gets).\r\nFinally, this change allows for any of the maintenance event supported by\r\nthe metadata server.","created_at":"2016-05-06T20:59:42Z","updated_at":"2016-05-06T20:59:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/pulls/332/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/pulls/332/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/332/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/statuses/8f2b9a0849ecc6e1ca591e3af4c25fe67fc6262d","head":{"label":"Galabar001:master","ref":"master","sha":"8f2b9a0849ecc6e1ca591e3af4c25fe67fc6262d","user":{"login":"Galabar001","id":11302687,"avatar_url":"https://avatars.githubusercontent.com/u/11302687?v=3","gravatar_id":"","url":"https://api.github.com/users/Galabar001","html_url":"https://github.com/Galabar001","followers_url":"https://api.github.com/users/Galabar001/followers","following_url":"https://api.github.com/users/Galabar001/following{/other_user}","gists_url":"https://api.github.com/users/Galabar001/gists{/gist_id}","starred_url":"https://api.github.com/users/Galabar001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galabar001/subscriptions","organizations_url":"https://api.github.com/users/Galabar001/orgs","repos_url":"https://api.github.com/users/Galabar001/repos","events_url":"https://api.github.com/users/Galabar001/events{/privacy}","received_events_url":"https://api.github.com/users/Galabar001/received_events","type":"User","site_admin":false},"repo":{"id":58233455,"name":"python-docs-samples","full_name":"Galabar001/python-docs-samples","owner":{"login":"Galabar001","id":11302687,"avatar_url":"https://avatars.githubusercontent.com/u/11302687?v=3","gravatar_id":"","url":"https://api.github.com/users/Galabar001","html_url":"https://github.com/Galabar001","followers_url":"https://api.github.com/users/Galabar001/followers","following_url":"https://api.github.com/users/Galabar001/following{/other_user}","gists_url":"https://api.github.com/users/Galabar001/gists{/gist_id}","starred_url":"https://api.github.com/users/Galabar001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galabar001/subscriptions","organizations_url":"https://api.github.com/users/Galabar001/orgs","repos_url":"https://api.github.com/users/Galabar001/repos","events_url":"https://api.github.com/users/Galabar001/events{/privacy}","received_events_url":"https://api.github.com/users/Galabar001/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Galabar001/python-docs-samples","description":"Code samples used on cloud.google.com","fork":true,"url":"https://api.github.com/repos/Galabar001/python-docs-samples","forks_url":"https://api.github.com/repos/Galabar001/python-docs-samples/forks","keys_url":"https://api.github.com/repos/Galabar001/python-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Galabar001/python-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Galabar001/python-docs-samples/teams","hooks_url":"https://api.github.com/repos/Galabar001/python-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/Galabar001/python-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/Galabar001/python-docs-samples/events","assignees_url":"https://api.github.com/repos/Galabar001/python-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/Galabar001/python-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/Galabar001/python-docs-samples/tags","blobs_url":"https://api.github.com/repos/Galabar001/python-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Galabar001/python-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Galabar001/python-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/Galabar001/python-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Galabar001/python-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/Galabar001/python-docs-samples/languages","stargazers_url":"https://api.github.com/repos/Galabar001/python-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/Galabar001/python-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/Galabar001/python-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/Galabar001/python-docs-samples/subscription","commits_url":"https://api.github.com/repos/Galabar001/python-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/Galabar001/python-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/Galabar001/python-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/Galabar001/python-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/Galabar001/python-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/Galabar001/python-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Galabar001/python-docs-samples/merges","archive_url":"https://api.github.com/repos/Galabar001/python-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Galabar001/python-docs-samples/downloads","issues_url":"https://api.github.com/repos/Galabar001/python-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/Galabar001/python-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/Galabar001/python-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/Galabar001/python-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Galabar001/python-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/Galabar001/python-docs-samples/releases{/id}","deployments_url":"https://api.github.com/repos/Galabar001/python-docs-samples/deployments","created_at":"2016-05-06T20:35:18Z","updated_at":"2016-05-06T20:35:19Z","pushed_at":"2016-05-06T20:58:35Z","git_url":"git://github.com/Galabar001/python-docs-samples.git","ssh_url":"git@github.com:Galabar001/python-docs-samples.git","clone_url":"https://github.com/Galabar001/python-docs-samples.git","svn_url":"https://github.com/Galabar001/python-docs-samples","homepage":"","size":1183,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"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":"b449a554c692f86d4e9b63d17b718101f36d5b8c","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":35065876,"name":"python-docs-samples","full_name":"GoogleCloudPlatform/python-docs-samples","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/python-docs-samples","description":"Code samples used on cloud.google.com","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/deployments","created_at":"2015-05-04T23:26:13Z","updated_at":"2016-05-05T00:35:50Z","pushed_at":"2016-05-06T19:24:02Z","git_url":"git://github.com/GoogleCloudPlatform/python-docs-samples.git","ssh_url":"git@github.com:GoogleCloudPlatform/python-docs-samples.git","clone_url":"https://github.com/GoogleCloudPlatform/python-docs-samples.git","svn_url":"https://github.com/GoogleCloudPlatform/python-docs-samples","homepage":"","size":1467,"stargazers_count":98,"watchers_count":98,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":131,"mirror_url":null,"open_issues_count":23,"forks":131,"open_issues":23,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/pulls/332"},"html":{"href":"https://github.com/GoogleCloudPlatform/python-docs-samples/pull/332"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/332"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/332/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/pulls/332/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/pulls/332/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/statuses/8f2b9a0849ecc6e1ca591e3af4c25fe67fc6262d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":12,"changed_files":1}}