{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/comments/40625998","id":40625998,"diff_hunk":"@@ -0,0 +1,197 @@\n+<?php\n+/**\n+ * Copyright 2012 Google Inc.\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+ * Follow the instructions on https://github.com/google/google-api-php-client\n+ * to download, extract and include the Google APIs client library for PHP into\n+ * your project.\n+ */\n+require_once 'google-api-php-client/autoload.php';","path":"storage/app.php","position":23,"original_position":23,"commit_id":"08596f83aaac7da530f79e8a53619fd0c0720fc3","original_commit_id":"08596f83aaac7da530f79e8a53619fd0c0720fc3","user":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"body":"Yes, see [here](https://packagist.org/packages/google/apiclient). I agree it should be updated, especially once we move to the `2.0` version.","created_at":"2015-09-29T01:30:18Z","updated_at":"2015-09-29T01:30:18Z","html_url":"https://github.com/GoogleCloudPlatform/php-docs-samples/pull/2#discussion_r40625998","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/comments/40625998"},"html":{"href":"https://github.com/GoogleCloudPlatform/php-docs-samples/pull/2#discussion_r40625998"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/2","id":46217996,"html_url":"https://github.com/GoogleCloudPlatform/php-docs-samples/pull/2","diff_url":"https://github.com/GoogleCloudPlatform/php-docs-samples/pull/2.diff","patch_url":"https://github.com/GoogleCloudPlatform/php-docs-samples/pull/2.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/issues/2","number":2,"state":"open","locked":false,"title":"Add storage samples","user":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-28T22:50:02Z","updated_at":"2015-09-29T01:30:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60267f9c8dfdf9b2067d90712543f682080157b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/2/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/2/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/issues/2/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/statuses/08596f83aaac7da530f79e8a53619fd0c0720fc3","head":{"label":"bshaffer:add-storage-samples","ref":"add-storage-samples","sha":"08596f83aaac7da530f79e8a53619fd0c0720fc3","user":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"repo":{"id":43331352,"name":"php-docs-samples","full_name":"bshaffer/php-docs-samples","owner":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bshaffer/php-docs-samples","description":"This is a simple web-based example of calling the Google Compute Engine API in PHP.","fork":true,"url":"https://api.github.com/repos/bshaffer/php-docs-samples","forks_url":"https://api.github.com/repos/bshaffer/php-docs-samples/forks","keys_url":"https://api.github.com/repos/bshaffer/php-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bshaffer/php-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bshaffer/php-docs-samples/teams","hooks_url":"https://api.github.com/repos/bshaffer/php-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/bshaffer/php-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/bshaffer/php-docs-samples/events","assignees_url":"https://api.github.com/repos/bshaffer/php-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/bshaffer/php-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/bshaffer/php-docs-samples/tags","blobs_url":"https://api.github.com/repos/bshaffer/php-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bshaffer/php-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bshaffer/php-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/bshaffer/php-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bshaffer/php-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/bshaffer/php-docs-samples/languages","stargazers_url":"https://api.github.com/repos/bshaffer/php-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/bshaffer/php-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/bshaffer/php-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/bshaffer/php-docs-samples/subscription","commits_url":"https://api.github.com/repos/bshaffer/php-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/bshaffer/php-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/bshaffer/php-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/bshaffer/php-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/bshaffer/php-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/bshaffer/php-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bshaffer/php-docs-samples/merges","archive_url":"https://api.github.com/repos/bshaffer/php-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bshaffer/php-docs-samples/downloads","issues_url":"https://api.github.com/repos/bshaffer/php-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/bshaffer/php-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/bshaffer/php-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/bshaffer/php-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bshaffer/php-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/bshaffer/php-docs-samples/releases{/id}","created_at":"2015-09-28T22:48:33Z","updated_at":"2015-09-28T22:48:33Z","pushed_at":"2015-09-28T22:48:46Z","git_url":"git://github.com/bshaffer/php-docs-samples.git","ssh_url":"git@github.com:bshaffer/php-docs-samples.git","clone_url":"https://github.com/bshaffer/php-docs-samples.git","svn_url":"https://github.com/bshaffer/php-docs-samples","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"57b3c547c19c96476608641e4f50de16ca2845ae","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":6990814,"name":"php-docs-samples","full_name":"GoogleCloudPlatform/php-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/php-docs-samples","description":"This is a simple web-based example of calling the Google Compute Engine API in PHP.","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/releases{/id}","created_at":"2012-12-03T22:45:09Z","updated_at":"2015-09-25T23:36:29Z","pushed_at":"2015-09-28T22:50:02Z","git_url":"git://github.com/GoogleCloudPlatform/php-docs-samples.git","ssh_url":"git@github.com:GoogleCloudPlatform/php-docs-samples.git","clone_url":"https://github.com/GoogleCloudPlatform/php-docs-samples.git","svn_url":"https://github.com/GoogleCloudPlatform/php-docs-samples","homepage":null,"size":106,"stargazers_count":14,"watchers_count":14,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/2"},"html":{"href":"https://github.com/GoogleCloudPlatform/php-docs-samples/pull/2"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/issues/2"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/php-docs-samples/statuses/08596f83aaac7da530f79e8a53619fd0c0720fc3"}}}}