{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments/48537113","id":48537113,"diff_hunk":"@@ -0,0 +1,686 @@\n+/*\n+ * Copyright 2015 Google Inc. All Rights Reserved.\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+package com.google.gcloud.examples;\n+\n+import com.google.common.collect.ImmutableMap;\n+import com.google.gcloud.bigquery.BaseTableInfo;\n+import com.google.gcloud.bigquery.BigQuery;\n+import com.google.gcloud.bigquery.BigQueryError;\n+import com.google.gcloud.bigquery.BigQueryOptions;\n+import com.google.gcloud.bigquery.CopyJobInfo;\n+import com.google.gcloud.bigquery.DatasetId;\n+import com.google.gcloud.bigquery.DatasetInfo;\n+import com.google.gcloud.bigquery.ExternalDataConfiguration;\n+import com.google.gcloud.bigquery.ExternalTableInfo;\n+import com.google.gcloud.bigquery.ExtractJobInfo;\n+import com.google.gcloud.bigquery.Field;\n+import com.google.gcloud.bigquery.FieldValue;\n+import com.google.gcloud.bigquery.FormatOptions;\n+import com.google.gcloud.bigquery.JobId;\n+import com.google.gcloud.bigquery.JobInfo;\n+import com.google.gcloud.bigquery.JobStatus;\n+import com.google.gcloud.bigquery.LoadJobInfo;\n+import com.google.gcloud.bigquery.QueryRequest;\n+import com.google.gcloud.bigquery.QueryResponse;\n+import com.google.gcloud.bigquery.Schema;\n+import com.google.gcloud.bigquery.TableId;\n+import com.google.gcloud.bigquery.TableInfo;\n+import com.google.gcloud.bigquery.ViewInfo;\n+import com.google.gcloud.spi.BigQueryRpc.Tuple;\n+\n+import java.util.Arrays;\n+import java.util.HashMap;\n+import java.util.Iterator;\n+import java.util.List;\n+import java.util.Map;\n+\n+/**\n+ * An example of using the Google BigQuery.\n+ *\n+ * <p>This example demonstrates a simple/typical BigQuery usage.\n+ *\n+ * <p>Steps needed for running the example:\n+ * <ol>\n+ * <li>login using gcloud SDK - {@code gcloud auth login}.</li>\n+ * <li>compile using maven - {@code mvn compile}</li>\n+ * <li>run using maven -\n+ * {@code mvn exec:java -Dexec.mainClass=\"com.google.gcloud.examples.BigQueryExample\"\n+ * -Dexec.args=\"[<project_id>] list datasets | list tables <dataset> | list jobs |\n+ *  list data <dataset> <table> | info dataset <dataset> | info table <dataset> <table> |\n+ *  info job <job> | create dataset <dataset> |\n+ *  create table <dataset> <table> (<fieldName>:<primitiveType>)+ |\n+ *  create view <dataset> <table> <query> |\n+ *  create external-table <dataset> <table> <format> (<fieldName>:<primitiveType>)+ <sourceUri> |\n+ *  delete dataset <dataset> | delete table <dataset> <table> | cancel <job> |\n+ *  copy <sourceDataset> <sourceTable> <destinationDataset> <destinationTable> |\n+ *  load <dataset> <table> <format> <sourceUri>+ |\n+ *  extract <dataset> <table> <format> <destinationUri>+ | query <query>\"}\n+ * </li>\n+ * </ol>\n+ *\n+ * <p>The first parameter is an optional {@code project_id} (logged-in project will be used if not\n+ * supplied). Second parameter is a BigQuery operation and can be used to demonstrate its usage. For\n+ * operations that apply to more than one entity (`list`, `create`, `info` and `delete`) the third\n+ * parameter specifies the entity. {@code <primitiveType>} indicates that only primitive types are\n+ * supported by the {@code create table} and {@code create external-table} operations\n+ * ({@code string}, {@code float}, {@code integer}, {@code timestamp}, {@code boolean}).\n+ * {@code <sourceUri>}, {@code <sourceUris>} and {@code <destinationUris>} parameters are URIs to\n+ * Google Cloud Storage blobs, in the form {@code gs://bucket/path}. See each action's run method\n+ * for the specific BigQuery interaction.\n+ */\n+public class BigQueryExample {\n+\n+  private static final Map<String, BigQueryAction> CREATE_ACTIONS = new HashMap<>();\n+  private static final Map<String, BigQueryAction> INFO_ACTIONS = new HashMap<>();\n+  private static final Map<String, BigQueryAction> LIST_ACTIONS = new HashMap<>();\n+  private static final Map<String, BigQueryAction> DELETE_ACTIONS = new HashMap<>();\n+  private static final Map<String, BigQueryAction> ACTIONS = new HashMap<>();\n+\n+  private abstract static class BigQueryAction<T> {\n+\n+    abstract void run(BigQuery bigquery, T request) throws Exception;\n+\n+    abstract T parse(String... args) throws Exception;\n+\n+    protected String params() {\n+      return \"\";\n+    }\n+  }\n+\n+  private static class ParentAction extends BigQueryAction<Tuple<BigQueryAction, Object>> {\n+\n+    private final Map<String, BigQueryAction> subActions;\n+\n+    public ParentAction(Map<String, BigQueryAction> subActions) {\n+      this.subActions = ImmutableMap.copyOf(subActions);\n+    }\n+\n+    @Override\n+    @SuppressWarnings(\"unchecked\")\n+    void run(BigQuery bigquery, Tuple<BigQueryAction, Object> subaction) throws Exception {\n+      subaction.x().run(bigquery, subaction.y());\n+    }\n+\n+    @Override\n+    Tuple<BigQueryAction, Object> parse(String... args) throws Exception {\n+      if (args.length >= 1) {\n+        BigQueryAction action = subActions.get(args[0]);\n+        if (action != null) {\n+          Object actionArguments = action.parse(Arrays.copyOfRange(args, 1, args.length));\n+          return Tuple.of(action, actionArguments);\n+        }\n+      }\n+      throw new IllegalArgumentException();\n+    }\n+\n+    @Override\n+    public String params() {\n+      StringBuilder builder = new StringBuilder();\n+      for (Map.Entry<String, BigQueryAction> entry : subActions.entrySet()) {\n+        builder.append(\"\\n\").append(entry.getKey());\n+        String param = entry.getValue().params();\n+        if (param != null && !param.isEmpty()) {\n+          builder.append(' ').append(param);\n+        }\n+      }\n+      return builder.toString();\n+    }\n+  }\n+\n+  private abstract static class VoidAction extends BigQueryAction<Void> {","path":"gcloud-java-examples/src/main/java/com/google/gcloud/examples/BigQueryExample.java","position":144,"original_position":144,"commit_id":"d5e4dba23a3b34858100ae2c04f6dd413030f4f0","original_commit_id":"d5e4dba23a3b34858100ae2c04f6dd413030f4f0","user":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"body":"Changed in 7e052da","created_at":"2015-12-29T12:27:41Z","updated_at":"2015-12-29T12:27:41Z","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/506#discussion_r48537113","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/506","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments/48537113"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/506#discussion_r48537113"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/506"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/506","id":54480872,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/506","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/506.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/506.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/506","number":506,"state":"closed","locked":false,"title":"Add BigQuery module to gcloud-java pom, add BigQuery example","user":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"body":"This PR does the following:\r\n- Make `FormatOptions.of(format)` return `CsvOptions` if `format` is `CSV`\r\n- Some minor style fixes to `DatastoreExample` and `StorageExample`\r\n- Adds the BigQuery module to `gcloud-java`'s pom\r\n- Adds `BigQueryExample` and updates the READMEs accordingly","created_at":"2015-12-23T15:44:59Z","updated_at":"2015-12-29T12:27:41Z","closed_at":"2015-12-28T11:31:55Z","merged_at":"2015-12-28T11:31:55Z","merge_commit_sha":"f3fa47bb3dcf3a306b51b07f2d0b7ff001689c81","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/506/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/506/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/506/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/d5e4dba23a3b34858100ae2c04f6dd413030f4f0","head":{"label":"mziccard:bigquery-example","ref":"bigquery-example","sha":"d5e4dba23a3b34858100ae2c04f6dd413030f4f0","user":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"repo":{"id":40965279,"name":"gcloud-java","full_name":"mziccard/gcloud-java","owner":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mziccard/gcloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/mziccard/gcloud-java","forks_url":"https://api.github.com/repos/mziccard/gcloud-java/forks","keys_url":"https://api.github.com/repos/mziccard/gcloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mziccard/gcloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mziccard/gcloud-java/teams","hooks_url":"https://api.github.com/repos/mziccard/gcloud-java/hooks","issue_events_url":"https://api.github.com/repos/mziccard/gcloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/mziccard/gcloud-java/events","assignees_url":"https://api.github.com/repos/mziccard/gcloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/mziccard/gcloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/mziccard/gcloud-java/tags","blobs_url":"https://api.github.com/repos/mziccard/gcloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mziccard/gcloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mziccard/gcloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/mziccard/gcloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mziccard/gcloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/mziccard/gcloud-java/languages","stargazers_url":"https://api.github.com/repos/mziccard/gcloud-java/stargazers","contributors_url":"https://api.github.com/repos/mziccard/gcloud-java/contributors","subscribers_url":"https://api.github.com/repos/mziccard/gcloud-java/subscribers","subscription_url":"https://api.github.com/repos/mziccard/gcloud-java/subscription","commits_url":"https://api.github.com/repos/mziccard/gcloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/mziccard/gcloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/mziccard/gcloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/mziccard/gcloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/mziccard/gcloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/mziccard/gcloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mziccard/gcloud-java/merges","archive_url":"https://api.github.com/repos/mziccard/gcloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mziccard/gcloud-java/downloads","issues_url":"https://api.github.com/repos/mziccard/gcloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/mziccard/gcloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/mziccard/gcloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/mziccard/gcloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mziccard/gcloud-java/labels{/name}","releases_url":"https://api.github.com/repos/mziccard/gcloud-java/releases{/id}","created_at":"2015-08-18T10:16:17Z","updated_at":"2015-08-18T10:16:18Z","pushed_at":"2015-12-29T10:32:56Z","git_url":"git://github.com/mziccard/gcloud-java.git","ssh_url":"git@github.com:mziccard/gcloud-java.git","clone_url":"https://github.com/mziccard/gcloud-java.git","svn_url":"https://github.com/mziccard/gcloud-java","homepage":"http://googlecloudplatform.github.io/gcloud-java/site/0.0.6/","size":16648,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"3f2799def9e05353087d2f5816b93eafef8bce38","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":26181278,"name":"gcloud-java","full_name":"GoogleCloudPlatform/gcloud-java","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/gcloud-java","description":"Google Cloud Client Library for Java","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/releases{/id}","created_at":"2014-11-04T17:57:16Z","updated_at":"2015-12-22T07:31:29Z","pushed_at":"2015-12-29T10:34:09Z","git_url":"git://github.com/GoogleCloudPlatform/gcloud-java.git","ssh_url":"git@github.com:GoogleCloudPlatform/gcloud-java.git","clone_url":"https://github.com/GoogleCloudPlatform/gcloud-java.git","svn_url":"https://github.com/GoogleCloudPlatform/gcloud-java","homepage":"http://googlecloudplatform.github.io/gcloud-java/","size":209940,"stargazers_count":52,"watchers_count":52,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":27,"mirror_url":null,"open_issues_count":113,"forks":27,"open_issues":113,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/506"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/506"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/506"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/506/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/506/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/506/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/d5e4dba23a3b34858100ae2c04f6dd413030f4f0"}}}}