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"]],[["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-03-21 UTC."],[[["The `GetTaskRequest` class is used to request a specific task using the `GetTask` method in the Google Cloud Tasks API, specifically within version V2."],["This class inherits from `Object` and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing capabilities for message handling, equality comparison, deep cloning, and buffer-based operations."],["The `GetTaskRequest` class has properties like `Name` (the required task name), `ResponseView` (specifying the level of detail in the response), and `TaskName` (a typed view over the resource name)."],["There are several versions available, ranging from version 2.2.0 up to the latest, 3.5.0, showing the evolution of the `GetTaskRequest` message class over time."],["The class provides two constructors: one default constructor that takes no arguments, and one that makes a copy of an existing `GetTaskRequest` Object."]]],[]]