Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Drive_Apps_Resource Class Reference

The "apps" collection of methods. More...

Inheritance diagram for Google_Service_Drive_Apps_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($appId, $optParams=array())
 Gets a specific app.
 
 listApps ($optParams=array())
 Lists a user's installed apps.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "apps" collection of methods.

Typical usage is: $driveService = new Google_Service_Drive(...); $apps = $driveService->apps;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ get()

Google_Service_Drive_Apps_Resource::get ( $appId,
$optParams = array() )

Gets a specific app.

(apps.get)

Parameters
string$appIdThe ID of the app.
array$optParamsOptional parameters.
Return values
Google_Service_Drive_App

◆ listApps()

Google_Service_Drive_Apps_Resource::listApps ( $optParams = array())

Lists a user's installed apps.

(apps.listApps)

Parameters
array$optParamsOptional parameters.

@opt_param string languageCode A language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/). @opt_param string appFilterExtensions A comma-separated list of file extensions for open with filtering. All apps within the given app query scope which can open any of the given file extensions will be included in the response. If appFilterMimeTypes are provided as well, the result is a union of the two resulting app lists. @opt_param string appFilterMimeTypes A comma-separated list of MIME types for open with filtering. All apps within the given app query scope which can open any of the given MIME types will be included in the response. If appFilterExtensions are provided as well, the result is a union of the two resulting app lists.

Return values
Google_Service_Drive_AppList

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