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

The "mobiledevices" collection of methods. More...

Inheritance diagram for Google_Service_Directory_Mobiledevices_Resource:
Google_Service_Resource

Public Member Functions

 action ($customerId, $resourceId, Google_Service_Directory_MobileDeviceAction $postBody, $optParams=array())
 Take action on Mobile Device (mobiledevices.action)
 
 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($customerId, $resourceId, $optParams=array())
 Delete Mobile Device (mobiledevices.delete)
 
 get ($customerId, $resourceId, $optParams=array())
 Retrieve Mobile Device (mobiledevices.get)
 
 listMobiledevices ($customerId, $optParams=array())
 Retrieve all Mobile Devices of a customer (paginated) (mobiledevices.listMobiledevices)
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "mobiledevices" collection of methods.

Typical usage is: $adminService = new Google_Service_Directory(...); $mobiledevices = $adminService->mobiledevices;

Member Function Documentation

◆ action()

Google_Service_Directory_Mobiledevices_Resource::action ( $customerId,
$resourceId,
Google_Service_Directory_MobileDeviceAction $postBody,
$optParams = array() )

Take action on Mobile Device (mobiledevices.action)

Parameters
string$customerIdImmutable id of the Google Apps account
string$resourceIdImmutable id of Mobile Device
Google_MobileDeviceAction$postBody
array$optParamsOptional parameters.

◆ 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_Directory_Mobiledevices_Resource::delete ( $customerId,
$resourceId,
$optParams = array() )

Delete Mobile Device (mobiledevices.delete)

Parameters
string$customerIdImmutable id of the Google Apps account
string$resourceIdImmutable id of Mobile Device
array$optParamsOptional parameters.

◆ get()

Google_Service_Directory_Mobiledevices_Resource::get ( $customerId,
$resourceId,
$optParams = array() )

Retrieve Mobile Device (mobiledevices.get)

Parameters
string$customerIdImmutable id of the Google Apps account
string$resourceIdImmutable id of Mobile Device
array$optParamsOptional parameters.

@opt_param string projection Restrict information returned to a set of selected fields.

Return values
Google_Service_Directory_MobileDevice

◆ listMobiledevices()

Google_Service_Directory_Mobiledevices_Resource::listMobiledevices ( $customerId,
$optParams = array() )

Retrieve all Mobile Devices of a customer (paginated) (mobiledevices.listMobiledevices)

Parameters
string$customerIdImmutable id of the Google Apps account
array$optParamsOptional parameters.

@opt_param string orderBy Column to use for sorting results @opt_param string projection Restrict information returned to a set of selected fields. @opt_param int maxResults Maximum number of results to return. Default is 100 @opt_param string pageToken Token to specify next page in the list @opt_param string sortOrder Whether to return results in ascending or descending order. Only of use when orderBy is also used @opt_param string query Search string in the format given at http://support.google.com/a/bin/answer.py?hl=en=1408863#search

Return values
Google_Service_Directory_MobileDevices

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