{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-api-ruby-client/issues/436","repository_url":"https://api.github.com/repos/google/google-api-ruby-client","labels_url":"https://api.github.com/repos/google/google-api-ruby-client/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-ruby-client/issues/436/comments","events_url":"https://api.github.com/repos/google/google-api-ruby-client/issues/436/events","html_url":"https://github.com/google/google-api-ruby-client/issues/436","id":164966173,"number":436,"title":"Bug in Google::Apis::StorageV1::ObjectAccessControls","user":{"login":"blowmage","id":730,"avatar_url":"https://avatars.githubusercontent.com/u/730?v=3","gravatar_id":"","url":"https://api.github.com/users/blowmage","html_url":"https://github.com/blowmage","followers_url":"https://api.github.com/users/blowmage/followers","following_url":"https://api.github.com/users/blowmage/following{/other_user}","gists_url":"https://api.github.com/users/blowmage/gists{/gist_id}","starred_url":"https://api.github.com/users/blowmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowmage/subscriptions","organizations_url":"https://api.github.com/users/blowmage/orgs","repos_url":"https://api.github.com/users/blowmage/repos","events_url":"https://api.github.com/users/blowmage/events{/privacy}","received_events_url":"https://api.github.com/users/blowmage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T00:01:20Z","updated_at":"2016-07-12T18:20:23Z","closed_at":null,"body":"The `Google::Apis::StorageV1::ObjectAccessControls` class is incorrect. The `#items` method should return `Array<Google::Apis::StorageV1::ObjectAccessControl>`, but instead returns `Array<Object>`, which ends up being an array of hashes.\r\n\r\nFor example, compare the following:\r\n\r\n* [`Google::Apis::StorageV1::ObjectAccessControls#items`](http://www.rubydoc.info/gems/google-api-client/Google/Apis/StorageV1/ObjectAccessControls#items-instance_method)\r\n* [`Google::Apis::StorageV1::BucketAccessControls#items`](http://www.rubydoc.info/gems/google-api-client/Google/Apis/StorageV1/BucketAccessControls#items-instance_method)"},"comment":{"url":"https://api.github.com/repos/google/google-api-ruby-client/issues/comments/232134026","html_url":"https://github.com/google/google-api-ruby-client/issues/436#issuecomment-232134026","issue_url":"https://api.github.com/repos/google/google-api-ruby-client/issues/436","id":232134026,"user":{"login":"sqrrrl","id":346343,"avatar_url":"https://avatars.githubusercontent.com/u/346343?v=3","gravatar_id":"","url":"https://api.github.com/users/sqrrrl","html_url":"https://github.com/sqrrrl","followers_url":"https://api.github.com/users/sqrrrl/followers","following_url":"https://api.github.com/users/sqrrrl/following{/other_user}","gists_url":"https://api.github.com/users/sqrrrl/gists{/gist_id}","starred_url":"https://api.github.com/users/sqrrrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqrrrl/subscriptions","organizations_url":"https://api.github.com/users/sqrrrl/orgs","repos_url":"https://api.github.com/users/sqrrrl/repos","events_url":"https://api.github.com/users/sqrrrl/events{/privacy}","received_events_url":"https://api.github.com/users/sqrrrl/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T18:20:23Z","updated_at":"2016-07-12T18:20:23Z","body":"Unfortunately it's a longstanding bug in the API description that affects all the client libraries and it doesn't appear that it will be fixed any time soon (and likely can't be fixed without breaking apps at this point.)\r\n\r\nSee https://www.googleapis.com/discovery/v1/apis/storage/v1/rest -- it defines the type as 'any' which is mapped to a hash by this and most of the other clients.\r\n\r\n"}}
{"actor":{"display_login":"sqrrrl"}}