{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/comments/36920969","id":36920969,"diff_hunk":"@@ -0,0 +1,208 @@\n+//[START all]\n+/*\n+ * Copyright (c) 2014 Google Inc.","path":"cloud-storage/json-api/src/main/java/StorageSample.java","position":3,"original_position":3,"commit_id":"1d687bd009501d45fbad03e71be6e0cfd80c07e3","original_commit_id":"1d687bd009501d45fbad03e71be6e0cfd80c07e3","user":{"login":"waprin","id":1075173,"avatar_url":"https://avatars.githubusercontent.com/u/1075173?v=3","gravatar_id":"","url":"https://api.github.com/users/waprin","html_url":"https://github.com/waprin","followers_url":"https://api.github.com/users/waprin/followers","following_url":"https://api.github.com/users/waprin/following{/other_user}","gists_url":"https://api.github.com/users/waprin/gists{/gist_id}","starred_url":"https://api.github.com/users/waprin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waprin/subscriptions","organizations_url":"https://api.github.com/users/waprin/orgs","repos_url":"https://api.github.com/users/waprin/repos","events_url":"https://api.github.com/users/waprin/events{/privacy}","received_events_url":"https://api.github.com/users/waprin/received_events","type":"User","site_admin":false},"body":"The ultimate nit...2015\r\n","created_at":"2015-08-12T22:13:49Z","updated_at":"2015-08-12T22:13:49Z","html_url":"https://github.com/GoogleCloudPlatform/java-docs-samples/pull/26#discussion_r36920969","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/comments/36920969"},"html":{"href":"https://github.com/GoogleCloudPlatform/java-docs-samples/pull/26#discussion_r36920969"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/26","id":42294508,"html_url":"https://github.com/GoogleCloudPlatform/java-docs-samples/pull/26","diff_url":"https://github.com/GoogleCloudPlatform/java-docs-samples/pull/26.diff","patch_url":"https://github.com/GoogleCloudPlatform/java-docs-samples/pull/26.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues/26","number":26,"state":"open","locked":false,"title":"Add samples for cloud storage json api.","user":{"login":"jerjou","id":913439,"avatar_url":"https://avatars.githubusercontent.com/u/913439?v=3","gravatar_id":"","url":"https://api.github.com/users/jerjou","html_url":"https://github.com/jerjou","followers_url":"https://api.github.com/users/jerjou/followers","following_url":"https://api.github.com/users/jerjou/following{/other_user}","gists_url":"https://api.github.com/users/jerjou/gists{/gist_id}","starred_url":"https://api.github.com/users/jerjou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerjou/subscriptions","organizations_url":"https://api.github.com/users/jerjou/orgs","repos_url":"https://api.github.com/users/jerjou/repos","events_url":"https://api.github.com/users/jerjou/events{/privacy}","received_events_url":"https://api.github.com/users/jerjou/received_events","type":"User","site_admin":false},"body":"Move in the sample from [its own repo](https://github.com/GoogleCloudPlatform/cloud-storage-docs-json-api-examples/tree/master/java-example), modify to use Application Default Credentials, and add samples for uploading and deleting objects","created_at":"2015-08-12T22:02:53Z","updated_at":"2015-08-12T22:13:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5caffd3d23503c5e17cbba23bfa731f0aa6523f","assignee":{"login":"waprin","id":1075173,"avatar_url":"https://avatars.githubusercontent.com/u/1075173?v=3","gravatar_id":"","url":"https://api.github.com/users/waprin","html_url":"https://github.com/waprin","followers_url":"https://api.github.com/users/waprin/followers","following_url":"https://api.github.com/users/waprin/following{/other_user}","gists_url":"https://api.github.com/users/waprin/gists{/gist_id}","starred_url":"https://api.github.com/users/waprin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waprin/subscriptions","organizations_url":"https://api.github.com/users/waprin/orgs","repos_url":"https://api.github.com/users/waprin/repos","events_url":"https://api.github.com/users/waprin/events{/privacy}","received_events_url":"https://api.github.com/users/waprin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/26/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/26/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues/26/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/statuses/1d687bd009501d45fbad03e71be6e0cfd80c07e3","head":{"label":"GoogleCloudPlatform:json-storage","ref":"json-storage","sha":"1d687bd009501d45fbad03e71be6e0cfd80c07e3","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":32895424,"name":"java-docs-samples","full_name":"GoogleCloudPlatform/java-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/java-docs-samples","description":"","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/releases{/id}","created_at":"2015-03-25T22:48:38Z","updated_at":"2015-08-11T06:31:52Z","pushed_at":"2015-08-12T22:02:53Z","git_url":"git://github.com/GoogleCloudPlatform/java-docs-samples.git","ssh_url":"git@github.com:GoogleCloudPlatform/java-docs-samples.git","clone_url":"https://github.com/GoogleCloudPlatform/java-docs-samples.git","svn_url":"https://github.com/GoogleCloudPlatform/java-docs-samples","homepage":null,"size":5133,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"e7c7050d30ae1d4097554a287029810e54ffe06c","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":32895424,"name":"java-docs-samples","full_name":"GoogleCloudPlatform/java-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/java-docs-samples","description":"","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/releases{/id}","created_at":"2015-03-25T22:48:38Z","updated_at":"2015-08-11T06:31:52Z","pushed_at":"2015-08-12T22:02:53Z","git_url":"git://github.com/GoogleCloudPlatform/java-docs-samples.git","ssh_url":"git@github.com:GoogleCloudPlatform/java-docs-samples.git","clone_url":"https://github.com/GoogleCloudPlatform/java-docs-samples.git","svn_url":"https://github.com/GoogleCloudPlatform/java-docs-samples","homepage":null,"size":5133,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/26"},"html":{"href":"https://github.com/GoogleCloudPlatform/java-docs-samples/pull/26"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues/26"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/java-docs-samples/statuses/1d687bd009501d45fbad03e71be6e0cfd80c07e3"}}}}