TaskResponseView

enum TaskResponseView : Enum<TaskResponseView> , ConvertibleToJava<TaskResponseView>

The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; 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. Authorization for FULL requires cloudtasks.tasks.fullView Google IAM permission on the Task resource.

Entries

Link copied to clipboard

Unspecified. Defaults to BASIC.

Link copied to clipboard

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.

Link copied to clipboard

All information is returned. Authorization for FULL requires cloudtasks.tasks.fullView Google IAM permission on the Queue resource.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): TaskResponseView
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: TaskResponseView
Link copied to clipboard
Link copied to clipboard