Enum Task.View (2.52.0)

public enum Task.View extends Enum<Task.View> implements ProtocolMessageEnum

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 enum google.cloud.tasks.v2.Task.View

Implements

ProtocolMessageEnum

Static 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. 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.

BASIC = 1;

BASIC_VALUE

The 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.

BASIC = 1;

FULL

All information is returned.

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

FULL = 2;

FULL_VALUE

All information is returned.

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

FULL = 2;

UNRECOGNIZED
VIEW_UNSPECIFIED

Unspecified. Defaults to BASIC.

VIEW_UNSPECIFIED = 0;

VIEW_UNSPECIFIED_VALUE

Unspecified. Defaults to BASIC.

VIEW_UNSPECIFIED = 0;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()