Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Drive Class Reference
Inheritance diagram for Google_Service_Drive:
Google_Service

Public Member Functions

 __construct (Google_Client $client)
 Constructs the internal representation of the Drive service.
 
 createBatch ()
 Create a new HTTP Batch handler for this service.
 
 getClient ()
 

Public Attributes

 $about
 
 $apps
 
 $availableScopes
 
 $batchPath
 
 $changes
 
 $channels
 
 $children
 
 $comments
 
 $files
 
 $parents
 
 $permissions
 
 $properties
 
 $realtime
 
 $replies
 
 $resource
 
 $revisions
 
 $rootUrl
 
 $servicePath
 
 $version
 
const DRIVE
 View and manage the files in your Google Drive.
 
const DRIVE_APPDATA
 View and manage its own configuration data in your Google Drive.
 
const DRIVE_APPS_READONLY
 View your Google Drive apps.
 
const DRIVE_FILE
 View and manage Google Drive files and folders that you have opened or created with this app.
 
const DRIVE_METADATA
 View and manage metadata of files in your Google Drive.
 
const DRIVE_METADATA_READONLY
 View metadata for files in your Google Drive.
 
const DRIVE_PHOTOS_READONLY
 View the photos, videos and albums in your Google Photos.
 
const DRIVE_READONLY
 View the files in your Google Drive.
 
const DRIVE_SCRIPTS
 Modify your Google Apps Script scripts' behavior.
 

Constructor & Destructor Documentation

◆ __construct()

Google_Service_Drive::__construct ( Google_Client $client)

Constructs the internal representation of the Drive service.

Parameters
Google_Client$client

Reimplemented from Google_Service.

Member Function Documentation

◆ createBatch()

Google_Service::createBatch ( )
inherited

Create a new HTTP Batch handler for this service.

Return values
Google_Http_Batch

Member Data Documentation

◆ DRIVE

const Google_Service_Drive::DRIVE
Initial value:
=
"https://www.googleapis.com/auth/drive"

View and manage the files in your Google Drive.

◆ DRIVE_APPDATA

const Google_Service_Drive::DRIVE_APPDATA
Initial value:
=
"https://www.googleapis.com/auth/drive.appdata"

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

◆ DRIVE_APPS_READONLY

const Google_Service_Drive::DRIVE_APPS_READONLY
Initial value:
=
"https://www.googleapis.com/auth/drive.apps.readonly"

View your Google Drive apps.

◆ DRIVE_FILE

const Google_Service_Drive::DRIVE_FILE
Initial value:
=
"https://www.googleapis.com/auth/drive.file"

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

◆ DRIVE_METADATA

const Google_Service_Drive::DRIVE_METADATA
Initial value:
=
"https://www.googleapis.com/auth/drive.metadata"

View and manage metadata of files in your Google Drive.

◆ DRIVE_METADATA_READONLY

const Google_Service_Drive::DRIVE_METADATA_READONLY
Initial value:
=
"https://www.googleapis.com/auth/drive.metadata.readonly"

View metadata for files in your Google Drive.

◆ DRIVE_PHOTOS_READONLY

const Google_Service_Drive::DRIVE_PHOTOS_READONLY
Initial value:
=
"https://www.googleapis.com/auth/drive.photos.readonly"

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

◆ DRIVE_READONLY

const Google_Service_Drive::DRIVE_READONLY
Initial value:
=
"https://www.googleapis.com/auth/drive.readonly"

View the files in your Google Drive.

◆ DRIVE_SCRIPTS

const Google_Service_Drive::DRIVE_SCRIPTS
Initial value:
=
"https://www.googleapis.com/auth/drive.scripts"

Modify your Google Apps Script scripts' behavior.


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