drive  v2
Static Public Attributes | List of all members
google_drive_api::DriveService::SCOPES Class Reference

#include <drive_service.h>

Static Public Attributes

static const char DRIVE [] = {"https://www.googleapis.com/auth/drive"}
 
static const char DRIVE_APPDATA [] = {"https://www.googleapis.com/auth/drive.appdata"}
 
static const char DRIVE_APPS_READONLY [] = {"https://www.googleapis.com/auth/drive.apps.readonly"}
 
static const char DRIVE_FILE [] = {"https://www.googleapis.com/auth/drive.file"}
 
static const char DRIVE_METADATA [] = {"https://www.googleapis.com/auth/drive.metadata"}
 
static const char DRIVE_METADATA_READONLY [] = {"https://www.googleapis.com/auth/drive.metadata.readonly"}
 
static const char DRIVE_PHOTOS_READONLY [] = {"https://www.googleapis.com/auth/drive.photos.readonly"}
 
static const char DRIVE_READONLY [] = {"https://www.googleapis.com/auth/drive.readonly"}
 
static const char DRIVE_SCRIPTS [] = {"https://www.googleapis.com/auth/drive.scripts"}
 

Detailed Description

Declares the OAuth2.0 scopes used within Drive API

These scopes shoudl be used when asking for credentials to invoke methods in the DriveService.

Member Data Documentation

◆ DRIVE

const char google_drive_api::DriveService::SCOPES::DRIVE = {"https://www.googleapis.com/auth/drive"}
static

See, edit, create, and delete all of your Google Drive files.

◆ DRIVE_APPDATA

const char google_drive_api::DriveService::SCOPES::DRIVE_APPDATA = {"https://www.googleapis.com/auth/drive.appdata"}
static

View and manage its own configuration data in your Google Drive.

◆ DRIVE_APPS_READONLY

const char google_drive_api::DriveService::SCOPES::DRIVE_APPS_READONLY = {"https://www.googleapis.com/auth/drive.apps.readonly"}
static

View your Google Drive apps.

◆ DRIVE_FILE

const char google_drive_api::DriveService::SCOPES::DRIVE_FILE = {"https://www.googleapis.com/auth/drive.file"}
static

View and manage Google Drive files and folders that you have opened or created with this app.

◆ DRIVE_METADATA

const char google_drive_api::DriveService::SCOPES::DRIVE_METADATA = {"https://www.googleapis.com/auth/drive.metadata"}
static

View and manage metadata of files in your Google Drive.

◆ DRIVE_METADATA_READONLY

const char google_drive_api::DriveService::SCOPES::DRIVE_METADATA_READONLY = {"https://www.googleapis.com/auth/drive.metadata.readonly"}
static

View metadata for files in your Google Drive.

◆ DRIVE_PHOTOS_READONLY

const char google_drive_api::DriveService::SCOPES::DRIVE_PHOTOS_READONLY = {"https://www.googleapis.com/auth/drive.photos.readonly"}
static

View the photos, videos and albums in your Google Photos.

◆ DRIVE_READONLY

const char google_drive_api::DriveService::SCOPES::DRIVE_READONLY = {"https://www.googleapis.com/auth/drive.readonly"}
static

See and download all your Google Drive files.

◆ DRIVE_SCRIPTS

const char google_drive_api::DriveService::SCOPES::DRIVE_SCRIPTS = {"https://www.googleapis.com/auth/drive.scripts"}
static

Modify your Google Apps Script scripts' behavior.


The documentation for this class was generated from the following files: