Google Cloud Tasks v2 API - Enum Task.Types.View (3.4.0)

public enum Task.Types.View

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.

Namespace

Google.Cloud.Tasks.V2

Assembly

Google.Cloud.Tasks.V2.dll

Fields

Name Description
Basic

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.fullView Google IAM permission on the [Queue][google.cloud.tasks.v2.Queue] resource.

Unspecified

Unspecified. Defaults to BASIC.