Class EnterprisesResource.DevicesResource.IssueCommandRequest
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.
Inheritance
EnterprisesResource.DevicesResource.IssueCommandRequest
Inherited Members
Namespace: Google.Apis.AndroidManagement.v1
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class EnterprisesResource.DevicesResource.IssueCommandRequest : AndroidManagementBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
IssueCommandRequest(IClientService, Command, string)
Constructs a new IssueCommand request.
Declaration
public IssueCommandRequest(IClientService service, Command body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Command | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes IssueCommand parameter list.
Declaration
protected override void InitParameters()