The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
returned.
By default response_view is [BASIC][google.cloud.tasks.v2.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.v2.Task.View.FULL] requires
cloudtasks.tasks.fullViewGoogle IAM
permission on the [Task][google.cloud.tasks.v2.Task] resource.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eGetTaskRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Tasks.V2\u003c/code\u003e namespace, specifically for version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetTaskRequest\u003c/code\u003e is used to retrieve a task using the \u003ccode\u003eGetTask\u003c/code\u003e method in the Cloud Tasks API, and it inherits from the base \u003ccode\u003eObject\u003c/code\u003e class, implementing several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetTaskRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eResponseView\u003c/code\u003e, and \u003ccode\u003eTaskName\u003c/code\u003e, which are essential for defining the task to be retrieved and how it will be returned.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers versions from 2.2.0 to the latest version of 3.5.0, for the \u003ccode\u003eGetTaskRequest\u003c/code\u003e method for the dotnet libraries.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetTaskRequest\u003c/code\u003e has two constructors, a default one and one that takes in another instance of itself to create a copy.\u003c/p\u003e\n"]]],[],null,[]]