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

The "chromeosdevices" collection of methods. More...

Inheritance diagram for Google_Service_Directory_Chromeosdevices_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($customerId, $deviceId, $optParams=array())
 Retrieve Chrome OS Device (chromeosdevices.get)
 
 listChromeosdevices ($customerId, $optParams=array())
 Retrieve all Chrome OS Devices of a customer (paginated) (chromeosdevices.listChromeosdevices)
 
 patch ($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams=array())
 Update Chrome OS Device.
 
 update ($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams=array())
 Update Chrome OS Device (chromeosdevices.update)
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "chromeosdevices" collection of methods.

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

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_Directory_Chromeosdevices_Resource::get ( $customerId,
$deviceId,
$optParams = array() )

Retrieve Chrome OS Device (chromeosdevices.get)

Parameters
string$customerIdImmutable id of the Google Apps account
string$deviceIdImmutable id of Chrome OS Device
array$optParamsOptional parameters.

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

Return values
Google_Service_Directory_ChromeOsDevice

◆ listChromeosdevices()

Google_Service_Directory_Chromeosdevices_Resource::listChromeosdevices ( $customerId,
$optParams = array() )

Retrieve all Chrome OS Devices of a customer (paginated) (chromeosdevices.listChromeosdevices)

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/chromeos/a/bin/answer.py?hl=en=1698333

Return values
Google_Service_Directory_ChromeOsDevices

◆ patch()

Google_Service_Directory_Chromeosdevices_Resource::patch ( $customerId,
$deviceId,
Google_Service_Directory_ChromeOsDevice $postBody,
$optParams = array() )

Update Chrome OS Device.

This method supports patch semantics. (chromeosdevices.patch)

Parameters
string$customerIdImmutable id of the Google Apps account
string$deviceIdImmutable id of Chrome OS Device
Google_ChromeOsDevice$postBody
array$optParamsOptional parameters.

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

Return values
Google_Service_Directory_ChromeOsDevice

◆ update()

Google_Service_Directory_Chromeosdevices_Resource::update ( $customerId,
$deviceId,
Google_Service_Directory_ChromeOsDevice $postBody,
$optParams = array() )

Update Chrome OS Device (chromeosdevices.update)

Parameters
string$customerIdImmutable id of the Google Apps account
string$deviceIdImmutable id of Chrome OS Device
Google_ChromeOsDevice$postBody
array$optParamsOptional parameters.

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

Return values
Google_Service_Directory_ChromeOsDevice

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