Запрашивает установку последней версии приложения на устройство. Если приложение уже установлено, то при необходимости оно обновляется до последней версии.
Запрос
HTTP-запрос
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/devices/deviceId/installs/installId
Параметры
Имя параметра
Ценить
Описание
Параметры пути
deviceId
string
Android-идентификатор устройства.
enterpriseId
string
Идентификатор предприятия.
installId
string
Идентификатор продукта, представленного при установке, например «app:com.google.android.gm».
userId
string
Идентификатор пользователя.
Авторизация
Этот запрос требует авторизации со следующей областью действия:
[null,null,["Последнее обновление: 2024-11-13 UTC."],[[["This method, which will be inaccessible after September 30, 2025, requests the installation or update of an app to the latest version on a device."],["It requires authorization with the `https://www.googleapis.com/auth/androidenterprise` scope and utilizes specific path parameters like `deviceId`, `enterpriseId`, `installId`, and `userId`."],["New integrations are advised to refer to updated recommendations as this method is deprecated."],["Upon successful execution, an `Installs resource` is returned in the response body."]]],[]]