1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. diagflow
  5. CxFlow
Google Cloud v8.31.0 published on Thursday, May 15, 2025 by Pulumi

gcp.diagflow.CxFlow

Explore with Pulumi AI

gcp logo
Google Cloud v8.31.0 published on Thursday, May 15, 2025 by Pulumi

    Flows represents the conversation flows when you build your chatbot agent.

    To get more information about Flow, see:

    Example Usage

    Dialogflowcx Flow Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const agent = new gcp.diagflow.CxAgent("agent", {
        displayName: "dialogflowcx-agent",
        location: "global",
        defaultLanguageCode: "en",
        supportedLanguageCodes: [
            "fr",
            "de",
            "es",
        ],
        timeZone: "America/New_York",
        description: "Example description.",
        avatarUri: "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png",
        enableStackdriverLogging: true,
        enableSpellCorrection: true,
        speechToTextSettings: {
            enableSpeechAdaptation: true,
        },
    });
    const basicFlow = new gcp.diagflow.CxFlow("basic_flow", {
        parent: agent.id,
        displayName: "MyFlow",
        description: "Test Flow",
        nluSettings: {
            classificationThreshold: 0.3,
            modelType: "MODEL_TYPE_STANDARD",
        },
        eventHandlers: [
            {
                event: "custom-event",
                triggerFulfillment: {
                    returnPartialResponses: false,
                    messages: [{
                        text: {
                            texts: ["I didn't get that. Can you say it again?"],
                        },
                    }],
                },
            },
            {
                event: "sys.no-match-default",
                triggerFulfillment: {
                    returnPartialResponses: false,
                    messages: [{
                        text: {
                            texts: ["Sorry, could you say that again?"],
                        },
                    }],
                },
            },
            {
                event: "sys.no-input-default",
                triggerFulfillment: {
                    returnPartialResponses: false,
                    messages: [{
                        text: {
                            texts: ["One more time?"],
                        },
                    }],
                },
            },
        ],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    agent = gcp.diagflow.CxAgent("agent",
        display_name="dialogflowcx-agent",
        location="global",
        default_language_code="en",
        supported_language_codes=[
            "fr",
            "de",
            "es",
        ],
        time_zone="America/New_York",
        description="Example description.",
        avatar_uri="https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png",
        enable_stackdriver_logging=True,
        enable_spell_correction=True,
        speech_to_text_settings={
            "enable_speech_adaptation": True,
        })
    basic_flow = gcp.diagflow.CxFlow("basic_flow",
        parent=agent.id,
        display_name="MyFlow",
        description="Test Flow",
        nlu_settings={
            "classification_threshold": 0.3,
            "model_type": "MODEL_TYPE_STANDARD",
        },
        event_handlers=[
            {
                "event": "custom-event",
                "trigger_fulfillment": {
                    "return_partial_responses": False,
                    "messages": [{
                        "text": {
                            "texts": ["I didn't get that. Can you say it again?"],
                        },
                    }],
                },
            },
            {
                "event": "sys.no-match-default",
                "trigger_fulfillment": {
                    "return_partial_responses": False,
                    "messages": [{
                        "text": {
                            "texts": ["Sorry, could you say that again?"],
                        },
                    }],
                },
            },
            {
                "event": "sys.no-input-default",
                "trigger_fulfillment": {
                    "return_partial_responses": False,
                    "messages": [{
                        "text": {
                            "texts": ["One more time?"],
                        },
                    }],
                },
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/diagflow"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{
    			DisplayName:         pulumi.String("dialogflowcx-agent"),
    			Location:            pulumi.String("global"),
    			DefaultLanguageCode: pulumi.String("en"),
    			SupportedLanguageCodes: pulumi.StringArray{
    				pulumi.String("fr"),
    				pulumi.String("de"),
    				pulumi.String("es"),
    			},
    			TimeZone:                 pulumi.String("America/New_York"),
    			Description:              pulumi.String("Example description."),
    			AvatarUri:                pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
    			EnableStackdriverLogging: pulumi.Bool(true),
    			EnableSpellCorrection:    pulumi.Bool(true),
    			SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{
    				EnableSpeechAdaptation: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = diagflow.NewCxFlow(ctx, "basic_flow", &diagflow.CxFlowArgs{
    			Parent:      agent.ID(),
    			DisplayName: pulumi.String("MyFlow"),
    			Description: pulumi.String("Test Flow"),
    			NluSettings: &diagflow.CxFlowNluSettingsArgs{
    				ClassificationThreshold: pulumi.Float64(0.3),
    				ModelType:               pulumi.String("MODEL_TYPE_STANDARD"),
    			},
    			EventHandlers: diagflow.CxFlowEventHandlerArray{
    				&diagflow.CxFlowEventHandlerArgs{
    					Event: pulumi.String("custom-event"),
    					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
    						ReturnPartialResponses: pulumi.Bool(false),
    						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
    									Texts: pulumi.StringArray{
    										pulumi.String("I didn't get that. Can you say it again?"),
    									},
    								},
    							},
    						},
    					},
    				},
    				&diagflow.CxFlowEventHandlerArgs{
    					Event: pulumi.String("sys.no-match-default"),
    					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
    						ReturnPartialResponses: pulumi.Bool(false),
    						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
    									Texts: pulumi.StringArray{
    										pulumi.String("Sorry, could you say that again?"),
    									},
    								},
    							},
    						},
    					},
    				},
    				&diagflow.CxFlowEventHandlerArgs{
    					Event: pulumi.String("sys.no-input-default"),
    					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
    						ReturnPartialResponses: pulumi.Bool(false),
    						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
    									Texts: pulumi.StringArray{
    										pulumi.String("One more time?"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var agent = new Gcp.Diagflow.CxAgent("agent", new()
        {
            DisplayName = "dialogflowcx-agent",
            Location = "global",
            DefaultLanguageCode = "en",
            SupportedLanguageCodes = new[]
            {
                "fr",
                "de",
                "es",
            },
            TimeZone = "America/New_York",
            Description = "Example description.",
            AvatarUri = "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png",
            EnableStackdriverLogging = true,
            EnableSpellCorrection = true,
            SpeechToTextSettings = new Gcp.Diagflow.Inputs.CxAgentSpeechToTextSettingsArgs
            {
                EnableSpeechAdaptation = true,
            },
        });
    
        var basicFlow = new Gcp.Diagflow.CxFlow("basic_flow", new()
        {
            Parent = agent.Id,
            DisplayName = "MyFlow",
            Description = "Test Flow",
            NluSettings = new Gcp.Diagflow.Inputs.CxFlowNluSettingsArgs
            {
                ClassificationThreshold = 0.3,
                ModelType = "MODEL_TYPE_STANDARD",
            },
            EventHandlers = new[]
            {
                new Gcp.Diagflow.Inputs.CxFlowEventHandlerArgs
                {
                    Event = "custom-event",
                    TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentArgs
                    {
                        ReturnPartialResponses = false,
                        Messages = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                Text = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs
                                {
                                    Texts = new[]
                                    {
                                        "I didn't get that. Can you say it again?",
                                    },
                                },
                            },
                        },
                    },
                },
                new Gcp.Diagflow.Inputs.CxFlowEventHandlerArgs
                {
                    Event = "sys.no-match-default",
                    TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentArgs
                    {
                        ReturnPartialResponses = false,
                        Messages = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                Text = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs
                                {
                                    Texts = new[]
                                    {
                                        "Sorry, could you say that again?",
                                    },
                                },
                            },
                        },
                    },
                },
                new Gcp.Diagflow.Inputs.CxFlowEventHandlerArgs
                {
                    Event = "sys.no-input-default",
                    TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentArgs
                    {
                        ReturnPartialResponses = false,
                        Messages = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                Text = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs
                                {
                                    Texts = new[]
                                    {
                                        "One more time?",
                                    },
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.diagflow.CxAgent;
    import com.pulumi.gcp.diagflow.CxAgentArgs;
    import com.pulumi.gcp.diagflow.inputs.CxAgentSpeechToTextSettingsArgs;
    import com.pulumi.gcp.diagflow.CxFlow;
    import com.pulumi.gcp.diagflow.CxFlowArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowNluSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowEventHandlerArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowEventHandlerTriggerFulfillmentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var agent = new CxAgent("agent", CxAgentArgs.builder()
                .displayName("dialogflowcx-agent")
                .location("global")
                .defaultLanguageCode("en")
                .supportedLanguageCodes(            
                    "fr",
                    "de",
                    "es")
                .timeZone("America/New_York")
                .description("Example description.")
                .avatarUri("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png")
                .enableStackdriverLogging(true)
                .enableSpellCorrection(true)
                .speechToTextSettings(CxAgentSpeechToTextSettingsArgs.builder()
                    .enableSpeechAdaptation(true)
                    .build())
                .build());
    
            var basicFlow = new CxFlow("basicFlow", CxFlowArgs.builder()
                .parent(agent.id())
                .displayName("MyFlow")
                .description("Test Flow")
                .nluSettings(CxFlowNluSettingsArgs.builder()
                    .classificationThreshold(0.3)
                    .modelType("MODEL_TYPE_STANDARD")
                    .build())
                .eventHandlers(            
                    CxFlowEventHandlerArgs.builder()
                        .event("custom-event")
                        .triggerFulfillment(CxFlowEventHandlerTriggerFulfillmentArgs.builder()
                            .returnPartialResponses(false)
                            .messages(CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                .text(CxFlowEventHandlerTriggerFulfillmentMessageTextArgs.builder()
                                    .texts("I didn't get that. Can you say it again?")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    CxFlowEventHandlerArgs.builder()
                        .event("sys.no-match-default")
                        .triggerFulfillment(CxFlowEventHandlerTriggerFulfillmentArgs.builder()
                            .returnPartialResponses(false)
                            .messages(CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                .text(CxFlowEventHandlerTriggerFulfillmentMessageTextArgs.builder()
                                    .texts("Sorry, could you say that again?")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    CxFlowEventHandlerArgs.builder()
                        .event("sys.no-input-default")
                        .triggerFulfillment(CxFlowEventHandlerTriggerFulfillmentArgs.builder()
                            .returnPartialResponses(false)
                            .messages(CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                .text(CxFlowEventHandlerTriggerFulfillmentMessageTextArgs.builder()
                                    .texts("One more time?")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      agent:
        type: gcp:diagflow:CxAgent
        properties:
          displayName: dialogflowcx-agent
          location: global
          defaultLanguageCode: en
          supportedLanguageCodes:
            - fr
            - de
            - es
          timeZone: America/New_York
          description: Example description.
          avatarUri: https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png
          enableStackdriverLogging: true
          enableSpellCorrection: true
          speechToTextSettings:
            enableSpeechAdaptation: true
      basicFlow:
        type: gcp:diagflow:CxFlow
        name: basic_flow
        properties:
          parent: ${agent.id}
          displayName: MyFlow
          description: Test Flow
          nluSettings:
            classificationThreshold: 0.3
            modelType: MODEL_TYPE_STANDARD
          eventHandlers:
            - event: custom-event
              triggerFulfillment:
                returnPartialResponses: false
                messages:
                  - text:
                      texts:
                        - I didn't get that. Can you say it again?
            - event: sys.no-match-default
              triggerFulfillment:
                returnPartialResponses: false
                messages:
                  - text:
                      texts:
                        - Sorry, could you say that again?
            - event: sys.no-input-default
              triggerFulfillment:
                returnPartialResponses: false
                messages:
                  - text:
                      texts:
                        - One more time?
    

    Dialogflowcx Flow Full

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const agent = new gcp.diagflow.CxAgent("agent", {
        displayName: "dialogflowcx-agent",
        location: "global",
        defaultLanguageCode: "en",
        supportedLanguageCodes: [
            "fr",
            "de",
            "es",
        ],
        timeZone: "America/New_York",
        description: "Example description.",
        avatarUri: "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png",
        enableStackdriverLogging: true,
        enableSpellCorrection: true,
        speechToTextSettings: {
            enableSpeechAdaptation: true,
        },
    });
    const bucket = new gcp.storage.Bucket("bucket", {
        name: "dialogflowcx-bucket",
        location: "US",
        uniformBucketLevelAccess: true,
    });
    const myDatastore = new gcp.discoveryengine.DataStore("my_datastore", {
        location: "global",
        dataStoreId: "datastore-flow-full",
        displayName: "datastore-flow-full",
        industryVertical: "GENERIC",
        contentConfig: "NO_CONTENT",
        solutionTypes: ["SOLUTION_TYPE_CHAT"],
    });
    const myWebhook = new gcp.diagflow.CxWebhook("my_webhook", {
        parent: agent.id,
        displayName: "MyWebhook",
        genericWebService: {
            uri: "https://example.com",
        },
    });
    const project = gcp.organizations.getProject({});
    const basicFlow = new gcp.diagflow.CxFlow("basic_flow", {
        parent: agent.id,
        displayName: "MyFlow",
        description: "Test Flow",
        nluSettings: {
            classificationThreshold: 0.3,
            modelType: "MODEL_TYPE_STANDARD",
        },
        eventHandlers: [
            {
                event: "custom-event",
                triggerFulfillment: {
                    returnPartialResponses: false,
                    messages: [{
                        text: {
                            texts: ["I didn't get that. Can you say it again?"],
                        },
                    }],
                },
            },
            {
                event: "sys.no-match-default",
                triggerFulfillment: {
                    returnPartialResponses: false,
                    messages: [{
                        text: {
                            texts: ["Sorry, could you say that again?"],
                        },
                    }],
                },
            },
            {
                event: "sys.no-input-default",
                triggerFulfillment: {
                    returnPartialResponses: false,
                    messages: [{
                        text: {
                            texts: ["One more time?"],
                        },
                    }],
                },
            },
            {
                event: "another-event",
                triggerFulfillment: {
                    returnPartialResponses: true,
                    messages: [
                        {
                            channel: "some-channel",
                            text: {
                                texts: ["Some text"],
                            },
                        },
                        {
                            payload: "          {\"some-key\": \"some-value\", \"other-key\": [\"other-value\"]}\n",
                        },
                        {
                            conversationSuccess: {
                                metadata: "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                            },
                        },
                        {
                            outputAudioText: {
                                text: "some output text",
                            },
                        },
                        {
                            outputAudioText: {
                                ssml: "            <speak>Some example <say-as interpret-as=\"characters\">SSML XML</say-as></speak>\n",
                            },
                        },
                        {
                            liveAgentHandoff: {
                                metadata: "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                            },
                        },
                        {
                            playAudio: {
                                audioUri: "http://example.com/some-audio-file.mp3",
                            },
                        },
                        {
                            telephonyTransferCall: {
                                phoneNumber: "1-234-567-8901",
                            },
                        },
                    ],
                    setParameterActions: [
                        {
                            parameter: "some-param",
                            value: "123.45",
                        },
                        {
                            parameter: "another-param",
                            value: JSON.stringify("abc"),
                        },
                        {
                            parameter: "other-param",
                            value: JSON.stringify(["foo"]),
                        },
                    ],
                    conditionalCases: [{
                        cases: JSON.stringify([
                            {
                                condition: "$sys.func.RAND() < 0.5",
                                caseContent: [
                                    {
                                        message: {
                                            text: {
                                                text: ["First case"],
                                            },
                                        },
                                    },
                                    {
                                        additionalCases: {
                                            cases: [{
                                                condition: "$sys.func.RAND() < 0.2",
                                                caseContent: [{
                                                    message: {
                                                        text: {
                                                            text: ["Nested case"],
                                                        },
                                                    },
                                                }],
                                            }],
                                        },
                                    },
                                ],
                            },
                            {
                                caseContent: [{
                                    message: {
                                        text: {
                                            text: ["Final case"],
                                        },
                                    },
                                }],
                            },
                        ]),
                    }],
                },
            },
        ],
        transitionRoutes: [{
            condition: "true",
            triggerFulfillment: {
                returnPartialResponses: true,
                messages: [
                    {
                        channel: "some-channel",
                        text: {
                            texts: ["Some text"],
                        },
                    },
                    {
                        payload: "          {\"some-key\": \"some-value\", \"other-key\": [\"other-value\"]}\n",
                    },
                    {
                        conversationSuccess: {
                            metadata: "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                        },
                    },
                    {
                        outputAudioText: {
                            text: "some output text",
                        },
                    },
                    {
                        outputAudioText: {
                            ssml: "            <speak>Some example <say-as interpret-as=\"characters\">SSML XML</say-as></speak>\n",
                        },
                    },
                    {
                        liveAgentHandoff: {
                            metadata: "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                        },
                    },
                    {
                        playAudio: {
                            audioUri: "http://example.com/some-audio-file.mp3",
                        },
                    },
                    {
                        telephonyTransferCall: {
                            phoneNumber: "1-234-567-8901",
                        },
                    },
                ],
                setParameterActions: [
                    {
                        parameter: "some-param",
                        value: "123.45",
                    },
                    {
                        parameter: "another-param",
                        value: JSON.stringify("abc"),
                    },
                    {
                        parameter: "other-param",
                        value: JSON.stringify(["foo"]),
                    },
                ],
                conditionalCases: [{
                    cases: JSON.stringify([
                        {
                            condition: "$sys.func.RAND() < 0.5",
                            caseContent: [
                                {
                                    message: {
                                        text: {
                                            text: ["First case"],
                                        },
                                    },
                                },
                                {
                                    additionalCases: {
                                        cases: [{
                                            condition: "$sys.func.RAND() < 0.2",
                                            caseContent: [{
                                                message: {
                                                    text: {
                                                        text: ["Nested case"],
                                                    },
                                                },
                                            }],
                                        }],
                                    },
                                },
                            ],
                        },
                        {
                            caseContent: [{
                                message: {
                                    text: {
                                        text: ["Final case"],
                                    },
                                },
                            }],
                        },
                    ]),
                }],
            },
            targetFlow: agent.startFlow,
        }],
        advancedSettings: {
            audioExportGcsDestination: {
                uri: pulumi.interpolate`${bucket.url}/prefix-`,
            },
            speechSettings: {
                endpointerSensitivity: 30,
                noSpeechTimeout: "3.500s",
                useTimeoutBasedEndpointing: true,
                models: {
                    name: "wrench",
                    mass: "1.3kg",
                    count: "3",
                },
            },
            dtmfSettings: {
                enabled: true,
                maxDigits: 1,
                finishDigit: "#",
            },
            loggingSettings: {
                enableStackdriverLogging: true,
                enableInteractionLogging: true,
                enableConsentBasedRedaction: true,
            },
        },
        knowledgeConnectorSettings: {
            enabled: true,
            triggerFulfillment: {
                messages: [
                    {
                        channel: "some-channel",
                        text: {
                            texts: ["information completed, navigating to page 2"],
                        },
                    },
                    {
                        payload: "          {\"some-key\": \"some-value\", \"other-key\": [\"other-value\"]}\n",
                    },
                    {
                        conversationSuccess: {
                            metadata: "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                        },
                    },
                    {
                        outputAudioText: {
                            text: "some output text",
                        },
                    },
                    {
                        outputAudioText: {
                            ssml: "            <speak>Some example <say-as interpret-as=\"characters\">SSML XML</say-as></speak>\n",
                        },
                    },
                    {
                        liveAgentHandoff: {
                            metadata: "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                        },
                    },
                    {
                        playAudio: {
                            audioUri: "http://example.com/some-audio-file.mp3",
                        },
                    },
                    {
                        telephonyTransferCall: {
                            phoneNumber: "1-234-567-8902",
                        },
                    },
                ],
                webhook: myWebhook.id,
                returnPartialResponses: true,
                tag: "some-tag",
                setParameterActions: [{
                    parameter: "some-param",
                    value: "123.45",
                }],
                conditionalCases: [{
                    cases: JSON.stringify([
                        {
                            condition: "$sys.func.RAND() < 0.5",
                            caseContent: [{
                                message: {
                                    text: {
                                        text: ["First case"],
                                    },
                                },
                            }],
                        },
                        {
                            caseContent: [{
                                message: {
                                    text: {
                                        text: ["Final case"],
                                    },
                                },
                            }],
                        },
                    ]),
                }],
                advancedSettings: {
                    speechSettings: {
                        endpointerSensitivity: 30,
                        noSpeechTimeout: "3.500s",
                        useTimeoutBasedEndpointing: true,
                        models: {
                            name: "wrench",
                            mass: "1.3kg",
                            count: "3",
                        },
                    },
                    dtmfSettings: {
                        enabled: true,
                        maxDigits: 1,
                        finishDigit: "#",
                        interdigitTimeoutDuration: "3.500s",
                        endpointingTimeoutDuration: "3.500s",
                    },
                    loggingSettings: {
                        enableStackdriverLogging: true,
                        enableInteractionLogging: true,
                        enableConsentBasedRedaction: true,
                    },
                },
                enableGenerativeFallback: true,
            },
            dataStoreConnections: [{
                dataStoreType: "UNSTRUCTURED",
                dataStore: pulumi.all([project, agent.location, myDatastore.dataStoreId]).apply(([project, location, dataStoreId]) => `projects/${project.number}/locations/${location}/collections/default_collection/dataStores/${dataStoreId}`),
                documentProcessingMode: "DOCUMENTS",
            }],
            targetFlow: agent.startFlow,
        },
    });
    
    import pulumi
    import json
    import pulumi_gcp as gcp
    
    agent = gcp.diagflow.CxAgent("agent",
        display_name="dialogflowcx-agent",
        location="global",
        default_language_code="en",
        supported_language_codes=[
            "fr",
            "de",
            "es",
        ],
        time_zone="America/New_York",
        description="Example description.",
        avatar_uri="https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png",
        enable_stackdriver_logging=True,
        enable_spell_correction=True,
        speech_to_text_settings={
            "enable_speech_adaptation": True,
        })
    bucket = gcp.storage.Bucket("bucket",
        name="dialogflowcx-bucket",
        location="US",
        uniform_bucket_level_access=True)
    my_datastore = gcp.discoveryengine.DataStore("my_datastore",
        location="global",
        data_store_id="datastore-flow-full",
        display_name="datastore-flow-full",
        industry_vertical="GENERIC",
        content_config="NO_CONTENT",
        solution_types=["SOLUTION_TYPE_CHAT"])
    my_webhook = gcp.diagflow.CxWebhook("my_webhook",
        parent=agent.id,
        display_name="MyWebhook",
        generic_web_service={
            "uri": "https://example.com",
        })
    project = gcp.organizations.get_project()
    basic_flow = gcp.diagflow.CxFlow("basic_flow",
        parent=agent.id,
        display_name="MyFlow",
        description="Test Flow",
        nlu_settings={
            "classification_threshold": 0.3,
            "model_type": "MODEL_TYPE_STANDARD",
        },
        event_handlers=[
            {
                "event": "custom-event",
                "trigger_fulfillment": {
                    "return_partial_responses": False,
                    "messages": [{
                        "text": {
                            "texts": ["I didn't get that. Can you say it again?"],
                        },
                    }],
                },
            },
            {
                "event": "sys.no-match-default",
                "trigger_fulfillment": {
                    "return_partial_responses": False,
                    "messages": [{
                        "text": {
                            "texts": ["Sorry, could you say that again?"],
                        },
                    }],
                },
            },
            {
                "event": "sys.no-input-default",
                "trigger_fulfillment": {
                    "return_partial_responses": False,
                    "messages": [{
                        "text": {
                            "texts": ["One more time?"],
                        },
                    }],
                },
            },
            {
                "event": "another-event",
                "trigger_fulfillment": {
                    "return_partial_responses": True,
                    "messages": [
                        {
                            "channel": "some-channel",
                            "text": {
                                "texts": ["Some text"],
                            },
                        },
                        {
                            "payload": "          {\"some-key\": \"some-value\", \"other-key\": [\"other-value\"]}\n",
                        },
                        {
                            "conversation_success": {
                                "metadata": "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                            },
                        },
                        {
                            "output_audio_text": {
                                "text": "some output text",
                            },
                        },
                        {
                            "output_audio_text": {
                                "ssml": "            <speak>Some example <say-as interpret-as=\"characters\">SSML XML</say-as></speak>\n",
                            },
                        },
                        {
                            "live_agent_handoff": {
                                "metadata": "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                            },
                        },
                        {
                            "play_audio": {
                                "audio_uri": "http://example.com/some-audio-file.mp3",
                            },
                        },
                        {
                            "telephony_transfer_call": {
                                "phone_number": "1-234-567-8901",
                            },
                        },
                    ],
                    "set_parameter_actions": [
                        {
                            "parameter": "some-param",
                            "value": "123.45",
                        },
                        {
                            "parameter": "another-param",
                            "value": json.dumps("abc"),
                        },
                        {
                            "parameter": "other-param",
                            "value": json.dumps(["foo"]),
                        },
                    ],
                    "conditional_cases": [{
                        "cases": json.dumps([
                            {
                                "condition": "$sys.func.RAND() < 0.5",
                                "caseContent": [
                                    {
                                        "message": {
                                            "text": {
                                                "text": ["First case"],
                                            },
                                        },
                                    },
                                    {
                                        "additionalCases": {
                                            "cases": [{
                                                "condition": "$sys.func.RAND() < 0.2",
                                                "caseContent": [{
                                                    "message": {
                                                        "text": {
                                                            "text": ["Nested case"],
                                                        },
                                                    },
                                                }],
                                            }],
                                        },
                                    },
                                ],
                            },
                            {
                                "caseContent": [{
                                    "message": {
                                        "text": {
                                            "text": ["Final case"],
                                        },
                                    },
                                }],
                            },
                        ]),
                    }],
                },
            },
        ],
        transition_routes=[{
            "condition": "true",
            "trigger_fulfillment": {
                "return_partial_responses": True,
                "messages": [
                    {
                        "channel": "some-channel",
                        "text": {
                            "texts": ["Some text"],
                        },
                    },
                    {
                        "payload": "          {\"some-key\": \"some-value\", \"other-key\": [\"other-value\"]}\n",
                    },
                    {
                        "conversation_success": {
                            "metadata": "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                        },
                    },
                    {
                        "output_audio_text": {
                            "text": "some output text",
                        },
                    },
                    {
                        "output_audio_text": {
                            "ssml": "            <speak>Some example <say-as interpret-as=\"characters\">SSML XML</say-as></speak>\n",
                        },
                    },
                    {
                        "live_agent_handoff": {
                            "metadata": "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                        },
                    },
                    {
                        "play_audio": {
                            "audio_uri": "http://example.com/some-audio-file.mp3",
                        },
                    },
                    {
                        "telephony_transfer_call": {
                            "phone_number": "1-234-567-8901",
                        },
                    },
                ],
                "set_parameter_actions": [
                    {
                        "parameter": "some-param",
                        "value": "123.45",
                    },
                    {
                        "parameter": "another-param",
                        "value": json.dumps("abc"),
                    },
                    {
                        "parameter": "other-param",
                        "value": json.dumps(["foo"]),
                    },
                ],
                "conditional_cases": [{
                    "cases": json.dumps([
                        {
                            "condition": "$sys.func.RAND() < 0.5",
                            "caseContent": [
                                {
                                    "message": {
                                        "text": {
                                            "text": ["First case"],
                                        },
                                    },
                                },
                                {
                                    "additionalCases": {
                                        "cases": [{
                                            "condition": "$sys.func.RAND() < 0.2",
                                            "caseContent": [{
                                                "message": {
                                                    "text": {
                                                        "text": ["Nested case"],
                                                    },
                                                },
                                            }],
                                        }],
                                    },
                                },
                            ],
                        },
                        {
                            "caseContent": [{
                                "message": {
                                    "text": {
                                        "text": ["Final case"],
                                    },
                                },
                            }],
                        },
                    ]),
                }],
            },
            "target_flow": agent.start_flow,
        }],
        advanced_settings={
            "audio_export_gcs_destination": {
                "uri": bucket.url.apply(lambda url: f"{url}/prefix-"),
            },
            "speech_settings": {
                "endpointer_sensitivity": 30,
                "no_speech_timeout": "3.500s",
                "use_timeout_based_endpointing": True,
                "models": {
                    "name": "wrench",
                    "mass": "1.3kg",
                    "count": "3",
                },
            },
            "dtmf_settings": {
                "enabled": True,
                "max_digits": 1,
                "finish_digit": "#",
            },
            "logging_settings": {
                "enable_stackdriver_logging": True,
                "enable_interaction_logging": True,
                "enable_consent_based_redaction": True,
            },
        },
        knowledge_connector_settings={
            "enabled": True,
            "trigger_fulfillment": {
                "messages": [
                    {
                        "channel": "some-channel",
                        "text": {
                            "texts": ["information completed, navigating to page 2"],
                        },
                    },
                    {
                        "payload": "          {\"some-key\": \"some-value\", \"other-key\": [\"other-value\"]}\n",
                    },
                    {
                        "conversation_success": {
                            "metadata": "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                        },
                    },
                    {
                        "output_audio_text": {
                            "text": "some output text",
                        },
                    },
                    {
                        "output_audio_text": {
                            "ssml": "            <speak>Some example <say-as interpret-as=\"characters\">SSML XML</say-as></speak>\n",
                        },
                    },
                    {
                        "live_agent_handoff": {
                            "metadata": "            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n",
                        },
                    },
                    {
                        "play_audio": {
                            "audio_uri": "http://example.com/some-audio-file.mp3",
                        },
                    },
                    {
                        "telephony_transfer_call": {
                            "phone_number": "1-234-567-8902",
                        },
                    },
                ],
                "webhook": my_webhook.id,
                "return_partial_responses": True,
                "tag": "some-tag",
                "set_parameter_actions": [{
                    "parameter": "some-param",
                    "value": "123.45",
                }],
                "conditional_cases": [{
                    "cases": json.dumps([
                        {
                            "condition": "$sys.func.RAND() < 0.5",
                            "caseContent": [{
                                "message": {
                                    "text": {
                                        "text": ["First case"],
                                    },
                                },
                            }],
                        },
                        {
                            "caseContent": [{
                                "message": {
                                    "text": {
                                        "text": ["Final case"],
                                    },
                                },
                            }],
                        },
                    ]),
                }],
                "advanced_settings": {
                    "speech_settings": {
                        "endpointer_sensitivity": 30,
                        "no_speech_timeout": "3.500s",
                        "use_timeout_based_endpointing": True,
                        "models": {
                            "name": "wrench",
                            "mass": "1.3kg",
                            "count": "3",
                        },
                    },
                    "dtmf_settings": {
                        "enabled": True,
                        "max_digits": 1,
                        "finish_digit": "#",
                        "interdigit_timeout_duration": "3.500s",
                        "endpointing_timeout_duration": "3.500s",
                    },
                    "logging_settings": {
                        "enable_stackdriver_logging": True,
                        "enable_interaction_logging": True,
                        "enable_consent_based_redaction": True,
                    },
                },
                "enable_generative_fallback": True,
            },
            "data_store_connections": [{
                "data_store_type": "UNSTRUCTURED",
                "data_store": pulumi.Output.all(
                    location=agent.location,
                    data_store_id=my_datastore.data_store_id
    ).apply(lambda resolved_outputs: f"projects/{project.number}/locations/{resolved_outputs['location']}/collections/default_collection/dataStores/{resolved_outputs['data_store_id']}")
    ,
                "document_processing_mode": "DOCUMENTS",
            }],
            "target_flow": agent.start_flow,
        })
    
    package main
    
    import (
    	"encoding/json"
    	"fmt"
    
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/diagflow"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{
    			DisplayName:         pulumi.String("dialogflowcx-agent"),
    			Location:            pulumi.String("global"),
    			DefaultLanguageCode: pulumi.String("en"),
    			SupportedLanguageCodes: pulumi.StringArray{
    				pulumi.String("fr"),
    				pulumi.String("de"),
    				pulumi.String("es"),
    			},
    			TimeZone:                 pulumi.String("America/New_York"),
    			Description:              pulumi.String("Example description."),
    			AvatarUri:                pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
    			EnableStackdriverLogging: pulumi.Bool(true),
    			EnableSpellCorrection:    pulumi.Bool(true),
    			SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{
    				EnableSpeechAdaptation: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
    			Name:                     pulumi.String("dialogflowcx-bucket"),
    			Location:                 pulumi.String("US"),
    			UniformBucketLevelAccess: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		myDatastore, err := discoveryengine.NewDataStore(ctx, "my_datastore", &discoveryengine.DataStoreArgs{
    			Location:         pulumi.String("global"),
    			DataStoreId:      pulumi.String("datastore-flow-full"),
    			DisplayName:      pulumi.String("datastore-flow-full"),
    			IndustryVertical: pulumi.String("GENERIC"),
    			ContentConfig:    pulumi.String("NO_CONTENT"),
    			SolutionTypes: pulumi.StringArray{
    				pulumi.String("SOLUTION_TYPE_CHAT"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		myWebhook, err := diagflow.NewCxWebhook(ctx, "my_webhook", &diagflow.CxWebhookArgs{
    			Parent:      agent.ID(),
    			DisplayName: pulumi.String("MyWebhook"),
    			GenericWebService: &diagflow.CxWebhookGenericWebServiceArgs{
    				Uri: pulumi.String("https://example.com"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		project, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		tmpJSON0, err := json.Marshal("abc")
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		tmpJSON1, err := json.Marshal([]string{
    			"foo",
    		})
    		if err != nil {
    			return err
    		}
    		json1 := string(tmpJSON1)
    		tmpJSON2, err := json.Marshal([]interface{}{
    			map[string]interface{}{
    				"condition": "$sys.func.RAND() < 0.5",
    				"caseContent": []interface{}{
    					map[string]interface{}{
    						"message": map[string]interface{}{
    							"text": map[string]interface{}{
    								"text": []string{
    									"First case",
    								},
    							},
    						},
    					},
    					map[string]interface{}{
    						"additionalCases": map[string]interface{}{
    							"cases": []map[string]interface{}{
    								map[string]interface{}{
    									"condition": "$sys.func.RAND() < 0.2",
    									"caseContent": []map[string]interface{}{
    										map[string]interface{}{
    											"message": map[string]interface{}{
    												"text": map[string]interface{}{
    													"text": []string{
    														"Nested case",
    													},
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			map[string]interface{}{
    				"caseContent": []map[string]interface{}{
    					map[string]interface{}{
    						"message": map[string]interface{}{
    							"text": map[string]interface{}{
    								"text": []string{
    									"Final case",
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json2 := string(tmpJSON2)
    		tmpJSON3, err := json.Marshal("abc")
    		if err != nil {
    			return err
    		}
    		json3 := string(tmpJSON3)
    		tmpJSON4, err := json.Marshal([]string{
    			"foo",
    		})
    		if err != nil {
    			return err
    		}
    		json4 := string(tmpJSON4)
    		tmpJSON5, err := json.Marshal([]interface{}{
    			map[string]interface{}{
    				"condition": "$sys.func.RAND() < 0.5",
    				"caseContent": []interface{}{
    					map[string]interface{}{
    						"message": map[string]interface{}{
    							"text": map[string]interface{}{
    								"text": []string{
    									"First case",
    								},
    							},
    						},
    					},
    					map[string]interface{}{
    						"additionalCases": map[string]interface{}{
    							"cases": []map[string]interface{}{
    								map[string]interface{}{
    									"condition": "$sys.func.RAND() < 0.2",
    									"caseContent": []map[string]interface{}{
    										map[string]interface{}{
    											"message": map[string]interface{}{
    												"text": map[string]interface{}{
    													"text": []string{
    														"Nested case",
    													},
    												},
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			map[string]interface{}{
    				"caseContent": []map[string]interface{}{
    					map[string]interface{}{
    						"message": map[string]interface{}{
    							"text": map[string]interface{}{
    								"text": []string{
    									"Final case",
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json5 := string(tmpJSON5)
    		tmpJSON6, err := json.Marshal([]interface{}{
    			map[string]interface{}{
    				"condition": "$sys.func.RAND() < 0.5",
    				"caseContent": []map[string]interface{}{
    					map[string]interface{}{
    						"message": map[string]interface{}{
    							"text": map[string]interface{}{
    								"text": []string{
    									"First case",
    								},
    							},
    						},
    					},
    				},
    			},
    			map[string]interface{}{
    				"caseContent": []map[string]interface{}{
    					map[string]interface{}{
    						"message": map[string]interface{}{
    							"text": map[string]interface{}{
    								"text": []string{
    									"Final case",
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json6 := string(tmpJSON6)
    		_, err = diagflow.NewCxFlow(ctx, "basic_flow", &diagflow.CxFlowArgs{
    			Parent:      agent.ID(),
    			DisplayName: pulumi.String("MyFlow"),
    			Description: pulumi.String("Test Flow"),
    			NluSettings: &diagflow.CxFlowNluSettingsArgs{
    				ClassificationThreshold: pulumi.Float64(0.3),
    				ModelType:               pulumi.String("MODEL_TYPE_STANDARD"),
    			},
    			EventHandlers: diagflow.CxFlowEventHandlerArray{
    				&diagflow.CxFlowEventHandlerArgs{
    					Event: pulumi.String("custom-event"),
    					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
    						ReturnPartialResponses: pulumi.Bool(false),
    						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
    									Texts: pulumi.StringArray{
    										pulumi.String("I didn't get that. Can you say it again?"),
    									},
    								},
    							},
    						},
    					},
    				},
    				&diagflow.CxFlowEventHandlerArgs{
    					Event: pulumi.String("sys.no-match-default"),
    					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
    						ReturnPartialResponses: pulumi.Bool(false),
    						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
    									Texts: pulumi.StringArray{
    										pulumi.String("Sorry, could you say that again?"),
    									},
    								},
    							},
    						},
    					},
    				},
    				&diagflow.CxFlowEventHandlerArgs{
    					Event: pulumi.String("sys.no-input-default"),
    					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
    						ReturnPartialResponses: pulumi.Bool(false),
    						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
    									Texts: pulumi.StringArray{
    										pulumi.String("One more time?"),
    									},
    								},
    							},
    						},
    					},
    				},
    				&diagflow.CxFlowEventHandlerArgs{
    					Event: pulumi.String("another-event"),
    					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
    						ReturnPartialResponses: pulumi.Bool(true),
    						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								Channel: pulumi.String("some-channel"),
    								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
    									Texts: pulumi.StringArray{
    										pulumi.String("Some text"),
    									},
    								},
    							},
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								Payload: pulumi.String("          {\"some-key\": \"some-value\", \"other-key\": [\"other-value\"]}\n"),
    							},
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								ConversationSuccess: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccessArgs{
    									Metadata: pulumi.String("            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n"),
    								},
    							},
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								OutputAudioText: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs{
    									Text: pulumi.String("some output text"),
    								},
    							},
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								OutputAudioText: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs{
    									Ssml: pulumi.String("            <speak>Some example <say-as interpret-as=\"characters\">SSML XML</say-as></speak>\n"),
    								},
    							},
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								LiveAgentHandoff: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoffArgs{
    									Metadata: pulumi.String("            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n"),
    								},
    							},
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								PlayAudio: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessagePlayAudioArgs{
    									AudioUri: pulumi.String("http://example.com/some-audio-file.mp3"),
    								},
    							},
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    								TelephonyTransferCall: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCallArgs{
    									PhoneNumber: pulumi.String("1-234-567-8901"),
    								},
    							},
    						},
    						SetParameterActions: diagflow.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArray{
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs{
    								Parameter: pulumi.String("some-param"),
    								Value:     pulumi.String("123.45"),
    							},
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs{
    								Parameter: pulumi.String("another-param"),
    								Value:     pulumi.String(json0),
    							},
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs{
    								Parameter: pulumi.String("other-param"),
    								Value:     pulumi.String(json1),
    							},
    						},
    						ConditionalCases: diagflow.CxFlowEventHandlerTriggerFulfillmentConditionalCaseArray{
    							&diagflow.CxFlowEventHandlerTriggerFulfillmentConditionalCaseArgs{
    								Cases: pulumi.String(json2),
    							},
    						},
    					},
    				},
    			},
    			TransitionRoutes: diagflow.CxFlowTransitionRouteArray{
    				&diagflow.CxFlowTransitionRouteArgs{
    					Condition: pulumi.String("true"),
    					TriggerFulfillment: &diagflow.CxFlowTransitionRouteTriggerFulfillmentArgs{
    						ReturnPartialResponses: pulumi.Bool(true),
    						Messages: diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArray{
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArgs{
    								Channel: pulumi.String("some-channel"),
    								Text: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs{
    									Texts: pulumi.StringArray{
    										pulumi.String("Some text"),
    									},
    								},
    							},
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArgs{
    								Payload: pulumi.String("          {\"some-key\": \"some-value\", \"other-key\": [\"other-value\"]}\n"),
    							},
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArgs{
    								ConversationSuccess: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccessArgs{
    									Metadata: pulumi.String("            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n"),
    								},
    							},
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArgs{
    								OutputAudioText: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs{
    									Text: pulumi.String("some output text"),
    								},
    							},
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArgs{
    								OutputAudioText: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs{
    									Ssml: pulumi.String("            <speak>Some example <say-as interpret-as=\"characters\">SSML XML</say-as></speak>\n"),
    								},
    							},
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArgs{
    								LiveAgentHandoff: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoffArgs{
    									Metadata: pulumi.String("            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n"),
    								},
    							},
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArgs{
    								PlayAudio: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudioArgs{
    									AudioUri: pulumi.String("http://example.com/some-audio-file.mp3"),
    								},
    							},
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArgs{
    								TelephonyTransferCall: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCallArgs{
    									PhoneNumber: pulumi.String("1-234-567-8901"),
    								},
    							},
    						},
    						SetParameterActions: diagflow.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArray{
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs{
    								Parameter: pulumi.String("some-param"),
    								Value:     pulumi.String("123.45"),
    							},
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs{
    								Parameter: pulumi.String("another-param"),
    								Value:     pulumi.String(json3),
    							},
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs{
    								Parameter: pulumi.String("other-param"),
    								Value:     pulumi.String(json4),
    							},
    						},
    						ConditionalCases: diagflow.CxFlowTransitionRouteTriggerFulfillmentConditionalCaseArray{
    							&diagflow.CxFlowTransitionRouteTriggerFulfillmentConditionalCaseArgs{
    								Cases: pulumi.String(json5),
    							},
    						},
    					},
    					TargetFlow: agent.StartFlow,
    				},
    			},
    			AdvancedSettings: &diagflow.CxFlowAdvancedSettingsArgs{
    				AudioExportGcsDestination: &diagflow.CxFlowAdvancedSettingsAudioExportGcsDestinationArgs{
    					Uri: bucket.Url.ApplyT(func(url string) (string, error) {
    						return fmt.Sprintf("%v/prefix-", url), nil
    					}).(pulumi.StringOutput),
    				},
    				SpeechSettings: &diagflow.CxFlowAdvancedSettingsSpeechSettingsArgs{
    					EndpointerSensitivity:      pulumi.Int(30),
    					NoSpeechTimeout:            pulumi.String("3.500s"),
    					UseTimeoutBasedEndpointing: pulumi.Bool(true),
    					Models: pulumi.StringMap{
    						"name":  pulumi.String("wrench"),
    						"mass":  pulumi.String("1.3kg"),
    						"count": pulumi.String("3"),
    					},
    				},
    				DtmfSettings: &diagflow.CxFlowAdvancedSettingsDtmfSettingsArgs{
    					Enabled:     pulumi.Bool(true),
    					MaxDigits:   pulumi.Int(1),
    					FinishDigit: pulumi.String("#"),
    				},
    				LoggingSettings: &diagflow.CxFlowAdvancedSettingsLoggingSettingsArgs{
    					EnableStackdriverLogging:    pulumi.Bool(true),
    					EnableInteractionLogging:    pulumi.Bool(true),
    					EnableConsentBasedRedaction: pulumi.Bool(true),
    				},
    			},
    			KnowledgeConnectorSettings: &diagflow.CxFlowKnowledgeConnectorSettingsArgs{
    				Enabled: pulumi.Bool(true),
    				TriggerFulfillment: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs{
    					Messages: diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArray{
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs{
    							Channel: pulumi.String("some-channel"),
    							Text: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTextArgs{
    								Texts: pulumi.StringArray{
    									pulumi.String("information completed, navigating to page 2"),
    								},
    							},
    						},
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs{
    							Payload: pulumi.String("          {\"some-key\": \"some-value\", \"other-key\": [\"other-value\"]}\n"),
    						},
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs{
    							ConversationSuccess: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccessArgs{
    								Metadata: pulumi.String("            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n"),
    							},
    						},
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs{
    							OutputAudioText: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs{
    								Text: pulumi.String("some output text"),
    							},
    						},
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs{
    							OutputAudioText: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs{
    								Ssml: pulumi.String("            <speak>Some example <say-as interpret-as=\"characters\">SSML XML</say-as></speak>\n"),
    							},
    						},
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs{
    							LiveAgentHandoff: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoffArgs{
    								Metadata: pulumi.String("            {\"some-metadata-key\": \"some-value\", \"other-metadata-key\": 1234}\n"),
    							},
    						},
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs{
    							PlayAudio: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudioArgs{
    								AudioUri: pulumi.String("http://example.com/some-audio-file.mp3"),
    							},
    						},
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs{
    							TelephonyTransferCall: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCallArgs{
    								PhoneNumber: pulumi.String("1-234-567-8902"),
    							},
    						},
    					},
    					Webhook:                myWebhook.ID(),
    					ReturnPartialResponses: pulumi.Bool(true),
    					Tag:                    pulumi.String("some-tag"),
    					SetParameterActions: diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArray{
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArgs{
    							Parameter: pulumi.String("some-param"),
    							Value:     pulumi.String("123.45"),
    						},
    					},
    					ConditionalCases: diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArray{
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArgs{
    							Cases: pulumi.String(json6),
    						},
    					},
    					AdvancedSettings: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs{
    						SpeechSettings: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettingsArgs{
    							EndpointerSensitivity:      pulumi.Int(30),
    							NoSpeechTimeout:            pulumi.String("3.500s"),
    							UseTimeoutBasedEndpointing: pulumi.Bool(true),
    							Models: pulumi.StringMap{
    								"name":  pulumi.String("wrench"),
    								"mass":  pulumi.String("1.3kg"),
    								"count": pulumi.String("3"),
    							},
    						},
    						DtmfSettings: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettingsArgs{
    							Enabled:                    pulumi.Bool(true),
    							MaxDigits:                  pulumi.Int(1),
    							FinishDigit:                pulumi.String("#"),
    							InterdigitTimeoutDuration:  pulumi.String("3.500s"),
    							EndpointingTimeoutDuration: pulumi.String("3.500s"),
    						},
    						LoggingSettings: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettingsArgs{
    							EnableStackdriverLogging:    pulumi.Bool(true),
    							EnableInteractionLogging:    pulumi.Bool(true),
    							EnableConsentBasedRedaction: pulumi.Bool(true),
    						},
    					},
    					EnableGenerativeFallback: pulumi.Bool(true),
    				},
    				DataStoreConnections: diagflow.CxFlowKnowledgeConnectorSettingsDataStoreConnectionArray{
    					&diagflow.CxFlowKnowledgeConnectorSettingsDataStoreConnectionArgs{
    						DataStoreType: pulumi.String("UNSTRUCTURED"),
    						DataStore: pulumi.All(agent.Location, myDatastore.DataStoreId).ApplyT(func(_args []interface{}) (string, error) {
    							location := _args[0].(string)
    							dataStoreId := _args[1].(string)
    							return fmt.Sprintf("projects/%v/locations/%v/collections/default_collection/dataStores/%v", project.Number, location, dataStoreId), nil
    						}).(pulumi.StringOutput),
    						DocumentProcessingMode: pulumi.String("DOCUMENTS"),
    					},
    				},
    				TargetFlow: agent.StartFlow,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var agent = new Gcp.Diagflow.CxAgent("agent", new()
        {
            DisplayName = "dialogflowcx-agent",
            Location = "global",
            DefaultLanguageCode = "en",
            SupportedLanguageCodes = new[]
            {
                "fr",
                "de",
                "es",
            },
            TimeZone = "America/New_York",
            Description = "Example description.",
            AvatarUri = "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png",
            EnableStackdriverLogging = true,
            EnableSpellCorrection = true,
            SpeechToTextSettings = new Gcp.Diagflow.Inputs.CxAgentSpeechToTextSettingsArgs
            {
                EnableSpeechAdaptation = true,
            },
        });
    
        var bucket = new Gcp.Storage.Bucket("bucket", new()
        {
            Name = "dialogflowcx-bucket",
            Location = "US",
            UniformBucketLevelAccess = true,
        });
    
        var myDatastore = new Gcp.DiscoveryEngine.DataStore("my_datastore", new()
        {
            Location = "global",
            DataStoreId = "datastore-flow-full",
            DisplayName = "datastore-flow-full",
            IndustryVertical = "GENERIC",
            ContentConfig = "NO_CONTENT",
            SolutionTypes = new[]
            {
                "SOLUTION_TYPE_CHAT",
            },
        });
    
        var myWebhook = new Gcp.Diagflow.CxWebhook("my_webhook", new()
        {
            Parent = agent.Id,
            DisplayName = "MyWebhook",
            GenericWebService = new Gcp.Diagflow.Inputs.CxWebhookGenericWebServiceArgs
            {
                Uri = "https://example.com",
            },
        });
    
        var project = Gcp.Organizations.GetProject.Invoke();
    
        var basicFlow = new Gcp.Diagflow.CxFlow("basic_flow", new()
        {
            Parent = agent.Id,
            DisplayName = "MyFlow",
            Description = "Test Flow",
            NluSettings = new Gcp.Diagflow.Inputs.CxFlowNluSettingsArgs
            {
                ClassificationThreshold = 0.3,
                ModelType = "MODEL_TYPE_STANDARD",
            },
            EventHandlers = new[]
            {
                new Gcp.Diagflow.Inputs.CxFlowEventHandlerArgs
                {
                    Event = "custom-event",
                    TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentArgs
                    {
                        ReturnPartialResponses = false,
                        Messages = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                Text = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs
                                {
                                    Texts = new[]
                                    {
                                        "I didn't get that. Can you say it again?",
                                    },
                                },
                            },
                        },
                    },
                },
                new Gcp.Diagflow.Inputs.CxFlowEventHandlerArgs
                {
                    Event = "sys.no-match-default",
                    TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentArgs
                    {
                        ReturnPartialResponses = false,
                        Messages = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                Text = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs
                                {
                                    Texts = new[]
                                    {
                                        "Sorry, could you say that again?",
                                    },
                                },
                            },
                        },
                    },
                },
                new Gcp.Diagflow.Inputs.CxFlowEventHandlerArgs
                {
                    Event = "sys.no-input-default",
                    TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentArgs
                    {
                        ReturnPartialResponses = false,
                        Messages = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                Text = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs
                                {
                                    Texts = new[]
                                    {
                                        "One more time?",
                                    },
                                },
                            },
                        },
                    },
                },
                new Gcp.Diagflow.Inputs.CxFlowEventHandlerArgs
                {
                    Event = "another-event",
                    TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentArgs
                    {
                        ReturnPartialResponses = true,
                        Messages = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                Channel = "some-channel",
                                Text = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs
                                {
                                    Texts = new[]
                                    {
                                        "Some text",
                                    },
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                Payload = @"          {""some-key"": ""some-value"", ""other-key"": [""other-value""]}
    ",
                            },
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                ConversationSuccess = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccessArgs
                                {
                                    Metadata = @"            {""some-metadata-key"": ""some-value"", ""other-metadata-key"": 1234}
    ",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                OutputAudioText = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs
                                {
                                    Text = "some output text",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                OutputAudioText = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs
                                {
                                    Ssml = @"            <speak>Some example <say-as interpret-as=""characters"">SSML XML</say-as></speak>
    ",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                LiveAgentHandoff = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoffArgs
                                {
                                    Metadata = @"            {""some-metadata-key"": ""some-value"", ""other-metadata-key"": 1234}
    ",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                PlayAudio = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessagePlayAudioArgs
                                {
                                    AudioUri = "http://example.com/some-audio-file.mp3",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                            {
                                TelephonyTransferCall = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCallArgs
                                {
                                    PhoneNumber = "1-234-567-8901",
                                },
                            },
                        },
                        SetParameterActions = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs
                            {
                                Parameter = "some-param",
                                Value = "123.45",
                            },
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs
                            {
                                Parameter = "another-param",
                                Value = JsonSerializer.Serialize("abc"),
                            },
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs
                            {
                                Parameter = "other-param",
                                Value = JsonSerializer.Serialize(new[]
                                {
                                    "foo",
                                }),
                            },
                        },
                        ConditionalCases = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentConditionalCaseArgs
                            {
                                Cases = JsonSerializer.Serialize(new[]
                                {
                                    new Dictionary<string, object?>
                                    {
                                        ["condition"] = "$sys.func.RAND() < 0.5",
                                        ["caseContent"] = new[]
                                        {
                                            new Dictionary<string, object?>
                                            {
                                                ["message"] = new Dictionary<string, object?>
                                                {
                                                    ["text"] = new Dictionary<string, object?>
                                                    {
                                                        ["text"] = new[]
                                                        {
                                                            "First case",
                                                        },
                                                    },
                                                },
                                            },
                                            new Dictionary<string, object?>
                                            {
                                                ["additionalCases"] = new Dictionary<string, object?>
                                                {
                                                    ["cases"] = new[]
                                                    {
                                                        new Dictionary<string, object?>
                                                        {
                                                            ["condition"] = "$sys.func.RAND() < 0.2",
                                                            ["caseContent"] = new[]
                                                            {
                                                                new Dictionary<string, object?>
                                                                {
                                                                    ["message"] = new Dictionary<string, object?>
                                                                    {
                                                                        ["text"] = new Dictionary<string, object?>
                                                                        {
                                                                            ["text"] = new[]
                                                                            {
                                                                                "Nested case",
                                                                            },
                                                                        },
                                                                    },
                                                                },
                                                            },
                                                        },
                                                    },
                                                },
                                            },
                                        },
                                    },
                                    new Dictionary<string, object?>
                                    {
                                        ["caseContent"] = new[]
                                        {
                                            new Dictionary<string, object?>
                                            {
                                                ["message"] = new Dictionary<string, object?>
                                                {
                                                    ["text"] = new Dictionary<string, object?>
                                                    {
                                                        ["text"] = new[]
                                                        {
                                                            "Final case",
                                                        },
                                                    },
                                                },
                                            },
                                        },
                                    },
                                }),
                            },
                        },
                    },
                },
            },
            TransitionRoutes = new[]
            {
                new Gcp.Diagflow.Inputs.CxFlowTransitionRouteArgs
                {
                    Condition = "true",
                    TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentArgs
                    {
                        ReturnPartialResponses = true,
                        Messages = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageArgs
                            {
                                Channel = "some-channel",
                                Text = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs
                                {
                                    Texts = new[]
                                    {
                                        "Some text",
                                    },
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageArgs
                            {
                                Payload = @"          {""some-key"": ""some-value"", ""other-key"": [""other-value""]}
    ",
                            },
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageArgs
                            {
                                ConversationSuccess = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccessArgs
                                {
                                    Metadata = @"            {""some-metadata-key"": ""some-value"", ""other-metadata-key"": 1234}
    ",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageArgs
                            {
                                OutputAudioText = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs
                                {
                                    Text = "some output text",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageArgs
                            {
                                OutputAudioText = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs
                                {
                                    Ssml = @"            <speak>Some example <say-as interpret-as=""characters"">SSML XML</say-as></speak>
    ",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageArgs
                            {
                                LiveAgentHandoff = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoffArgs
                                {
                                    Metadata = @"            {""some-metadata-key"": ""some-value"", ""other-metadata-key"": 1234}
    ",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageArgs
                            {
                                PlayAudio = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudioArgs
                                {
                                    AudioUri = "http://example.com/some-audio-file.mp3",
                                },
                            },
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageArgs
                            {
                                TelephonyTransferCall = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCallArgs
                                {
                                    PhoneNumber = "1-234-567-8901",
                                },
                            },
                        },
                        SetParameterActions = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs
                            {
                                Parameter = "some-param",
                                Value = "123.45",
                            },
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs
                            {
                                Parameter = "another-param",
                                Value = JsonSerializer.Serialize("abc"),
                            },
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs
                            {
                                Parameter = "other-param",
                                Value = JsonSerializer.Serialize(new[]
                                {
                                    "foo",
                                }),
                            },
                        },
                        ConditionalCases = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentConditionalCaseArgs
                            {
                                Cases = JsonSerializer.Serialize(new[]
                                {
                                    new Dictionary<string, object?>
                                    {
                                        ["condition"] = "$sys.func.RAND() < 0.5",
                                        ["caseContent"] = new[]
                                        {
                                            new Dictionary<string, object?>
                                            {
                                                ["message"] = new Dictionary<string, object?>
                                                {
                                                    ["text"] = new Dictionary<string, object?>
                                                    {
                                                        ["text"] = new[]
                                                        {
                                                            "First case",
                                                        },
                                                    },
                                                },
                                            },
                                            new Dictionary<string, object?>
                                            {
                                                ["additionalCases"] = new Dictionary<string, object?>
                                                {
                                                    ["cases"] = new[]
                                                    {
                                                        new Dictionary<string, object?>
                                                        {
                                                            ["condition"] = "$sys.func.RAND() < 0.2",
                                                            ["caseContent"] = new[]
                                                            {
                                                                new Dictionary<string, object?>
                                                                {
                                                                    ["message"] = new Dictionary<string, object?>
                                                                    {
                                                                        ["text"] = new Dictionary<string, object?>
                                                                        {
                                                                            ["text"] = new[]
                                                                            {
                                                                                "Nested case",
                                                                            },
                                                                        },
                                                                    },
                                                                },
                                                            },
                                                        },
                                                    },
                                                },
                                            },
                                        },
                                    },
                                    new Dictionary<string, object?>
                                    {
                                        ["caseContent"] = new[]
                                        {
                                            new Dictionary<string, object?>
                                            {
                                                ["message"] = new Dictionary<string, object?>
                                                {
                                                    ["text"] = new Dictionary<string, object?>
                                                    {
                                                        ["text"] = new[]
                                                        {
                                                            "Final case",
                                                        },
                                                    },
                                                },
                                            },
                                        },
                                    },
                                }),
                            },
                        },
                    },
                    TargetFlow = agent.StartFlow,
                },
            },
            AdvancedSettings = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsArgs
            {
                AudioExportGcsDestination = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsAudioExportGcsDestinationArgs
                {
                    Uri = bucket.Url.Apply(url => $"{url}/prefix-"),
                },
                SpeechSettings = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsSpeechSettingsArgs
                {
                    EndpointerSensitivity = 30,
                    NoSpeechTimeout = "3.500s",
                    UseTimeoutBasedEndpointing = true,
                    Models = 
                    {
                        { "name", "wrench" },
                        { "mass", "1.3kg" },
                        { "count", "3" },
                    },
                },
                DtmfSettings = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsDtmfSettingsArgs
                {
                    Enabled = true,
                    MaxDigits = 1,
                    FinishDigit = "#",
                },
                LoggingSettings = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsLoggingSettingsArgs
                {
                    EnableStackdriverLogging = true,
                    EnableInteractionLogging = true,
                    EnableConsentBasedRedaction = true,
                },
            },
            KnowledgeConnectorSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsArgs
            {
                Enabled = true,
                TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs
                {
                    Messages = new[]
                    {
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs
                        {
                            Channel = "some-channel",
                            Text = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTextArgs
                            {
                                Texts = new[]
                                {
                                    "information completed, navigating to page 2",
                                },
                            },
                        },
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs
                        {
                            Payload = @"          {""some-key"": ""some-value"", ""other-key"": [""other-value""]}
    ",
                        },
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs
                        {
                            ConversationSuccess = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccessArgs
                            {
                                Metadata = @"            {""some-metadata-key"": ""some-value"", ""other-metadata-key"": 1234}
    ",
                            },
                        },
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs
                        {
                            OutputAudioText = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs
                            {
                                Text = "some output text",
                            },
                        },
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs
                        {
                            OutputAudioText = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs
                            {
                                Ssml = @"            <speak>Some example <say-as interpret-as=""characters"">SSML XML</say-as></speak>
    ",
                            },
                        },
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs
                        {
                            LiveAgentHandoff = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoffArgs
                            {
                                Metadata = @"            {""some-metadata-key"": ""some-value"", ""other-metadata-key"": 1234}
    ",
                            },
                        },
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs
                        {
                            PlayAudio = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudioArgs
                            {
                                AudioUri = "http://example.com/some-audio-file.mp3",
                            },
                        },
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs
                        {
                            TelephonyTransferCall = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCallArgs
                            {
                                PhoneNumber = "1-234-567-8902",
                            },
                        },
                    },
                    Webhook = myWebhook.Id,
                    ReturnPartialResponses = true,
                    Tag = "some-tag",
                    SetParameterActions = new[]
                    {
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArgs
                        {
                            Parameter = "some-param",
                            Value = "123.45",
                        },
                    },
                    ConditionalCases = new[]
                    {
                        new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArgs
                        {
                            Cases = JsonSerializer.Serialize(new[]
                            {
                                new Dictionary<string, object?>
                                {
                                    ["condition"] = "$sys.func.RAND() < 0.5",
                                    ["caseContent"] = new[]
                                    {
                                        new Dictionary<string, object?>
                                        {
                                            ["message"] = new Dictionary<string, object?>
                                            {
                                                ["text"] = new Dictionary<string, object?>
                                                {
                                                    ["text"] = new[]
                                                    {
                                                        "First case",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                                new Dictionary<string, object?>
                                {
                                    ["caseContent"] = new[]
                                    {
                                        new Dictionary<string, object?>
                                        {
                                            ["message"] = new Dictionary<string, object?>
                                            {
                                                ["text"] = new Dictionary<string, object?>
                                                {
                                                    ["text"] = new[]
                                                    {
                                                        "Final case",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                            }),
                        },
                    },
                    AdvancedSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs
                    {
                        SpeechSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettingsArgs
                        {
                            EndpointerSensitivity = 30,
                            NoSpeechTimeout = "3.500s",
                            UseTimeoutBasedEndpointing = true,
                            Models = 
                            {
                                { "name", "wrench" },
                                { "mass", "1.3kg" },
                                { "count", "3" },
                            },
                        },
                        DtmfSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettingsArgs
                        {
                            Enabled = true,
                            MaxDigits = 1,
                            FinishDigit = "#",
                            InterdigitTimeoutDuration = "3.500s",
                            EndpointingTimeoutDuration = "3.500s",
                        },
                        LoggingSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettingsArgs
                        {
                            EnableStackdriverLogging = true,
                            EnableInteractionLogging = true,
                            EnableConsentBasedRedaction = true,
                        },
                    },
                    EnableGenerativeFallback = true,
                },
                DataStoreConnections = new[]
                {
                    new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsDataStoreConnectionArgs
                    {
                        DataStoreType = "UNSTRUCTURED",
                        DataStore = Output.Tuple(project, agent.Location, myDatastore.DataStoreId).Apply(values =>
                        {
                            var project = values.Item1;
                            var location = values.Item2;
                            var dataStoreId = values.Item3;
                            return $"projects/{project.Apply(getProjectResult => getProjectResult.Number)}/locations/{location}/collections/default_collection/dataStores/{dataStoreId}";
                        }),
                        DocumentProcessingMode = "DOCUMENTS",
                    },
                },
                TargetFlow = agent.StartFlow,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.diagflow.CxAgent;
    import com.pulumi.gcp.diagflow.CxAgentArgs;
    import com.pulumi.gcp.diagflow.inputs.CxAgentSpeechToTextSettingsArgs;
    import com.pulumi.gcp.storage.Bucket;
    import com.pulumi.gcp.storage.BucketArgs;
    import com.pulumi.gcp.discoveryengine.DataStore;
    import com.pulumi.gcp.discoveryengine.DataStoreArgs;
    import com.pulumi.gcp.diagflow.CxWebhook;
    import com.pulumi.gcp.diagflow.CxWebhookArgs;
    import com.pulumi.gcp.diagflow.inputs.CxWebhookGenericWebServiceArgs;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.diagflow.CxFlow;
    import com.pulumi.gcp.diagflow.CxFlowArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowNluSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowEventHandlerArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowEventHandlerTriggerFulfillmentArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowTransitionRouteArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowTransitionRouteTriggerFulfillmentArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowAdvancedSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowAdvancedSettingsAudioExportGcsDestinationArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowAdvancedSettingsSpeechSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowAdvancedSettingsDtmfSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowAdvancedSettingsLoggingSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowKnowledgeConnectorSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettingsArgs;
    import com.pulumi.gcp.diagflow.inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettingsArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var agent = new CxAgent("agent", CxAgentArgs.builder()
                .displayName("dialogflowcx-agent")
                .location("global")
                .defaultLanguageCode("en")
                .supportedLanguageCodes(            
                    "fr",
                    "de",
                    "es")
                .timeZone("America/New_York")
                .description("Example description.")
                .avatarUri("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png")
                .enableStackdriverLogging(true)
                .enableSpellCorrection(true)
                .speechToTextSettings(CxAgentSpeechToTextSettingsArgs.builder()
                    .enableSpeechAdaptation(true)
                    .build())
                .build());
    
            var bucket = new Bucket("bucket", BucketArgs.builder()
                .name("dialogflowcx-bucket")
                .location("US")
                .uniformBucketLevelAccess(true)
                .build());
    
            var myDatastore = new DataStore("myDatastore", DataStoreArgs.builder()
                .location("global")
                .dataStoreId("datastore-flow-full")
                .displayName("datastore-flow-full")
                .industryVertical("GENERIC")
                .contentConfig("NO_CONTENT")
                .solutionTypes("SOLUTION_TYPE_CHAT")
                .build());
    
            var myWebhook = new CxWebhook("myWebhook", CxWebhookArgs.builder()
                .parent(agent.id())
                .displayName("MyWebhook")
                .genericWebService(CxWebhookGenericWebServiceArgs.builder()
                    .uri("https://example.com")
                    .build())
                .build());
    
            final var project = OrganizationsFunctions.getProject(GetProjectArgs.builder()
                .build());
    
            var basicFlow = new CxFlow("basicFlow", CxFlowArgs.builder()
                .parent(agent.id())
                .displayName("MyFlow")
                .description("Test Flow")
                .nluSettings(CxFlowNluSettingsArgs.builder()
                    .classificationThreshold(0.3)
                    .modelType("MODEL_TYPE_STANDARD")
                    .build())
                .eventHandlers(            
                    CxFlowEventHandlerArgs.builder()
                        .event("custom-event")
                        .triggerFulfillment(CxFlowEventHandlerTriggerFulfillmentArgs.builder()
                            .returnPartialResponses(false)
                            .messages(CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                .text(CxFlowEventHandlerTriggerFulfillmentMessageTextArgs.builder()
                                    .texts("I didn't get that. Can you say it again?")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    CxFlowEventHandlerArgs.builder()
                        .event("sys.no-match-default")
                        .triggerFulfillment(CxFlowEventHandlerTriggerFulfillmentArgs.builder()
                            .returnPartialResponses(false)
                            .messages(CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                .text(CxFlowEventHandlerTriggerFulfillmentMessageTextArgs.builder()
                                    .texts("Sorry, could you say that again?")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    CxFlowEventHandlerArgs.builder()
                        .event("sys.no-input-default")
                        .triggerFulfillment(CxFlowEventHandlerTriggerFulfillmentArgs.builder()
                            .returnPartialResponses(false)
                            .messages(CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                .text(CxFlowEventHandlerTriggerFulfillmentMessageTextArgs.builder()
                                    .texts("One more time?")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    CxFlowEventHandlerArgs.builder()
                        .event("another-event")
                        .triggerFulfillment(CxFlowEventHandlerTriggerFulfillmentArgs.builder()
                            .returnPartialResponses(true)
                            .messages(                        
                                CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                    .channel("some-channel")
                                    .text(CxFlowEventHandlerTriggerFulfillmentMessageTextArgs.builder()
                                        .texts("Some text")
                                        .build())
                                    .build(),
                                CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                    .payload("""
              {"some-key": "some-value", "other-key": ["other-value"]}
                                    """)
                                    .build(),
                                CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                    .conversationSuccess(CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccessArgs.builder()
                                        .metadata("""
                {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                                        """)
                                        .build())
                                    .build(),
                                CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                    .outputAudioText(CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs.builder()
                                        .text("some output text")
                                        .build())
                                    .build(),
                                CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                    .outputAudioText(CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs.builder()
                                        .ssml("""
                <speak>Some example <say-as interpret-as="characters">SSML XML</say-as></speak>
                                        """)
                                        .build())
                                    .build(),
                                CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                    .liveAgentHandoff(CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoffArgs.builder()
                                        .metadata("""
                {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                                        """)
                                        .build())
                                    .build(),
                                CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                    .playAudio(CxFlowEventHandlerTriggerFulfillmentMessagePlayAudioArgs.builder()
                                        .audioUri("http://example.com/some-audio-file.mp3")
                                        .build())
                                    .build(),
                                CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                                    .telephonyTransferCall(CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCallArgs.builder()
                                        .phoneNumber("1-234-567-8901")
                                        .build())
                                    .build())
                            .setParameterActions(                        
                                CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs.builder()
                                    .parameter("some-param")
                                    .value("123.45")
                                    .build(),
                                CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs.builder()
                                    .parameter("another-param")
                                    .value(serializeJson(
                                        "abc"))
                                    .build(),
                                CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs.builder()
                                    .parameter("other-param")
                                    .value(serializeJson(
                                        jsonArray("foo")))
                                    .build())
                            .conditionalCases(CxFlowEventHandlerTriggerFulfillmentConditionalCaseArgs.builder()
                                .cases(serializeJson(
                                    jsonArray(
                                        jsonObject(
                                            jsonProperty("condition", "$sys.func.RAND() < 0.5"),
                                            jsonProperty("caseContent", jsonArray(
                                                jsonObject(
                                                    jsonProperty("message", jsonObject(
                                                        jsonProperty("text", jsonObject(
                                                            jsonProperty("text", jsonArray("First case"))
                                                        ))
                                                    ))
                                                ), 
                                                jsonObject(
                                                    jsonProperty("additionalCases", jsonObject(
                                                        jsonProperty("cases", jsonArray(jsonObject(
                                                            jsonProperty("condition", "$sys.func.RAND() < 0.2"),
                                                            jsonProperty("caseContent", jsonArray(jsonObject(
                                                                jsonProperty("message", jsonObject(
                                                                    jsonProperty("text", jsonObject(
                                                                        jsonProperty("text", jsonArray("Nested case"))
                                                                    ))
                                                                ))
                                                            )))
                                                        )))
                                                    ))
                                                )
                                            ))
                                        ), 
                                        jsonObject(
                                            jsonProperty("caseContent", jsonArray(jsonObject(
                                                jsonProperty("message", jsonObject(
                                                    jsonProperty("text", jsonObject(
                                                        jsonProperty("text", jsonArray("Final case"))
                                                    ))
                                                ))
                                            )))
                                        )
                                    )))
                                .build())
                            .build())
                        .build())
                .transitionRoutes(CxFlowTransitionRouteArgs.builder()
                    .condition("true")
                    .triggerFulfillment(CxFlowTransitionRouteTriggerFulfillmentArgs.builder()
                        .returnPartialResponses(true)
                        .messages(                    
                            CxFlowTransitionRouteTriggerFulfillmentMessageArgs.builder()
                                .channel("some-channel")
                                .text(CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs.builder()
                                    .texts("Some text")
                                    .build())
                                .build(),
                            CxFlowTransitionRouteTriggerFulfillmentMessageArgs.builder()
                                .payload("""
              {"some-key": "some-value", "other-key": ["other-value"]}
                                """)
                                .build(),
                            CxFlowTransitionRouteTriggerFulfillmentMessageArgs.builder()
                                .conversationSuccess(CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccessArgs.builder()
                                    .metadata("""
                {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                                    """)
                                    .build())
                                .build(),
                            CxFlowTransitionRouteTriggerFulfillmentMessageArgs.builder()
                                .outputAudioText(CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs.builder()
                                    .text("some output text")
                                    .build())
                                .build(),
                            CxFlowTransitionRouteTriggerFulfillmentMessageArgs.builder()
                                .outputAudioText(CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs.builder()
                                    .ssml("""
                <speak>Some example <say-as interpret-as="characters">SSML XML</say-as></speak>
                                    """)
                                    .build())
                                .build(),
                            CxFlowTransitionRouteTriggerFulfillmentMessageArgs.builder()
                                .liveAgentHandoff(CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoffArgs.builder()
                                    .metadata("""
                {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                                    """)
                                    .build())
                                .build(),
                            CxFlowTransitionRouteTriggerFulfillmentMessageArgs.builder()
                                .playAudio(CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudioArgs.builder()
                                    .audioUri("http://example.com/some-audio-file.mp3")
                                    .build())
                                .build(),
                            CxFlowTransitionRouteTriggerFulfillmentMessageArgs.builder()
                                .telephonyTransferCall(CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCallArgs.builder()
                                    .phoneNumber("1-234-567-8901")
                                    .build())
                                .build())
                        .setParameterActions(                    
                            CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs.builder()
                                .parameter("some-param")
                                .value("123.45")
                                .build(),
                            CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs.builder()
                                .parameter("another-param")
                                .value(serializeJson(
                                    "abc"))
                                .build(),
                            CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs.builder()
                                .parameter("other-param")
                                .value(serializeJson(
                                    jsonArray("foo")))
                                .build())
                        .conditionalCases(CxFlowTransitionRouteTriggerFulfillmentConditionalCaseArgs.builder()
                            .cases(serializeJson(
                                jsonArray(
                                    jsonObject(
                                        jsonProperty("condition", "$sys.func.RAND() < 0.5"),
                                        jsonProperty("caseContent", jsonArray(
                                            jsonObject(
                                                jsonProperty("message", jsonObject(
                                                    jsonProperty("text", jsonObject(
                                                        jsonProperty("text", jsonArray("First case"))
                                                    ))
                                                ))
                                            ), 
                                            jsonObject(
                                                jsonProperty("additionalCases", jsonObject(
                                                    jsonProperty("cases", jsonArray(jsonObject(
                                                        jsonProperty("condition", "$sys.func.RAND() < 0.2"),
                                                        jsonProperty("caseContent", jsonArray(jsonObject(
                                                            jsonProperty("message", jsonObject(
                                                                jsonProperty("text", jsonObject(
                                                                    jsonProperty("text", jsonArray("Nested case"))
                                                                ))
                                                            ))
                                                        )))
                                                    )))
                                                ))
                                            )
                                        ))
                                    ), 
                                    jsonObject(
                                        jsonProperty("caseContent", jsonArray(jsonObject(
                                            jsonProperty("message", jsonObject(
                                                jsonProperty("text", jsonObject(
                                                    jsonProperty("text", jsonArray("Final case"))
                                                ))
                                            ))
                                        )))
                                    )
                                )))
                            .build())
                        .build())
                    .targetFlow(agent.startFlow())
                    .build())
                .advancedSettings(CxFlowAdvancedSettingsArgs.builder()
                    .audioExportGcsDestination(CxFlowAdvancedSettingsAudioExportGcsDestinationArgs.builder()
                        .uri(bucket.url().applyValue(_url -> String.format("%s/prefix-", _url)))
                        .build())
                    .speechSettings(CxFlowAdvancedSettingsSpeechSettingsArgs.builder()
                        .endpointerSensitivity(30)
                        .noSpeechTimeout("3.500s")
                        .useTimeoutBasedEndpointing(true)
                        .models(Map.ofEntries(
                            Map.entry("name", "wrench"),
                            Map.entry("mass", "1.3kg"),
                            Map.entry("count", "3")
                        ))
                        .build())
                    .dtmfSettings(CxFlowAdvancedSettingsDtmfSettingsArgs.builder()
                        .enabled(true)
                        .maxDigits(1)
                        .finishDigit("#")
                        .build())
                    .loggingSettings(CxFlowAdvancedSettingsLoggingSettingsArgs.builder()
                        .enableStackdriverLogging(true)
                        .enableInteractionLogging(true)
                        .enableConsentBasedRedaction(true)
                        .build())
                    .build())
                .knowledgeConnectorSettings(CxFlowKnowledgeConnectorSettingsArgs.builder()
                    .enabled(true)
                    .triggerFulfillment(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs.builder()
                        .messages(                    
                            CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs.builder()
                                .channel("some-channel")
                                .text(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTextArgs.builder()
                                    .texts("information completed, navigating to page 2")
                                    .build())
                                .build(),
                            CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs.builder()
                                .payload("""
              {"some-key": "some-value", "other-key": ["other-value"]}
                                """)
                                .build(),
                            CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs.builder()
                                .conversationSuccess(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccessArgs.builder()
                                    .metadata("""
                {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                                    """)
                                    .build())
                                .build(),
                            CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs.builder()
                                .outputAudioText(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs.builder()
                                    .text("some output text")
                                    .build())
                                .build(),
                            CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs.builder()
                                .outputAudioText(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs.builder()
                                    .ssml("""
                <speak>Some example <say-as interpret-as="characters">SSML XML</say-as></speak>
                                    """)
                                    .build())
                                .build(),
                            CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs.builder()
                                .liveAgentHandoff(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoffArgs.builder()
                                    .metadata("""
                {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                                    """)
                                    .build())
                                .build(),
                            CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs.builder()
                                .playAudio(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudioArgs.builder()
                                    .audioUri("http://example.com/some-audio-file.mp3")
                                    .build())
                                .build(),
                            CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs.builder()
                                .telephonyTransferCall(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCallArgs.builder()
                                    .phoneNumber("1-234-567-8902")
                                    .build())
                                .build())
                        .webhook(myWebhook.id())
                        .returnPartialResponses(true)
                        .tag("some-tag")
                        .setParameterActions(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArgs.builder()
                            .parameter("some-param")
                            .value("123.45")
                            .build())
                        .conditionalCases(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArgs.builder()
                            .cases(serializeJson(
                                jsonArray(
                                    jsonObject(
                                        jsonProperty("condition", "$sys.func.RAND() < 0.5"),
                                        jsonProperty("caseContent", jsonArray(jsonObject(
                                            jsonProperty("message", jsonObject(
                                                jsonProperty("text", jsonObject(
                                                    jsonProperty("text", jsonArray("First case"))
                                                ))
                                            ))
                                        )))
                                    ), 
                                    jsonObject(
                                        jsonProperty("caseContent", jsonArray(jsonObject(
                                            jsonProperty("message", jsonObject(
                                                jsonProperty("text", jsonObject(
                                                    jsonProperty("text", jsonArray("Final case"))
                                                ))
                                            ))
                                        )))
                                    )
                                )))
                            .build())
                        .advancedSettings(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs.builder()
                            .speechSettings(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettingsArgs.builder()
                                .endpointerSensitivity(30)
                                .noSpeechTimeout("3.500s")
                                .useTimeoutBasedEndpointing(true)
                                .models(Map.ofEntries(
                                    Map.entry("name", "wrench"),
                                    Map.entry("mass", "1.3kg"),
                                    Map.entry("count", "3")
                                ))
                                .build())
                            .dtmfSettings(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettingsArgs.builder()
                                .enabled(true)
                                .maxDigits(1)
                                .finishDigit("#")
                                .interdigitTimeoutDuration("3.500s")
                                .endpointingTimeoutDuration("3.500s")
                                .build())
                            .loggingSettings(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettingsArgs.builder()
                                .enableStackdriverLogging(true)
                                .enableInteractionLogging(true)
                                .enableConsentBasedRedaction(true)
                                .build())
                            .build())
                        .enableGenerativeFallback(true)
                        .build())
                    .dataStoreConnections(CxFlowKnowledgeConnectorSettingsDataStoreConnectionArgs.builder()
                        .dataStoreType("UNSTRUCTURED")
                        .dataStore(Output.tuple(agent.location(), myDatastore.dataStoreId()).applyValue(values -> {
                            var location = values.t1;
                            var dataStoreId = values.t2;
                            return String.format("projects/%s/locations/%s/collections/default_collection/dataStores/%s", project.number(),location,dataStoreId);
                        }))
                        .documentProcessingMode("DOCUMENTS")
                        .build())
                    .targetFlow(agent.startFlow())
                    .build())
                .build());
    
        }
    }
    
    resources:
      agent:
        type: gcp:diagflow:CxAgent
        properties:
          displayName: dialogflowcx-agent
          location: global
          defaultLanguageCode: en
          supportedLanguageCodes:
            - fr
            - de
            - es
          timeZone: America/New_York
          description: Example description.
          avatarUri: https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png
          enableStackdriverLogging: true
          enableSpellCorrection: true
          speechToTextSettings:
            enableSpeechAdaptation: true
      bucket:
        type: gcp:storage:Bucket
        properties:
          name: dialogflowcx-bucket
          location: US
          uniformBucketLevelAccess: true
      basicFlow:
        type: gcp:diagflow:CxFlow
        name: basic_flow
        properties:
          parent: ${agent.id}
          displayName: MyFlow
          description: Test Flow
          nluSettings:
            classificationThreshold: 0.3
            modelType: MODEL_TYPE_STANDARD
          eventHandlers:
            - event: custom-event
              triggerFulfillment:
                returnPartialResponses: false
                messages:
                  - text:
                      texts:
                        - I didn't get that. Can you say it again?
            - event: sys.no-match-default
              triggerFulfillment:
                returnPartialResponses: false
                messages:
                  - text:
                      texts:
                        - Sorry, could you say that again?
            - event: sys.no-input-default
              triggerFulfillment:
                returnPartialResponses: false
                messages:
                  - text:
                      texts:
                        - One more time?
            - event: another-event
              triggerFulfillment:
                returnPartialResponses: true
                messages:
                  - channel: some-channel
                    text:
                      texts:
                        - Some text
                  - payload: |2
                                {"some-key": "some-value", "other-key": ["other-value"]}
                  - conversationSuccess:
                      metadata: |2
                                    {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                  - outputAudioText:
                      text: some output text
                  - outputAudioText:
                      ssml: |2
                                    <speak>Some example <say-as interpret-as="characters">SSML XML</say-as></speak>
                  - liveAgentHandoff:
                      metadata: |2
                                    {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                  - playAudio:
                      audioUri: http://example.com/some-audio-file.mp3
                  - telephonyTransferCall:
                      phoneNumber: 1-234-567-8901
                setParameterActions:
                  - parameter: some-param
                    value: '123.45'
                  - parameter: another-param
                    value:
                      fn::toJSON: abc
                  - parameter: other-param
                    value:
                      fn::toJSON:
                        - foo
                conditionalCases:
                  - cases:
                      fn::toJSON:
                        - condition: $sys.func.RAND() < 0.5
                          caseContent:
                            - message:
                                text:
                                  text:
                                    - First case
                            - additionalCases:
                                cases:
                                  - condition: $sys.func.RAND() < 0.2
                                    caseContent:
                                      - message:
                                          text:
                                            text:
                                              - Nested case
                        - caseContent:
                            - message:
                                text:
                                  text:
                                    - Final case
          transitionRoutes:
            - condition: 'true'
              triggerFulfillment:
                returnPartialResponses: true
                messages:
                  - channel: some-channel
                    text:
                      texts:
                        - Some text
                  - payload: |2
                                {"some-key": "some-value", "other-key": ["other-value"]}
                  - conversationSuccess:
                      metadata: |2
                                    {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                  - outputAudioText:
                      text: some output text
                  - outputAudioText:
                      ssml: |2
                                    <speak>Some example <say-as interpret-as="characters">SSML XML</say-as></speak>
                  - liveAgentHandoff:
                      metadata: |2
                                    {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                  - playAudio:
                      audioUri: http://example.com/some-audio-file.mp3
                  - telephonyTransferCall:
                      phoneNumber: 1-234-567-8901
                setParameterActions:
                  - parameter: some-param
                    value: '123.45'
                  - parameter: another-param
                    value:
                      fn::toJSON: abc
                  - parameter: other-param
                    value:
                      fn::toJSON:
                        - foo
                conditionalCases:
                  - cases:
                      fn::toJSON:
                        - condition: $sys.func.RAND() < 0.5
                          caseContent:
                            - message:
                                text:
                                  text:
                                    - First case
                            - additionalCases:
                                cases:
                                  - condition: $sys.func.RAND() < 0.2
                                    caseContent:
                                      - message:
                                          text:
                                            text:
                                              - Nested case
                        - caseContent:
                            - message:
                                text:
                                  text:
                                    - Final case
              targetFlow: ${agent.startFlow}
          advancedSettings:
            audioExportGcsDestination:
              uri: ${bucket.url}/prefix-
            speechSettings:
              endpointerSensitivity: 30
              noSpeechTimeout: 3.500s
              useTimeoutBasedEndpointing: true
              models:
                name: wrench
                mass: 1.3kg
                count: '3'
            dtmfSettings:
              enabled: true
              maxDigits: 1
              finishDigit: '#'
            loggingSettings:
              enableStackdriverLogging: true
              enableInteractionLogging: true
              enableConsentBasedRedaction: true
          knowledgeConnectorSettings:
            enabled: true
            triggerFulfillment:
              messages:
                - channel: some-channel
                  text:
                    texts:
                      - information completed, navigating to page 2
                - payload: |2
                              {"some-key": "some-value", "other-key": ["other-value"]}
                - conversationSuccess:
                    metadata: |2
                                  {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                - outputAudioText:
                    text: some output text
                - outputAudioText:
                    ssml: |2
                                  <speak>Some example <say-as interpret-as="characters">SSML XML</say-as></speak>
                - liveAgentHandoff:
                    metadata: |2
                                  {"some-metadata-key": "some-value", "other-metadata-key": 1234}
                - playAudio:
                    audioUri: http://example.com/some-audio-file.mp3
                - telephonyTransferCall:
                    phoneNumber: 1-234-567-8902
              webhook: ${myWebhook.id}
              returnPartialResponses: true
              tag: some-tag
              setParameterActions:
                - parameter: some-param
                  value: '123.45'
              conditionalCases:
                - cases:
                    fn::toJSON:
                      - condition: $sys.func.RAND() < 0.5
                        caseContent:
                          - message:
                              text:
                                text:
                                  - First case
                      - caseContent:
                          - message:
                              text:
                                text:
                                  - Final case
              advancedSettings:
                speechSettings:
                  endpointerSensitivity: 30
                  noSpeechTimeout: 3.500s
                  useTimeoutBasedEndpointing: true
                  models:
                    name: wrench
                    mass: 1.3kg
                    count: '3'
                dtmfSettings:
                  enabled: true
                  maxDigits: 1
                  finishDigit: '#'
                  interdigitTimeoutDuration: 3.500s
                  endpointingTimeoutDuration: 3.500s
                loggingSettings:
                  enableStackdriverLogging: true
                  enableInteractionLogging: true
                  enableConsentBasedRedaction: true
              enableGenerativeFallback: true
            dataStoreConnections:
              - dataStoreType: UNSTRUCTURED
                dataStore: projects/${project.number}/locations/${agent.location}/collections/default_collection/dataStores/${myDatastore.dataStoreId}
                documentProcessingMode: DOCUMENTS
            targetFlow: ${agent.startFlow}
      myDatastore:
        type: gcp:discoveryengine:DataStore
        name: my_datastore
        properties:
          location: global
          dataStoreId: datastore-flow-full
          displayName: datastore-flow-full
          industryVertical: GENERIC
          contentConfig: NO_CONTENT
          solutionTypes:
            - SOLUTION_TYPE_CHAT
      myWebhook:
        type: gcp:diagflow:CxWebhook
        name: my_webhook
        properties:
          parent: ${agent.id}
          displayName: MyWebhook
          genericWebService:
            uri: https://example.com
    variables:
      project:
        fn::invoke:
          function: gcp:organizations:getProject
          arguments: {}
    

    Create CxFlow Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CxFlow(name: string, args: CxFlowArgs, opts?: CustomResourceOptions);
    @overload
    def CxFlow(resource_name: str,
               args: CxFlowArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def CxFlow(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               display_name: Optional[str] = None,
               advanced_settings: Optional[CxFlowAdvancedSettingsArgs] = None,
               description: Optional[str] = None,
               event_handlers: Optional[Sequence[CxFlowEventHandlerArgs]] = None,
               is_default_start_flow: Optional[bool] = None,
               knowledge_connector_settings: Optional[CxFlowKnowledgeConnectorSettingsArgs] = None,
               language_code: Optional[str] = None,
               nlu_settings: Optional[CxFlowNluSettingsArgs] = None,
               parent: Optional[str] = None,
               transition_route_groups: Optional[Sequence[str]] = None,
               transition_routes: Optional[Sequence[CxFlowTransitionRouteArgs]] = None)
    func NewCxFlow(ctx *Context, name string, args CxFlowArgs, opts ...ResourceOption) (*CxFlow, error)
    public CxFlow(string name, CxFlowArgs args, CustomResourceOptions? opts = null)
    public CxFlow(String name, CxFlowArgs args)
    public CxFlow(String name, CxFlowArgs args, CustomResourceOptions options)
    
    type: gcp:diagflow:CxFlow
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CxFlowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CxFlowArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CxFlowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CxFlowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CxFlowArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cxFlowResource = new Gcp.Diagflow.CxFlow("cxFlowResource", new()
    {
        DisplayName = "string",
        AdvancedSettings = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsArgs
        {
            AudioExportGcsDestination = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsAudioExportGcsDestinationArgs
            {
                Uri = "string",
            },
            DtmfSettings = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsDtmfSettingsArgs
            {
                Enabled = false,
                FinishDigit = "string",
                MaxDigits = 0,
            },
            LoggingSettings = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsLoggingSettingsArgs
            {
                EnableConsentBasedRedaction = false,
                EnableInteractionLogging = false,
                EnableStackdriverLogging = false,
            },
            SpeechSettings = new Gcp.Diagflow.Inputs.CxFlowAdvancedSettingsSpeechSettingsArgs
            {
                EndpointerSensitivity = 0,
                Models = 
                {
                    { "string", "string" },
                },
                NoSpeechTimeout = "string",
                UseTimeoutBasedEndpointing = false,
            },
        },
        Description = "string",
        EventHandlers = new[]
        {
            new Gcp.Diagflow.Inputs.CxFlowEventHandlerArgs
            {
                Event = "string",
                Name = "string",
                TargetFlow = "string",
                TargetPage = "string",
                TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentArgs
                {
                    ConditionalCases = new[]
                    {
                        new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentConditionalCaseArgs
                        {
                            Cases = "string",
                        },
                    },
                    Messages = new[]
                    {
                        new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageArgs
                        {
                            Channel = "string",
                            ConversationSuccess = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccessArgs
                            {
                                Metadata = "string",
                            },
                            LiveAgentHandoff = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoffArgs
                            {
                                Metadata = "string",
                            },
                            OutputAudioText = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs
                            {
                                AllowPlaybackInterruption = false,
                                Ssml = "string",
                                Text = "string",
                            },
                            Payload = "string",
                            PlayAudio = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessagePlayAudioArgs
                            {
                                AudioUri = "string",
                                AllowPlaybackInterruption = false,
                            },
                            TelephonyTransferCall = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCallArgs
                            {
                                PhoneNumber = "string",
                            },
                            Text = new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs
                            {
                                AllowPlaybackInterruption = false,
                                Texts = new[]
                                {
                                    "string",
                                },
                            },
                        },
                    },
                    ReturnPartialResponses = false,
                    SetParameterActions = new[]
                    {
                        new Gcp.Diagflow.Inputs.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs
                        {
                            Parameter = "string",
                            Value = "string",
                        },
                    },
                    Tag = "string",
                    Webhook = "string",
                },
            },
        },
        IsDefaultStartFlow = false,
        KnowledgeConnectorSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsArgs
        {
            DataStoreConnections = new[]
            {
                new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsDataStoreConnectionArgs
                {
                    DataStore = "string",
                    DataStoreType = "string",
                    DocumentProcessingMode = "string",
                },
            },
            Enabled = false,
            TargetFlow = "string",
            TargetPage = "string",
            TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs
            {
                AdvancedSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs
                {
                    DtmfSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettingsArgs
                    {
                        Enabled = false,
                        EndpointingTimeoutDuration = "string",
                        FinishDigit = "string",
                        InterdigitTimeoutDuration = "string",
                        MaxDigits = 0,
                    },
                    LoggingSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettingsArgs
                    {
                        EnableConsentBasedRedaction = false,
                        EnableInteractionLogging = false,
                        EnableStackdriverLogging = false,
                    },
                    SpeechSettings = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettingsArgs
                    {
                        EndpointerSensitivity = 0,
                        Models = 
                        {
                            { "string", "string" },
                        },
                        NoSpeechTimeout = "string",
                        UseTimeoutBasedEndpointing = false,
                    },
                },
                ConditionalCases = new[]
                {
                    new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArgs
                    {
                        Cases = "string",
                    },
                },
                EnableGenerativeFallback = false,
                Messages = new[]
                {
                    new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs
                    {
                        Channel = "string",
                        ConversationSuccess = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccessArgs
                        {
                            Metadata = "string",
                        },
                        EndInteractions = new[]
                        {
                            null,
                        },
                        KnowledgeInfoCard = null,
                        LiveAgentHandoff = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoffArgs
                        {
                            Metadata = "string",
                        },
                        MixedAudios = new[]
                        {
                            new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioArgs
                            {
                                Segments = new[]
                                {
                                    new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioSegmentArgs
                                    {
                                        AllowPlaybackInterruption = false,
                                        Audio = "string",
                                        Uri = "string",
                                    },
                                },
                            },
                        },
                        OutputAudioText = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs
                        {
                            AllowPlaybackInterruption = false,
                            Ssml = "string",
                            Text = "string",
                        },
                        Payload = "string",
                        PlayAudio = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudioArgs
                        {
                            AudioUri = "string",
                            AllowPlaybackInterruption = false,
                        },
                        TelephonyTransferCall = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCallArgs
                        {
                            PhoneNumber = "string",
                        },
                        Text = new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTextArgs
                        {
                            AllowPlaybackInterruption = false,
                            Texts = new[]
                            {
                                "string",
                            },
                        },
                    },
                },
                ReturnPartialResponses = false,
                SetParameterActions = new[]
                {
                    new Gcp.Diagflow.Inputs.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArgs
                    {
                        Parameter = "string",
                        Value = "string",
                    },
                },
                Tag = "string",
                Webhook = "string",
            },
        },
        LanguageCode = "string",
        NluSettings = new Gcp.Diagflow.Inputs.CxFlowNluSettingsArgs
        {
            ClassificationThreshold = 0,
            ModelTrainingMode = "string",
            ModelType = "string",
        },
        Parent = "string",
        TransitionRouteGroups = new[]
        {
            "string",
        },
        TransitionRoutes = new[]
        {
            new Gcp.Diagflow.Inputs.CxFlowTransitionRouteArgs
            {
                Condition = "string",
                Intent = "string",
                Name = "string",
                TargetFlow = "string",
                TargetPage = "string",
                TriggerFulfillment = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentArgs
                {
                    ConditionalCases = new[]
                    {
                        new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentConditionalCaseArgs
                        {
                            Cases = "string",
                        },
                    },
                    Messages = new[]
                    {
                        new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageArgs
                        {
                            Channel = "string",
                            ConversationSuccess = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccessArgs
                            {
                                Metadata = "string",
                            },
                            LiveAgentHandoff = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoffArgs
                            {
                                Metadata = "string",
                            },
                            OutputAudioText = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs
                            {
                                AllowPlaybackInterruption = false,
                                Ssml = "string",
                                Text = "string",
                            },
                            Payload = "string",
                            PlayAudio = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudioArgs
                            {
                                AudioUri = "string",
                                AllowPlaybackInterruption = false,
                            },
                            TelephonyTransferCall = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCallArgs
                            {
                                PhoneNumber = "string",
                            },
                            Text = new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs
                            {
                                AllowPlaybackInterruption = false,
                                Texts = new[]
                                {
                                    "string",
                                },
                            },
                        },
                    },
                    ReturnPartialResponses = false,
                    SetParameterActions = new[]
                    {
                        new Gcp.Diagflow.Inputs.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs
                        {
                            Parameter = "string",
                            Value = "string",
                        },
                    },
                    Tag = "string",
                    Webhook = "string",
                },
            },
        },
    });
    
    example, err := diagflow.NewCxFlow(ctx, "cxFlowResource", &diagflow.CxFlowArgs{
    	DisplayName: pulumi.String("string"),
    	AdvancedSettings: &diagflow.CxFlowAdvancedSettingsArgs{
    		AudioExportGcsDestination: &diagflow.CxFlowAdvancedSettingsAudioExportGcsDestinationArgs{
    			Uri: pulumi.String("string"),
    		},
    		DtmfSettings: &diagflow.CxFlowAdvancedSettingsDtmfSettingsArgs{
    			Enabled:     pulumi.Bool(false),
    			FinishDigit: pulumi.String("string"),
    			MaxDigits:   pulumi.Int(0),
    		},
    		LoggingSettings: &diagflow.CxFlowAdvancedSettingsLoggingSettingsArgs{
    			EnableConsentBasedRedaction: pulumi.Bool(false),
    			EnableInteractionLogging:    pulumi.Bool(false),
    			EnableStackdriverLogging:    pulumi.Bool(false),
    		},
    		SpeechSettings: &diagflow.CxFlowAdvancedSettingsSpeechSettingsArgs{
    			EndpointerSensitivity: pulumi.Int(0),
    			Models: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			NoSpeechTimeout:            pulumi.String("string"),
    			UseTimeoutBasedEndpointing: pulumi.Bool(false),
    		},
    	},
    	Description: pulumi.String("string"),
    	EventHandlers: diagflow.CxFlowEventHandlerArray{
    		&diagflow.CxFlowEventHandlerArgs{
    			Event:      pulumi.String("string"),
    			Name:       pulumi.String("string"),
    			TargetFlow: pulumi.String("string"),
    			TargetPage: pulumi.String("string"),
    			TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
    				ConditionalCases: diagflow.CxFlowEventHandlerTriggerFulfillmentConditionalCaseArray{
    					&diagflow.CxFlowEventHandlerTriggerFulfillmentConditionalCaseArgs{
    						Cases: pulumi.String("string"),
    					},
    				},
    				Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
    					&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
    						Channel: pulumi.String("string"),
    						ConversationSuccess: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccessArgs{
    							Metadata: pulumi.String("string"),
    						},
    						LiveAgentHandoff: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoffArgs{
    							Metadata: pulumi.String("string"),
    						},
    						OutputAudioText: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs{
    							AllowPlaybackInterruption: pulumi.Bool(false),
    							Ssml:                      pulumi.String("string"),
    							Text:                      pulumi.String("string"),
    						},
    						Payload: pulumi.String("string"),
    						PlayAudio: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessagePlayAudioArgs{
    							AudioUri:                  pulumi.String("string"),
    							AllowPlaybackInterruption: pulumi.Bool(false),
    						},
    						TelephonyTransferCall: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCallArgs{
    							PhoneNumber: pulumi.String("string"),
    						},
    						Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
    							AllowPlaybackInterruption: pulumi.Bool(false),
    							Texts: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    				},
    				ReturnPartialResponses: pulumi.Bool(false),
    				SetParameterActions: diagflow.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArray{
    					&diagflow.CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs{
    						Parameter: pulumi.String("string"),
    						Value:     pulumi.String("string"),
    					},
    				},
    				Tag:     pulumi.String("string"),
    				Webhook: pulumi.String("string"),
    			},
    		},
    	},
    	IsDefaultStartFlow: pulumi.Bool(false),
    	KnowledgeConnectorSettings: &diagflow.CxFlowKnowledgeConnectorSettingsArgs{
    		DataStoreConnections: diagflow.CxFlowKnowledgeConnectorSettingsDataStoreConnectionArray{
    			&diagflow.CxFlowKnowledgeConnectorSettingsDataStoreConnectionArgs{
    				DataStore:              pulumi.String("string"),
    				DataStoreType:          pulumi.String("string"),
    				DocumentProcessingMode: pulumi.String("string"),
    			},
    		},
    		Enabled:    pulumi.Bool(false),
    		TargetFlow: pulumi.String("string"),
    		TargetPage: pulumi.String("string"),
    		TriggerFulfillment: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs{
    			AdvancedSettings: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs{
    				DtmfSettings: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettingsArgs{
    					Enabled:                    pulumi.Bool(false),
    					EndpointingTimeoutDuration: pulumi.String("string"),
    					FinishDigit:                pulumi.String("string"),
    					InterdigitTimeoutDuration:  pulumi.String("string"),
    					MaxDigits:                  pulumi.Int(0),
    				},
    				LoggingSettings: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettingsArgs{
    					EnableConsentBasedRedaction: pulumi.Bool(false),
    					EnableInteractionLogging:    pulumi.Bool(false),
    					EnableStackdriverLogging:    pulumi.Bool(false),
    				},
    				SpeechSettings: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettingsArgs{
    					EndpointerSensitivity: pulumi.Int(0),
    					Models: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    					NoSpeechTimeout:            pulumi.String("string"),
    					UseTimeoutBasedEndpointing: pulumi.Bool(false),
    				},
    			},
    			ConditionalCases: diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArray{
    				&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArgs{
    					Cases: pulumi.String("string"),
    				},
    			},
    			EnableGenerativeFallback: pulumi.Bool(false),
    			Messages: diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArray{
    				&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs{
    					Channel: pulumi.String("string"),
    					ConversationSuccess: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccessArgs{
    						Metadata: pulumi.String("string"),
    					},
    					EndInteractions: diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageEndInteractionArray{
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageEndInteractionArgs{},
    					},
    					KnowledgeInfoCard: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageKnowledgeInfoCardArgs{},
    					LiveAgentHandoff: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoffArgs{
    						Metadata: pulumi.String("string"),
    					},
    					MixedAudios: diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioArray{
    						&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioArgs{
    							Segments: diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioSegmentArray{
    								&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioSegmentArgs{
    									AllowPlaybackInterruption: pulumi.Bool(false),
    									Audio:                     pulumi.String("string"),
    									Uri:                       pulumi.String("string"),
    								},
    							},
    						},
    					},
    					OutputAudioText: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs{
    						AllowPlaybackInterruption: pulumi.Bool(false),
    						Ssml:                      pulumi.String("string"),
    						Text:                      pulumi.String("string"),
    					},
    					Payload: pulumi.String("string"),
    					PlayAudio: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudioArgs{
    						AudioUri:                  pulumi.String("string"),
    						AllowPlaybackInterruption: pulumi.Bool(false),
    					},
    					TelephonyTransferCall: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCallArgs{
    						PhoneNumber: pulumi.String("string"),
    					},
    					Text: &diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTextArgs{
    						AllowPlaybackInterruption: pulumi.Bool(false),
    						Texts: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    			},
    			ReturnPartialResponses: pulumi.Bool(false),
    			SetParameterActions: diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArray{
    				&diagflow.CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArgs{
    					Parameter: pulumi.String("string"),
    					Value:     pulumi.String("string"),
    				},
    			},
    			Tag:     pulumi.String("string"),
    			Webhook: pulumi.String("string"),
    		},
    	},
    	LanguageCode: pulumi.String("string"),
    	NluSettings: &diagflow.CxFlowNluSettingsArgs{
    		ClassificationThreshold: pulumi.Float64(0),
    		ModelTrainingMode:       pulumi.String("string"),
    		ModelType:               pulumi.String("string"),
    	},
    	Parent: pulumi.String("string"),
    	TransitionRouteGroups: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TransitionRoutes: diagflow.CxFlowTransitionRouteArray{
    		&diagflow.CxFlowTransitionRouteArgs{
    			Condition:  pulumi.String("string"),
    			Intent:     pulumi.String("string"),
    			Name:       pulumi.String("string"),
    			TargetFlow: pulumi.String("string"),
    			TargetPage: pulumi.String("string"),
    			TriggerFulfillment: &diagflow.CxFlowTransitionRouteTriggerFulfillmentArgs{
    				ConditionalCases: diagflow.CxFlowTransitionRouteTriggerFulfillmentConditionalCaseArray{
    					&diagflow.CxFlowTransitionRouteTriggerFulfillmentConditionalCaseArgs{
    						Cases: pulumi.String("string"),
    					},
    				},
    				Messages: diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArray{
    					&diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageArgs{
    						Channel: pulumi.String("string"),
    						ConversationSuccess: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccessArgs{
    							Metadata: pulumi.String("string"),
    						},
    						LiveAgentHandoff: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoffArgs{
    							Metadata: pulumi.String("string"),
    						},
    						OutputAudioText: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs{
    							AllowPlaybackInterruption: pulumi.Bool(false),
    							Ssml:                      pulumi.String("string"),
    							Text:                      pulumi.String("string"),
    						},
    						Payload: pulumi.String("string"),
    						PlayAudio: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudioArgs{
    							AudioUri:                  pulumi.String("string"),
    							AllowPlaybackInterruption: pulumi.Bool(false),
    						},
    						TelephonyTransferCall: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCallArgs{
    							PhoneNumber: pulumi.String("string"),
    						},
    						Text: &diagflow.CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs{
    							AllowPlaybackInterruption: pulumi.Bool(false),
    							Texts: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    				},
    				ReturnPartialResponses: pulumi.Bool(false),
    				SetParameterActions: diagflow.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArray{
    					&diagflow.CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs{
    						Parameter: pulumi.String("string"),
    						Value:     pulumi.String("string"),
    					},
    				},
    				Tag:     pulumi.String("string"),
    				Webhook: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var cxFlowResource = new CxFlow("cxFlowResource", CxFlowArgs.builder()
        .displayName("string")
        .advancedSettings(CxFlowAdvancedSettingsArgs.builder()
            .audioExportGcsDestination(CxFlowAdvancedSettingsAudioExportGcsDestinationArgs.builder()
                .uri("string")
                .build())
            .dtmfSettings(CxFlowAdvancedSettingsDtmfSettingsArgs.builder()
                .enabled(false)
                .finishDigit("string")
                .maxDigits(0)
                .build())
            .loggingSettings(CxFlowAdvancedSettingsLoggingSettingsArgs.builder()
                .enableConsentBasedRedaction(false)
                .enableInteractionLogging(false)
                .enableStackdriverLogging(false)
                .build())
            .speechSettings(CxFlowAdvancedSettingsSpeechSettingsArgs.builder()
                .endpointerSensitivity(0)
                .models(Map.of("string", "string"))
                .noSpeechTimeout("string")
                .useTimeoutBasedEndpointing(false)
                .build())
            .build())
        .description("string")
        .eventHandlers(CxFlowEventHandlerArgs.builder()
            .event("string")
            .name("string")
            .targetFlow("string")
            .targetPage("string")
            .triggerFulfillment(CxFlowEventHandlerTriggerFulfillmentArgs.builder()
                .conditionalCases(CxFlowEventHandlerTriggerFulfillmentConditionalCaseArgs.builder()
                    .cases("string")
                    .build())
                .messages(CxFlowEventHandlerTriggerFulfillmentMessageArgs.builder()
                    .channel("string")
                    .conversationSuccess(CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccessArgs.builder()
                        .metadata("string")
                        .build())
                    .liveAgentHandoff(CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoffArgs.builder()
                        .metadata("string")
                        .build())
                    .outputAudioText(CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs.builder()
                        .allowPlaybackInterruption(false)
                        .ssml("string")
                        .text("string")
                        .build())
                    .payload("string")
                    .playAudio(CxFlowEventHandlerTriggerFulfillmentMessagePlayAudioArgs.builder()
                        .audioUri("string")
                        .allowPlaybackInterruption(false)
                        .build())
                    .telephonyTransferCall(CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCallArgs.builder()
                        .phoneNumber("string")
                        .build())
                    .text(CxFlowEventHandlerTriggerFulfillmentMessageTextArgs.builder()
                        .allowPlaybackInterruption(false)
                        .texts("string")
                        .build())
                    .build())
                .returnPartialResponses(false)
                .setParameterActions(CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs.builder()
                    .parameter("string")
                    .value("string")
                    .build())
                .tag("string")
                .webhook("string")
                .build())
            .build())
        .isDefaultStartFlow(false)
        .knowledgeConnectorSettings(CxFlowKnowledgeConnectorSettingsArgs.builder()
            .dataStoreConnections(CxFlowKnowledgeConnectorSettingsDataStoreConnectionArgs.builder()
                .dataStore("string")
                .dataStoreType("string")
                .documentProcessingMode("string")
                .build())
            .enabled(false)
            .targetFlow("string")
            .targetPage("string")
            .triggerFulfillment(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs.builder()
                .advancedSettings(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs.builder()
                    .dtmfSettings(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettingsArgs.builder()
                        .enabled(false)
                        .endpointingTimeoutDuration("string")
                        .finishDigit("string")
                        .interdigitTimeoutDuration("string")
                        .maxDigits(0)
                        .build())
                    .loggingSettings(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettingsArgs.builder()
                        .enableConsentBasedRedaction(false)
                        .enableInteractionLogging(false)
                        .enableStackdriverLogging(false)
                        .build())
                    .speechSettings(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettingsArgs.builder()
                        .endpointerSensitivity(0)
                        .models(Map.of("string", "string"))
                        .noSpeechTimeout("string")
                        .useTimeoutBasedEndpointing(false)
                        .build())
                    .build())
                .conditionalCases(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArgs.builder()
                    .cases("string")
                    .build())
                .enableGenerativeFallback(false)
                .messages(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs.builder()
                    .channel("string")
                    .conversationSuccess(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccessArgs.builder()
                        .metadata("string")
                        .build())
                    .endInteractions(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageEndInteractionArgs.builder()
                        .build())
                    .knowledgeInfoCard(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageKnowledgeInfoCardArgs.builder()
                        .build())
                    .liveAgentHandoff(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoffArgs.builder()
                        .metadata("string")
                        .build())
                    .mixedAudios(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioArgs.builder()
                        .segments(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioSegmentArgs.builder()
                            .allowPlaybackInterruption(false)
                            .audio("string")
                            .uri("string")
                            .build())
                        .build())
                    .outputAudioText(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs.builder()
                        .allowPlaybackInterruption(false)
                        .ssml("string")
                        .text("string")
                        .build())
                    .payload("string")
                    .playAudio(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudioArgs.builder()
                        .audioUri("string")
                        .allowPlaybackInterruption(false)
                        .build())
                    .telephonyTransferCall(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCallArgs.builder()
                        .phoneNumber("string")
                        .build())
                    .text(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTextArgs.builder()
                        .allowPlaybackInterruption(false)
                        .texts("string")
                        .build())
                    .build())
                .returnPartialResponses(false)
                .setParameterActions(CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArgs.builder()
                    .parameter("string")
                    .value("string")
                    .build())
                .tag("string")
                .webhook("string")
                .build())
            .build())
        .languageCode("string")
        .nluSettings(CxFlowNluSettingsArgs.builder()
            .classificationThreshold(0.0)
            .modelTrainingMode("string")
            .modelType("string")
            .build())
        .parent("string")
        .transitionRouteGroups("string")
        .transitionRoutes(CxFlowTransitionRouteArgs.builder()
            .condition("string")
            .intent("string")
            .name("string")
            .targetFlow("string")
            .targetPage("string")
            .triggerFulfillment(CxFlowTransitionRouteTriggerFulfillmentArgs.builder()
                .conditionalCases(CxFlowTransitionRouteTriggerFulfillmentConditionalCaseArgs.builder()
                    .cases("string")
                    .build())
                .messages(CxFlowTransitionRouteTriggerFulfillmentMessageArgs.builder()
                    .channel("string")
                    .conversationSuccess(CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccessArgs.builder()
                        .metadata("string")
                        .build())
                    .liveAgentHandoff(CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoffArgs.builder()
                        .metadata("string")
                        .build())
                    .outputAudioText(CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs.builder()
                        .allowPlaybackInterruption(false)
                        .ssml("string")
                        .text("string")
                        .build())
                    .payload("string")
                    .playAudio(CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudioArgs.builder()
                        .audioUri("string")
                        .allowPlaybackInterruption(false)
                        .build())
                    .telephonyTransferCall(CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCallArgs.builder()
                        .phoneNumber("string")
                        .build())
                    .text(CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs.builder()
                        .allowPlaybackInterruption(false)
                        .texts("string")
                        .build())
                    .build())
                .returnPartialResponses(false)
                .setParameterActions(CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs.builder()
                    .parameter("string")
                    .value("string")
                    .build())
                .tag("string")
                .webhook("string")
                .build())
            .build())
        .build());
    
    cx_flow_resource = gcp.diagflow.CxFlow("cxFlowResource",
        display_name="string",
        advanced_settings={
            "audio_export_gcs_destination": {
                "uri": "string",
            },
            "dtmf_settings": {
                "enabled": False,
                "finish_digit": "string",
                "max_digits": 0,
            },
            "logging_settings": {
                "enable_consent_based_redaction": False,
                "enable_interaction_logging": False,
                "enable_stackdriver_logging": False,
            },
            "speech_settings": {
                "endpointer_sensitivity": 0,
                "models": {
                    "string": "string",
                },
                "no_speech_timeout": "string",
                "use_timeout_based_endpointing": False,
            },
        },
        description="string",
        event_handlers=[{
            "event": "string",
            "name": "string",
            "target_flow": "string",
            "target_page": "string",
            "trigger_fulfillment": {
                "conditional_cases": [{
                    "cases": "string",
                }],
                "messages": [{
                    "channel": "string",
                    "conversation_success": {
                        "metadata": "string",
                    },
                    "live_agent_handoff": {
                        "metadata": "string",
                    },
                    "output_audio_text": {
                        "allow_playback_interruption": False,
                        "ssml": "string",
                        "text": "string",
                    },
                    "payload": "string",
                    "play_audio": {
                        "audio_uri": "string",
                        "allow_playback_interruption": False,
                    },
                    "telephony_transfer_call": {
                        "phone_number": "string",
                    },
                    "text": {
                        "allow_playback_interruption": False,
                        "texts": ["string"],
                    },
                }],
                "return_partial_responses": False,
                "set_parameter_actions": [{
                    "parameter": "string",
                    "value": "string",
                }],
                "tag": "string",
                "webhook": "string",
            },
        }],
        is_default_start_flow=False,
        knowledge_connector_settings={
            "data_store_connections": [{
                "data_store": "string",
                "data_store_type": "string",
                "document_processing_mode": "string",
            }],
            "enabled": False,
            "target_flow": "string",
            "target_page": "string",
            "trigger_fulfillment": {
                "advanced_settings": {
                    "dtmf_settings": {
                        "enabled": False,
                        "endpointing_timeout_duration": "string",
                        "finish_digit": "string",
                        "interdigit_timeout_duration": "string",
                        "max_digits": 0,
                    },
                    "logging_settings": {
                        "enable_consent_based_redaction": False,
                        "enable_interaction_logging": False,
                        "enable_stackdriver_logging": False,
                    },
                    "speech_settings": {
                        "endpointer_sensitivity": 0,
                        "models": {
                            "string": "string",
                        },
                        "no_speech_timeout": "string",
                        "use_timeout_based_endpointing": False,
                    },
                },
                "conditional_cases": [{
                    "cases": "string",
                }],
                "enable_generative_fallback": False,
                "messages": [{
                    "channel": "string",
                    "conversation_success": {
                        "metadata": "string",
                    },
                    "end_interactions": [{}],
                    "knowledge_info_card": {},
                    "live_agent_handoff": {
                        "metadata": "string",
                    },
                    "mixed_audios": [{
                        "segments": [{
                            "allow_playback_interruption": False,
                            "audio": "string",
                            "uri": "string",
                        }],
                    }],
                    "output_audio_text": {
                        "allow_playback_interruption": False,
                        "ssml": "string",
                        "text": "string",
                    },
                    "payload": "string",
                    "play_audio": {
                        "audio_uri": "string",
                        "allow_playback_interruption": False,
                    },
                    "telephony_transfer_call": {
                        "phone_number": "string",
                    },
                    "text": {
                        "allow_playback_interruption": False,
                        "texts": ["string"],
                    },
                }],
                "return_partial_responses": False,
                "set_parameter_actions": [{
                    "parameter": "string",
                    "value": "string",
                }],
                "tag": "string",
                "webhook": "string",
            },
        },
        language_code="string",
        nlu_settings={
            "classification_threshold": 0,
            "model_training_mode": "string",
            "model_type": "string",
        },
        parent="string",
        transition_route_groups=["string"],
        transition_routes=[{
            "condition": "string",
            "intent": "string",
            "name": "string",
            "target_flow": "string",
            "target_page": "string",
            "trigger_fulfillment": {
                "conditional_cases": [{
                    "cases": "string",
                }],
                "messages": [{
                    "channel": "string",
                    "conversation_success": {
                        "metadata": "string",
                    },
                    "live_agent_handoff": {
                        "metadata": "string",
                    },
                    "output_audio_text": {
                        "allow_playback_interruption": False,
                        "ssml": "string",
                        "text": "string",
                    },
                    "payload": "string",
                    "play_audio": {
                        "audio_uri": "string",
                        "allow_playback_interruption": False,
                    },
                    "telephony_transfer_call": {
                        "phone_number": "string",
                    },
                    "text": {
                        "allow_playback_interruption": False,
                        "texts": ["string"],
                    },
                }],
                "return_partial_responses": False,
                "set_parameter_actions": [{
                    "parameter": "string",
                    "value": "string",
                }],
                "tag": "string",
                "webhook": "string",
            },
        }])
    
    const cxFlowResource = new gcp.diagflow.CxFlow("cxFlowResource", {
        displayName: "string",
        advancedSettings: {
            audioExportGcsDestination: {
                uri: "string",
            },
            dtmfSettings: {
                enabled: false,
                finishDigit: "string",
                maxDigits: 0,
            },
            loggingSettings: {
                enableConsentBasedRedaction: false,
                enableInteractionLogging: false,
                enableStackdriverLogging: false,
            },
            speechSettings: {
                endpointerSensitivity: 0,
                models: {
                    string: "string",
                },
                noSpeechTimeout: "string",
                useTimeoutBasedEndpointing: false,
            },
        },
        description: "string",
        eventHandlers: [{
            event: "string",
            name: "string",
            targetFlow: "string",
            targetPage: "string",
            triggerFulfillment: {
                conditionalCases: [{
                    cases: "string",
                }],
                messages: [{
                    channel: "string",
                    conversationSuccess: {
                        metadata: "string",
                    },
                    liveAgentHandoff: {
                        metadata: "string",
                    },
                    outputAudioText: {
                        allowPlaybackInterruption: false,
                        ssml: "string",
                        text: "string",
                    },
                    payload: "string",
                    playAudio: {
                        audioUri: "string",
                        allowPlaybackInterruption: false,
                    },
                    telephonyTransferCall: {
                        phoneNumber: "string",
                    },
                    text: {
                        allowPlaybackInterruption: false,
                        texts: ["string"],
                    },
                }],
                returnPartialResponses: false,
                setParameterActions: [{
                    parameter: "string",
                    value: "string",
                }],
                tag: "string",
                webhook: "string",
            },
        }],
        isDefaultStartFlow: false,
        knowledgeConnectorSettings: {
            dataStoreConnections: [{
                dataStore: "string",
                dataStoreType: "string",
                documentProcessingMode: "string",
            }],
            enabled: false,
            targetFlow: "string",
            targetPage: "string",
            triggerFulfillment: {
                advancedSettings: {
                    dtmfSettings: {
                        enabled: false,
                        endpointingTimeoutDuration: "string",
                        finishDigit: "string",
                        interdigitTimeoutDuration: "string",
                        maxDigits: 0,
                    },
                    loggingSettings: {
                        enableConsentBasedRedaction: false,
                        enableInteractionLogging: false,
                        enableStackdriverLogging: false,
                    },
                    speechSettings: {
                        endpointerSensitivity: 0,
                        models: {
                            string: "string",
                        },
                        noSpeechTimeout: "string",
                        useTimeoutBasedEndpointing: false,
                    },
                },
                conditionalCases: [{
                    cases: "string",
                }],
                enableGenerativeFallback: false,
                messages: [{
                    channel: "string",
                    conversationSuccess: {
                        metadata: "string",
                    },
                    endInteractions: [{}],
                    knowledgeInfoCard: {},
                    liveAgentHandoff: {
                        metadata: "string",
                    },
                    mixedAudios: [{
                        segments: [{
                            allowPlaybackInterruption: false,
                            audio: "string",
                            uri: "string",
                        }],
                    }],
                    outputAudioText: {
                        allowPlaybackInterruption: false,
                        ssml: "string",
                        text: "string",
                    },
                    payload: "string",
                    playAudio: {
                        audioUri: "string",
                        allowPlaybackInterruption: false,
                    },
                    telephonyTransferCall: {
                        phoneNumber: "string",
                    },
                    text: {
                        allowPlaybackInterruption: false,
                        texts: ["string"],
                    },
                }],
                returnPartialResponses: false,
                setParameterActions: [{
                    parameter: "string",
                    value: "string",
                }],
                tag: "string",
                webhook: "string",
            },
        },
        languageCode: "string",
        nluSettings: {
            classificationThreshold: 0,
            modelTrainingMode: "string",
            modelType: "string",
        },
        parent: "string",
        transitionRouteGroups: ["string"],
        transitionRoutes: [{
            condition: "string",
            intent: "string",
            name: "string",
            targetFlow: "string",
            targetPage: "string",
            triggerFulfillment: {
                conditionalCases: [{
                    cases: "string",
                }],
                messages: [{
                    channel: "string",
                    conversationSuccess: {
                        metadata: "string",
                    },
                    liveAgentHandoff: {
                        metadata: "string",
                    },
                    outputAudioText: {
                        allowPlaybackInterruption: false,
                        ssml: "string",
                        text: "string",
                    },
                    payload: "string",
                    playAudio: {
                        audioUri: "string",
                        allowPlaybackInterruption: false,
                    },
                    telephonyTransferCall: {
                        phoneNumber: "string",
                    },
                    text: {
                        allowPlaybackInterruption: false,
                        texts: ["string"],
                    },
                }],
                returnPartialResponses: false,
                setParameterActions: [{
                    parameter: "string",
                    value: "string",
                }],
                tag: "string",
                webhook: "string",
            },
        }],
    });
    
    type: gcp:diagflow:CxFlow
    properties:
        advancedSettings:
            audioExportGcsDestination:
                uri: string
            dtmfSettings:
                enabled: false
                finishDigit: string
                maxDigits: 0
            loggingSettings:
                enableConsentBasedRedaction: false
                enableInteractionLogging: false
                enableStackdriverLogging: false
            speechSettings:
                endpointerSensitivity: 0
                models:
                    string: string
                noSpeechTimeout: string
                useTimeoutBasedEndpointing: false
        description: string
        displayName: string
        eventHandlers:
            - event: string
              name: string
              targetFlow: string
              targetPage: string
              triggerFulfillment:
                conditionalCases:
                    - cases: string
                messages:
                    - channel: string
                      conversationSuccess:
                        metadata: string
                      liveAgentHandoff:
                        metadata: string
                      outputAudioText:
                        allowPlaybackInterruption: false
                        ssml: string
                        text: string
                      payload: string
                      playAudio:
                        allowPlaybackInterruption: false
                        audioUri: string
                      telephonyTransferCall:
                        phoneNumber: string
                      text:
                        allowPlaybackInterruption: false
                        texts:
                            - string
                returnPartialResponses: false
                setParameterActions:
                    - parameter: string
                      value: string
                tag: string
                webhook: string
        isDefaultStartFlow: false
        knowledgeConnectorSettings:
            dataStoreConnections:
                - dataStore: string
                  dataStoreType: string
                  documentProcessingMode: string
            enabled: false
            targetFlow: string
            targetPage: string
            triggerFulfillment:
                advancedSettings:
                    dtmfSettings:
                        enabled: false
                        endpointingTimeoutDuration: string
                        finishDigit: string
                        interdigitTimeoutDuration: string
                        maxDigits: 0
                    loggingSettings:
                        enableConsentBasedRedaction: false
                        enableInteractionLogging: false
                        enableStackdriverLogging: false
                    speechSettings:
                        endpointerSensitivity: 0
                        models:
                            string: string
                        noSpeechTimeout: string
                        useTimeoutBasedEndpointing: false
                conditionalCases:
                    - cases: string
                enableGenerativeFallback: false
                messages:
                    - channel: string
                      conversationSuccess:
                        metadata: string
                      endInteractions:
                        - {}
                      knowledgeInfoCard: {}
                      liveAgentHandoff:
                        metadata: string
                      mixedAudios:
                        - segments:
                            - allowPlaybackInterruption: false
                              audio: string
                              uri: string
                      outputAudioText:
                        allowPlaybackInterruption: false
                        ssml: string
                        text: string
                      payload: string
                      playAudio:
                        allowPlaybackInterruption: false
                        audioUri: string
                      telephonyTransferCall:
                        phoneNumber: string
                      text:
                        allowPlaybackInterruption: false
                        texts:
                            - string
                returnPartialResponses: false
                setParameterActions:
                    - parameter: string
                      value: string
                tag: string
                webhook: string
        languageCode: string
        nluSettings:
            classificationThreshold: 0
            modelTrainingMode: string
            modelType: string
        parent: string
        transitionRouteGroups:
            - string
        transitionRoutes:
            - condition: string
              intent: string
              name: string
              targetFlow: string
              targetPage: string
              triggerFulfillment:
                conditionalCases:
                    - cases: string
                messages:
                    - channel: string
                      conversationSuccess:
                        metadata: string
                      liveAgentHandoff:
                        metadata: string
                      outputAudioText:
                        allowPlaybackInterruption: false
                        ssml: string
                        text: string
                      payload: string
                      playAudio:
                        allowPlaybackInterruption: false
                        audioUri: string
                      telephonyTransferCall:
                        phoneNumber: string
                      text:
                        allowPlaybackInterruption: false
                        texts:
                            - string
                returnPartialResponses: false
                setParameterActions:
                    - parameter: string
                      value: string
                tag: string
                webhook: string
    

    CxFlow Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CxFlow resource accepts the following input properties:

    DisplayName string
    The human-readable name of the flow.


    AdvancedSettings CxFlowAdvancedSettings
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    Description string
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    EventHandlers List<CxFlowEventHandler>
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    IsDefaultStartFlow bool

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    KnowledgeConnectorSettings CxFlowKnowledgeConnectorSettings
    Knowledge connector configuration. Structure is documented below.
    LanguageCode string
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    NluSettings CxFlowNluSettings
    NLU related settings of the flow. Structure is documented below.
    Parent string
    The agent to create a flow for. Format: projects//locations//agents/.
    TransitionRouteGroups List<string>
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    TransitionRoutes List<CxFlowTransitionRoute>
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    DisplayName string
    The human-readable name of the flow.


    AdvancedSettings CxFlowAdvancedSettingsArgs
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    Description string
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    EventHandlers []CxFlowEventHandlerArgs
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    IsDefaultStartFlow bool

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    KnowledgeConnectorSettings CxFlowKnowledgeConnectorSettingsArgs
    Knowledge connector configuration. Structure is documented below.
    LanguageCode string
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    NluSettings CxFlowNluSettingsArgs
    NLU related settings of the flow. Structure is documented below.
    Parent string
    The agent to create a flow for. Format: projects//locations//agents/.
    TransitionRouteGroups []string
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    TransitionRoutes []CxFlowTransitionRouteArgs
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    displayName String
    The human-readable name of the flow.


    advancedSettings CxFlowAdvancedSettings
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    description String
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    eventHandlers List<CxFlowEventHandler>
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    isDefaultStartFlow Boolean

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    knowledgeConnectorSettings CxFlowKnowledgeConnectorSettings
    Knowledge connector configuration. Structure is documented below.
    languageCode String
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    nluSettings CxFlowNluSettings
    NLU related settings of the flow. Structure is documented below.
    parent String
    The agent to create a flow for. Format: projects//locations//agents/.
    transitionRouteGroups List<String>
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    transitionRoutes List<CxFlowTransitionRoute>
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    displayName string
    The human-readable name of the flow.


    advancedSettings CxFlowAdvancedSettings
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    description string
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    eventHandlers CxFlowEventHandler[]
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    isDefaultStartFlow boolean

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    knowledgeConnectorSettings CxFlowKnowledgeConnectorSettings
    Knowledge connector configuration. Structure is documented below.
    languageCode string
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    nluSettings CxFlowNluSettings
    NLU related settings of the flow. Structure is documented below.
    parent string
    The agent to create a flow for. Format: projects//locations//agents/.
    transitionRouteGroups string[]
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    transitionRoutes CxFlowTransitionRoute[]
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    display_name str
    The human-readable name of the flow.


    advanced_settings CxFlowAdvancedSettingsArgs
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    description str
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    event_handlers Sequence[CxFlowEventHandlerArgs]
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    is_default_start_flow bool

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    knowledge_connector_settings CxFlowKnowledgeConnectorSettingsArgs
    Knowledge connector configuration. Structure is documented below.
    language_code str
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    nlu_settings CxFlowNluSettingsArgs
    NLU related settings of the flow. Structure is documented below.
    parent str
    The agent to create a flow for. Format: projects//locations//agents/.
    transition_route_groups Sequence[str]
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    transition_routes Sequence[CxFlowTransitionRouteArgs]
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    displayName String
    The human-readable name of the flow.


    advancedSettings Property Map
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    description String
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    eventHandlers List<Property Map>
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    isDefaultStartFlow Boolean

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    knowledgeConnectorSettings Property Map
    Knowledge connector configuration. Structure is documented below.
    languageCode String
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    nluSettings Property Map
    NLU related settings of the flow. Structure is documented below.
    parent String
    The agent to create a flow for. Format: projects//locations//agents/.
    transitionRouteGroups List<String>
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    transitionRoutes List<Property Map>
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CxFlow resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique identifier of the flow. Format: projects//locations//agents//flows/.

    Look up Existing CxFlow Resource

    Get an existing CxFlow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CxFlowState, opts?: CustomResourceOptions): CxFlow
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            advanced_settings: Optional[CxFlowAdvancedSettingsArgs] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            event_handlers: Optional[Sequence[CxFlowEventHandlerArgs]] = None,
            is_default_start_flow: Optional[bool] = None,
            knowledge_connector_settings: Optional[CxFlowKnowledgeConnectorSettingsArgs] = None,
            language_code: Optional[str] = None,
            name: Optional[str] = None,
            nlu_settings: Optional[CxFlowNluSettingsArgs] = None,
            parent: Optional[str] = None,
            transition_route_groups: Optional[Sequence[str]] = None,
            transition_routes: Optional[Sequence[CxFlowTransitionRouteArgs]] = None) -> CxFlow
    func GetCxFlow(ctx *Context, name string, id IDInput, state *CxFlowState, opts ...ResourceOption) (*CxFlow, error)
    public static CxFlow Get(string name, Input<string> id, CxFlowState? state, CustomResourceOptions? opts = null)
    public static CxFlow get(String name, Output<String> id, CxFlowState state, CustomResourceOptions options)
    resources:  _:    type: gcp:diagflow:CxFlow    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdvancedSettings CxFlowAdvancedSettings
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    Description string
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    DisplayName string
    The human-readable name of the flow.


    EventHandlers List<CxFlowEventHandler>
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    IsDefaultStartFlow bool

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    KnowledgeConnectorSettings CxFlowKnowledgeConnectorSettings
    Knowledge connector configuration. Structure is documented below.
    LanguageCode string
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    Name string
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    NluSettings CxFlowNluSettings
    NLU related settings of the flow. Structure is documented below.
    Parent string
    The agent to create a flow for. Format: projects//locations//agents/.
    TransitionRouteGroups List<string>
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    TransitionRoutes List<CxFlowTransitionRoute>
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    AdvancedSettings CxFlowAdvancedSettingsArgs
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    Description string
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    DisplayName string
    The human-readable name of the flow.


    EventHandlers []CxFlowEventHandlerArgs
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    IsDefaultStartFlow bool

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    KnowledgeConnectorSettings CxFlowKnowledgeConnectorSettingsArgs
    Knowledge connector configuration. Structure is documented below.
    LanguageCode string
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    Name string
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    NluSettings CxFlowNluSettingsArgs
    NLU related settings of the flow. Structure is documented below.
    Parent string
    The agent to create a flow for. Format: projects//locations//agents/.
    TransitionRouteGroups []string
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    TransitionRoutes []CxFlowTransitionRouteArgs
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    advancedSettings CxFlowAdvancedSettings
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    description String
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    displayName String
    The human-readable name of the flow.


    eventHandlers List<CxFlowEventHandler>
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    isDefaultStartFlow Boolean

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    knowledgeConnectorSettings CxFlowKnowledgeConnectorSettings
    Knowledge connector configuration. Structure is documented below.
    languageCode String
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    name String
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    nluSettings CxFlowNluSettings
    NLU related settings of the flow. Structure is documented below.
    parent String
    The agent to create a flow for. Format: projects//locations//agents/.
    transitionRouteGroups List<String>
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    transitionRoutes List<CxFlowTransitionRoute>
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    advancedSettings CxFlowAdvancedSettings
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    description string
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    displayName string
    The human-readable name of the flow.


    eventHandlers CxFlowEventHandler[]
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    isDefaultStartFlow boolean

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    knowledgeConnectorSettings CxFlowKnowledgeConnectorSettings
    Knowledge connector configuration. Structure is documented below.
    languageCode string
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    name string
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    nluSettings CxFlowNluSettings
    NLU related settings of the flow. Structure is documented below.
    parent string
    The agent to create a flow for. Format: projects//locations//agents/.
    transitionRouteGroups string[]
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    transitionRoutes CxFlowTransitionRoute[]
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    advanced_settings CxFlowAdvancedSettingsArgs
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    description str
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    display_name str
    The human-readable name of the flow.


    event_handlers Sequence[CxFlowEventHandlerArgs]
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    is_default_start_flow bool

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    knowledge_connector_settings CxFlowKnowledgeConnectorSettingsArgs
    Knowledge connector configuration. Structure is documented below.
    language_code str
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    name str
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    nlu_settings CxFlowNluSettingsArgs
    NLU related settings of the flow. Structure is documented below.
    parent str
    The agent to create a flow for. Format: projects//locations//agents/.
    transition_route_groups Sequence[str]
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    transition_routes Sequence[CxFlowTransitionRouteArgs]
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.
    advancedSettings Property Map
    Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    description String
    The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
    displayName String
    The human-readable name of the flow.


    eventHandlers List<Property Map>
    A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.
    isDefaultStartFlow Boolean

    Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the gcp.diagflow.CxFlow resource does nothing to the underlying GCP resources.

    Avoid having multiple gcp.diagflow.CxFlow resources linked to the same agent with is_default_start_flow = true because they will compete to control a single Default Start Flow resource in GCP.

    knowledgeConnectorSettings Property Map
    Knowledge connector configuration. Structure is documented below.
    languageCode String
    The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
    name String
    The unique identifier of the flow. Format: projects//locations//agents//flows/.
    nluSettings Property Map
    NLU related settings of the flow. Structure is documented below.
    parent String
    The agent to create a flow for. Format: projects//locations//agents/.
    transitionRouteGroups List<String>
    A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/.
    transitionRoutes List<Property Map>
    A flow's transition routes serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: TransitionRoutes with intent specified. TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow. Structure is documented below.

    Supporting Types

    CxFlowAdvancedSettings, CxFlowAdvancedSettingsArgs

    AudioExportGcsDestination CxFlowAdvancedSettingsAudioExportGcsDestination
    If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

    • Agent level
    • Flow level Structure is documented below.
    DtmfSettings CxFlowAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    LoggingSettings CxFlowAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    SpeechSettings CxFlowAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    AudioExportGcsDestination CxFlowAdvancedSettingsAudioExportGcsDestination
    If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

    • Agent level
    • Flow level Structure is documented below.
    DtmfSettings CxFlowAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    LoggingSettings CxFlowAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    SpeechSettings CxFlowAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    audioExportGcsDestination CxFlowAdvancedSettingsAudioExportGcsDestination
    If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

    • Agent level
    • Flow level Structure is documented below.
    dtmfSettings CxFlowAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    loggingSettings CxFlowAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    speechSettings CxFlowAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    audioExportGcsDestination CxFlowAdvancedSettingsAudioExportGcsDestination
    If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

    • Agent level
    • Flow level Structure is documented below.
    dtmfSettings CxFlowAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    loggingSettings CxFlowAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    speechSettings CxFlowAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    audio_export_gcs_destination CxFlowAdvancedSettingsAudioExportGcsDestination
    If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

    • Agent level
    • Flow level Structure is documented below.
    dtmf_settings CxFlowAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    logging_settings CxFlowAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    speech_settings CxFlowAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    audioExportGcsDestination Property Map
    If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:

    • Agent level
    • Flow level Structure is documented below.
    dtmfSettings Property Map
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    loggingSettings Property Map
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    speechSettings Property Map
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.

    CxFlowAdvancedSettingsAudioExportGcsDestination, CxFlowAdvancedSettingsAudioExportGcsDestinationArgs

    Uri string
    The Google Cloud Storage URI for the exported objects. Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. Format: gs://bucket/object-name-or-prefix
    Uri string
    The Google Cloud Storage URI for the exported objects. Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. Format: gs://bucket/object-name-or-prefix
    uri String
    The Google Cloud Storage URI for the exported objects. Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. Format: gs://bucket/object-name-or-prefix
    uri string
    The Google Cloud Storage URI for the exported objects. Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. Format: gs://bucket/object-name-or-prefix
    uri str
    The Google Cloud Storage URI for the exported objects. Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. Format: gs://bucket/object-name-or-prefix
    uri String
    The Google Cloud Storage URI for the exported objects. Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. Format: gs://bucket/object-name-or-prefix

    CxFlowAdvancedSettingsDtmfSettings, CxFlowAdvancedSettingsDtmfSettingsArgs

    Enabled bool
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    FinishDigit string
    The digit that terminates a DTMF digit sequence.
    MaxDigits int
    Max length of DTMF digits.
    Enabled bool
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    FinishDigit string
    The digit that terminates a DTMF digit sequence.
    MaxDigits int
    Max length of DTMF digits.
    enabled Boolean
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    finishDigit String
    The digit that terminates a DTMF digit sequence.
    maxDigits Integer
    Max length of DTMF digits.
    enabled boolean
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    finishDigit string
    The digit that terminates a DTMF digit sequence.
    maxDigits number
    Max length of DTMF digits.
    enabled bool
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    finish_digit str
    The digit that terminates a DTMF digit sequence.
    max_digits int
    Max length of DTMF digits.
    enabled Boolean
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    finishDigit String
    The digit that terminates a DTMF digit sequence.
    maxDigits Number
    Max length of DTMF digits.

    CxFlowAdvancedSettingsLoggingSettings, CxFlowAdvancedSettingsLoggingSettingsArgs

    EnableConsentBasedRedaction bool
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    EnableInteractionLogging bool
    Enables DF Interaction logging.
    EnableStackdriverLogging bool
    Enables Google Cloud Logging.
    EnableConsentBasedRedaction bool
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    EnableInteractionLogging bool
    Enables DF Interaction logging.
    EnableStackdriverLogging bool
    Enables Google Cloud Logging.
    enableConsentBasedRedaction Boolean
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    enableInteractionLogging Boolean
    Enables DF Interaction logging.
    enableStackdriverLogging Boolean
    Enables Google Cloud Logging.
    enableConsentBasedRedaction boolean
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    enableInteractionLogging boolean
    Enables DF Interaction logging.
    enableStackdriverLogging boolean
    Enables Google Cloud Logging.
    enable_consent_based_redaction bool
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    enable_interaction_logging bool
    Enables DF Interaction logging.
    enable_stackdriver_logging bool
    Enables Google Cloud Logging.
    enableConsentBasedRedaction Boolean
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    enableInteractionLogging Boolean
    Enables DF Interaction logging.
    enableStackdriverLogging Boolean
    Enables Google Cloud Logging.

    CxFlowAdvancedSettingsSpeechSettings, CxFlowAdvancedSettingsSpeechSettingsArgs

    EndpointerSensitivity int
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    Models Dictionary<string, string>
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    NoSpeechTimeout string
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    UseTimeoutBasedEndpointing bool
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    EndpointerSensitivity int
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    Models map[string]string
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    NoSpeechTimeout string
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    UseTimeoutBasedEndpointing bool
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    endpointerSensitivity Integer
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    models Map<String,String>
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    noSpeechTimeout String
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    useTimeoutBasedEndpointing Boolean
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    endpointerSensitivity number
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    models {[key: string]: string}
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    noSpeechTimeout string
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    useTimeoutBasedEndpointing boolean
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    endpointer_sensitivity int
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    models Mapping[str, str]
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    no_speech_timeout str
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    use_timeout_based_endpointing bool
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    endpointerSensitivity Number
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    models Map<String>
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    noSpeechTimeout String
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    useTimeoutBasedEndpointing Boolean
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.

    CxFlowEventHandler, CxFlowEventHandlerArgs

    Event string
    The name of the event to handle.
    Name string
    (Output) The unique identifier of this event handler.
    TargetFlow string
    The target flow to transition to. Format: projects//locations//agents//flows/.
    TargetPage string
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    TriggerFulfillment CxFlowEventHandlerTriggerFulfillment
    The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.
    Event string
    The name of the event to handle.
    Name string
    (Output) The unique identifier of this event handler.
    TargetFlow string
    The target flow to transition to. Format: projects//locations//agents//flows/.
    TargetPage string
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    TriggerFulfillment CxFlowEventHandlerTriggerFulfillment
    The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.
    event String
    The name of the event to handle.
    name String
    (Output) The unique identifier of this event handler.
    targetFlow String
    The target flow to transition to. Format: projects//locations//agents//flows/.
    targetPage String
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    triggerFulfillment CxFlowEventHandlerTriggerFulfillment
    The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.
    event string
    The name of the event to handle.
    name string
    (Output) The unique identifier of this event handler.
    targetFlow string
    The target flow to transition to. Format: projects//locations//agents//flows/.
    targetPage string
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    triggerFulfillment CxFlowEventHandlerTriggerFulfillment
    The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.
    event str
    The name of the event to handle.
    name str
    (Output) The unique identifier of this event handler.
    target_flow str
    The target flow to transition to. Format: projects//locations//agents//flows/.
    target_page str
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    trigger_fulfillment CxFlowEventHandlerTriggerFulfillment
    The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.
    event String
    The name of the event to handle.
    name String
    (Output) The unique identifier of this event handler.
    targetFlow String
    The target flow to transition to. Format: projects//locations//agents//flows/.
    targetPage String
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    triggerFulfillment Property Map
    The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.

    CxFlowEventHandlerTriggerFulfillment, CxFlowEventHandlerTriggerFulfillmentArgs

    ConditionalCases List<CxFlowEventHandlerTriggerFulfillmentConditionalCase>
    Conditional cases for this fulfillment. Structure is documented below.
    Messages List<CxFlowEventHandlerTriggerFulfillmentMessage>
    The list of rich message responses to present to the user. Structure is documented below.
    ReturnPartialResponses bool
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    SetParameterActions List<CxFlowEventHandlerTriggerFulfillmentSetParameterAction>
    Set parameter values before executing the webhook. Structure is documented below.
    Tag string
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    Webhook string
    The webhook to call. Format: projects//locations//agents//webhooks/.
    ConditionalCases []CxFlowEventHandlerTriggerFulfillmentConditionalCase
    Conditional cases for this fulfillment. Structure is documented below.
    Messages []CxFlowEventHandlerTriggerFulfillmentMessage
    The list of rich message responses to present to the user. Structure is documented below.
    ReturnPartialResponses bool
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    SetParameterActions []CxFlowEventHandlerTriggerFulfillmentSetParameterAction
    Set parameter values before executing the webhook. Structure is documented below.
    Tag string
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    Webhook string
    The webhook to call. Format: projects//locations//agents//webhooks/.
    conditionalCases List<CxFlowEventHandlerTriggerFulfillmentConditionalCase>
    Conditional cases for this fulfillment. Structure is documented below.
    messages List<CxFlowEventHandlerTriggerFulfillmentMessage>
    The list of rich message responses to present to the user. Structure is documented below.
    returnPartialResponses Boolean
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    setParameterActions List<CxFlowEventHandlerTriggerFulfillmentSetParameterAction>
    Set parameter values before executing the webhook. Structure is documented below.
    tag String
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook String
    The webhook to call. Format: projects//locations//agents//webhooks/.
    conditionalCases CxFlowEventHandlerTriggerFulfillmentConditionalCase[]
    Conditional cases for this fulfillment. Structure is documented below.
    messages CxFlowEventHandlerTriggerFulfillmentMessage[]
    The list of rich message responses to present to the user. Structure is documented below.
    returnPartialResponses boolean
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    setParameterActions CxFlowEventHandlerTriggerFulfillmentSetParameterAction[]
    Set parameter values before executing the webhook. Structure is documented below.
    tag string
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook string
    The webhook to call. Format: projects//locations//agents//webhooks/.
    conditional_cases Sequence[CxFlowEventHandlerTriggerFulfillmentConditionalCase]
    Conditional cases for this fulfillment. Structure is documented below.
    messages Sequence[CxFlowEventHandlerTriggerFulfillmentMessage]
    The list of rich message responses to present to the user. Structure is documented below.
    return_partial_responses bool
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    set_parameter_actions Sequence[CxFlowEventHandlerTriggerFulfillmentSetParameterAction]
    Set parameter values before executing the webhook. Structure is documented below.
    tag str
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook str
    The webhook to call. Format: projects//locations//agents//webhooks/.
    conditionalCases List<Property Map>
    Conditional cases for this fulfillment. Structure is documented below.
    messages List<Property Map>
    The list of rich message responses to present to the user. Structure is documented below.
    returnPartialResponses Boolean
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    setParameterActions List<Property Map>
    Set parameter values before executing the webhook. Structure is documented below.
    tag String
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook String
    The webhook to call. Format: projects//locations//agents//webhooks/.

    CxFlowEventHandlerTriggerFulfillmentConditionalCase, CxFlowEventHandlerTriggerFulfillmentConditionalCaseArgs

    Cases string
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    Cases string
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases String
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases string
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases str
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases String
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.

    CxFlowEventHandlerTriggerFulfillmentMessage, CxFlowEventHandlerTriggerFulfillmentMessageArgs

    Channel string
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    ConversationSuccess CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    LiveAgentHandoff CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    OutputAudioText CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Payload string
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    PlayAudio CxFlowEventHandlerTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    TelephonyTransferCall CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Text CxFlowEventHandlerTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Channel string
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    ConversationSuccess CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    LiveAgentHandoff CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    OutputAudioText CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Payload string
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    PlayAudio CxFlowEventHandlerTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    TelephonyTransferCall CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Text CxFlowEventHandlerTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel String
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversationSuccess CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    liveAgentHandoff CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    outputAudioText CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload String
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    playAudio CxFlowEventHandlerTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephonyTransferCall CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text CxFlowEventHandlerTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel string
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversationSuccess CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    liveAgentHandoff CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    outputAudioText CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload string
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    playAudio CxFlowEventHandlerTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephonyTransferCall CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text CxFlowEventHandlerTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel str
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversation_success CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    live_agent_handoff CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    output_audio_text CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload str
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    play_audio CxFlowEventHandlerTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephony_transfer_call CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text CxFlowEventHandlerTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel String
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversationSuccess Property Map
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    liveAgentHandoff Property Map
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    outputAudioText Property Map
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload String
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    playAudio Property Map
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephonyTransferCall Property Map
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text Property Map
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.

    CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccess, CxFlowEventHandlerTriggerFulfillmentMessageConversationSuccessArgs

    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata str
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.

    CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoff, CxFlowEventHandlerTriggerFulfillmentMessageLiveAgentHandoffArgs

    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata str
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.

    CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioText, CxFlowEventHandlerTriggerFulfillmentMessageOutputAudioTextArgs

    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Ssml string
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    Text string
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Ssml string
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    Text string
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml String
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text String
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allowPlaybackInterruption boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml string
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text string
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allow_playback_interruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml str
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text str
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml String
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text String
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.

    CxFlowEventHandlerTriggerFulfillmentMessagePlayAudio, CxFlowEventHandlerTriggerFulfillmentMessagePlayAudioArgs

    AudioUri string
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    AllowPlaybackInterruption bool

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    AudioUri string
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    AllowPlaybackInterruption bool

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audioUri String
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allowPlaybackInterruption Boolean

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audioUri string
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allowPlaybackInterruption boolean

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audio_uri str
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allow_playback_interruption bool

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audioUri String
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allowPlaybackInterruption Boolean

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCall, CxFlowEventHandlerTriggerFulfillmentMessageTelephonyTransferCallArgs

    PhoneNumber string
    Transfer the call to a phone number in E.164 format.
    PhoneNumber string
    Transfer the call to a phone number in E.164 format.
    phoneNumber String
    Transfer the call to a phone number in E.164 format.
    phoneNumber string
    Transfer the call to a phone number in E.164 format.
    phone_number str
    Transfer the call to a phone number in E.164 format.
    phoneNumber String
    Transfer the call to a phone number in E.164 format.

    CxFlowEventHandlerTriggerFulfillmentMessageText, CxFlowEventHandlerTriggerFulfillmentMessageTextArgs

    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Texts List<string>
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Texts []string
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts List<String>
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allowPlaybackInterruption boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts string[]
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allow_playback_interruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts Sequence[str]
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts List<String>
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true

    CxFlowEventHandlerTriggerFulfillmentSetParameterAction, CxFlowEventHandlerTriggerFulfillmentSetParameterActionArgs

    Parameter string
    Display name of the parameter.
    Value string
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    Parameter string
    Display name of the parameter.
    Value string
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter String
    Display name of the parameter.
    value String
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter string
    Display name of the parameter.
    value string
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter str
    Display name of the parameter.
    value str
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter String
    Display name of the parameter.
    value String
    The new JSON-encoded value of the parameter. A null value clears the parameter.

    CxFlowKnowledgeConnectorSettings, CxFlowKnowledgeConnectorSettingsArgs

    DataStoreConnections List<CxFlowKnowledgeConnectorSettingsDataStoreConnection>
    Optional. List of related data store connections. Structure is documented below.
    Enabled bool
    Whether Knowledge Connector is enabled or not.
    TargetFlow string
    The target flow to transition to. Format: projects//locations//agents//flows/. This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    TargetPage string
    The target page to transition to. Format: projects//locations//agents//flows//pages/. The page must be in the same host flow (the flow that owns this KnowledgeConnectorSettings). This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    TriggerFulfillment CxFlowKnowledgeConnectorSettingsTriggerFulfillment
    The fulfillment to be triggered. When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers (contains up to the 5 highest confidence answers) and $request.knowledge.questions (contains the corresponding questions) to construct the fulfillment. Structure is documented below.
    DataStoreConnections []CxFlowKnowledgeConnectorSettingsDataStoreConnection
    Optional. List of related data store connections. Structure is documented below.
    Enabled bool
    Whether Knowledge Connector is enabled or not.
    TargetFlow string
    The target flow to transition to. Format: projects//locations//agents//flows/. This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    TargetPage string
    The target page to transition to. Format: projects//locations//agents//flows//pages/. The page must be in the same host flow (the flow that owns this KnowledgeConnectorSettings). This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    TriggerFulfillment CxFlowKnowledgeConnectorSettingsTriggerFulfillment
    The fulfillment to be triggered. When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers (contains up to the 5 highest confidence answers) and $request.knowledge.questions (contains the corresponding questions) to construct the fulfillment. Structure is documented below.
    dataStoreConnections List<CxFlowKnowledgeConnectorSettingsDataStoreConnection>
    Optional. List of related data store connections. Structure is documented below.
    enabled Boolean
    Whether Knowledge Connector is enabled or not.
    targetFlow String
    The target flow to transition to. Format: projects//locations//agents//flows/. This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    targetPage String
    The target page to transition to. Format: projects//locations//agents//flows//pages/. The page must be in the same host flow (the flow that owns this KnowledgeConnectorSettings). This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    triggerFulfillment CxFlowKnowledgeConnectorSettingsTriggerFulfillment
    The fulfillment to be triggered. When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers (contains up to the 5 highest confidence answers) and $request.knowledge.questions (contains the corresponding questions) to construct the fulfillment. Structure is documented below.
    dataStoreConnections CxFlowKnowledgeConnectorSettingsDataStoreConnection[]
    Optional. List of related data store connections. Structure is documented below.
    enabled boolean
    Whether Knowledge Connector is enabled or not.
    targetFlow string
    The target flow to transition to. Format: projects//locations//agents//flows/. This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    targetPage string
    The target page to transition to. Format: projects//locations//agents//flows//pages/. The page must be in the same host flow (the flow that owns this KnowledgeConnectorSettings). This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    triggerFulfillment CxFlowKnowledgeConnectorSettingsTriggerFulfillment
    The fulfillment to be triggered. When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers (contains up to the 5 highest confidence answers) and $request.knowledge.questions (contains the corresponding questions) to construct the fulfillment. Structure is documented below.
    data_store_connections Sequence[CxFlowKnowledgeConnectorSettingsDataStoreConnection]
    Optional. List of related data store connections. Structure is documented below.
    enabled bool
    Whether Knowledge Connector is enabled or not.
    target_flow str
    The target flow to transition to. Format: projects//locations//agents//flows/. This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    target_page str
    The target page to transition to. Format: projects//locations//agents//flows//pages/. The page must be in the same host flow (the flow that owns this KnowledgeConnectorSettings). This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    trigger_fulfillment CxFlowKnowledgeConnectorSettingsTriggerFulfillment
    The fulfillment to be triggered. When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers (contains up to the 5 highest confidence answers) and $request.knowledge.questions (contains the corresponding questions) to construct the fulfillment. Structure is documented below.
    dataStoreConnections List<Property Map>
    Optional. List of related data store connections. Structure is documented below.
    enabled Boolean
    Whether Knowledge Connector is enabled or not.
    targetFlow String
    The target flow to transition to. Format: projects//locations//agents//flows/. This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    targetPage String
    The target page to transition to. Format: projects//locations//agents//flows//pages/. The page must be in the same host flow (the flow that owns this KnowledgeConnectorSettings). This field is part of a union field target: Only one of targetPage or targetFlow may be set.
    triggerFulfillment Property Map
    The fulfillment to be triggered. When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers (contains up to the 5 highest confidence answers) and $request.knowledge.questions (contains the corresponding questions) to construct the fulfillment. Structure is documented below.

    CxFlowKnowledgeConnectorSettingsDataStoreConnection, CxFlowKnowledgeConnectorSettingsDataStoreConnectionArgs

    DataStore string
    The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
    DataStoreType string
    The type of the connected data store.

    • PUBLIC_WEB: A data store that contains public web content.
    • UNSTRUCTURED: A data store that contains unstructured private data.
    • STRUCTURED: A data store that contains structured data (for example FAQ). Possible values are: PUBLIC_WEB, UNSTRUCTURED, STRUCTURED.
    DocumentProcessingMode string
    The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.

    • DOCUMENTS: Documents are processed as documents.
    • CHUNKS: Documents are converted to chunks. Possible values are: DOCUMENTS, CHUNKS.
    DataStore string
    The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
    DataStoreType string
    The type of the connected data store.

    • PUBLIC_WEB: A data store that contains public web content.
    • UNSTRUCTURED: A data store that contains unstructured private data.
    • STRUCTURED: A data store that contains structured data (for example FAQ). Possible values are: PUBLIC_WEB, UNSTRUCTURED, STRUCTURED.
    DocumentProcessingMode string
    The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.

    • DOCUMENTS: Documents are processed as documents.
    • CHUNKS: Documents are converted to chunks. Possible values are: DOCUMENTS, CHUNKS.
    dataStore String
    The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
    dataStoreType String
    The type of the connected data store.

    • PUBLIC_WEB: A data store that contains public web content.
    • UNSTRUCTURED: A data store that contains unstructured private data.
    • STRUCTURED: A data store that contains structured data (for example FAQ). Possible values are: PUBLIC_WEB, UNSTRUCTURED, STRUCTURED.
    documentProcessingMode String
    The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.

    • DOCUMENTS: Documents are processed as documents.
    • CHUNKS: Documents are converted to chunks. Possible values are: DOCUMENTS, CHUNKS.
    dataStore string
    The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
    dataStoreType string
    The type of the connected data store.

    • PUBLIC_WEB: A data store that contains public web content.
    • UNSTRUCTURED: A data store that contains unstructured private data.
    • STRUCTURED: A data store that contains structured data (for example FAQ). Possible values are: PUBLIC_WEB, UNSTRUCTURED, STRUCTURED.
    documentProcessingMode string
    The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.

    • DOCUMENTS: Documents are processed as documents.
    • CHUNKS: Documents are converted to chunks. Possible values are: DOCUMENTS, CHUNKS.
    data_store str
    The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
    data_store_type str
    The type of the connected data store.

    • PUBLIC_WEB: A data store that contains public web content.
    • UNSTRUCTURED: A data store that contains unstructured private data.
    • STRUCTURED: A data store that contains structured data (for example FAQ). Possible values are: PUBLIC_WEB, UNSTRUCTURED, STRUCTURED.
    document_processing_mode str
    The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.

    • DOCUMENTS: Documents are processed as documents.
    • CHUNKS: Documents are converted to chunks. Possible values are: DOCUMENTS, CHUNKS.
    dataStore String
    The full name of the referenced data store. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} projects/{project}/locations/{location}/dataStores/{dataStore}
    dataStoreType String
    The type of the connected data store.

    • PUBLIC_WEB: A data store that contains public web content.
    • UNSTRUCTURED: A data store that contains unstructured private data.
    • STRUCTURED: A data store that contains structured data (for example FAQ). Possible values are: PUBLIC_WEB, UNSTRUCTURED, STRUCTURED.
    documentProcessingMode String
    The document processing mode for the data store connection. Should only be set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as DOCUMENTS, as this is the legacy mode.

    • DOCUMENTS: Documents are processed as documents.
    • CHUNKS: Documents are converted to chunks. Possible values are: DOCUMENTS, CHUNKS.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillment, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs

    AdvancedSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettings
    Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playbackInterruptionSettings at fulfillment level only overrides the playbackInterruptionSettings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    ConditionalCases List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCase>
    Conditional cases for this fulfillment. Structure is documented below.
    EnableGenerativeFallback bool
    If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.
    Messages List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessage>
    The list of rich message responses to present to the user. Structure is documented below.
    ReturnPartialResponses bool
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    SetParameterActions List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterAction>
    Set parameter values before executing the webhook. Structure is documented below.
    Tag string
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    Webhook string
    The webhook to call. Format: projects//locations//agents//webhooks/.
    AdvancedSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettings
    Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playbackInterruptionSettings at fulfillment level only overrides the playbackInterruptionSettings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    ConditionalCases []CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCase
    Conditional cases for this fulfillment. Structure is documented below.
    EnableGenerativeFallback bool
    If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.
    Messages []CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessage
    The list of rich message responses to present to the user. Structure is documented below.
    ReturnPartialResponses bool
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    SetParameterActions []CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterAction
    Set parameter values before executing the webhook. Structure is documented below.
    Tag string
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    Webhook string
    The webhook to call. Format: projects//locations//agents//webhooks/.
    advancedSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettings
    Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playbackInterruptionSettings at fulfillment level only overrides the playbackInterruptionSettings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    conditionalCases List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCase>
    Conditional cases for this fulfillment. Structure is documented below.
    enableGenerativeFallback Boolean
    If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.
    messages List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessage>
    The list of rich message responses to present to the user. Structure is documented below.
    returnPartialResponses Boolean
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    setParameterActions List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterAction>
    Set parameter values before executing the webhook. Structure is documented below.
    tag String
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook String
    The webhook to call. Format: projects//locations//agents//webhooks/.
    advancedSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettings
    Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playbackInterruptionSettings at fulfillment level only overrides the playbackInterruptionSettings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    conditionalCases CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCase[]
    Conditional cases for this fulfillment. Structure is documented below.
    enableGenerativeFallback boolean
    If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.
    messages CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessage[]
    The list of rich message responses to present to the user. Structure is documented below.
    returnPartialResponses boolean
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    setParameterActions CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterAction[]
    Set parameter values before executing the webhook. Structure is documented below.
    tag string
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook string
    The webhook to call. Format: projects//locations//agents//webhooks/.
    advanced_settings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettings
    Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playbackInterruptionSettings at fulfillment level only overrides the playbackInterruptionSettings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    conditional_cases Sequence[CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCase]
    Conditional cases for this fulfillment. Structure is documented below.
    enable_generative_fallback bool
    If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.
    messages Sequence[CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessage]
    The list of rich message responses to present to the user. Structure is documented below.
    return_partial_responses bool
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    set_parameter_actions Sequence[CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterAction]
    Set parameter values before executing the webhook. Structure is documented below.
    tag str
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook str
    The webhook to call. Format: projects//locations//agents//webhooks/.
    advancedSettings Property Map
    Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playbackInterruptionSettings at fulfillment level only overrides the playbackInterruptionSettings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.
    conditionalCases List<Property Map>
    Conditional cases for this fulfillment. Structure is documented below.
    enableGenerativeFallback Boolean
    If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.
    messages List<Property Map>
    The list of rich message responses to present to the user. Structure is documented below.
    returnPartialResponses Boolean
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    setParameterActions List<Property Map>
    Set parameter values before executing the webhook. Structure is documented below.
    tag String
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook String
    The webhook to call. Format: projects//locations//agents//webhooks/.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettings, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs

    DtmfSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    LoggingSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    SpeechSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    DtmfSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    LoggingSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    SpeechSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    dtmfSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    loggingSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    speechSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    dtmfSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    loggingSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    speechSettings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    dtmf_settings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettings
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    logging_settings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettings
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    speech_settings CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettings
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    dtmfSettings Property Map
    Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.
    loggingSettings Property Map
    Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:

    • Agent level Structure is documented below.
    speechSettings Property Map
    Settings for speech to text detection. Exposed at the following levels:

    • Agent level
    • Flow level
    • Page level
    • Parameter level Structure is documented below.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettings, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsDtmfSettingsArgs

    Enabled bool
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    EndpointingTimeoutDuration string
    Endpoint timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    FinishDigit string
    The digit that terminates a DTMF digit sequence.
    InterdigitTimeoutDuration string
    Interdigit timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    MaxDigits int
    Max length of DTMF digits.
    Enabled bool
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    EndpointingTimeoutDuration string
    Endpoint timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    FinishDigit string
    The digit that terminates a DTMF digit sequence.
    InterdigitTimeoutDuration string
    Interdigit timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    MaxDigits int
    Max length of DTMF digits.
    enabled Boolean
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    endpointingTimeoutDuration String
    Endpoint timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    finishDigit String
    The digit that terminates a DTMF digit sequence.
    interdigitTimeoutDuration String
    Interdigit timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    maxDigits Integer
    Max length of DTMF digits.
    enabled boolean
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    endpointingTimeoutDuration string
    Endpoint timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    finishDigit string
    The digit that terminates a DTMF digit sequence.
    interdigitTimeoutDuration string
    Interdigit timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    maxDigits number
    Max length of DTMF digits.
    enabled bool
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    endpointing_timeout_duration str
    Endpoint timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    finish_digit str
    The digit that terminates a DTMF digit sequence.
    interdigit_timeout_duration str
    Interdigit timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    max_digits int
    Max length of DTMF digits.
    enabled Boolean
    If true, incoming audio is processed for DTMF (dual tone multi frequtectency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will de the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
    endpointingTimeoutDuration String
    Endpoint timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    finishDigit String
    The digit that terminates a DTMF digit sequence.
    interdigitTimeoutDuration String
    Interdigit timeout setting for matching dtmf input to regex. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    maxDigits Number
    Max length of DTMF digits.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettings, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsLoggingSettingsArgs

    EnableConsentBasedRedaction bool
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    EnableInteractionLogging bool
    Enables DF Interaction logging.
    EnableStackdriverLogging bool
    Enables Google Cloud Logging.
    EnableConsentBasedRedaction bool
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    EnableInteractionLogging bool
    Enables DF Interaction logging.
    EnableStackdriverLogging bool
    Enables Google Cloud Logging.
    enableConsentBasedRedaction Boolean
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    enableInteractionLogging Boolean
    Enables DF Interaction logging.
    enableStackdriverLogging Boolean
    Enables Google Cloud Logging.
    enableConsentBasedRedaction boolean
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    enableInteractionLogging boolean
    Enables DF Interaction logging.
    enableStackdriverLogging boolean
    Enables Google Cloud Logging.
    enable_consent_based_redaction bool
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    enable_interaction_logging bool
    Enables DF Interaction logging.
    enable_stackdriver_logging bool
    Enables Google Cloud Logging.
    enableConsentBasedRedaction Boolean
    Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.
    enableInteractionLogging Boolean
    Enables DF Interaction logging.
    enableStackdriverLogging Boolean
    Enables Google Cloud Logging.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettings, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsSpeechSettingsArgs

    EndpointerSensitivity int
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    Models Dictionary<string, string>
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    NoSpeechTimeout string
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    UseTimeoutBasedEndpointing bool
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    EndpointerSensitivity int
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    Models map[string]string
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    NoSpeechTimeout string
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    UseTimeoutBasedEndpointing bool
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    endpointerSensitivity Integer
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    models Map<String,String>
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    noSpeechTimeout String
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    useTimeoutBasedEndpointing Boolean
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    endpointerSensitivity number
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    models {[key: string]: string}
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    noSpeechTimeout string
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    useTimeoutBasedEndpointing boolean
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    endpointer_sensitivity int
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    models Mapping[str, str]
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    no_speech_timeout str
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    use_timeout_based_endpointing bool
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    endpointerSensitivity Number
    Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
    models Map<String>
    Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
    noSpeechTimeout String
    Timeout before detecting no speech. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.500s".
    useTimeoutBasedEndpointing Boolean
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCase, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArgs

    Cases string
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    Cases string
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases String
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases string
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases str
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases String
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessage, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs

    Channel string
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    ConversationSuccess CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    EndInteractions List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageEndInteraction>
    (Output) This type has no fields. Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    KnowledgeInfoCard CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageKnowledgeInfoCard
    This type has no fields. Represents info card response. If the response contains generative knowledge prediction, Dialogflow will return a payload with Infobot Messenger compatible info card. Otherwise, the info card response is skipped. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    LiveAgentHandoff CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    MixedAudios List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudio>
    (Output) Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via playAudio. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    OutputAudioText CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Payload string
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    PlayAudio CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    TelephonyTransferCall CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Text CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Channel string
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    ConversationSuccess CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    EndInteractions []CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageEndInteraction
    (Output) This type has no fields. Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    KnowledgeInfoCard CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageKnowledgeInfoCard
    This type has no fields. Represents info card response. If the response contains generative knowledge prediction, Dialogflow will return a payload with Infobot Messenger compatible info card. Otherwise, the info card response is skipped. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    LiveAgentHandoff CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    MixedAudios []CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudio
    (Output) Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via playAudio. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    OutputAudioText CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Payload string
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    PlayAudio CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    TelephonyTransferCall CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Text CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel String
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversationSuccess CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    endInteractions List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageEndInteraction>
    (Output) This type has no fields. Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    knowledgeInfoCard CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageKnowledgeInfoCard
    This type has no fields. Represents info card response. If the response contains generative knowledge prediction, Dialogflow will return a payload with Infobot Messenger compatible info card. Otherwise, the info card response is skipped. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    liveAgentHandoff CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    mixedAudios List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudio>
    (Output) Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via playAudio. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    outputAudioText CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload String
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    playAudio CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephonyTransferCall CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel string
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversationSuccess CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    endInteractions CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageEndInteraction[]
    (Output) This type has no fields. Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    knowledgeInfoCard CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageKnowledgeInfoCard
    This type has no fields. Represents info card response. If the response contains generative knowledge prediction, Dialogflow will return a payload with Infobot Messenger compatible info card. Otherwise, the info card response is skipped. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    liveAgentHandoff CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    mixedAudios CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudio[]
    (Output) Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via playAudio. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    outputAudioText CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload string
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    playAudio CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephonyTransferCall CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel str
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversation_success CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    end_interactions Sequence[CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageEndInteraction]
    (Output) This type has no fields. Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    knowledge_info_card CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageKnowledgeInfoCard
    This type has no fields. Represents info card response. If the response contains generative knowledge prediction, Dialogflow will return a payload with Infobot Messenger compatible info card. Otherwise, the info card response is skipped. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    live_agent_handoff CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    mixed_audios Sequence[CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudio]
    (Output) Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via playAudio. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    output_audio_text CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload str
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    play_audio CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephony_transfer_call CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel String
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversationSuccess Property Map
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    endInteractions List<Property Map>
    (Output) This type has no fields. Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    knowledgeInfoCard Property Map
    This type has no fields. Represents info card response. If the response contains generative knowledge prediction, Dialogflow will return a payload with Infobot Messenger compatible info card. Otherwise, the info card response is skipped. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    liveAgentHandoff Property Map
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    mixedAudios List<Property Map>
    (Output) Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via playAudio. This message is generated by Dialogflow only and not supposed to be defined by the user. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    outputAudioText Property Map
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload String
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    playAudio Property Map
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephonyTransferCall Property Map
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text Property Map
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccess, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageConversationSuccessArgs

    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata str
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoff, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageLiveAgentHandoffArgs

    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata str
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudio, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioArgs

    segments List<Property Map>
    Segments this audio response is composed of.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioSegment, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageMixedAudioSegmentArgs

    AllowPlaybackInterruption bool
    (Output) Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.
    Audio string
    Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. A base64-encoded string. This field is part of a union field content: Only one of audio or uri may be set.
    Uri string
    Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it. This field is part of a union field content: Only one of audio or uri may be set.
    AllowPlaybackInterruption bool
    (Output) Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.
    Audio string
    Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. A base64-encoded string. This field is part of a union field content: Only one of audio or uri may be set.
    Uri string
    Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it. This field is part of a union field content: Only one of audio or uri may be set.
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.
    audio String
    Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. A base64-encoded string. This field is part of a union field content: Only one of audio or uri may be set.
    uri String
    Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it. This field is part of a union field content: Only one of audio or uri may be set.
    allowPlaybackInterruption boolean
    (Output) Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.
    audio string
    Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. A base64-encoded string. This field is part of a union field content: Only one of audio or uri may be set.
    uri string
    Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it. This field is part of a union field content: Only one of audio or uri may be set.
    allow_playback_interruption bool
    (Output) Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.
    audio str
    Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. A base64-encoded string. This field is part of a union field content: Only one of audio or uri may be set.
    uri str
    Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it. This field is part of a union field content: Only one of audio or uri may be set.
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.
    audio String
    Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. A base64-encoded string. This field is part of a union field content: Only one of audio or uri may be set.
    uri String
    Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it. This field is part of a union field content: Only one of audio or uri may be set.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioText, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageOutputAudioTextArgs

    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Ssml string
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    Text string
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Ssml string
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    Text string
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml String
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text String
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allowPlaybackInterruption boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml string
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text string
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allow_playback_interruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml str
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text str
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml String
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text String
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudio, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessagePlayAudioArgs

    AudioUri string
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    AllowPlaybackInterruption bool

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    AudioUri string
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    AllowPlaybackInterruption bool

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audioUri String
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allowPlaybackInterruption Boolean

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audioUri string
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allowPlaybackInterruption boolean

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audio_uri str
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allow_playback_interruption bool

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audioUri String
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allowPlaybackInterruption Boolean

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCall, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTelephonyTransferCallArgs

    PhoneNumber string
    Transfer the call to a phone number in E.164 format.
    PhoneNumber string
    Transfer the call to a phone number in E.164 format.
    phoneNumber String
    Transfer the call to a phone number in E.164 format.
    phoneNumber string
    Transfer the call to a phone number in E.164 format.
    phone_number str
    Transfer the call to a phone number in E.164 format.
    phoneNumber String
    Transfer the call to a phone number in E.164 format.

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageText, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageTextArgs

    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Texts List<string>
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Texts []string
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts List<String>
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allowPlaybackInterruption boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts string[]
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allow_playback_interruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts Sequence[str]
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts List<String>
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true

    CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterAction, CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArgs

    Parameter string
    Display name of the parameter.
    Value string
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    Parameter string
    Display name of the parameter.
    Value string
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter String
    Display name of the parameter.
    value String
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter string
    Display name of the parameter.
    value string
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter str
    Display name of the parameter.
    value str
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter String
    Display name of the parameter.
    value String
    The new JSON-encoded value of the parameter. A null value clears the parameter.

    CxFlowNluSettings, CxFlowNluSettingsArgs

    ClassificationThreshold double
    To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
    ModelTrainingMode string
    Indicates NLU model training mode.

    • MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
    • MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are: MODEL_TRAINING_MODE_AUTOMATIC, MODEL_TRAINING_MODE_MANUAL.
    ModelType string
    Indicates the type of NLU model.

    • MODEL_TYPE_STANDARD: Use standard NLU model.
    • MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are: MODEL_TYPE_STANDARD, MODEL_TYPE_ADVANCED.
    ClassificationThreshold float64
    To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
    ModelTrainingMode string
    Indicates NLU model training mode.

    • MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
    • MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are: MODEL_TRAINING_MODE_AUTOMATIC, MODEL_TRAINING_MODE_MANUAL.
    ModelType string
    Indicates the type of NLU model.

    • MODEL_TYPE_STANDARD: Use standard NLU model.
    • MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are: MODEL_TYPE_STANDARD, MODEL_TYPE_ADVANCED.
    classificationThreshold Double
    To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
    modelTrainingMode String
    Indicates NLU model training mode.

    • MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
    • MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are: MODEL_TRAINING_MODE_AUTOMATIC, MODEL_TRAINING_MODE_MANUAL.
    modelType String
    Indicates the type of NLU model.

    • MODEL_TYPE_STANDARD: Use standard NLU model.
    • MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are: MODEL_TYPE_STANDARD, MODEL_TYPE_ADVANCED.
    classificationThreshold number
    To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
    modelTrainingMode string
    Indicates NLU model training mode.

    • MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
    • MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are: MODEL_TRAINING_MODE_AUTOMATIC, MODEL_TRAINING_MODE_MANUAL.
    modelType string
    Indicates the type of NLU model.

    • MODEL_TYPE_STANDARD: Use standard NLU model.
    • MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are: MODEL_TYPE_STANDARD, MODEL_TYPE_ADVANCED.
    classification_threshold float
    To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
    model_training_mode str
    Indicates NLU model training mode.

    • MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
    • MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are: MODEL_TRAINING_MODE_AUTOMATIC, MODEL_TRAINING_MODE_MANUAL.
    model_type str
    Indicates the type of NLU model.

    • MODEL_TYPE_STANDARD: Use standard NLU model.
    • MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are: MODEL_TYPE_STANDARD, MODEL_TYPE_ADVANCED.
    classificationThreshold Number
    To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
    modelTrainingMode String
    Indicates NLU model training mode.

    • MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
    • MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are: MODEL_TRAINING_MODE_AUTOMATIC, MODEL_TRAINING_MODE_MANUAL.
    modelType String
    Indicates the type of NLU model.

    • MODEL_TYPE_STANDARD: Use standard NLU model.
    • MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are: MODEL_TYPE_STANDARD, MODEL_TYPE_ADVANCED.

    CxFlowTransitionRoute, CxFlowTransitionRouteArgs

    Condition string
    The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    Intent string
    The unique identifier of an Intent. Format: projects//locations//agents//intents/. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    Name string
    (Output) The unique identifier of this transition route.
    TargetFlow string
    The target flow to transition to. Format: projects//locations//agents//flows/.
    TargetPage string
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    TriggerFulfillment CxFlowTransitionRouteTriggerFulfillment
    The fulfillment to call when the condition is satisfied. At least one of triggerFulfillment and target must be specified. When both are defined, triggerFulfillment is executed first. Structure is documented below.
    Condition string
    The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    Intent string
    The unique identifier of an Intent. Format: projects//locations//agents//intents/. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    Name string
    (Output) The unique identifier of this transition route.
    TargetFlow string
    The target flow to transition to. Format: projects//locations//agents//flows/.
    TargetPage string
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    TriggerFulfillment CxFlowTransitionRouteTriggerFulfillment
    The fulfillment to call when the condition is satisfied. At least one of triggerFulfillment and target must be specified. When both are defined, triggerFulfillment is executed first. Structure is documented below.
    condition String
    The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    intent String
    The unique identifier of an Intent. Format: projects//locations//agents//intents/. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    name String
    (Output) The unique identifier of this transition route.
    targetFlow String
    The target flow to transition to. Format: projects//locations//agents//flows/.
    targetPage String
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    triggerFulfillment CxFlowTransitionRouteTriggerFulfillment
    The fulfillment to call when the condition is satisfied. At least one of triggerFulfillment and target must be specified. When both are defined, triggerFulfillment is executed first. Structure is documented below.
    condition string
    The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    intent string
    The unique identifier of an Intent. Format: projects//locations//agents//intents/. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    name string
    (Output) The unique identifier of this transition route.
    targetFlow string
    The target flow to transition to. Format: projects//locations//agents//flows/.
    targetPage string
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    triggerFulfillment CxFlowTransitionRouteTriggerFulfillment
    The fulfillment to call when the condition is satisfied. At least one of triggerFulfillment and target must be specified. When both are defined, triggerFulfillment is executed first. Structure is documented below.
    condition str
    The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    intent str
    The unique identifier of an Intent. Format: projects//locations//agents//intents/. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    name str
    (Output) The unique identifier of this transition route.
    target_flow str
    The target flow to transition to. Format: projects//locations//agents//flows/.
    target_page str
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    trigger_fulfillment CxFlowTransitionRouteTriggerFulfillment
    The fulfillment to call when the condition is satisfied. At least one of triggerFulfillment and target must be specified. When both are defined, triggerFulfillment is executed first. Structure is documented below.
    condition String
    The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    intent String
    The unique identifier of an Intent. Format: projects//locations//agents//intents/. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
    name String
    (Output) The unique identifier of this transition route.
    targetFlow String
    The target flow to transition to. Format: projects//locations//agents//flows/.
    targetPage String
    The target page to transition to. Format: projects//locations//agents//flows//pages/.
    triggerFulfillment Property Map
    The fulfillment to call when the condition is satisfied. At least one of triggerFulfillment and target must be specified. When both are defined, triggerFulfillment is executed first. Structure is documented below.

    CxFlowTransitionRouteTriggerFulfillment, CxFlowTransitionRouteTriggerFulfillmentArgs

    ConditionalCases List<CxFlowTransitionRouteTriggerFulfillmentConditionalCase>
    Conditional cases for this fulfillment. Structure is documented below.
    Messages List<CxFlowTransitionRouteTriggerFulfillmentMessage>
    The list of rich message responses to present to the user. Structure is documented below.
    ReturnPartialResponses bool
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    SetParameterActions List<CxFlowTransitionRouteTriggerFulfillmentSetParameterAction>
    Set parameter values before executing the webhook. Structure is documented below.
    Tag string
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    Webhook string
    The webhook to call. Format: projects//locations//agents//webhooks/.
    ConditionalCases []CxFlowTransitionRouteTriggerFulfillmentConditionalCase
    Conditional cases for this fulfillment. Structure is documented below.
    Messages []CxFlowTransitionRouteTriggerFulfillmentMessage
    The list of rich message responses to present to the user. Structure is documented below.
    ReturnPartialResponses bool
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    SetParameterActions []CxFlowTransitionRouteTriggerFulfillmentSetParameterAction
    Set parameter values before executing the webhook. Structure is documented below.
    Tag string
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    Webhook string
    The webhook to call. Format: projects//locations//agents//webhooks/.
    conditionalCases List<CxFlowTransitionRouteTriggerFulfillmentConditionalCase>
    Conditional cases for this fulfillment. Structure is documented below.
    messages List<CxFlowTransitionRouteTriggerFulfillmentMessage>
    The list of rich message responses to present to the user. Structure is documented below.
    returnPartialResponses Boolean
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    setParameterActions List<CxFlowTransitionRouteTriggerFulfillmentSetParameterAction>
    Set parameter values before executing the webhook. Structure is documented below.
    tag String
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook String
    The webhook to call. Format: projects//locations//agents//webhooks/.
    conditionalCases CxFlowTransitionRouteTriggerFulfillmentConditionalCase[]
    Conditional cases for this fulfillment. Structure is documented below.
    messages CxFlowTransitionRouteTriggerFulfillmentMessage[]
    The list of rich message responses to present to the user. Structure is documented below.
    returnPartialResponses boolean
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    setParameterActions CxFlowTransitionRouteTriggerFulfillmentSetParameterAction[]
    Set parameter values before executing the webhook. Structure is documented below.
    tag string
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook string
    The webhook to call. Format: projects//locations//agents//webhooks/.
    conditional_cases Sequence[CxFlowTransitionRouteTriggerFulfillmentConditionalCase]
    Conditional cases for this fulfillment. Structure is documented below.
    messages Sequence[CxFlowTransitionRouteTriggerFulfillmentMessage]
    The list of rich message responses to present to the user. Structure is documented below.
    return_partial_responses bool
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    set_parameter_actions Sequence[CxFlowTransitionRouteTriggerFulfillmentSetParameterAction]
    Set parameter values before executing the webhook. Structure is documented below.
    tag str
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook str
    The webhook to call. Format: projects//locations//agents//webhooks/.
    conditionalCases List<Property Map>
    Conditional cases for this fulfillment. Structure is documented below.
    messages List<Property Map>
    The list of rich message responses to present to the user. Structure is documented below.
    returnPartialResponses Boolean
    Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
    setParameterActions List<Property Map>
    Set parameter values before executing the webhook. Structure is documented below.
    tag String
    The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
    webhook String
    The webhook to call. Format: projects//locations//agents//webhooks/.

    CxFlowTransitionRouteTriggerFulfillmentConditionalCase, CxFlowTransitionRouteTriggerFulfillmentConditionalCaseArgs

    Cases string
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    Cases string
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases String
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases string
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases str
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.
    cases String
    A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. See Case for the schema.

    CxFlowTransitionRouteTriggerFulfillmentMessage, CxFlowTransitionRouteTriggerFulfillmentMessageArgs

    Channel string
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    ConversationSuccess CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    LiveAgentHandoff CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    OutputAudioText CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Payload string
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    PlayAudio CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    TelephonyTransferCall CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Text CxFlowTransitionRouteTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Channel string
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    ConversationSuccess CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    LiveAgentHandoff CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    OutputAudioText CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Payload string
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    PlayAudio CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    TelephonyTransferCall CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    Text CxFlowTransitionRouteTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel String
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversationSuccess CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    liveAgentHandoff CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    outputAudioText CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload String
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    playAudio CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephonyTransferCall CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text CxFlowTransitionRouteTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel string
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversationSuccess CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    liveAgentHandoff CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    outputAudioText CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload string
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    playAudio CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephonyTransferCall CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text CxFlowTransitionRouteTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel str
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversation_success CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccess
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    live_agent_handoff CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoff
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    output_audio_text CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioText
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload str
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    play_audio CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudio
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephony_transfer_call CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCall
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text CxFlowTransitionRouteTriggerFulfillmentMessageText
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    channel String
    The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
    conversationSuccess Property Map
    Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
    • In a webhook response when you determine that you handled the customer issue. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    liveAgentHandoff Property Map
    Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

    • In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
    • In a webhook response when you determine that the customer issue can only be handled by a human. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    outputAudioText Property Map
    A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    payload String
    Returns a response containing a custom, platform-specific payload. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set.
    playAudio Property Map
    Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    telephonyTransferCall Property Map
    Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.
    text Property Map
    The text response message. This field is part of a union field message: Only one of text, payload, conversationSuccess, outputAudioText, liveAgentHandoff, endInteraction, playAudio, mixedAudio, telephonyTransferCall, or knowledgeInfoCard may be set. Structure is documented below.

    CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccess, CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccessArgs

    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata str
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.

    CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoff, CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoffArgs

    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    Metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata string
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata str
    Custom metadata. Dialogflow doesn't impose any structure on this.
    metadata String
    Custom metadata. Dialogflow doesn't impose any structure on this.

    CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioText, CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs

    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Ssml string
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    Text string
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Ssml string
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    Text string
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml String
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text String
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allowPlaybackInterruption boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml string
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text string
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allow_playback_interruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml str
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text str
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    ssml String
    The SSML text to be synthesized. For more information, see SSML. This field is part of a union field source: Only one of text or ssml may be set.
    text String
    The raw text to be synthesized. This field is part of a union field source: Only one of text or ssml may be set.

    CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudio, CxFlowTransitionRouteTriggerFulfillmentMessagePlayAudioArgs

    AudioUri string
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    AllowPlaybackInterruption bool

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    AudioUri string
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    AllowPlaybackInterruption bool

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audioUri String
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allowPlaybackInterruption Boolean

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audioUri string
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allowPlaybackInterruption boolean

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audio_uri str
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allow_playback_interruption bool

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    audioUri String
    URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
    allowPlaybackInterruption Boolean

    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

    The mixed_audio block contains:

    CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCall, CxFlowTransitionRouteTriggerFulfillmentMessageTelephonyTransferCallArgs

    PhoneNumber string
    Transfer the call to a phone number in E.164 format.
    PhoneNumber string
    Transfer the call to a phone number in E.164 format.
    phoneNumber String
    Transfer the call to a phone number in E.164 format.
    phoneNumber string
    Transfer the call to a phone number in E.164 format.
    phone_number str
    Transfer the call to a phone number in E.164 format.
    phoneNumber String
    Transfer the call to a phone number in E.164 format.

    CxFlowTransitionRouteTriggerFulfillmentMessageText, CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs

    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Texts List<string>
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    AllowPlaybackInterruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    Texts []string
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts List<String>
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allowPlaybackInterruption boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts string[]
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allow_playback_interruption bool
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts Sequence[str]
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true
    allowPlaybackInterruption Boolean
    (Output) Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
    texts List<String>
    A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime. required: true

    CxFlowTransitionRouteTriggerFulfillmentSetParameterAction, CxFlowTransitionRouteTriggerFulfillmentSetParameterActionArgs

    Parameter string
    Display name of the parameter.
    Value string
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    Parameter string
    Display name of the parameter.
    Value string
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter String
    Display name of the parameter.
    value String
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter string
    Display name of the parameter.
    value string
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter str
    Display name of the parameter.
    value str
    The new JSON-encoded value of the parameter. A null value clears the parameter.
    parameter String
    Display name of the parameter.
    value String
    The new JSON-encoded value of the parameter. A null value clears the parameter.

    Import

    Flow can be imported using any of these accepted formats:

    • {{parent}}/flows/{{name}}

    • {{parent}}/{{name}}

    When using the pulumi import command, Flow can be imported using one of the formats above. For example:

    $ pulumi import gcp:diagflow/cxFlow:CxFlow default {{parent}}/flows/{{name}}
    
    $ pulumi import gcp:diagflow/cxFlow:CxFlow default {{parent}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud v8.31.0 published on Thursday, May 15, 2025 by Pulumi