Class EnterprisesResource.DevicesResource.ExecuteCommandRequest
Executes a command to device managed by the enterprise.
Inheritance
EnterprisesResource.DevicesResource.ExecuteCommandRequest
Implements
Inherited Members
Namespace: Google.Apis.SmartDeviceManagement.v1
Assembly: Google.Apis.SmartDeviceManagement.v1.dll
Syntax
public class EnterprisesResource.DevicesResource.ExecuteCommandRequest : SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>, IClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>, IClientServiceRequest
Constructors
ExecuteCommandRequest(IClientService, GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest, string)
Constructs a new ExecuteCommand request.
Declaration
public ExecuteCommandRequest(IClientService service, GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SmartDeviceManagement.v1.Data.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SmartDeviceManagement.v1.Data.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.MethodName
Name
The name of the device requested. For example: "enterprises/XYZ/devices/123"
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SmartDeviceManagement.v1.Data.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SmartDeviceManagement.v1.Data.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.GetBody()
InitParameters()
Initializes ExecuteCommand parameter list.
Declaration
protected override void InitParameters()