Reference documentation and code samples for the Google Cloud Tasks v2 API enum Task.Types.View.
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 provides reference documentation for the `Task.Types.View` enum within the Google Cloud Tasks v2 API, offering different levels of detail when retrieving task data."],["The `Task.Types.View` enum has three 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 the `Basic` view."],["The page also lists available versions of the documentation, ranging from version 2.2.0 up to the latest version 3.5.0."],["The documented entity is part of the `Google.Cloud.Tasks.V2` namespace and is included in the `Google.Cloud.Tasks.V2.dll` assembly."]]],[]]