{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/824","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/824/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/824/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/824/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/issues/824","id":144674287,"number":824,"title":"Better naming for resource identities and service ids","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},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels/cleanup","name":"cleanup","color":"fad8c7"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels/compute","name":"compute","color":"006b75"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-30T18:04:10Z","updated_at":"2016-04-03T16:09:02Z","closed_at":null,"body":"Our `XxxInfo` classes have two fields with a similar name\r\n- `xxxId`: this fields is of type `XxxId` and holds a user-defined identity for the resource\r\n- `id`: this fields holds a service-generated (opaque) id\r\n\r\nWe should provide a better naming to easily distinguish the two fields. Possible solutions are:\r\n- renaming `id` to `generatedId` (this is the preferred way so far)\r\n- renaming `id` to `opaqueId`\r\n\r\nNote: this issue also applies to other classes (e.g. compute's `DiskImageConfiguration`)."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/comments/205003946","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/issues/824#issuecomment-205003946","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/824","id":205003946,"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},"created_at":"2016-04-03T16:09:02Z","updated_at":"2016-04-03T16:09:02Z","body":"Just added the compute label, this must remain open unti fixed in compute."}}