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."],[[["\u003cp\u003eThe latest version available for the Google Cloud Tasks v2 API is 3.5.0, but this page is specific to version 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTask.Types.View\u003c/code\u003e enum defines the level of detail returned when retrieving task data, with options for \u003ccode\u003eBasic\u003c/code\u003e, \u003ccode\u003eFull\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBasic\u003c/code\u003e view omits potentially large or sensitive data like the body in \u003ccode\u003eAppEngineHttpRequest\u003c/code\u003e, whereas \u003ccode\u003eFull\u003c/code\u003e view returns all information but requires specific IAM permissions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUnspecified\u003c/code\u003e view defaults to the \u003ccode\u003eBasic\u003c/code\u003e view.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the enum is \u003ccode\u003eGoogle.Cloud.Tasks.V2\u003c/code\u003e and is contained in \u003ccode\u003eGoogle.Cloud.Tasks.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]