Class Type (1.12.3)

Type(value)

Determines how often and when the job will run.

Values: TYPE_UNSPECIFIED (0): Unspecified trigger type. ON_DEMAND (1): The task runs one-time shortly after Task Creation. RECURRING (2): The task is scheduled to run periodically.