Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
Google_Service_AndroidEnterprise_Installs_Resource Class Reference

The "installs" collection of methods. More...

Inheritance diagram for Google_Service_AndroidEnterprise_Installs_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($enterpriseId, $userId, $deviceId, $installId, $optParams=array())
 Requests to remove an app from a device.
 
 get ($enterpriseId, $userId, $deviceId, $installId, $optParams=array())
 Retrieves details of an installation of an app on a device.
 
 listInstalls ($enterpriseId, $userId, $deviceId, $optParams=array())
 Retrieves the details of all apps installed on the specified device.
 
 patch ($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams=array())
 Requests to install the latest version of an app to a device.
 
 update ($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams=array())
 Requests to install the latest version of an app to a device.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "installs" collection of methods.

Typical usage is: $androidenterpriseService = new Google_Service_AndroidEnterprise(...); $installs = $androidenterpriseService->installs;

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_AndroidEnterprise_Installs_Resource::delete ( $enterpriseId,
$userId,
$deviceId,
$installId,
$optParams = array() )

Requests to remove an app from a device.

A call to get or list will still show the app as installed on the device until it is actually removed. (installs.delete)

Parameters
string$enterpriseIdThe ID of the enterprise.
string$userIdThe ID of the user.
string$deviceIdThe Android ID of the device.
string$installIdThe ID of the product represented by the install, e.g. "app:com.google.android.gm".
array$optParamsOptional parameters.

◆ get()

Google_Service_AndroidEnterprise_Installs_Resource::get ( $enterpriseId,
$userId,
$deviceId,
$installId,
$optParams = array() )

Retrieves details of an installation of an app on a device.

(installs.get)

Parameters
string$enterpriseIdThe ID of the enterprise.
string$userIdThe ID of the user.
string$deviceIdThe Android ID of the device.
string$installIdThe ID of the product represented by the install, e.g. "app:com.google.android.gm".
array$optParamsOptional parameters.
Return values
Google_Service_AndroidEnterprise_Install

◆ listInstalls()

Google_Service_AndroidEnterprise_Installs_Resource::listInstalls ( $enterpriseId,
$userId,
$deviceId,
$optParams = array() )

Retrieves the details of all apps installed on the specified device.

(installs.listInstalls)

Parameters
string$enterpriseIdThe ID of the enterprise.
string$userIdThe ID of the user.
string$deviceIdThe Android ID of the device.
array$optParamsOptional parameters.
Return values
Google_Service_AndroidEnterprise_InstallsListResponse

◆ patch()

Google_Service_AndroidEnterprise_Installs_Resource::patch ( $enterpriseId,
$userId,
$deviceId,
$installId,
Google_Service_AndroidEnterprise_Install $postBody,
$optParams = array() )

Requests to install the latest version of an app to a device.

If the app is already installed then it is updated to the latest version if necessary. This method supports patch semantics. (installs.patch)

Parameters
string$enterpriseIdThe ID of the enterprise.
string$userIdThe ID of the user.
string$deviceIdThe Android ID of the device.
string$installIdThe ID of the product represented by the install, e.g. "app:com.google.android.gm".
Google_Install$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AndroidEnterprise_Install

◆ update()

Google_Service_AndroidEnterprise_Installs_Resource::update ( $enterpriseId,
$userId,
$deviceId,
$installId,
Google_Service_AndroidEnterprise_Install $postBody,
$optParams = array() )

Requests to install the latest version of an app to a device.

If the app is already installed then it is updated to the latest version if necessary. (installs.update)

Parameters
string$enterpriseIdThe ID of the enterprise.
string$userIdThe ID of the user.
string$deviceIdThe Android ID of the device.
string$installIdThe ID of the product represented by the install, e.g. "app:com.google.android.gm".
Google_Install$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AndroidEnterprise_Install

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