Class View (2.16.4)

View(value)

The view specifies a subset of 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.

    This view does not include the ([payload in
    AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]
    and [payload in
    PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]).
    These payloads 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 (2):
    All information is returned.

    Authorization for
    <xref uid="google.cloud.tasks.v2beta2.Task.View.FULL">FULL</xref> requires
    `cloudtasks.tasks.fullView` `Google
    IAM <https://cloud.google.com/iam/>`__ permission on the
    <xref uid="google.cloud.tasks.v2beta2.Queue">Queue</xref> resource.

Enums

Name Description
VIEW_UNSPECIFIED Unspecified. Defaults to BASIC.
BASIC The basic view omits fields which can be large or can contain sensitive data.