{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-api-ruby-client/issues/395","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/395/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-ruby-client/issues/395/comments","events_url":"https://api.github.com/repos/google/google-api-ruby-client/issues/395/events","html_url":"https://github.com/google/google-api-ruby-client/issues/395","id":148009508,"number":395,"title":"Google Analytics Reporting API v4","user":{"login":"scottious","id":936389,"avatar_url":"https://avatars.githubusercontent.com/u/936389?v=3","gravatar_id":"","url":"https://api.github.com/users/scottious","html_url":"https://github.com/scottious","followers_url":"https://api.github.com/users/scottious/followers","following_url":"https://api.github.com/users/scottious/following{/other_user}","gists_url":"https://api.github.com/users/scottious/gists{/gist_id}","starred_url":"https://api.github.com/users/scottious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottious/subscriptions","organizations_url":"https://api.github.com/users/scottious/orgs","repos_url":"https://api.github.com/users/scottious/repos","events_url":"https://api.github.com/users/scottious/events{/privacy}","received_events_url":"https://api.github.com/users/scottious/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-13T09:58:06Z","updated_at":"2016-04-21T10:04:11Z","closed_at":"2016-04-13T10:35:07Z","body":"It looks as though the Analytics v4 is not yet in the client. Is this easy to add?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/google/google-api-ruby-client/issues/comments/212841339","html_url":"https://github.com/google/google-api-ruby-client/issues/395#issuecomment-212841339","issue_url":"https://api.github.com/repos/google/google-api-ruby-client/issues/395","id":212841339,"user":{"login":"scottious","id":936389,"avatar_url":"https://avatars.githubusercontent.com/u/936389?v=3","gravatar_id":"","url":"https://api.github.com/users/scottious","html_url":"https://github.com/scottious","followers_url":"https://api.github.com/users/scottious/followers","following_url":"https://api.github.com/users/scottious/following{/other_user}","gists_url":"https://api.github.com/users/scottious/gists{/gist_id}","starred_url":"https://api.github.com/users/scottious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottious/subscriptions","organizations_url":"https://api.github.com/users/scottious/orgs","repos_url":"https://api.github.com/users/scottious/repos","events_url":"https://api.github.com/users/scottious/events{/privacy}","received_events_url":"https://api.github.com/users/scottious/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T10:04:11Z","updated_at":"2016-04-21T10:04:11Z","body":"Related to the section under [Generating APIs](https://github.com/google/google-api-ruby-client#generating-apis) if you run this:\r\n\r\n`$ generate-api gen <output_dir> --url='https://analyticsreporting.googleapis.com/$discovery/rest'`\r\n\r\nInclude like so:\r\n`require 'google/apis/analyticsreporting_v4'`\r\n\r\nI must say though I had a lot of trouble trying to get this class to execute and return the request and ended up resorting to a more simpler approach to use v4."}}