{"action":"created","issue":{"url":"https://api.github.com/repos/googleapis/gapic-generator/issues/2189","repository_url":"https://api.github.com/repos/googleapis/gapic-generator","labels_url":"https://api.github.com/repos/googleapis/gapic-generator/issues/2189/labels{/name}","comments_url":"https://api.github.com/repos/googleapis/gapic-generator/issues/2189/comments","events_url":"https://api.github.com/repos/googleapis/gapic-generator/issues/2189/events","html_url":"https://github.com/googleapis/gapic-generator/pull/2189","id":347230622,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1OTA0Nzkw","number":2189,"title":"Support custom region tags in samples","user":{"login":"vchudnov-g","id":5422149,"node_id":"MDQ6VXNlcjU0MjIxNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/5422149?v=4","gravatar_id":"","url":"https://api.github.com/users/vchudnov-g","html_url":"https://github.com/vchudnov-g","followers_url":"https://api.github.com/users/vchudnov-g/followers","following_url":"https://api.github.com/users/vchudnov-g/following{/other_user}","gists_url":"https://api.github.com/users/vchudnov-g/gists{/gist_id}","starred_url":"https://api.github.com/users/vchudnov-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchudnov-g/subscriptions","organizations_url":"https://api.github.com/users/vchudnov-g/orgs","repos_url":"https://api.github.com/users/vchudnov-g/repos","events_url":"https://api.github.com/users/vchudnov-g/events{/privacy}","received_events_url":"https://api.github.com/users/vchudnov-g/received_events","type":"User","site_admin":false},"labels":[{"id":431020026,"node_id":"MDU6TGFiZWw0MzEwMjAwMjY=","url":"https://api.github.com/repos/googleapis/gapic-generator/labels/Core:%20Sample-gen","name":"Core: Sample-gen","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-03T01:49:11Z","updated_at":"2018-08-07T22:49:46Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/googleapis/gapic-generator/pulls/2189","html_url":"https://github.com/googleapis/gapic-generator/pull/2189","diff_url":"https://github.com/googleapis/gapic-generator/pull/2189.diff","patch_url":"https://github.com/googleapis/gapic-generator/pull/2189.patch"},"body":"- The default region tag is \"sample\"\r\n- Custom region tags can be specified in the GAPIC YAML. The region tag specification accepts (but does not require) `%m`, `%c`, and `%v` placeholders for method name, calling form name, and value set id.\r\n- If the sample specification would result in differently configured samples being written to the same path, an exception is thrown. This can happen if the same value set and calling form combo is specified more than once (eg with wildcards) with different region names."},"comment":{"url":"https://api.github.com/repos/googleapis/gapic-generator/issues/comments/411227610","html_url":"https://github.com/googleapis/gapic-generator/pull/2189#issuecomment-411227610","issue_url":"https://api.github.com/repos/googleapis/gapic-generator/issues/2189","id":411227610,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTIyNzYxMA==","user":{"login":"vchudnov-g","id":5422149,"node_id":"MDQ6VXNlcjU0MjIxNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/5422149?v=4","gravatar_id":"","url":"https://api.github.com/users/vchudnov-g","html_url":"https://github.com/vchudnov-g","followers_url":"https://api.github.com/users/vchudnov-g/followers","following_url":"https://api.github.com/users/vchudnov-g/following{/other_user}","gists_url":"https://api.github.com/users/vchudnov-g/gists{/gist_id}","starred_url":"https://api.github.com/users/vchudnov-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchudnov-g/subscriptions","organizations_url":"https://api.github.com/users/vchudnov-g/orgs","repos_url":"https://api.github.com/users/vchudnov-g/repos","events_url":"https://api.github.com/users/vchudnov-g/events{/privacy}","received_events_url":"https://api.github.com/users/vchudnov-g/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T22:49:46Z","updated_at":"2018-08-07T22:49:46Z","author_association":"CONTRIBUTOR","body":"PTAL"}}
{"actor":{"display_login":"vchudnov-g"}}