title: Get list of all calendars of logged in user (Google calendar API)
body: <p>I am trying to get all the calendars of the logged in user via oauth google. As of now I can get all the events in the primary calendar but I also want to display all the public calendars of the user.</p>
  
  <p>Tried everything but could not find any method to fetch calendars. This is a ruby on rails 5 app I am working on.</p>
  
  <p>Code to fetch events of current month</p>
  
  <pre><code>response = client.execute(api_method: service.events.list,
              parameters: { 'calendarId' =&gt; 'primary',
                'timeMin': Time.now.beginning_of_month.iso8601,
                'showDeleted': false,
                'singleEvents': true,
                'maxResults': 10,
                'orderBy': 'startTime'},
                  headers: { 'Content-Type' =&gt; 'application/json' })
  </code></pre>
  
  <p>I tried client.calendarList.list but it shows error "Undefined method calendarList"</p>
  
  <p>Thanks for help in advance.</p>