class Installs extends Resource (View source)

The "installs" collection of methods.

Typical usage is:

 $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
 $installs = $androidenterpriseService->installs;

Methods

delete(string $enterpriseId, string $userId, string $deviceId, string $installId, array $optParams = [])

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. A successful response indicates that a removal request has been sent to the device. The call will be considered successful even if the app is not present on the device (e.g. it was never installed, or was removed by the user).

get(string $enterpriseId, string $userId, string $deviceId, string $installId, array $optParams = [])

Retrieves details of an installation of an app on a device. (installs.get)

listInstalls(string $enterpriseId, string $userId, string $deviceId, array $optParams = [])

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

update(string $enterpriseId, string $userId, string $deviceId, string $installId, Install $postBody, array $optParams = [])

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.

Details

delete(string $enterpriseId, string $userId, string $deviceId, string $installId, array $optParams = [])

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. A successful response indicates that a removal request has been sent to the device. The call will be considered successful even if the app is not present on the device (e.g. it was never installed, or was removed by the user).

(installs.delete)

Parameters

string $enterpriseId

The ID of the enterprise.

string $userId

The ID of the user.

string $deviceId

The Android ID of the device.

string $installId

The ID of the product represented by the install, e.g. "app:com.google.android.gm".

array $optParams

Optional parameters.

Exceptions

Exception

Install get(string $enterpriseId, string $userId, string $deviceId, string $installId, array $optParams = [])

Retrieves details of an installation of an app on a device. (installs.get)

Parameters

string $enterpriseId

The ID of the enterprise.

string $userId

The ID of the user.

string $deviceId

The Android ID of the device.

string $installId

The ID of the product represented by the install, e.g. "app:com.google.android.gm".

array $optParams

Optional parameters.

Return Value

Install

Exceptions

Exception

InstallsListResponse listInstalls(string $enterpriseId, string $userId, string $deviceId, array $optParams = [])

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

(installs.listInstalls)

Parameters

string $enterpriseId

The ID of the enterprise.

string $userId

The ID of the user.

string $deviceId

The Android ID of the device.

array $optParams

Optional parameters.

Return Value

InstallsListResponse

Exceptions

Exception

Install update(string $enterpriseId, string $userId, string $deviceId, string $installId, Install $postBody, array $optParams = [])

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 $enterpriseId

The ID of the enterprise.

string $userId

The ID of the user.

string $deviceId

The Android ID of the device.

string $installId

The ID of the product represented by the install, e.g. "app:com.google.android.gm".

Install $postBody
array $optParams

Optional parameters.

Return Value

Install

Exceptions

Exception