EnterpriseCrmFrontendsEventbusProtoTaskConfig constructor

const EnterpriseCrmFrontendsEventbusProtoTaskConfig({
  1. Input<List<EnterpriseCrmEventbusProtoTaskAlertConfig>>? alertConfigs,
  2. Input<String>? createTime,
  3. Input<String>? creatorEmail,
  4. Input<String>? description,
  5. Input<bool>? disableStrictTypeValidation,
  6. Input<String>? errorCatcherId,
  7. Input<EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType>? externalTaskType,
  8. Input<EnterpriseCrmEventbusProtoFailurePolicy>? failurePolicy,
  9. Input<int>? incomingEdgeCount,
  10. Input<EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption>? jsonValidationOption,
  11. Input<String>? label,
  12. Input<String>? lastModifiedTime,
  13. Input<List<EnterpriseCrmEventbusProtoNextTask>>? nextTasks,
  14. Input<EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy>? nextTasksExecutionPolicy,
  15. Input<Map<String, String>>? parameters,
  16. Input<EnterpriseCrmEventbusProtoCoordinate>? position,
  17. Input<String>? precondition,
  18. Input<String>? preconditionLabel,
  19. Input<EnterpriseCrmFrontendsEventbusProtoRollbackStrategy>? rollbackStrategy,
  20. Input<EnterpriseCrmEventbusProtoSuccessPolicy>? successPolicy,
  21. Input<EnterpriseCrmEventbusProtoFailurePolicy>? synchronousCallFailurePolicy,
  22. Input<EnterpriseCrmFrontendsEventbusProtoTaskEntity>? taskEntity,
  23. Input<EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy>? taskExecutionStrategy,
  24. Input<String>? taskName,
  25. Input<String>? taskNumber,
  26. Input<String>? taskSpec,
  27. Input<String>? taskTemplateName,
  28. Input<EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType>? taskType,
})

Creates a new EnterpriseCrmFrontendsEventbusProtoTaskConfig. alertConfigs Alert configurations on error rate, warning rate, number of runs, durations, etc. createTime Auto-generated. creatorEmail The creator's email address. Auto-generated from the user's email. description User-provided description intended to give more business context about the task. disableStrictTypeValidation If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter. errorCatcherId Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task externalTaskType Optional. failurePolicy Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.). incomingEdgeCount The number of edges leading into this TaskConfig. jsonValidationOption If set, overrides the option configured in the Task implementation class. label User-provided label that is attached to this TaskConfig in the UI. lastModifiedTime Auto-generated. nextTasks The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by event_config_id. Each of these next tasks are executed only if the condition associated with them evaluates to true. nextTasksExecutionPolicy The policy dictating the execution of the next set of tasks for the current task. parameters The customized parameters the user can pass to this task. position Optional. Informs the front-end application where to draw this task config on the UI. precondition Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. "rollout(5)" will only allow 5% of incoming traffic to task. preconditionLabel Optional. User-provided label that is attached to precondition in the UI. rollbackStrategy Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times). successPolicy Determines what action to take upon successful task completion. synchronousCallFailurePolicy Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post). taskEntity Copy of the task entity that this task config is an instance of. taskExecutionStrategy The policy dictating the execution strategy of this task. taskName The name for the task. taskNumber REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field next_tasks.task_number). taskSpec A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field. taskTemplateName Used to define task-template name if task is of type task-template taskType Defines the type of the task

Implementation

const EnterpriseCrmFrontendsEventbusProtoTaskConfig({
  this.alertConfigs,
  this.createTime,
  this.creatorEmail,
  this.description,
  this.disableStrictTypeValidation,
  this.errorCatcherId,
  this.externalTaskType,
  this.failurePolicy,
  this.incomingEdgeCount,
  this.jsonValidationOption,
  this.label,
  this.lastModifiedTime,
  this.nextTasks,
  this.nextTasksExecutionPolicy,
  this.parameters,
  this.position,
  this.precondition,
  this.preconditionLabel,
  this.rollbackStrategy,
  this.successPolicy,
  this.synchronousCallFailurePolicy,
  this.taskEntity,
  this.taskExecutionStrategy,
  this.taskName,
  this.taskNumber,
  this.taskSpec,
  this.taskTemplateName,
  this.taskType,
});