Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudIntegrationsV1alphaTaskConfig

import type { GoogleCloudIntegrationsV1alphaTaskConfig } from "https://googleapis.deno.dev/v1/integrations:v1.ts";

The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.

interface GoogleCloudIntegrationsV1alphaTaskConfig {
description?: string;
displayName?: string;
errorCatcherId?: string;
externalTaskType?: "EXTERNAL_TASK_TYPE_UNSPECIFIED" | "NORMAL_TASK" | "ERROR_TASK";
jsonValidationOption?:
| "JSON_VALIDATION_OPTION_UNSPECIFIED"
| "SKIP"
| "PRE_EXECUTION"
| "POST_EXECUTION"
| "PRE_POST_EXECUTION";
nextTasksExecutionPolicy?: "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED" | "RUN_ALL_MATCH" | "RUN_FIRST_MATCH";
parameters?: {};
synchronousCallFailurePolicy?: GoogleCloudIntegrationsV1alphaFailurePolicy;
task?: string;
taskExecutionStrategy?:
| "TASK_EXECUTION_STRATEGY_UNSPECIFIED"
| "WHEN_ALL_SUCCEED"
| "WHEN_ANY_SUCCEED"
| "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED";
taskId?: string;
taskTemplate?: string;
}

§Properties

§
description?: string
[src]

Optional. User-provided description intended to give additional business context about the task.

§
displayName?: string
[src]

Optional. User-provided label that is attached to this TaskConfig in the UI.

§
errorCatcherId?: string
[src]

Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task

§
externalTaskType?: "EXTERNAL_TASK_TYPE_UNSPECIFIED" | "NORMAL_TASK" | "ERROR_TASK"
[src]

Optional. External task type of the task

§

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.).

§
jsonValidationOption?: "JSON_VALIDATION_OPTION_UNSPECIFIED" | "SKIP" | "PRE_EXECUTION" | "POST_EXECUTION" | "PRE_POST_EXECUTION"
[src]

Optional. If set, overrides the option configured in the Task implementation class.

§

Optional. 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?: "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED" | "RUN_ALL_MATCH" | "RUN_FIRST_MATCH"
[src]

Optional. The policy dictating the execution of the next set of tasks for the current task.

§

Optional. The customized parameters the user can pass to this task.

§

Optional. Informs the front-end application where to draw this error catcher config on the UI.

§

Optional. Determines what action to take upon successful task completion.

§

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).

§
task?: string
[src]

Optional. The name for the task.

§
taskExecutionStrategy?: "TASK_EXECUTION_STRATEGY_UNSPECIFIED" | "WHEN_ALL_SUCCEED" | "WHEN_ANY_SUCCEED" | "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED"
[src]

Optional. The policy dictating the execution strategy of this task.

§
taskId?: string
[src]

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_id).

§
taskTemplate?: string
[src]

Optional. Used to define task-template name if task is of type task-template