TaskCreate

algoliasearch.ingestion.TaskCreate
case class TaskCreate(sourceID: String, destinationID: String, action: ActionType, cron: Option[String], enabled: Option[Boolean], failureThreshold: Option[Int], input: Option[TaskInput], cursor: Option[String])

API request body for creating a task.

Value parameters

cron

Cron expression for the task's schedule.

cursor

Date of the last cursor in RFC 3339 format.

destinationID

Universally unique identifier (UUID) of a destination resource.

enabled

Whether the task is enabled.

failureThreshold

Maximum accepted percentage of failures for a task run to finish successfully.

sourceID

Universally uniqud identifier (UUID) of a source.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product