Liking cljdoc? Tell your friends :D

happygapi.androidenterprise.devices

Google Play EMM API: devices. Manages the deployment of apps to Android Enterprise devices. See: https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices

Google Play EMM API: devices.
Manages the deployment of apps to Android Enterprise devices.
See: https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices
raw docstring

forceReportUpload$clj

(forceReportUpload$ auth parameters)

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/forceReportUpload

Required parameters: userId, enterpriseId, deviceId

Optional parameters: none

Uploads a report containing any changes in app states on the device since the last report was generated. You can call this method up to 3 times every 24 hours for a given device. If you exceed the quota, then the Google Play EMM API returns HTTP 429 Too Many Requests.

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/forceReportUpload

Required parameters: userId, enterpriseId, deviceId

Optional parameters: none

Uploads a report containing any changes in app states on the device since the last report was generated. You can call this method up to 3 times every 24 hours for a given device. If you exceed the quota, then the Google Play EMM API returns HTTP 429 Too Many Requests.
sourceraw docstring

get$clj

(get$ auth parameters)

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/get

Required parameters: userId, deviceId, enterpriseId

Optional parameters: none

Retrieves the details of a device.

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/get

Required parameters: userId, deviceId, enterpriseId

Optional parameters: none

Retrieves the details of a device.
sourceraw docstring

getState$clj

(getState$ auth parameters)

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/getState

Required parameters: deviceId, userId, enterpriseId

Optional parameters: none

Retrieves whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users.

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/getState

Required parameters: deviceId, userId, enterpriseId

Optional parameters: none

Retrieves whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users.
sourceraw docstring

list$clj

(list$ auth parameters)

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/list

Required parameters: enterpriseId, userId

Optional parameters: none

Retrieves the IDs of all of a user's devices.

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/list

Required parameters: enterpriseId, userId

Optional parameters: none

Retrieves the IDs of all of a user's devices.
sourceraw docstring

setState$clj

(setState$ auth parameters body)

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/setState

Required parameters: userId, deviceId, enterpriseId

Optional parameters: none

Body:

{:accountState string}

Sets whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users.

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/setState

Required parameters: userId, deviceId, enterpriseId

Optional parameters: none

Body: 

{:accountState string}

Sets whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users.
sourceraw docstring

update$clj

(update$ auth parameters body)

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/update

Required parameters: userId, enterpriseId, deviceId

Optional parameters: updateMask

Body:

{:managementType string, :report {:appState [AppState], :lastUpdatedTimestampMillis string}, :androidId string, :policy {:productPolicy [ProductPolicy], :productAvailabilityPolicy string, :maintenanceWindow MaintenanceWindow, :deviceReportPolicy string, :autoUpdatePolicy string}}

Updates the device policy. To ensure the policy is properly enforced, you need to prevent unmanaged accounts from accessing Google Play by setting the allowed_accounts in the managed configuration for the Google Play package. See restrict accounts in Google Play. When provisioning a new device, you should set the device policy using this method before adding the managed Google Play Account to the device, otherwise the policy will not be applied for a short period of time after adding the account to the device.

https://developers.google.com/android/work/play/emm-apiapi/reference/rest/v1/devices/update

Required parameters: userId, enterpriseId, deviceId

Optional parameters: updateMask

Body: 

{:managementType string,
 :report {:appState [AppState], :lastUpdatedTimestampMillis string},
 :androidId string,
 :policy {:productPolicy [ProductPolicy],
          :productAvailabilityPolicy string,
          :maintenanceWindow MaintenanceWindow,
          :deviceReportPolicy string,
          :autoUpdatePolicy string}}

Updates the device policy. To ensure the policy is properly enforced, you need to prevent unmanaged accounts from accessing Google Play by setting the allowed_accounts in the managed configuration for the Google Play package. See restrict accounts in Google Play. When provisioning a new device, you should set the device policy using this method before adding the managed Google Play Account to the device, otherwise the policy will not be applied for a short period of time after adding the account to the device.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close