Class EnterprisesResource.DevicesResource
The "devices" collection of methods.
Inherited Members
Namespace: Google.Apis.SmartDeviceManagement.v1
Assembly: Google.Apis.SmartDeviceManagement.v1.dll
Syntax
public class EnterprisesResource.DevicesResource
Constructors
DevicesResource(IClientService)
Constructs a new resource.
Declaration
public DevicesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
ExecuteCommand(GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest, string)
Executes a command to device managed by the enterprise.
Declaration
public virtual EnterprisesResource.DevicesResource.ExecuteCommandRequest ExecuteCommand(GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest | body | The body of the request. |
string | name | The name of the device requested. For example: "enterprises/XYZ/devices/123" |
Returns
Type | Description |
---|---|
EnterprisesResource.DevicesResource.ExecuteCommandRequest |
Get(string)
Gets a device managed by the enterprise.
Declaration
public virtual EnterprisesResource.DevicesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the device requested. For example: "enterprises/XYZ/devices/123" |
Returns
Type | Description |
---|---|
EnterprisesResource.DevicesResource.GetRequest |
List(string)
Lists devices managed by the enterprise.
Declaration
public virtual EnterprisesResource.DevicesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | The parent enterprise to list devices under. E.g. "enterprises/XYZ". |
Returns
Type | Description |
---|---|
EnterprisesResource.DevicesResource.ListRequest |