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

The "files" collection of methods. More...

Inheritance diagram for Google_Service_MapsEngine_TablesFiles_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 insert ($id, $filename, $optParams=array())
 Upload a file to a placeholder table asset.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "files" collection of methods.

Typical usage is: $mapsengineService = new Google_Service_MapsEngine(...); $files = $mapsengineService->files;

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

◆ insert()

Google_Service_MapsEngine_TablesFiles_Resource::insert ( $id,
$filename,
$optParams = array() )

Upload a file to a placeholder table asset.

See Table Upload in the Developer's Guide for more information. Supported file types are listed in the Supported data formats and limits article of the Google Maps Engine help center. (files.insert)

Parameters
string$idThe ID of the table asset.
string$filenameThe file name of this uploaded file.
array$optParamsOptional parameters.

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