EnterprisesDevices
class EnterprisesDevices extends Resource (View source)
The "devices" collection of methods.
Typical usage is:
$androidmanagementService = new Google\Service\AndroidManagement(...);
$devices = $androidmanagementService->enterprises_devices;
Methods
Deletes a device. This operation wipes the device. Deleted devices do not show up in enterprises.devices.list calls and a 404 is returned from enterprises.devices.get. (devices.delete)
Gets a device. Deleted devices will respond with a 404 error. (devices.get)
Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the command. (devices.issueCommand)
Lists devices for a given enterprise. Deleted devices are not returned in the response. (devices.listEnterprisesDevices)
Details
AndroidmanagementEmpty
delete(string $name, array $optParams = [])
Deletes a device. This operation wipes the device. Deleted devices do not show up in enterprises.devices.list calls and a 404 is returned from enterprises.devices.get. (devices.delete)
Device
get(string $name, array $optParams = [])
Gets a device. Deleted devices will respond with a 404 error. (devices.get)
Operation
issueCommand(string $name, Command $postBody, array $optParams = [])
Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the command. (devices.issueCommand)
ListDevicesResponse
listEnterprisesDevices(string $parent, array $optParams = [])
Lists devices for a given enterprise. Deleted devices are not returned in the response. (devices.listEnterprisesDevices)