DevicesResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forceReportUpload(String enterpriseId, String userId, String deviceId, {String? $fields})
→ Future<void>
-
Uploads a report containing any changes in app states on the device since
the last report was generated.
-
get(String enterpriseId, String userId, String deviceId, {String? $fields})
→ Future<Device>
-
Retrieves the details of a device.
-
getState(String enterpriseId, String userId, String deviceId, {String? $fields})
→ Future<DeviceState>
-
Retrieves whether a device's access to Google services is enabled or
disabled.
-
list(String enterpriseId, String userId, {String? $fields})
→ Future<DevicesListResponse>
-
Retrieves the IDs of all of a user's devices.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setState(DeviceState request, String enterpriseId, String userId, String deviceId, {String? $fields})
→ Future<DeviceState>
-
Sets whether a device's access to Google services is enabled or disabled.
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(Device request, String enterpriseId, String userId, String deviceId, {String? updateMask, String? $fields})
→ Future<Device>
-
Updates the device policy.