/// <summary>Constructs a new ExecuteCommand request.</summary> public ExecuteCommandRequest(Google.Apis.Services.IClientService service, Google.Apis.SmartDeviceManagement.v1.Data.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest body, string name) : base(service) { Name = name; Body = body; InitParameters(); }
/// <summary>Executes a command to device managed by the enterprise.</summary> /// <param name="body">The body of the request.</param> /// <param name="name">The name of the device requested. For example: "enterprises/XYZ/devices/123"</param> public virtual ExecuteCommandRequest ExecuteCommand(Google.Apis.SmartDeviceManagement.v1.Data.GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest body, string name) { return(new ExecuteCommandRequest(service, body, name)); }