public class SmartDeviceManagement.Enterprises.Devices extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
SmartDeviceManagement.Enterprises.Devices.ExecuteCommand |
class |
SmartDeviceManagement.Enterprises.Devices.Get |
class |
SmartDeviceManagement.Enterprises.Devices.List |
| Constructor and Description |
|---|
Devices() |
| Modifier and Type | Method and Description |
|---|---|
SmartDeviceManagement.Enterprises.Devices.ExecuteCommand |
executeCommand(String name,
GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest content)
Executes a command to device managed by the enterprise.
|
SmartDeviceManagement.Enterprises.Devices.Get |
get(String name)
Gets a device managed by the enterprise.
|
SmartDeviceManagement.Enterprises.Devices.List |
list(String parent)
Lists devices managed by the enterprise.
|
public SmartDeviceManagement.Enterprises.Devices.ExecuteCommand executeCommand(String name, GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.name - The name of the device requested. For example: "enterprises/XYZ/devices/123"content - the GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequestIOExceptionpublic SmartDeviceManagement.Enterprises.Devices.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the device requested. For example: "enterprises/XYZ/devices/123"IOExceptionpublic SmartDeviceManagement.Enterprises.Devices.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The parent enterprise to list devices under. E.g. "enterprises/XYZ".IOExceptionCopyright © 2011–2023 Google. All rights reserved.