Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Fusiontables_Template_Resource Class Reference

The "template" collection of methods. More...

Inheritance diagram for Google_Service_Fusiontables_Template_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($tableId, $templateId, $optParams=array())
 Deletes a template (template.delete)
 
 get ($tableId, $templateId, $optParams=array())
 Retrieves a specific template by its id (template.get)
 
 insert ($tableId, Google_Service_Fusiontables_Template $postBody, $optParams=array())
 Creates a new template for the table.
 
 listTemplate ($tableId, $optParams=array())
 Retrieves a list of templates.
 
 patch ($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams=array())
 Updates an existing template.
 
 update ($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams=array())
 Updates an existing template (template.update)
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "template" collection of methods.

Typical usage is: $fusiontablesService = new Google_Service_Fusiontables(...); $template = $fusiontablesService->template;

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

◆ delete()

Google_Service_Fusiontables_Template_Resource::delete ( $tableId,
$templateId,
$optParams = array() )

Deletes a template (template.delete)

Parameters
string$tableIdTable from which the template is being deleted
int$templateIdIdentifier for the template which is being deleted
array$optParamsOptional parameters.

◆ get()

Google_Service_Fusiontables_Template_Resource::get ( $tableId,
$templateId,
$optParams = array() )

Retrieves a specific template by its id (template.get)

Parameters
string$tableIdTable to which the template belongs
int$templateIdIdentifier for the template that is being requested
array$optParamsOptional parameters.
Return values
Google_Service_Fusiontables_Template

◆ insert()

Google_Service_Fusiontables_Template_Resource::insert ( $tableId,
Google_Service_Fusiontables_Template $postBody,
$optParams = array() )

Creates a new template for the table.

(template.insert)

Parameters
string$tableIdTable for which a new template is being created
Google_Template$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Fusiontables_Template

◆ listTemplate()

Google_Service_Fusiontables_Template_Resource::listTemplate ( $tableId,
$optParams = array() )

Retrieves a list of templates.

(template.listTemplate)

Parameters
string$tableIdIdentifier for the table whose templates are being requested
array$optParamsOptional parameters.

@opt_param string pageToken Continuation token specifying which results page to return. Optional. @opt_param string maxResults Maximum number of templates to return. Optional. Default is 5.

Return values
Google_Service_Fusiontables_TemplateList

◆ patch()

Google_Service_Fusiontables_Template_Resource::patch ( $tableId,
$templateId,
Google_Service_Fusiontables_Template $postBody,
$optParams = array() )

Updates an existing template.

This method supports patch semantics. (template.patch)

Parameters
string$tableIdTable to which the updated template belongs
int$templateIdIdentifier for the template that is being updated
Google_Template$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Fusiontables_Template

◆ update()

Google_Service_Fusiontables_Template_Resource::update ( $tableId,
$templateId,
Google_Service_Fusiontables_Template $postBody,
$optParams = array() )

Updates an existing template (template.update)

Parameters
string$tableIdTable to which the updated template belongs
int$templateIdIdentifier for the template that is being updated
Google_Template$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Fusiontables_Template

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