Module: Google::Cloud::Tasks::V2beta2::Task::View

Defined in:
lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb

Overview

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.

Constant Summary collapse

VIEW_UNSPECIFIED =

Unspecified. Defaults to BASIC.

0
BASIC =

The basic view omits fields which can be large or can contain sensitive data.

This view does not include the (payload in AppEngineHttpRequest and payload in PullMessage). 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.

1
FULL =

All information is returned.

Authorization for FULL requires +cloudtasks.tasks.fullView+ Google IAM permission on the Queue resource.

2