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

The "locations" collection of methods. More...

Inheritance diagram for Google_Service_Mirror_Locations_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($id, $optParams=array())
 Gets a single location by ID.
 
 listLocations ($optParams=array())
 Retrieves a list of locations for the user.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "locations" collection of methods.

Typical usage is: $mirrorService = new Google_Service_Mirror(...); $locations = $mirrorService->locations;

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_Mirror_Locations_Resource::get ( $id,
$optParams = array() )

Gets a single location by ID.

(locations.get)

Parameters
string$idThe ID of the location or latest for the last known location.
array$optParamsOptional parameters.
Return values
Google_Service_Mirror_Location

◆ listLocations()

Google_Service_Mirror_Locations_Resource::listLocations ( $optParams = array())

Retrieves a list of locations for the user.

(locations.listLocations)

Parameters
array$optParamsOptional parameters.
Return values
Google_Service_Mirror_LocationsListResponse

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