(If the API isn't listed in the API Console, then skip this step.)
Activate the Google Drive Activity API in the Google API Console.Google then provides information you'll need later, such as a client ID and a
When you create your application, you register it using the Google API Console.The following general process applies to all application types: The details of the authorization process, or 'flow,' for OAuth 2.0 vary somewhat depending on what kind of application you're writing. Authorizing requests with OAuth 2.0Īll requests to the Google Drive Activity API must be authorized by an authenticated user. If your application uses Google Sign-In, some aspects of authorization are handled for you. No other authorization protocols are supported. Your application must use OAuth 2.0 to authorize requests. The token also identifies your application to Google. Every request your application sends to the Google Drive Activity API must include an authorization token.