{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments/76417322","id":76417322,"diff_hunk":"@@ -0,0 +1,545 @@\n+/*\n+ * Copyright 2016 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+/*\n+ * EDITING INSTRUCTIONS\n+ * This file is referenced in Logging's javadoc. Any change to this file should be reflected in\n+ * Logging's javadoc.\n+ */\n+\n+package com.google.cloud.examples.logging.snippets;\n+\n+import com.google.cloud.AsyncPage;\n+import com.google.cloud.MonitoredResource;\n+import com.google.cloud.MonitoredResourceDescriptor;\n+import com.google.cloud.Page;\n+import com.google.cloud.logging.LogEntry;\n+import com.google.cloud.logging.Logging;\n+import com.google.cloud.logging.Logging.EntryListOption;\n+import com.google.cloud.logging.Logging.ListOption;\n+import com.google.cloud.logging.Logging.WriteOption;\n+import com.google.cloud.logging.LoggingOptions;\n+import com.google.cloud.logging.Metric;\n+import com.google.cloud.logging.MetricInfo;\n+import com.google.cloud.logging.Payload.JsonPayload;\n+import com.google.cloud.logging.Payload.StringPayload;\n+import com.google.cloud.logging.Sink;\n+import com.google.cloud.logging.SinkInfo;\n+import com.google.cloud.logging.SinkInfo.Destination.DatasetDestination;\n+\n+import java.util.ArrayList;\n+import java.util.HashMap;\n+import java.util.Iterator;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.concurrent.ExecutionException;\n+import java.util.concurrent.Future;\n+\n+public class LoggingSnippets {\n+\n+  private final Logging logging;\n+\n+  public LoggingSnippets(Logging logging) {\n+    this.logging = logging;\n+  }\n+\n+  /**\n+   * Example of creating a sink to export logs to a BigQuery dataset (in the\n+   * {@link LoggingOptions#projectId()} project).\n+   */\n+  // [TARGET create(SinkInfo)]\n+  // [VARIABLE \"my_sink_name\"]\n+  // [VARIABLE \"my_dataset\"]\n+  public Sink createSink(String sinkName, String datasetName) {\n+    // [START createSink]\n+    SinkInfo sinkInfo = SinkInfo.of(sinkName, DatasetDestination.of(datasetName));\n+    Sink sink = logging.create(sinkInfo);\n+    // [END createSink]\n+    return sink;\n+  }\n+\n+  /**\n+   * Example of asynchronously creating a sink to export logs to a BigQuery dataset (in the\n+   * {@link LoggingOptions#projectId()} project).\n+   */\n+  // [TARGET createAsync(SinkInfo)]\n+  // [VARIABLE \"my_sink_name\"]\n+  // [VARIABLE \"my_dataset\"]\n+  public Sink createSinkAsync(String sinkName, String datasetName)\n+      throws ExecutionException, InterruptedException {\n+    // [START createSinkAsync]\n+    SinkInfo sinkInfo = SinkInfo.of(sinkName, DatasetDestination.of(datasetName));\n+    Future<Sink> future = logging.createAsync(sinkInfo);\n+    // ...\n+    Sink sink = future.get();\n+    // [END createSinkAsync]\n+    return sink;\n+  }\n+\n+  /**\n+   * Example of updating a sink.\n+   */\n+  // [TARGET update(SinkInfo)]\n+  // [VARIABLE \"my_sink_name\"]\n+  // [VARIABLE \"my_dataset\"]\n+  public Sink updateSink(String sinkName, String datasetName) {\n+    // [START updateSink]\n+    SinkInfo sinkInfo = SinkInfo.builder(sinkName, DatasetDestination.of(datasetName))\n+        .versionFormat(SinkInfo.VersionFormat.V2)\n+        .filter(\"severity>=ERROR\")\n+        .build();\n+    Sink sink = logging.update(sinkInfo);\n+    // [END updateSink]\n+    return sink;\n+  }\n+\n+  /**\n+   * Example of asynchronously updating a sink.\n+   */\n+  // [TARGET updateAsync(SinkInfo)]\n+  // [VARIABLE \"my_sink_name\"]\n+  // [VARIABLE \"my_dataset\"]\n+  public Sink updateSinkAsync(String sinkName, String datasetName)\n+      throws ExecutionException, InterruptedException {\n+    // [START updateSinkAsync]\n+    SinkInfo sinkInfo = SinkInfo.builder(sinkName, DatasetDestination.of(datasetName))\n+        .versionFormat(SinkInfo.VersionFormat.V2)\n+        .filter(\"severity>=ERROR\")\n+        .build();\n+    Future<Sink> future = logging.updateAsync(sinkInfo);\n+    // ...\n+    Sink sink = future.get();\n+    // [END updateSinkAsync]\n+    return sink;\n+  }\n+\n+  /**\n+   * Example of getting a sink.\n+   */\n+  // [TARGET getSink(String)]\n+  // [VARIABLE \"my_sink_name\"]\n+  public Sink getSink(String sinkName) {\n+    // [START getSink]\n+    Sink sink = logging.getSink(sinkName);\n+    if (sink != null) {\n+      // sink was not found\n+    }\n+    // [END getSink]\n+    return sink;\n+  }\n+\n+  /**\n+   * Example of asynchronously getting a sink.\n+   */\n+  // [TARGET getSinkAsync(String)]\n+  // [VARIABLE \"my_sink_name\"]\n+  public Sink getSinkAsync(String sinkName) throws ExecutionException, InterruptedException {\n+    // [START getSinkAsync]\n+    Future<Sink> future = logging.getSinkAsync(sinkName);\n+    // ...\n+    Sink sink = future.get();\n+    if (sink != null) {\n+      // sink was not found\n+    }\n+    // [END getSinkAsync]\n+    return sink;\n+  }\n+\n+  /**\n+   * Example of listing sinks, specifying the page size.\n+   */\n+  // [TARGET listSinks(ListOption...)]\n+  public Page<Sink> listSinks() {\n+    // [START listSinks]\n+    Page<Sink> sinks = logging.listSinks(ListOption.pageSize(100));\n+    Iterator<Sink> sinkIterator = sinks.iterateAll();\n+    while (sinkIterator.hasNext()) {\n+      Sink sink = sinkIterator.next();\n+      // do something with the sink\n+    }\n+    // [END listSinks]\n+    return sinks;\n+  }\n+\n+  /**\n+   * Example of asynchronously listing sinks, specifying the page size.\n+   */\n+  // [TARGET listSinksAsync(ListOption...)]\n+  public Page<Sink> listSinksAsync() throws ExecutionException, InterruptedException {\n+    // [START listSinksAsync]\n+    Future<AsyncPage<Sink>> future = logging.listSinksAsync(ListOption.pageSize(100));\n+    // ...\n+    AsyncPage<Sink> sinks = future.get();\n+    Iterator<Sink> sinkIterator = sinks.iterateAll();\n+    while (sinkIterator.hasNext()) {\n+      Sink sink = sinkIterator.next();\n+      // do something with the sink\n+    }\n+    // [END listSinksAsync]\n+    return sinks;\n+  }\n+\n+  /**\n+   * Example of deleting a sink.\n+   */\n+  // [TARGET deleteSink(String)]\n+  // [VARIABLE \"my_sink_name\"]\n+  public boolean deleteSink(String sinkName) {\n+    // [START deleteSink]\n+    boolean deleted = logging.deleteSink(sinkName);\n+    if (deleted) {\n+      // the sink was deleted\n+    } else {\n+      // the sink was not found\n+    }\n+    // [END deleteSink]\n+    return deleted;\n+  }\n+\n+  /**\n+   * Example of asynchronously deleting a sink.\n+   */\n+  // [TARGET deleteSinkAsync(String)]\n+  // [VARIABLE \"my_sink_name\"]\n+  public boolean deleteSinkAsync(String sinkName) throws ExecutionException, InterruptedException {\n+    // [START deleteSinkAsync]\n+    Future<Boolean> future = logging.deleteSinkAsync(sinkName);\n+    // ...\n+    boolean deleted = future.get();\n+    if (deleted) {\n+      // the sink was deleted\n+    } else {\n+      // the sink was not found\n+    }\n+    // [END deleteSinkAsync]\n+    return deleted;\n+  }\n+\n+  /**\n+   * Example of deleting a log.\n+   */\n+  // [TARGET deleteLog(String)]\n+  // [VARIABLE \"my_log_name\"]\n+  public boolean deleteLog(String logName) {\n+    // [START deleteLog]\n+    boolean deleted = logging.deleteLog(logName);\n+    if (deleted) {\n+      // the log was deleted\n+    } else {\n+      // the log was not found\n+    }\n+    // [END deleteLog]\n+    return deleted;\n+  }\n+\n+  /**\n+   * Example of asynchronously deleting a log.\n+   */\n+  // [TARGET deleteLogAsync(String)]\n+  // [VARIABLE \"my_log_name\"]\n+  public boolean deleteLogAsync(String logName) throws ExecutionException, InterruptedException {\n+    // [START deleteLogAsync]\n+    Future<Boolean> future = logging.deleteLogAsync(logName);\n+    // ...\n+    boolean deleted = future.get();\n+    if (deleted) {\n+      // the log was deleted\n+    } else {\n+      // the log was not found\n+    }\n+    // [END deleteLogAsync]\n+    return deleted;\n+  }\n+\n+  /**\n+   * Example of listing monitored resource descriptors, specifying the page size.\n+   */\n+  // [TARGET listMonitoredResourceDescriptors(ListOption...)]\n+  public Page<MonitoredResourceDescriptor> listMonitoredResourceDescriptors() {\n+    // [START listMonitoredResourceDescriptors]\n+    Page<MonitoredResourceDescriptor> descriptors =\n+        logging.listMonitoredResourceDescriptors(ListOption.pageSize(100));\n+    Iterator<MonitoredResourceDescriptor> descriptorIterator = descriptors.iterateAll();\n+    while (descriptorIterator.hasNext()) {\n+      MonitoredResourceDescriptor descriptor = descriptorIterator.next();\n+      // do something with the descriptor\n+    }\n+    // [END listMonitoredResourceDescriptors]\n+    return descriptors;\n+  }\n+\n+  /**\n+   * Example of asynchronously listing monitored resource descriptors, specifying the page size.\n+   */\n+  // [TARGET listMonitoredResourceDescriptorsAsync(ListOption...)]\n+  public Page<MonitoredResourceDescriptor> listMonitoredResourceDescriptorsAsync()\n+      throws ExecutionException, InterruptedException {\n+    // [START listMonitoredResourceDescriptorsAsync]\n+    Future<AsyncPage<MonitoredResourceDescriptor>> future =\n+        logging.listMonitoredResourceDescriptorsAsync(ListOption.pageSize(100));\n+    // ...\n+    AsyncPage<MonitoredResourceDescriptor> descriptors = future.get();\n+    Iterator<MonitoredResourceDescriptor> descriptorIterator = descriptors.iterateAll();\n+    while (descriptorIterator.hasNext()) {\n+      MonitoredResourceDescriptor descriptor = descriptorIterator.next();","path":"gcloud-java-examples/src/main/java/com/google/cloud/examples/logging/snippets/LoggingSnippets.java","position":297,"original_position":297,"commit_id":"d26398fe7f9cf56aa4057e5a81f56c671a6ab8bb","original_commit_id":"d26398fe7f9cf56aa4057e5a81f56c671a6ab8bb","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused local variables such as 'descriptor'.](https://www.codacy.com/app/mziccard/gcloud-java/file/3589313186/issues/source?bid=3123103&fileBranchId=3637754#l297)","created_at":"2016-08-26T13:24:15Z","updated_at":"2016-08-26T13:24:15Z","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1204#discussion_r76417322","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1204","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments/76417322"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1204#discussion_r76417322"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1204"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1204","id":82886616,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1204","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1204.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1204.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1204","number":1204,"state":"open","locked":false,"title":"Add snippets to Logging's javadoc, LoggingSnippets class and tests","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":"","created_at":"2016-08-26T13:21:10Z","updated_at":"2016-08-26T13:24:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16226a24a39ed3915ae1f6cc48faea8b5167a7bd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1204/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1204/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/1204/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/d26398fe7f9cf56aa4057e5a81f56c671a6ab8bb","head":{"label":"mziccard:logging-snippets","ref":"logging-snippets","sha":"d26398fe7f9cf56aa4057e5a81f56c671a6ab8bb","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}","deployments_url":"https://api.github.com/repos/mziccard/gcloud-java/deployments","created_at":"2015-08-18T10:16:17Z","updated_at":"2016-01-12T12:42:25Z","pushed_at":"2016-08-26T13:15:13Z","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":54450,"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":"95229d515021634cddffe89979ca2cdd95bb5b73","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}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/deployments","created_at":"2014-11-04T17:57:16Z","updated_at":"2016-08-25T23:51:48Z","pushed_at":"2016-08-26T13:21:10Z","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":246520,"stargazers_count":138,"watchers_count":138,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":69,"mirror_url":null,"open_issues_count":133,"forks":69,"open_issues":133,"watchers":138,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1204"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1204"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1204"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1204/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1204/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/1204/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/d26398fe7f9cf56aa4057e5a81f56c671a6ab8bb"}}}}
{"actor":{"display_login":"codacy-bot"}}