{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/comments/58243231","id":58243231,"diff_hunk":"@@ -0,0 +1,152 @@\n+// Copyright 2016, Google, Inc.\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+'use strict';\n+\n+var async = require('async');\n+var google = require('googleapis');\n+var tables = google.bigquery('v2').tables;","path":"bigquery/dataset_size.js","position":18,"original_position":18,"commit_id":"c0bbad6982254b53d119ae14ad311913868e0e8d","original_commit_id":"c0bbad6982254b53d119ae14ad311913868e0e8d","user":{"login":"JustinBeckwith","id":534619,"avatar_url":"https://avatars.githubusercontent.com/u/534619?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinBeckwith","html_url":"https://github.com/JustinBeckwith","followers_url":"https://api.github.com/users/JustinBeckwith/followers","following_url":"https://api.github.com/users/JustinBeckwith/following{/other_user}","gists_url":"https://api.github.com/users/JustinBeckwith/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinBeckwith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinBeckwith/subscriptions","organizations_url":"https://api.github.com/users/JustinBeckwith/orgs","repos_url":"https://api.github.com/users/JustinBeckwith/repos","events_url":"https://api.github.com/users/JustinBeckwith/events{/privacy}","received_events_url":"https://api.github.com/users/JustinBeckwith/received_events","type":"User","site_admin":false},"body":"Also - we need to figure out the best place to keep samples that use the api client vs the veneer.  We have a set of samples over in the other repository - when does it make sense to keep samples here vs the api client repo?  ","created_at":"2016-04-01T18:00:30Z","updated_at":"2016-04-01T18:00:30Z","html_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/91#discussion_r58243231","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/comments/58243231"},"html":{"href":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/91#discussion_r58243231"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/91","id":64979263,"html_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/91","diff_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/91.diff","patch_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/91.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/91","number":91,"state":"open","locked":false,"title":"BigQuery samples.","user":{"login":"jmdobry","id":1213510,"avatar_url":"https://avatars.githubusercontent.com/u/1213510?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdobry","html_url":"https://github.com/jmdobry","followers_url":"https://api.github.com/users/jmdobry/followers","following_url":"https://api.github.com/users/jmdobry/following{/other_user}","gists_url":"https://api.github.com/users/jmdobry/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdobry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdobry/subscriptions","organizations_url":"https://api.github.com/users/jmdobry/orgs","repos_url":"https://api.github.com/users/jmdobry/repos","events_url":"https://api.github.com/users/jmdobry/events{/privacy}","received_events_url":"https://api.github.com/users/jmdobry/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-01T17:40:00Z","updated_at":"2016-04-01T18:00:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"afcaf8301b8250ce40cf3afd2277b4abc4fc11bc","assignee":{"login":"jmdobry","id":1213510,"avatar_url":"https://avatars.githubusercontent.com/u/1213510?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdobry","html_url":"https://github.com/jmdobry","followers_url":"https://api.github.com/users/jmdobry/followers","following_url":"https://api.github.com/users/jmdobry/following{/other_user}","gists_url":"https://api.github.com/users/jmdobry/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdobry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdobry/subscriptions","organizations_url":"https://api.github.com/users/jmdobry/orgs","repos_url":"https://api.github.com/users/jmdobry/repos","events_url":"https://api.github.com/users/jmdobry/events{/privacy}","received_events_url":"https://api.github.com/users/jmdobry/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/91/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/91/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/91/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/statuses/c0bbad6982254b53d119ae14ad311913868e0e8d","head":{"label":"GoogleCloudPlatform:bigquery","ref":"bigquery","sha":"c0bbad6982254b53d119ae14ad311913868e0e8d","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":35065891,"name":"nodejs-docs-samples","full_name":"GoogleCloudPlatform/nodejs-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/nodejs-docs-samples","description":"Node.js code samples used on https://cloud.google.com","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/deployments","created_at":"2015-05-04T23:26:38Z","updated_at":"2016-03-31T22:51:34Z","pushed_at":"2016-04-01T17:40:00Z","git_url":"git://github.com/GoogleCloudPlatform/nodejs-docs-samples.git","ssh_url":"git@github.com:GoogleCloudPlatform/nodejs-docs-samples.git","clone_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git","svn_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples","homepage":"","size":809,"stargazers_count":39,"watchers_count":39,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":19,"forks":20,"open_issues":19,"watchers":39,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"aaadacf56f7369e6e4864f240db3e702fd225ff7","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":35065891,"name":"nodejs-docs-samples","full_name":"GoogleCloudPlatform/nodejs-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/nodejs-docs-samples","description":"Node.js code samples used on https://cloud.google.com","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/deployments","created_at":"2015-05-04T23:26:38Z","updated_at":"2016-03-31T22:51:34Z","pushed_at":"2016-04-01T17:40:00Z","git_url":"git://github.com/GoogleCloudPlatform/nodejs-docs-samples.git","ssh_url":"git@github.com:GoogleCloudPlatform/nodejs-docs-samples.git","clone_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git","svn_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples","homepage":"","size":809,"stargazers_count":39,"watchers_count":39,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":19,"forks":20,"open_issues":19,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/91"},"html":{"href":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/91"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/91"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/statuses/c0bbad6982254b53d119ae14ad311913868e0e8d"}}}}