-
-
Notifications
You must be signed in to change notification settings - Fork 4
Creating Google Cloud Project
yasirkula edited this page Jul 8, 2023
·
4 revisions
This plugin communicates with the Google Drive™ servers using the official Google Drive .NET SDK and thus, requires API keys (credentials) to work. Credentials can be obtained by creating a Google Cloud Project (it's free). I'm not sharing my own credentials because each Google Cloud Project has a daily quota of 10,000 API requests. I'm planning to reserve this quota for me and my team.
To get your own API keys:
- Create your own Google Cloud Project
-
Enable the following APIs for your project:
- Google Drive API
- Google Drive Activity API
- Google People API
- From the APIs & Services-OAuth consent screen page, set up your project's consent screen. I've set my User Type to External which allows 100 testers (users) to use the plugin with my credentials. The information you provide in this consent screen will appear while authorizing the plugin read-only access to Drive™. In the second page of the consent screen setup, add the following scopes to your project:
.../auth/userinfo.profile
.../auth/drive.readonly
.../auth/drive.activity.readonly
.../auth/contacts.readonly
- From the APIs & Services-Credentials page, select CREATE CREDENTIALS-OAuth Client ID and choose Desktop app as Application type
- You are now ready! You'll see your project's Client ID and Client Secret which are your credentials (if you forget your credentials, you can always click the Edit OAuth client button next to your OAuth 2.0 Client ID)