Enable Google Drive API

Make sure you have already created a project to enable APIs. To create, refer Create a Project in Google Developer Console.
  1. Log in to Google Developer Console with below URL.
  2. Select a newly created project from the projects dropdown located on top of the page.

  3. Click Enable APIs and Services button.

    The API Library page appears.

  4. Scroll down to the Google Workspace section.
  5. Click Google Drive API card.

  6. Click Enable button to enable the Google Drive API.