The view specifies a subset of [Task][google.cloud.tasks.v2.Task] data.
When a task is returned in a response, 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.
The basic view omits fields which can be large or can contain
sensitive data.
This view does not include the
[body in AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest.body].
Bodies are desirable to return only when needed, because they
can be large and because of the sensitivity of the data that you
choose to store in it.
Full
All information is returned.
Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
cloudtasks.tasks.fullViewGoogle IAM
permission on the [Queue][google.cloud.tasks.v2.Queue] 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."],[[["This webpage details different versions of the `Google.Cloud.Tasks.V2.Task.Types.View` within the Google Cloud Tasks API, ranging from version 2.2.0 to the latest 3.5.0."],["The `View` enum specifies how much data is returned for a `Task`, allowing for control over the size and sensitivity of the data."],["There are three `View` options: `Basic`, which omits large or sensitive fields like the body in `AppEngineHttpRequest`, `Full`, which returns all information but requires specific IAM permissions, and `Unspecified`, which defaults to `Basic`."],["The `Google.Cloud.Tasks.V2.dll` assembly contains the code for the `Google.Cloud.Tasks.V2` namespace, which this `View` enum is a part of."]]],[]]