<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/tasks/v2beta2/task.proto

namespace Google\Cloud\Tasks\V2beta2;

/**
 * The view specifies a subset of [Task][google.cloud.tasks.v2beta2.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.
 *
 * Protobuf enum <code>Google\Cloud\Tasks\V2beta2\Task\View</code>
 */
class Task_View
{
    /**
     * Unspecified. Defaults to BASIC.
     *
     * Generated from protobuf enum <code>VIEW_UNSPECIFIED = 0;</code>
     */
    const VIEW_UNSPECIFIED = 0;
    /**
     * The basic view omits fields which can be large or can contain
     * sensitive data.
     * 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.
     *
     * Generated from protobuf enum <code>BASIC = 1;</code>
     */
    const BASIC = 1;
    /**
     * All information is returned.
     * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
     * permission on the [Queue][google.cloud.tasks.v2beta2.Queue] resource.
     *
     * Generated from protobuf enum <code>FULL = 2;</code>
     */
    const FULL = 2;
}

