Skip to main content

SCOPE_FILE

Constant SCOPE_FILE 

Source
pub const SCOPE_FILE: &str = "https://www.googleapis.com/auth/drive.file";
Expand description

Per-file write scope, restricted by Google to files this app created.

Restricted by Google to files this app itself created (via this scope) or that the user explicitly picked through a Drive file picker (not applicable to a headless CLI). Sufficient for drive create/drive upload, and for drive edit on those same, app-created files. Opt-in via --write-file (issue #1574).