Reference documentation and code samples for the Google Cloud Tasks V2 Client class View.
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.
Protobuf type google.cloud.tasks.v2.Task.View
Namespace
Google \ Cloud \ Tasks \ V2 \ TaskMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
VIEW_UNSPECIFIED
Value: 0Unspecified. Defaults to BASIC.
Generated from protobuf enum VIEW_UNSPECIFIED = 0;
BASIC
Value: 1The basic view omits fields which can be large or can contain sensitive data.
This view does not include the body in AppEngineHttpRequest. 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.
Generated from protobuf enum BASIC = 1;
FULL
Value: 2All information is returned.
Authorization for FULL requires
cloudtasks.tasks.fullView Google IAM
permission on the Queue resource.
Generated from protobuf enum FULL = 2;