async function listTaskLists(auth) {
  const service = google.tasks({version: 'v1', auth});
  const res = await service.tasklists.list({
    maxResults: 10,
  });
  const taskLists = res.data.items;
  if (taskLists && taskLists.length) {
    console.log('Task lists:');
    taskLists.forEach((taskList) => {
      console.log(`${taskList.title} (${taskList.id})`);
    });
  } else {
    console.log('No task lists found.');
  }
}
Lists the user's first 10 task lists.

@param {google.auth.OAuth2} auth An authorized OAuth2 client.