{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/comments/224629359","pull_request_review_id":164047022,"id":224629359,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDYyOTM1OQ==","diff_hunk":"@@ -0,0 +1,80 @@\n+﻿// Copyright (c) 2018 Google LLC.\n+// \n+// Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n+// use this file except in compliance with the License. You may obtain a copy of\n+// 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, WITHOUT\n+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+// License for the specific language governing permissions and limitations under\n+// the License.\n+\n+// [START dlp_deidentify_masking]\n+\n+using Google.Api.Gax.ResourceNames;\n+using Google.Cloud.Dlp.V2;\n+using System;\n+using System.Collections.Generic;\n+\n+partial class DlpSnippets","path":"dlp/api/Snippets/DeidentifyMasking.cs","position":22,"original_position":22,"commit_id":"afcdb2559c26c6fb493ef95f159c6d12deaf74ff","original_commit_id":"afcdb2559c26c6fb493ef95f159c6d12deaf74ff","user":{"login":"beccasaurus","id":280,"node_id":"MDQ6VXNlcjI4MA==","avatar_url":"https://avatars0.githubusercontent.com/u/280?v=4","gravatar_id":"","url":"https://api.github.com/users/beccasaurus","html_url":"https://github.com/beccasaurus","followers_url":"https://api.github.com/users/beccasaurus/followers","following_url":"https://api.github.com/users/beccasaurus/following{/other_user}","gists_url":"https://api.github.com/users/beccasaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/beccasaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beccasaurus/subscriptions","organizations_url":"https://api.github.com/users/beccasaurus/orgs","repos_url":"https://api.github.com/users/beccasaurus/repos","events_url":"https://api.github.com/users/beccasaurus/events{/privacy}","received_events_url":"https://api.github.com/users/beccasaurus/received_events","type":"User","site_admin":false},"body":"Let's do this _(from our discussion offline)_\r\n\r\n```cs\r\npublic class Dlp DeidentiyMasking\r\n{\r\n  /// <summary>...</summary>\r\n  /// ...\r\n  public string DeidentiyMasking(\r\n    // ...\r\n}\r\n```","created_at":"2018-10-11T22:58:50Z","updated_at":"2018-10-11T22:58:50Z","html_url":"https://github.com/GoogleCloudPlatform/dotnet-docs-samples/pull/657#discussion_r224629359","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/657","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/comments/224629359"},"html":{"href":"https://github.com/GoogleCloudPlatform/dotnet-docs-samples/pull/657#discussion_r224629359"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/657"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/657","id":221573770,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNTczNzcw","html_url":"https://github.com/GoogleCloudPlatform/dotnet-docs-samples/pull/657","diff_url":"https://github.com/GoogleCloudPlatform/dotnet-docs-samples/pull/657.diff","patch_url":"https://github.com/GoogleCloudPlatform/dotnet-docs-samples/pull/657.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/issues/657","number":657,"state":"open","locked":false,"title":"Dlp redux","user":{"login":"SurferJeffAtGoogle","id":11778530,"node_id":"MDQ6VXNlcjExNzc4NTMw","avatar_url":"https://avatars3.githubusercontent.com/u/11778530?v=4","gravatar_id":"","url":"https://api.github.com/users/SurferJeffAtGoogle","html_url":"https://github.com/SurferJeffAtGoogle","followers_url":"https://api.github.com/users/SurferJeffAtGoogle/followers","following_url":"https://api.github.com/users/SurferJeffAtGoogle/following{/other_user}","gists_url":"https://api.github.com/users/SurferJeffAtGoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/SurferJeffAtGoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SurferJeffAtGoogle/subscriptions","organizations_url":"https://api.github.com/users/SurferJeffAtGoogle/orgs","repos_url":"https://api.github.com/users/SurferJeffAtGoogle/repos","events_url":"https://api.github.com/users/SurferJeffAtGoogle/events{/privacy}","received_events_url":"https://api.github.com/users/SurferJeffAtGoogle/received_events","type":"User","site_admin":false},"body":"Update one sample https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/master/dlp/api/DlpSample/DeIdentify.cs#L28\r\nand its test to the proposed canonical form.","created_at":"2018-10-09T20:25:11Z","updated_at":"2018-10-11T22:58:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13fee5238988208e048b51a893b49548154db895","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/657/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/657/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/issues/657/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/statuses/afcdb2559c26c6fb493ef95f159c6d12deaf74ff","head":{"label":"SurferJeffAtGoogle:dlpRedux","ref":"dlpRedux","sha":"afcdb2559c26c6fb493ef95f159c6d12deaf74ff","user":{"login":"SurferJeffAtGoogle","id":11778530,"node_id":"MDQ6VXNlcjExNzc4NTMw","avatar_url":"https://avatars3.githubusercontent.com/u/11778530?v=4","gravatar_id":"","url":"https://api.github.com/users/SurferJeffAtGoogle","html_url":"https://github.com/SurferJeffAtGoogle","followers_url":"https://api.github.com/users/SurferJeffAtGoogle/followers","following_url":"https://api.github.com/users/SurferJeffAtGoogle/following{/other_user}","gists_url":"https://api.github.com/users/SurferJeffAtGoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/SurferJeffAtGoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SurferJeffAtGoogle/subscriptions","organizations_url":"https://api.github.com/users/SurferJeffAtGoogle/orgs","repos_url":"https://api.github.com/users/SurferJeffAtGoogle/repos","events_url":"https://api.github.com/users/SurferJeffAtGoogle/events{/privacy}","received_events_url":"https://api.github.com/users/SurferJeffAtGoogle/received_events","type":"User","site_admin":false},"repo":{"id":43525795,"node_id":"MDEwOlJlcG9zaXRvcnk0MzUyNTc5NQ==","name":"csharp-docs-samples","full_name":"SurferJeffAtGoogle/csharp-docs-samples","private":false,"owner":{"login":"SurferJeffAtGoogle","id":11778530,"node_id":"MDQ6VXNlcjExNzc4NTMw","avatar_url":"https://avatars3.githubusercontent.com/u/11778530?v=4","gravatar_id":"","url":"https://api.github.com/users/SurferJeffAtGoogle","html_url":"https://github.com/SurferJeffAtGoogle","followers_url":"https://api.github.com/users/SurferJeffAtGoogle/followers","following_url":"https://api.github.com/users/SurferJeffAtGoogle/following{/other_user}","gists_url":"https://api.github.com/users/SurferJeffAtGoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/SurferJeffAtGoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SurferJeffAtGoogle/subscriptions","organizations_url":"https://api.github.com/users/SurferJeffAtGoogle/orgs","repos_url":"https://api.github.com/users/SurferJeffAtGoogle/repos","events_url":"https://api.github.com/users/SurferJeffAtGoogle/events{/privacy}","received_events_url":"https://api.github.com/users/SurferJeffAtGoogle/received_events","type":"User","site_admin":false},"html_url":"https://github.com/SurferJeffAtGoogle/csharp-docs-samples","description":null,"fork":true,"url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples","forks_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/forks","keys_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/teams","hooks_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/events","assignees_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/tags","blobs_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/languages","stargazers_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/subscription","commits_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/merges","archive_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/downloads","issues_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/releases{/id}","deployments_url":"https://api.github.com/repos/SurferJeffAtGoogle/csharp-docs-samples/deployments","created_at":"2015-10-01T23:04:25Z","updated_at":"2016-02-26T19:10:43Z","pushed_at":"2018-10-11T21:54:33Z","git_url":"git://github.com/SurferJeffAtGoogle/csharp-docs-samples.git","ssh_url":"git@github.com:SurferJeffAtGoogle/csharp-docs-samples.git","clone_url":"https://github.com/SurferJeffAtGoogle/csharp-docs-samples.git","svn_url":"https://github.com/SurferJeffAtGoogle/csharp-docs-samples","homepage":null,"size":16076,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"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":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"911f3f864f63080551961c046e2b3949eebafe51","user":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","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":43513481,"node_id":"MDEwOlJlcG9zaXRvcnk0MzUxMzQ4MQ==","name":"dotnet-docs-samples","full_name":"GoogleCloudPlatform/dotnet-docs-samples","private":false,"owner":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","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},"html_url":"https://github.com/GoogleCloudPlatform/dotnet-docs-samples","description":".NET code samples used on https://cloud.google.com","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/deployments","created_at":"2015-10-01T18:29:55Z","updated_at":"2018-10-09T22:15:56Z","pushed_at":"2018-10-11T21:54:27Z","git_url":"git://github.com/GoogleCloudPlatform/dotnet-docs-samples.git","ssh_url":"git@github.com:GoogleCloudPlatform/dotnet-docs-samples.git","clone_url":"https://github.com/GoogleCloudPlatform/dotnet-docs-samples.git","svn_url":"https://github.com/GoogleCloudPlatform/dotnet-docs-samples","homepage":"https://cloud.google.com/dotnet","size":15041,"stargazers_count":231,"watchers_count":231,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":544,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":544,"open_issues":25,"watchers":231,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/657"},"html":{"href":"https://github.com/GoogleCloudPlatform/dotnet-docs-samples/pull/657"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/issues/657"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/issues/657/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/657/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/pulls/657/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/dotnet-docs-samples/statuses/afcdb2559c26c6fb493ef95f159c6d12deaf74ff"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"beccasaurus"}}