{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/hakobera/embulk-output-gcs/pulls/4","id":43369449,"html_url":"https://github.com/hakobera/embulk-output-gcs/pull/4","diff_url":"https://github.com/hakobera/embulk-output-gcs/pull/4.diff","patch_url":"https://github.com/hakobera/embulk-output-gcs/pull/4.patch","issue_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/issues/4","number":4,"state":"closed","locked":false,"title":"Implemented new auth method `access token of GCE(Google Compute Engine)`","user":{"login":"sakama","id":155269,"avatar_url":"https://avatars.githubusercontent.com/u/155269?v=3","gravatar_id":"","url":"https://api.github.com/users/sakama","html_url":"https://github.com/sakama","followers_url":"https://api.github.com/users/sakama/followers","following_url":"https://api.github.com/users/sakama/following{/other_user}","gists_url":"https://api.github.com/users/sakama/gists{/gist_id}","starred_url":"https://api.github.com/users/sakama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakama/subscriptions","organizations_url":"https://api.github.com/users/sakama/orgs","repos_url":"https://api.github.com/users/sakama/repos","events_url":"https://api.github.com/users/sakama/events{/privacy}","received_events_url":"https://api.github.com/users/sakama/received_events","type":"User","site_admin":false},"body":"This pull-request contains new implementation that enable to use `GCE pre-defined access token` authentication.\r\n\r\nIf we add devstorage.read_write scope when creating GCE VM instances,\r\nwe don't have to set both service_account_email and p12_keyfile_path options.\r\n\r\nBecause we can get OAuth access-token in GCE VM instances like below.\r\n\r\n```\r\n$ curl \"http://metadata/computeMetadata/v1/instance/service-accounts/default/token\" -H \"X-Google-Metadata-Request: True\"\r\n{\"access_token\":\"XXXXXXXXXX\",\"expires_in\":3599,\"token_type\":\"Bearer\"}\r\n```","created_at":"2015-08-26T06:51:26Z","updated_at":"2015-09-04T15:49:56Z","closed_at":"2015-09-04T15:49:56Z","merged_at":"2015-09-04T15:49:56Z","merge_commit_sha":"5fdcf620196abe0541053b2431e17555c3d61b39","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/pulls/4/commits","review_comments_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/pulls/4/comments","review_comment_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/issues/4/comments","statuses_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/statuses/5afc0fb84fa52473611234c43d0bf34be406bc6f","head":{"label":"sakama:gce-pre-defined-access-token-auth","ref":"gce-pre-defined-access-token-auth","sha":"5afc0fb84fa52473611234c43d0bf34be406bc6f","user":{"login":"sakama","id":155269,"avatar_url":"https://avatars.githubusercontent.com/u/155269?v=3","gravatar_id":"","url":"https://api.github.com/users/sakama","html_url":"https://github.com/sakama","followers_url":"https://api.github.com/users/sakama/followers","following_url":"https://api.github.com/users/sakama/following{/other_user}","gists_url":"https://api.github.com/users/sakama/gists{/gist_id}","starred_url":"https://api.github.com/users/sakama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakama/subscriptions","organizations_url":"https://api.github.com/users/sakama/orgs","repos_url":"https://api.github.com/users/sakama/repos","events_url":"https://api.github.com/users/sakama/events{/privacy}","received_events_url":"https://api.github.com/users/sakama/received_events","type":"User","site_admin":false},"repo":{"id":41026898,"name":"embulk-output-gcs","full_name":"sakama/embulk-output-gcs","owner":{"login":"sakama","id":155269,"avatar_url":"https://avatars.githubusercontent.com/u/155269?v=3","gravatar_id":"","url":"https://api.github.com/users/sakama","html_url":"https://github.com/sakama","followers_url":"https://api.github.com/users/sakama/followers","following_url":"https://api.github.com/users/sakama/following{/other_user}","gists_url":"https://api.github.com/users/sakama/gists{/gist_id}","starred_url":"https://api.github.com/users/sakama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakama/subscriptions","organizations_url":"https://api.github.com/users/sakama/orgs","repos_url":"https://api.github.com/users/sakama/repos","events_url":"https://api.github.com/users/sakama/events{/privacy}","received_events_url":"https://api.github.com/users/sakama/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sakama/embulk-output-gcs","description":"Google Cloud Storage output plugin for Embulk","fork":true,"url":"https://api.github.com/repos/sakama/embulk-output-gcs","forks_url":"https://api.github.com/repos/sakama/embulk-output-gcs/forks","keys_url":"https://api.github.com/repos/sakama/embulk-output-gcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sakama/embulk-output-gcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sakama/embulk-output-gcs/teams","hooks_url":"https://api.github.com/repos/sakama/embulk-output-gcs/hooks","issue_events_url":"https://api.github.com/repos/sakama/embulk-output-gcs/issues/events{/number}","events_url":"https://api.github.com/repos/sakama/embulk-output-gcs/events","assignees_url":"https://api.github.com/repos/sakama/embulk-output-gcs/assignees{/user}","branches_url":"https://api.github.com/repos/sakama/embulk-output-gcs/branches{/branch}","tags_url":"https://api.github.com/repos/sakama/embulk-output-gcs/tags","blobs_url":"https://api.github.com/repos/sakama/embulk-output-gcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sakama/embulk-output-gcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sakama/embulk-output-gcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sakama/embulk-output-gcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sakama/embulk-output-gcs/statuses/{sha}","languages_url":"https://api.github.com/repos/sakama/embulk-output-gcs/languages","stargazers_url":"https://api.github.com/repos/sakama/embulk-output-gcs/stargazers","contributors_url":"https://api.github.com/repos/sakama/embulk-output-gcs/contributors","subscribers_url":"https://api.github.com/repos/sakama/embulk-output-gcs/subscribers","subscription_url":"https://api.github.com/repos/sakama/embulk-output-gcs/subscription","commits_url":"https://api.github.com/repos/sakama/embulk-output-gcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sakama/embulk-output-gcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sakama/embulk-output-gcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sakama/embulk-output-gcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sakama/embulk-output-gcs/contents/{+path}","compare_url":"https://api.github.com/repos/sakama/embulk-output-gcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sakama/embulk-output-gcs/merges","archive_url":"https://api.github.com/repos/sakama/embulk-output-gcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sakama/embulk-output-gcs/downloads","issues_url":"https://api.github.com/repos/sakama/embulk-output-gcs/issues{/number}","pulls_url":"https://api.github.com/repos/sakama/embulk-output-gcs/pulls{/number}","milestones_url":"https://api.github.com/repos/sakama/embulk-output-gcs/milestones{/number}","notifications_url":"https://api.github.com/repos/sakama/embulk-output-gcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sakama/embulk-output-gcs/labels{/name}","releases_url":"https://api.github.com/repos/sakama/embulk-output-gcs/releases{/id}","created_at":"2015-08-19T10:03:28Z","updated_at":"2015-08-19T10:03:28Z","pushed_at":"2015-08-26T06:41:28Z","git_url":"git://github.com/sakama/embulk-output-gcs.git","ssh_url":"git@github.com:sakama/embulk-output-gcs.git","clone_url":"https://github.com/sakama/embulk-output-gcs.git","svn_url":"https://github.com/sakama/embulk-output-gcs","homepage":null,"size":176,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"hakobera:master","ref":"master","sha":"a1c28becc47b7381d09abfcd607b28888c00c5e6","user":{"login":"hakobera","id":346598,"avatar_url":"https://avatars.githubusercontent.com/u/346598?v=3","gravatar_id":"","url":"https://api.github.com/users/hakobera","html_url":"https://github.com/hakobera","followers_url":"https://api.github.com/users/hakobera/followers","following_url":"https://api.github.com/users/hakobera/following{/other_user}","gists_url":"https://api.github.com/users/hakobera/gists{/gist_id}","starred_url":"https://api.github.com/users/hakobera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakobera/subscriptions","organizations_url":"https://api.github.com/users/hakobera/orgs","repos_url":"https://api.github.com/users/hakobera/repos","events_url":"https://api.github.com/users/hakobera/events{/privacy}","received_events_url":"https://api.github.com/users/hakobera/received_events","type":"User","site_admin":false},"repo":{"id":32136327,"name":"embulk-output-gcs","full_name":"hakobera/embulk-output-gcs","owner":{"login":"hakobera","id":346598,"avatar_url":"https://avatars.githubusercontent.com/u/346598?v=3","gravatar_id":"","url":"https://api.github.com/users/hakobera","html_url":"https://github.com/hakobera","followers_url":"https://api.github.com/users/hakobera/followers","following_url":"https://api.github.com/users/hakobera/following{/other_user}","gists_url":"https://api.github.com/users/hakobera/gists{/gist_id}","starred_url":"https://api.github.com/users/hakobera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakobera/subscriptions","organizations_url":"https://api.github.com/users/hakobera/orgs","repos_url":"https://api.github.com/users/hakobera/repos","events_url":"https://api.github.com/users/hakobera/events{/privacy}","received_events_url":"https://api.github.com/users/hakobera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hakobera/embulk-output-gcs","description":"Google Cloud Storage output plugin for Embulk","fork":false,"url":"https://api.github.com/repos/hakobera/embulk-output-gcs","forks_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/forks","keys_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/teams","hooks_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/hooks","issue_events_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/issues/events{/number}","events_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/events","assignees_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/assignees{/user}","branches_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/branches{/branch}","tags_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/tags","blobs_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/statuses/{sha}","languages_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/languages","stargazers_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/stargazers","contributors_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/contributors","subscribers_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/subscribers","subscription_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/subscription","commits_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/contents/{+path}","compare_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/merges","archive_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/downloads","issues_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/issues{/number}","pulls_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/pulls{/number}","milestones_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/milestones{/number}","notifications_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/labels{/name}","releases_url":"https://api.github.com/repos/hakobera/embulk-output-gcs/releases{/id}","created_at":"2015-03-13T06:50:16Z","updated_at":"2015-04-14T11:34:32Z","pushed_at":"2015-09-04T15:49:56Z","git_url":"git://github.com/hakobera/embulk-output-gcs.git","ssh_url":"git@github.com:hakobera/embulk-output-gcs.git","clone_url":"https://github.com/hakobera/embulk-output-gcs.git","svn_url":"https://github.com/hakobera/embulk-output-gcs","homepage":null,"size":312,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hakobera/embulk-output-gcs/pulls/4"},"html":{"href":"https://github.com/hakobera/embulk-output-gcs/pull/4"},"issue":{"href":"https://api.github.com/repos/hakobera/embulk-output-gcs/issues/4"},"comments":{"href":"https://api.github.com/repos/hakobera/embulk-output-gcs/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/hakobera/embulk-output-gcs/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/hakobera/embulk-output-gcs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hakobera/embulk-output-gcs/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/hakobera/embulk-output-gcs/statuses/5afc0fb84fa52473611234c43d0bf34be406bc6f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hakobera","id":346598,"avatar_url":"https://avatars.githubusercontent.com/u/346598?v=3","gravatar_id":"","url":"https://api.github.com/users/hakobera","html_url":"https://github.com/hakobera","followers_url":"https://api.github.com/users/hakobera/followers","following_url":"https://api.github.com/users/hakobera/following{/other_user}","gists_url":"https://api.github.com/users/hakobera/gists{/gist_id}","starred_url":"https://api.github.com/users/hakobera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakobera/subscriptions","organizations_url":"https://api.github.com/users/hakobera/orgs","repos_url":"https://api.github.com/users/hakobera/repos","events_url":"https://api.github.com/users/hakobera/events{/privacy}","received_events_url":"https://api.github.com/users/hakobera/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":155,"deletions":37,"changed_files":3}}