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\u003eThe \u003ccode\u003eGetTaskRequest\u003c/code\u003e class is used to request a specific task using the \u003ccode\u003eGetTask\u003c/code\u003e method in the Google Cloud Tasks API, specifically within version V2.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing capabilities for message handling, equality comparison, deep cloning, and buffer-based operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetTaskRequest\u003c/code\u003e class has properties like \u003ccode\u003eName\u003c/code\u003e (the required task name), \u003ccode\u003eResponseView\u003c/code\u003e (specifying the level of detail in the response), and \u003ccode\u003eTaskName\u003c/code\u003e (a typed view over the resource name).\u003c/p\u003e\n"],["\u003cp\u003eThere are several versions available, ranging from version 2.2.0 up to the latest, 3.5.0, showing the evolution of the \u003ccode\u003eGetTaskRequest\u003c/code\u003e message class over time.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: one default constructor that takes no arguments, and one that makes a copy of an existing \u003ccode\u003eGetTaskRequest\u003c/code\u003e Object.\u003c/p\u003e\n"]]],[],null,[]]