import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). */ export declare class TransitionRouteGroup extends pulumi.CustomResource { /** * Get an existing TransitionRouteGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): TransitionRouteGroup; /** * Returns true if the given object is an instance of TransitionRouteGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is TransitionRouteGroup; readonly agentId: pulumi.Output; /** * The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters. */ readonly displayName: pulumi.Output; readonly flowId: pulumi.Output; /** * The language of the following fields in `TransitionRouteGroup`: * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used. */ readonly languageCode: pulumi.Output; readonly location: pulumi.Output; /** * The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/` for agent-level groups. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Transition routes associated with the TransitionRouteGroup. */ readonly transitionRoutes: pulumi.Output; /** * Create a TransitionRouteGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: TransitionRouteGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a TransitionRouteGroup resource. */ export interface TransitionRouteGroupArgs { agentId: pulumi.Input; /** * The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters. */ displayName: pulumi.Input; flowId: pulumi.Input; /** * The language of the following fields in `TransitionRouteGroup`: * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used. */ languageCode?: pulumi.Input; location?: pulumi.Input; /** * The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/` for agent-level groups. */ name?: pulumi.Input; project?: pulumi.Input; /** * Transition routes associated with the TransitionRouteGroup. */ transitionRoutes?: pulumi.Input[]>; }