EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse class
The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
Constructors
-
EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse({required Input<
List< alertConfigs, required Input<EnterpriseCrmEventbusProtoTaskAlertConfigResponse> >String> createTime, required Input<String> creatorEmail, required Input<String> description, required Input<bool> disableStrictTypeValidation, required Input<String> errorCatcherId, required Input<String> externalTaskType, required Input<EnterpriseCrmEventbusProtoFailurePolicyResponse> failurePolicy, required Input<int> incomingEdgeCount, required Input<String> jsonValidationOption, required Input<String> label, required Input<String> lastModifiedTime, required Input<List< nextTasks, required Input<EnterpriseCrmEventbusProtoNextTaskResponse> >String> nextTasksExecutionPolicy, required Input<Map< parameters, required Input<String, String> >EnterpriseCrmEventbusProtoCoordinateResponse> position, required Input<String> precondition, required Input<String> preconditionLabel, required Input<EnterpriseCrmFrontendsEventbusProtoRollbackStrategyResponse> rollbackStrategy, required Input<EnterpriseCrmEventbusProtoSuccessPolicyResponse> successPolicy, required Input<EnterpriseCrmEventbusProtoFailurePolicyResponse> synchronousCallFailurePolicy, required Input<EnterpriseCrmFrontendsEventbusProtoTaskEntityResponse> taskEntity, required Input<String> taskExecutionStrategy, required Input<String> taskName, required Input<String> taskNumber, required Input<String> taskSpec, required Input<String> taskTemplateName, required Input<String> taskType}) -
Creates a new EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse.
alertConfigsAlert configurations on error rate, warning rate, number of runs, durations, etc.createTimeAuto-generated.creatorEmailThe creator's email address. Auto-generated from the user's email.descriptionUser-provided description intended to give more business context about the task.disableStrictTypeValidationIf 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.errorCatcherIdOptional Error catcher id of the error catch flow which will be executed when execution error happens in the taskexternalTaskTypeRequired.failurePolicyOptional. 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.).incomingEdgeCountThe number of edges leading into this TaskConfig.jsonValidationOptionIf set, overrides the option configured in the Task implementation class.labelUser-provided label that is attached to this TaskConfig in the UI.lastModifiedTimeAuto-generated.nextTasksThe set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified byevent_config_id. Each of these next tasks are executed only if the condition associated with them evaluates to true.nextTasksExecutionPolicyThe policy dictating the execution of the next set of tasks for the current task.parametersThe customized parameters the user can pass to this task.positionOptional. Informs the front-end application where to draw this task config on the UI.preconditionOptional. 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.preconditionLabelOptional. User-provided label that is attached to precondition in the UI.rollbackStrategyOptional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).successPolicyDetermines what action to take upon successful task completion.synchronousCallFailurePolicyOptional. 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).taskEntityCopy of the task entity that this task config is an instance of.taskExecutionStrategyThe policy dictating the execution strategy of this task.taskNameThe name for the task.taskNumberREQUIRED: 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 fieldnext_tasks.task_number).taskSpecA 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.taskTemplateNameUsed to define task-template name if task is of type task-templatetaskTypeDefines the type of the taskconst -
EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
alertConfigs
→ Input<
List< EnterpriseCrmEventbusProtoTaskAlertConfigResponse> > -
Alert configurations on error rate, warning rate, number of runs, durations, etc.
final
-
createTime
→ Input<
String> -
Auto-generated.
final
-
creatorEmail
→ Input<
String> -
The creator's email address. Auto-generated from the user's email.
final
-
description
→ Input<
String> -
User-provided description intended to give more business context about the task.
final
-
disableStrictTypeValidation
→ Input<
bool> -
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.
final
-
errorCatcherId
→ Input<
String> -
Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
final
-
externalTaskType
→ Input<
String> -
final
-
failurePolicy
→ Input<
EnterpriseCrmEventbusProtoFailurePolicyResponse> -
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.).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
incomingEdgeCount
→ Input<
int> -
The number of edges leading into this TaskConfig.
final
-
jsonValidationOption
→ Input<
String> -
If set, overrides the option configured in the Task implementation class.
final
-
label
→ Input<
String> -
User-provided label that is attached to this TaskConfig in the UI.
final
-
lastModifiedTime
→ Input<
String> -
Auto-generated.
final
-
nextTasks
→ Input<
List< EnterpriseCrmEventbusProtoNextTaskResponse> > -
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.final -
nextTasksExecutionPolicy
→ Input<
String> -
The policy dictating the execution of the next set of tasks for the current task.
final
-
parameters
→ Input<
Map< String, String> > -
The customized parameters the user can pass to this task.
final
-
position
→ Input<
EnterpriseCrmEventbusProtoCoordinateResponse> -
Optional. Informs the front-end application where to draw this task config on the UI.
final
-
precondition
→ Input<
String> -
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.
final
-
preconditionLabel
→ Input<
String> -
Optional. User-provided label that is attached to precondition in the UI.
final
-
rollbackStrategy
→ Input<
EnterpriseCrmFrontendsEventbusProtoRollbackStrategyResponse> -
Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
successPolicy
→ Input<
EnterpriseCrmEventbusProtoSuccessPolicyResponse> -
Determines what action to take upon successful task completion.
final
-
synchronousCallFailurePolicy
→ Input<
EnterpriseCrmEventbusProtoFailurePolicyResponse> -
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).
final
-
taskEntity
→ Input<
EnterpriseCrmFrontendsEventbusProtoTaskEntityResponse> -
Copy of the task entity that this task config is an instance of.
final
-
taskExecutionStrategy
→ Input<
String> -
The policy dictating the execution strategy of this task.
final
-
taskName
→ Input<
String> -
The name for the task.
final
-
taskNumber
→ Input<
String> -
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).final -
taskSpec
→ Input<
String> -
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.
final
-
taskTemplateName
→ Input<
String> -
Used to define task-template name if task is of type task-template
final
-
taskType
→ Input<
String> -
Defines the type of the task
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited