public class AndroidEnterprise.Devices
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
AndroidEnterprise.Devices.ForceReportUpload |
class |
AndroidEnterprise.Devices.Get |
class |
AndroidEnterprise.Devices.GetState |
class |
AndroidEnterprise.Devices.List |
class |
AndroidEnterprise.Devices.SetState |
class |
AndroidEnterprise.Devices.Update |
Constructor and Description |
---|
Devices() |
Modifier and Type | Method and Description |
---|---|
AndroidEnterprise.Devices.ForceReportUpload |
forceReportUpload(java.lang.String enterpriseId,
java.lang.String userId,
java.lang.String deviceId)
Uploads a report containing any changes in app states on the device since the last report was
generated.
|
AndroidEnterprise.Devices.Get |
get(java.lang.String enterpriseId,
java.lang.String userId,
java.lang.String deviceId)
Retrieves the details of a device.
|
AndroidEnterprise.Devices.GetState |
getState(java.lang.String enterpriseId,
java.lang.String userId,
java.lang.String deviceId)
Retrieves whether a device's access to Google services is enabled or disabled.
|
AndroidEnterprise.Devices.List |
list(java.lang.String enterpriseId,
java.lang.String userId)
Retrieves the IDs of all of a user's devices.
|
AndroidEnterprise.Devices.SetState |
setState(java.lang.String enterpriseId,
java.lang.String userId,
java.lang.String deviceId,
DeviceState content)
Sets whether a device's access to Google services is enabled or disabled.
|
AndroidEnterprise.Devices.Update |
update(java.lang.String enterpriseId,
java.lang.String userId,
java.lang.String deviceId,
Device content)
Updates the device policy
Create a request for the method "devices.update".
|
public AndroidEnterprise.Devices.ForceReportUpload forceReportUpload(java.lang.String enterpriseId, java.lang.String userId, java.lang.String deviceId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The ID of the device.java.io.IOException
public AndroidEnterprise.Devices.Get get(java.lang.String enterpriseId, java.lang.String userId, java.lang.String deviceId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The ID of the device.java.io.IOException
public AndroidEnterprise.Devices.GetState getState(java.lang.String enterpriseId, java.lang.String userId, java.lang.String deviceId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The ID of the device.java.io.IOException
public AndroidEnterprise.Devices.List list(java.lang.String enterpriseId, java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.java.io.IOException
public AndroidEnterprise.Devices.SetState setState(java.lang.String enterpriseId, java.lang.String userId, java.lang.String deviceId, DeviceState content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The ID of the device.content
- the DeviceState
java.io.IOException
public AndroidEnterprise.Devices.Update update(java.lang.String enterpriseId, java.lang.String userId, java.lang.String deviceId, Device content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The ID of the device.content
- the Device
java.io.IOException