Show / Hide Table of Contents

Class EnterprisesResource.DevicesResource.ExecuteCommandRequest

Executes a command to device managed by the enterprise.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>
EnterprisesResource.DevicesResource.ExecuteCommandRequest
Implements
IClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>
IClientServiceRequest
Inherited Members
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.Xgafv
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.AccessToken
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.Alt
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.Callback
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.Fields
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.Key
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.OauthToken
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.PrettyPrint
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.QuotaUser
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.UploadType
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.UploadProtocol
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.Execute()
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.ExecuteAsync()
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.ETagAction
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.ModifyRequest
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.ValidateParameters
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.ApiVersion
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.RequestParameters
ClientServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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()
Overrides
SmartDeviceManagementBaseServiceRequest<GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX