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

TransferRule

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

Rule for transferring to a specific agent.

interface TransferRule {
childAgent?: string;
deterministicTransfer?: TransferRuleDeterministicTransfer;
direction?: "DIRECTION_UNSPECIFIED" | "PARENT_TO_CHILD" | "CHILD_TO_PARENT";
disablePlannerTransfer?: TransferRuleDisablePlannerTransfer;
}

§Properties

§
childAgent?: string
[src]

Required. The resource name of the child agent the rule applies to. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}

§

Optional. A rule that immediately transfers to the target agent when the condition is met.

§
direction?: "DIRECTION_UNSPECIFIED" | "PARENT_TO_CHILD" | "CHILD_TO_PARENT"
[src]

Required. The direction of the transfer.

§

Optional. Rule that prevents the planner from transferring to the target agent.