Skip to main content

Task

Tasks models the TaskDetails from the task_definition.proto

Attributes

AttributeTypeDescription
EnvironmentstringThe environment associated with the task, extracted from its name.
FunctionNamestringThe name of the function associated with the task, extracted from its name.
CreatedAttime.TimeThe timestamp indicating when the task was created.
UpdatedAttime.TimeThe timestamp indicating when the task was last updated.
DeployedBystringThe identifier of the entity that deployed the task.
TriggerNamesql.NullStringThe name of the trigger associated with the task, which can be null.
TotalTriggersuint32The total number of triggers associated with the task.
ActiveTriggersuint32The number of active triggers associated with the task.
TriggerAutomationSpec[]byteThe specification for trigger automation as a byte array.
TriggerTypespgtype.BitsThe types of triggers associated with the task, represented as a bitfield.
EnvDescriptionsql.NullStringA description of the environment, which can be null.
ShortDescriptionsql.NullStringA short description of the task, which can be null.
TaskSpec[]byteThe specification of the task as a byte array.