{"action":"created","comment":{"url":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/comments/228236551","pull_request_review_id":168463295,"id":228236551,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODIzNjU1MQ==","diff_hunk":"@@ -0,0 +1,167 @@\n+// Copyright 2018 Google LLC\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+//     https://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+syntax = \"proto3\";\n+\n+import \"google/api/annotations.proto\";\n+import \"google/protobuf/empty.proto\";\n+import \"google/protobuf/field_mask.proto\";\n+import \"google/protobuf/timestamp.proto\";\n+\n+package google.showcase.v1alpha3;\n+\n+option go_package = \"github.com/googleapis/gapic-showcase/server/genproto\";\n+option java_package = \"com.google.showcase.v1alpha3\";\n+option java_multiple_files = true;\n+\n+option (google.api.metadata) = {\n+  product_uri: \"https://github.com/googleapis/gapic-showcase\"\n+};\n+\n+// A simple identity service.\n+service Identity {\n+  // Creates a user.\n+  rpc CreateUser(CreateUserRequest) returns (User) {\n+    option (google.api.http) = {\n+      post: \"/v1alpha3/users\"\n+      body: \"*\"\n+    };\n+    option (google.api.method_signature) = {\n+      fields: [\"user.username\", \"user.email\"]\n+    };\n+  }\n+\n+  // Retrieves the User with the given uri.\n+  rpc GetUser(GetUserRequest) returns (User) {\n+    option (google.api.http) = {\n+      get: \"/v1alpha3/{name=users/*}\"\n+    };\n+    option (google.api.method_signature) = {\n+      fields: [\"name\"]\n+    };\n+  }\n+\n+  // Updates a user.\n+  rpc UpdateUser(UpdateUserRequest) returns (User) {\n+    option (google.api.http) = {\n+      patch: \"/v1alpha3/{user.name=users/*}\"\n+      body: \"*\"\n+    };\n+  }\n+\n+  // Deletes a user, their profile, and all of their authored messages.\n+  rpc DeleteUser(DeleteUserRequest) returns (google.protobuf.Empty) {\n+    option (google.api.http) = {\n+      delete: \"/v1alpha3/{name=users/*}\"\n+    };\n+    option (google.api.method_signature) = {\n+      fields: [\"name\"]\n+    };\n+  }\n+\n+  // Lists all users.\n+  rpc ListUsers(ListUsersRequest) returns (ListUsersResponse) {\n+    option (google.api.http) = {\n+      get: \"/v1alpha3/users\"\n+    };\n+  }\n+}\n+\n+// A user.\n+message User {\n+  // The uri of the user.\n+  string name = 1 [(google.api.resource).path = \"users/{user_id}\"];\n+\n+  // The username of the user.\n+  string username = 2 [(google.api.field_behavior) = REQUIRED];","path":"schema/user.proto","position":null,"original_position":87,"commit_id":"c33ad0ddda93fb9b9dbdb79254ea16a82649ebaa","original_commit_id":"fe55c7b6b4b25df44d5956fda994b85c8efcd18a","user":{"login":"landrito","id":8572251,"node_id":"MDQ6VXNlcjg1NzIyNTE=","avatar_url":"https://avatars0.githubusercontent.com/u/8572251?v=4","gravatar_id":"","url":"https://api.github.com/users/landrito","html_url":"https://github.com/landrito","followers_url":"https://api.github.com/users/landrito/followers","following_url":"https://api.github.com/users/landrito/following{/other_user}","gists_url":"https://api.github.com/users/landrito/gists{/gist_id}","starred_url":"https://api.github.com/users/landrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landrito/subscriptions","organizations_url":"https://api.github.com/users/landrito/orgs","repos_url":"https://api.github.com/users/landrito/repos","events_url":"https://api.github.com/users/landrito/events{/privacy}","received_events_url":"https://api.github.com/users/landrito/received_events","type":"User","site_admin":false},"body":"Done!","created_at":"2018-10-25T16:03:03Z","updated_at":"2018-10-25T16:03:03Z","html_url":"https://github.com/googleapis/gapic-showcase/pull/39#discussion_r228236551","pull_request_url":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/39","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/comments/228236551"},"html":{"href":"https://github.com/googleapis/gapic-showcase/pull/39#discussion_r228236551"},"pull_request":{"href":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/39"}},"in_reply_to_id":228210840},"pull_request":{"url":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/39","id":224799135,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0Nzk5MTM1","html_url":"https://github.com/googleapis/gapic-showcase/pull/39","diff_url":"https://github.com/googleapis/gapic-showcase/pull/39.diff","patch_url":"https://github.com/googleapis/gapic-showcase/pull/39.patch","issue_url":"https://api.github.com/repos/googleapis/gapic-showcase/issues/39","number":39,"state":"open","locked":false,"title":"WIP: Introduce Chat Room Service Protos","user":{"login":"landrito","id":8572251,"node_id":"MDQ6VXNlcjg1NzIyNTE=","avatar_url":"https://avatars0.githubusercontent.com/u/8572251?v=4","gravatar_id":"","url":"https://api.github.com/users/landrito","html_url":"https://github.com/landrito","followers_url":"https://api.github.com/users/landrito/followers","following_url":"https://api.github.com/users/landrito/following{/other_user}","gists_url":"https://api.github.com/users/landrito/gists{/gist_id}","starred_url":"https://api.github.com/users/landrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landrito/subscriptions","organizations_url":"https://api.github.com/users/landrito/orgs","repos_url":"https://api.github.com/users/landrito/repos","events_url":"https://api.github.com/users/landrito/events{/privacy}","received_events_url":"https://api.github.com/users/landrito/received_events","type":"User","site_admin":false},"body":"## TODO\r\n- [x] Add documentation","created_at":"2018-10-22T20:12:08Z","updated_at":"2018-10-25T16:03:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0952c940f3f05ef4123688b7e6c5d3ea0ca90f4c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/39/commits","review_comments_url":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/39/comments","review_comment_url":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googleapis/gapic-showcase/issues/39/comments","statuses_url":"https://api.github.com/repos/googleapis/gapic-showcase/statuses/c33ad0ddda93fb9b9dbdb79254ea16a82649ebaa","head":{"label":"googleapis:chat","ref":"chat","sha":"c33ad0ddda93fb9b9dbdb79254ea16a82649ebaa","user":{"login":"googleapis","id":16785467,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg1NDY3","avatar_url":"https://avatars3.githubusercontent.com/u/16785467?v=4","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"repo":{"id":135312418,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzMTI0MTg=","name":"gapic-showcase","full_name":"googleapis/gapic-showcase","private":false,"owner":{"login":"googleapis","id":16785467,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg1NDY3","avatar_url":"https://avatars3.githubusercontent.com/u/16785467?v=4","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/googleapis/gapic-showcase","description":"An API that demonstrates Generated API Client (GAPIC) features and common API patterns used by Google.","fork":false,"url":"https://api.github.com/repos/googleapis/gapic-showcase","forks_url":"https://api.github.com/repos/googleapis/gapic-showcase/forks","keys_url":"https://api.github.com/repos/googleapis/gapic-showcase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googleapis/gapic-showcase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googleapis/gapic-showcase/teams","hooks_url":"https://api.github.com/repos/googleapis/gapic-showcase/hooks","issue_events_url":"https://api.github.com/repos/googleapis/gapic-showcase/issues/events{/number}","events_url":"https://api.github.com/repos/googleapis/gapic-showcase/events","assignees_url":"https://api.github.com/repos/googleapis/gapic-showcase/assignees{/user}","branches_url":"https://api.github.com/repos/googleapis/gapic-showcase/branches{/branch}","tags_url":"https://api.github.com/repos/googleapis/gapic-showcase/tags","blobs_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/refs{/sha}","trees_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googleapis/gapic-showcase/statuses/{sha}","languages_url":"https://api.github.com/repos/googleapis/gapic-showcase/languages","stargazers_url":"https://api.github.com/repos/googleapis/gapic-showcase/stargazers","contributors_url":"https://api.github.com/repos/googleapis/gapic-showcase/contributors","subscribers_url":"https://api.github.com/repos/googleapis/gapic-showcase/subscribers","subscription_url":"https://api.github.com/repos/googleapis/gapic-showcase/subscription","commits_url":"https://api.github.com/repos/googleapis/gapic-showcase/commits{/sha}","git_commits_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/commits{/sha}","comments_url":"https://api.github.com/repos/googleapis/gapic-showcase/comments{/number}","issue_comment_url":"https://api.github.com/repos/googleapis/gapic-showcase/issues/comments{/number}","contents_url":"https://api.github.com/repos/googleapis/gapic-showcase/contents/{+path}","compare_url":"https://api.github.com/repos/googleapis/gapic-showcase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googleapis/gapic-showcase/merges","archive_url":"https://api.github.com/repos/googleapis/gapic-showcase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googleapis/gapic-showcase/downloads","issues_url":"https://api.github.com/repos/googleapis/gapic-showcase/issues{/number}","pulls_url":"https://api.github.com/repos/googleapis/gapic-showcase/pulls{/number}","milestones_url":"https://api.github.com/repos/googleapis/gapic-showcase/milestones{/number}","notifications_url":"https://api.github.com/repos/googleapis/gapic-showcase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googleapis/gapic-showcase/labels{/name}","releases_url":"https://api.github.com/repos/googleapis/gapic-showcase/releases{/id}","deployments_url":"https://api.github.com/repos/googleapis/gapic-showcase/deployments","created_at":"2018-05-29T14:57:46Z","updated_at":"2018-10-19T18:46:16Z","pushed_at":"2018-10-25T16:01:40Z","git_url":"git://github.com/googleapis/gapic-showcase.git","ssh_url":"git@github.com:googleapis/gapic-showcase.git","clone_url":"https://github.com/googleapis/gapic-showcase.git","svn_url":"https://github.com/googleapis/gapic-showcase","homepage":"","size":321,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":8,"open_issues":5,"watchers":3,"default_branch":"master"}},"base":{"label":"googleapis:master","ref":"master","sha":"976b208a0aa0f4cbc5b45aae56a0a440b2bc46aa","user":{"login":"googleapis","id":16785467,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg1NDY3","avatar_url":"https://avatars3.githubusercontent.com/u/16785467?v=4","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"repo":{"id":135312418,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzMTI0MTg=","name":"gapic-showcase","full_name":"googleapis/gapic-showcase","private":false,"owner":{"login":"googleapis","id":16785467,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg1NDY3","avatar_url":"https://avatars3.githubusercontent.com/u/16785467?v=4","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/googleapis/gapic-showcase","description":"An API that demonstrates Generated API Client (GAPIC) features and common API patterns used by Google.","fork":false,"url":"https://api.github.com/repos/googleapis/gapic-showcase","forks_url":"https://api.github.com/repos/googleapis/gapic-showcase/forks","keys_url":"https://api.github.com/repos/googleapis/gapic-showcase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googleapis/gapic-showcase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googleapis/gapic-showcase/teams","hooks_url":"https://api.github.com/repos/googleapis/gapic-showcase/hooks","issue_events_url":"https://api.github.com/repos/googleapis/gapic-showcase/issues/events{/number}","events_url":"https://api.github.com/repos/googleapis/gapic-showcase/events","assignees_url":"https://api.github.com/repos/googleapis/gapic-showcase/assignees{/user}","branches_url":"https://api.github.com/repos/googleapis/gapic-showcase/branches{/branch}","tags_url":"https://api.github.com/repos/googleapis/gapic-showcase/tags","blobs_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/refs{/sha}","trees_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googleapis/gapic-showcase/statuses/{sha}","languages_url":"https://api.github.com/repos/googleapis/gapic-showcase/languages","stargazers_url":"https://api.github.com/repos/googleapis/gapic-showcase/stargazers","contributors_url":"https://api.github.com/repos/googleapis/gapic-showcase/contributors","subscribers_url":"https://api.github.com/repos/googleapis/gapic-showcase/subscribers","subscription_url":"https://api.github.com/repos/googleapis/gapic-showcase/subscription","commits_url":"https://api.github.com/repos/googleapis/gapic-showcase/commits{/sha}","git_commits_url":"https://api.github.com/repos/googleapis/gapic-showcase/git/commits{/sha}","comments_url":"https://api.github.com/repos/googleapis/gapic-showcase/comments{/number}","issue_comment_url":"https://api.github.com/repos/googleapis/gapic-showcase/issues/comments{/number}","contents_url":"https://api.github.com/repos/googleapis/gapic-showcase/contents/{+path}","compare_url":"https://api.github.com/repos/googleapis/gapic-showcase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googleapis/gapic-showcase/merges","archive_url":"https://api.github.com/repos/googleapis/gapic-showcase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googleapis/gapic-showcase/downloads","issues_url":"https://api.github.com/repos/googleapis/gapic-showcase/issues{/number}","pulls_url":"https://api.github.com/repos/googleapis/gapic-showcase/pulls{/number}","milestones_url":"https://api.github.com/repos/googleapis/gapic-showcase/milestones{/number}","notifications_url":"https://api.github.com/repos/googleapis/gapic-showcase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googleapis/gapic-showcase/labels{/name}","releases_url":"https://api.github.com/repos/googleapis/gapic-showcase/releases{/id}","deployments_url":"https://api.github.com/repos/googleapis/gapic-showcase/deployments","created_at":"2018-05-29T14:57:46Z","updated_at":"2018-10-19T18:46:16Z","pushed_at":"2018-10-25T16:01:40Z","git_url":"git://github.com/googleapis/gapic-showcase.git","ssh_url":"git@github.com:googleapis/gapic-showcase.git","clone_url":"https://github.com/googleapis/gapic-showcase.git","svn_url":"https://github.com/googleapis/gapic-showcase","homepage":"","size":321,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":8,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/39"},"html":{"href":"https://github.com/googleapis/gapic-showcase/pull/39"},"issue":{"href":"https://api.github.com/repos/googleapis/gapic-showcase/issues/39"},"comments":{"href":"https://api.github.com/repos/googleapis/gapic-showcase/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googleapis/gapic-showcase/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/googleapis/gapic-showcase/statuses/c33ad0ddda93fb9b9dbdb79254ea16a82649ebaa"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"landrito"}}