QuestionQ32

VerifiedIntegrating applications with Google Cloud services

You are building a web application that runs on a Compute Engine instance and writes a file to each user's Google Drive. You need to configure the application to authenticate with the Google Drive API. What should you do?

Explanation

OAuth 2.0 user authorization is required to access an individual user's Google Drive. The https://www.googleapis.com/auth/drive.file scope permits an app to see, edit, create, and delete the specific Drive files it uses. Domain-wide delegation instead requires a Google Workspace administrator and applies to users within that Workspace domain, while service accounts alone do not access users' Google Workspace data.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!