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

The "icons" collection of methods. More...

Inheritance diagram for Google_Service_MapsEngine_ProjectsIcons_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 create ($projectId, Google_Service_MapsEngine_Icon $postBody, $optParams=array())
 Create an icon.
 
 get ($projectId, $id, $optParams=array())
 Return an icon or its associated metadata (icons.get)
 
 listProjectsIcons ($projectId, $optParams=array())
 Return all icons in the current project (icons.listProjectsIcons)
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "icons" collection of methods.

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

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

◆ create()

Google_Service_MapsEngine_ProjectsIcons_Resource::create ( $projectId,
Google_Service_MapsEngine_Icon $postBody,
$optParams = array() )

Create an icon.

(icons.create)

Parameters
string$projectIdThe ID of the project.
Google_Icon$postBody
array$optParamsOptional parameters.
Return values
Google_Service_MapsEngine_Icon

◆ get()

Google_Service_MapsEngine_ProjectsIcons_Resource::get ( $projectId,
$id,
$optParams = array() )

Return an icon or its associated metadata (icons.get)

Parameters
string$projectIdThe ID of the project.
string$idThe ID of the icon.
array$optParamsOptional parameters.
Return values
Google_Service_MapsEngine_Icon

◆ listProjectsIcons()

Google_Service_MapsEngine_ProjectsIcons_Resource::listProjectsIcons ( $projectId,
$optParams = array() )

Return all icons in the current project (icons.listProjectsIcons)

Parameters
string$projectIdThe ID of the project.
array$optParamsOptional parameters.

@opt_param string pageToken The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response. @opt_param string maxResults The maximum number of items to include in a single response page. The maximum supported value is 50.

Return values
Google_Service_MapsEngine_IconsListResponse

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