How to access Google Drive using client ID and secret - 7.1

Google Drive

EnrichVersion
7.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Studio
task
Data Governance > Third-party systems > Cloud storages > Google Drive components
Data Quality and Preparation > Third-party systems > Cloud storages > Google Drive components
Design and Development > Third-party systems > Cloud storages > Google Drive components
To use client ID and client secret to access Google Drive, you need to first generate the client ID and client secret by completing the following steps using Google Chrome.

Before you begin

A Google account has already been signed up for using Google Drive.

Procedure

  1. Go to Google API Console and select an existing project or create a new one. In this example, we create a new project TalendProject.
  2. Go to the Library page and in the right panel, find Google Drive API and enable the Google Drive API that allows you to access resources from Google Drive.
  3. Go to the Credentials page, click OAuth consent screen in the right panel and set a product name in the Product name shown to users field. In this example, it is TalendProduct. When done, click Save.
  4. Click Create credentials > OAuth client ID, and in the Create client ID page, create a new client ID TalendApplication with Application type set to Other.
  5. Click Create. You will be shown your client ID and client secret that can be used by Google Drive components and metadata wizard to access Google Drive using the OAuth method Installed Application (Id & Secret).