The response_view specifies which subset of the
[Task][google.cloud.tasks.v2beta3.Task] will be returned.
By default response_view is
[BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
retrieved by default because some data, such as payloads, might be
desirable to return only when needed because of its large size or because
of the sensitivity of data that it contains.
Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
requires cloudtasks.tasks.fullViewGoogle
IAM permission on the
[Task][google.cloud.tasks.v2beta3.Task] resource.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eRunTaskRequest\u003c/code\u003e class within the Google Cloud Tasks v2beta3 API, used to force a task to run immediately.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRunTaskRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eRunTaskRequest\u003c/code\u003e class is 3.0.0-beta07, with other versions also accessible like 3.0.0-beta06 and 2.0.0-beta08.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRunTaskRequest\u003c/code\u003e has properties like \u003ccode\u003eName\u003c/code\u003e (required task name), \u003ccode\u003eResponseView\u003c/code\u003e (specifies the subset of task information returned), and \u003ccode\u003eTaskName\u003c/code\u003e (typed view over the resource name).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: one default and another that accepts a \u003ccode\u003eRunTaskRequest\u003c/code\u003e object as a parameter for cloning.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Tasks v2beta3 API - Class RunTaskRequest (3.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.RunTaskRequest)\n- [3.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/3.0.0-beta06/Google.Cloud.Tasks.V2Beta3.RunTaskRequest)\n- [2.0.0-beta08](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/2.0.0-beta08/Google.Cloud.Tasks.V2Beta3.RunTaskRequest) \n\n public sealed class RunTaskRequest : IMessage\u003cRunTaskRequest\u003e, IEquatable\u003cRunTaskRequest\u003e, IDeepCloneable\u003cRunTaskRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Tasks v2beta3 API class RunTaskRequest.\n\nRequest message for forcing a task to run now using\n\\[RunTask\\]\\[google.cloud.tasks.v2beta3.CloudTasks.RunTask\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RunTaskRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RunTaskRequest](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.RunTaskRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RunTaskRequest](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.RunTaskRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RunTaskRequest](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.RunTaskRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Tasks.V2Beta3](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.Tasks.V2Beta3.dll\n\nConstructors\n------------\n\n### RunTaskRequest()\n\n public RunTaskRequest()\n\n### RunTaskRequest(RunTaskRequest)\n\n public RunTaskRequest(RunTaskRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The task name. For example:\n`projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`\n\n### ResponseView\n\n public Task.Types.View ResponseView { get; set; }\n\nThe response_view specifies which subset of the\n\\[Task\\]\\[google.cloud.tasks.v2beta3.Task\\] will be returned.\n\nBy default response_view is\n\\[BASIC\\]\\[google.cloud.tasks.v2beta3.Task.View.BASIC\\]; not all information is\nretrieved by default because some data, such as payloads, might be\ndesirable to return only when needed because of its large size or because\nof the sensitivity of data that it contains.\n\nAuthorization for \\[FULL\\]\\[google.cloud.tasks.v2beta3.Task.View.FULL\\]\nrequires `cloudtasks.tasks.fullView` [Google\nIAM](https://cloud.google.com/iam/) permission on the\n\\[Task\\]\\[google.cloud.tasks.v2beta3.Task\\] resource.\n\n### TaskName\n\n public TaskName TaskName { get; set; }\n\n[TaskName](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.TaskName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.RunTaskRequest#Google_Cloud_Tasks_V2Beta3_RunTaskRequest_Name) resource name property."]]