UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

791 lines 101 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DialogflowCxFlowConfig extends cdktf.TerraformMetaArguments { /** * The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#description DialogflowCxFlow#description} */ readonly description?: string; /** * The human-readable name of the flow. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#display_name DialogflowCxFlow#display_name} */ readonly displayName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#id DialogflowCxFlow#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Marks this as the [Default Start Flow](https://cloud.google.com/dialogflow/cx/docs/concept/flow#start) for an agent. When you create an agent, the Default Start Flow is created automatically. * The Default Start Flow cannot be deleted; deleting the 'google_dialogflow_cx_flow' resource does nothing to the underlying GCP resources. * * ~> Avoid having multiple 'google_dialogflow_cx_flow' 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. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#is_default_start_flow DialogflowCxFlow#is_default_start_flow} */ readonly isDefaultStartFlow?: boolean | cdktf.IResolvable; /** * 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. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#language_code DialogflowCxFlow#language_code} */ readonly languageCode?: string; /** * The agent to create a flow for. * Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#parent DialogflowCxFlow#parent} */ readonly parent?: 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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#transition_route_groups DialogflowCxFlow#transition_route_groups} */ readonly transitionRouteGroups?: string[]; /** * advanced_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#advanced_settings DialogflowCxFlow#advanced_settings} */ readonly advancedSettings?: DialogflowCxFlowAdvancedSettings; /** * event_handlers block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#event_handlers DialogflowCxFlow#event_handlers} */ readonly eventHandlers?: DialogflowCxFlowEventHandlers[] | cdktf.IResolvable; /** * nlu_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#nlu_settings DialogflowCxFlow#nlu_settings} */ readonly nluSettings?: DialogflowCxFlowNluSettings; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#timeouts DialogflowCxFlow#timeouts} */ readonly timeouts?: DialogflowCxFlowTimeouts; /** * transition_routes block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#transition_routes DialogflowCxFlow#transition_routes} */ readonly transitionRoutes?: DialogflowCxFlowTransitionRoutes[] | cdktf.IResolvable; } export interface DialogflowCxFlowAdvancedSettingsAudioExportGcsDestination { /** * 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 * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#uri DialogflowCxFlow#uri} */ readonly uri?: string; } export declare function dialogflowCxFlowAdvancedSettingsAudioExportGcsDestinationToTerraform(struct?: DialogflowCxFlowAdvancedSettingsAudioExportGcsDestinationOutputReference | DialogflowCxFlowAdvancedSettingsAudioExportGcsDestination): any; export declare function dialogflowCxFlowAdvancedSettingsAudioExportGcsDestinationToHclTerraform(struct?: DialogflowCxFlowAdvancedSettingsAudioExportGcsDestinationOutputReference | DialogflowCxFlowAdvancedSettingsAudioExportGcsDestination): any; export declare class DialogflowCxFlowAdvancedSettingsAudioExportGcsDestinationOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowAdvancedSettingsAudioExportGcsDestination | undefined; set internalValue(value: DialogflowCxFlowAdvancedSettingsAudioExportGcsDestination | undefined); private _uri?; get uri(): string; set uri(value: string); resetUri(): void; get uriInput(): string | undefined; } export interface DialogflowCxFlowAdvancedSettingsDtmfSettings { /** * If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect 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). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#enabled DialogflowCxFlow#enabled} */ readonly enabled?: boolean | cdktf.IResolvable; /** * The digit that terminates a DTMF digit sequence. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#finish_digit DialogflowCxFlow#finish_digit} */ readonly finishDigit?: string; /** * Max length of DTMF digits. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#max_digits DialogflowCxFlow#max_digits} */ readonly maxDigits?: number; } export declare function dialogflowCxFlowAdvancedSettingsDtmfSettingsToTerraform(struct?: DialogflowCxFlowAdvancedSettingsDtmfSettingsOutputReference | DialogflowCxFlowAdvancedSettingsDtmfSettings): any; export declare function dialogflowCxFlowAdvancedSettingsDtmfSettingsToHclTerraform(struct?: DialogflowCxFlowAdvancedSettingsDtmfSettingsOutputReference | DialogflowCxFlowAdvancedSettingsDtmfSettings): any; export declare class DialogflowCxFlowAdvancedSettingsDtmfSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowAdvancedSettingsDtmfSettings | undefined; set internalValue(value: DialogflowCxFlowAdvancedSettingsDtmfSettings | undefined); private _enabled?; get enabled(): boolean | cdktf.IResolvable; set enabled(value: boolean | cdktf.IResolvable); resetEnabled(): void; get enabledInput(): boolean | cdktf.IResolvable | undefined; private _finishDigit?; get finishDigit(): string; set finishDigit(value: string); resetFinishDigit(): void; get finishDigitInput(): string | undefined; private _maxDigits?; get maxDigits(): number; set maxDigits(value: number); resetMaxDigits(): void; get maxDigitsInput(): number | undefined; } export interface DialogflowCxFlowAdvancedSettingsLoggingSettings { /** * 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. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#enable_consent_based_redaction DialogflowCxFlow#enable_consent_based_redaction} */ readonly enableConsentBasedRedaction?: boolean | cdktf.IResolvable; /** * Enables DF Interaction logging. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#enable_interaction_logging DialogflowCxFlow#enable_interaction_logging} */ readonly enableInteractionLogging?: boolean | cdktf.IResolvable; /** * Enables Google Cloud Logging. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#enable_stackdriver_logging DialogflowCxFlow#enable_stackdriver_logging} */ readonly enableStackdriverLogging?: boolean | cdktf.IResolvable; } export declare function dialogflowCxFlowAdvancedSettingsLoggingSettingsToTerraform(struct?: DialogflowCxFlowAdvancedSettingsLoggingSettingsOutputReference | DialogflowCxFlowAdvancedSettingsLoggingSettings): any; export declare function dialogflowCxFlowAdvancedSettingsLoggingSettingsToHclTerraform(struct?: DialogflowCxFlowAdvancedSettingsLoggingSettingsOutputReference | DialogflowCxFlowAdvancedSettingsLoggingSettings): any; export declare class DialogflowCxFlowAdvancedSettingsLoggingSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowAdvancedSettingsLoggingSettings | undefined; set internalValue(value: DialogflowCxFlowAdvancedSettingsLoggingSettings | undefined); private _enableConsentBasedRedaction?; get enableConsentBasedRedaction(): boolean | cdktf.IResolvable; set enableConsentBasedRedaction(value: boolean | cdktf.IResolvable); resetEnableConsentBasedRedaction(): void; get enableConsentBasedRedactionInput(): boolean | cdktf.IResolvable | undefined; private _enableInteractionLogging?; get enableInteractionLogging(): boolean | cdktf.IResolvable; set enableInteractionLogging(value: boolean | cdktf.IResolvable); resetEnableInteractionLogging(): void; get enableInteractionLoggingInput(): boolean | cdktf.IResolvable | undefined; private _enableStackdriverLogging?; get enableStackdriverLogging(): boolean | cdktf.IResolvable; set enableStackdriverLogging(value: boolean | cdktf.IResolvable); resetEnableStackdriverLogging(): void; get enableStackdriverLoggingInput(): boolean | cdktf.IResolvable | undefined; } export interface DialogflowCxFlowAdvancedSettingsSpeechSettings { /** * Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#endpointer_sensitivity DialogflowCxFlow#endpointer_sensitivity} */ readonly endpointerSensitivity?: number; /** * 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](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models). * An object containing a list of **"key": value** pairs. Example: **{ "name": "wrench", "mass": "1.3kg", "count": "3" }**. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#models DialogflowCxFlow#models} */ readonly models?: { [key: string]: string; }; /** * Timeout before detecting no speech. * A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#no_speech_timeout DialogflowCxFlow#no_speech_timeout} */ readonly noSpeechTimeout?: string; /** * Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#use_timeout_based_endpointing DialogflowCxFlow#use_timeout_based_endpointing} */ readonly useTimeoutBasedEndpointing?: boolean | cdktf.IResolvable; } export declare function dialogflowCxFlowAdvancedSettingsSpeechSettingsToTerraform(struct?: DialogflowCxFlowAdvancedSettingsSpeechSettingsOutputReference | DialogflowCxFlowAdvancedSettingsSpeechSettings): any; export declare function dialogflowCxFlowAdvancedSettingsSpeechSettingsToHclTerraform(struct?: DialogflowCxFlowAdvancedSettingsSpeechSettingsOutputReference | DialogflowCxFlowAdvancedSettingsSpeechSettings): any; export declare class DialogflowCxFlowAdvancedSettingsSpeechSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowAdvancedSettingsSpeechSettings | undefined; set internalValue(value: DialogflowCxFlowAdvancedSettingsSpeechSettings | undefined); private _endpointerSensitivity?; get endpointerSensitivity(): number; set endpointerSensitivity(value: number); resetEndpointerSensitivity(): void; get endpointerSensitivityInput(): number | undefined; private _models?; get models(): { [key: string]: string; }; set models(value: { [key: string]: string; }); resetModels(): void; get modelsInput(): { [key: string]: string; } | undefined; private _noSpeechTimeout?; get noSpeechTimeout(): string; set noSpeechTimeout(value: string); resetNoSpeechTimeout(): void; get noSpeechTimeoutInput(): string | undefined; private _useTimeoutBasedEndpointing?; get useTimeoutBasedEndpointing(): boolean | cdktf.IResolvable; set useTimeoutBasedEndpointing(value: boolean | cdktf.IResolvable); resetUseTimeoutBasedEndpointing(): void; get useTimeoutBasedEndpointingInput(): boolean | cdktf.IResolvable | undefined; } export interface DialogflowCxFlowAdvancedSettings { /** * audio_export_gcs_destination block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#audio_export_gcs_destination DialogflowCxFlow#audio_export_gcs_destination} */ readonly audioExportGcsDestination?: DialogflowCxFlowAdvancedSettingsAudioExportGcsDestination; /** * dtmf_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#dtmf_settings DialogflowCxFlow#dtmf_settings} */ readonly dtmfSettings?: DialogflowCxFlowAdvancedSettingsDtmfSettings; /** * logging_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#logging_settings DialogflowCxFlow#logging_settings} */ readonly loggingSettings?: DialogflowCxFlowAdvancedSettingsLoggingSettings; /** * speech_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#speech_settings DialogflowCxFlow#speech_settings} */ readonly speechSettings?: DialogflowCxFlowAdvancedSettingsSpeechSettings; } export declare function dialogflowCxFlowAdvancedSettingsToTerraform(struct?: DialogflowCxFlowAdvancedSettingsOutputReference | DialogflowCxFlowAdvancedSettings): any; export declare function dialogflowCxFlowAdvancedSettingsToHclTerraform(struct?: DialogflowCxFlowAdvancedSettingsOutputReference | DialogflowCxFlowAdvancedSettings): any; export declare class DialogflowCxFlowAdvancedSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowAdvancedSettings | undefined; set internalValue(value: DialogflowCxFlowAdvancedSettings | undefined); private _audioExportGcsDestination; get audioExportGcsDestination(): DialogflowCxFlowAdvancedSettingsAudioExportGcsDestinationOutputReference; putAudioExportGcsDestination(value: DialogflowCxFlowAdvancedSettingsAudioExportGcsDestination): void; resetAudioExportGcsDestination(): void; get audioExportGcsDestinationInput(): DialogflowCxFlowAdvancedSettingsAudioExportGcsDestination | undefined; private _dtmfSettings; get dtmfSettings(): DialogflowCxFlowAdvancedSettingsDtmfSettingsOutputReference; putDtmfSettings(value: DialogflowCxFlowAdvancedSettingsDtmfSettings): void; resetDtmfSettings(): void; get dtmfSettingsInput(): DialogflowCxFlowAdvancedSettingsDtmfSettings | undefined; private _loggingSettings; get loggingSettings(): DialogflowCxFlowAdvancedSettingsLoggingSettingsOutputReference; putLoggingSettings(value: DialogflowCxFlowAdvancedSettingsLoggingSettings): void; resetLoggingSettings(): void; get loggingSettingsInput(): DialogflowCxFlowAdvancedSettingsLoggingSettings | undefined; private _speechSettings; get speechSettings(): DialogflowCxFlowAdvancedSettingsSpeechSettingsOutputReference; putSpeechSettings(value: DialogflowCxFlowAdvancedSettingsSpeechSettings): void; resetSpeechSettings(): void; get speechSettingsInput(): DialogflowCxFlowAdvancedSettingsSpeechSettings | undefined; } export interface DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCases { /** * 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](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/Fulfillment#case) for the schema. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#cases DialogflowCxFlow#cases} */ readonly cases?: string; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCasesToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCases | cdktf.IResolvable): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCasesToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCases | cdktf.IResolvable): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCasesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCases | cdktf.IResolvable | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCases | cdktf.IResolvable | undefined); private _cases?; get cases(): string; set cases(value: string); resetCases(): void; get casesInput(): string | undefined; } export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCasesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCases[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCasesOutputReference; } export interface DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccess { /** * Custom metadata. Dialogflow doesn't impose any structure on this. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#metadata DialogflowCxFlow#metadata} */ readonly metadata?: string; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccessToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccessOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccess): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccessToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccessOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccess): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccessOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccess | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccess | undefined); private _metadata?; get metadata(): string; set metadata(value: string); resetMetadata(): void; get metadataInput(): string | undefined; } export interface DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoff { /** * Custom metadata. Dialogflow doesn't impose any structure on this. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#metadata DialogflowCxFlow#metadata} */ readonly metadata?: string; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoffToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoffOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoff): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoffToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoffOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoff): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoffOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoff | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoff | undefined); private _metadata?; get metadata(): string; set metadata(value: string); resetMetadata(): void; get metadataInput(): string | undefined; } export interface DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioText { /** * The SSML text to be synthesized. For more information, see SSML. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#ssml DialogflowCxFlow#ssml} */ readonly ssml?: string; /** * The raw text to be synthesized. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#text DialogflowCxFlow#text} */ readonly text?: string; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioTextToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioTextOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioText): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioTextToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioTextOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioText): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioTextOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioText | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioText | undefined); get allowPlaybackInterruption(): cdktf.IResolvable; private _ssml?; get ssml(): string; set ssml(value: string); resetSsml(): void; get ssmlInput(): string | undefined; private _text?; get text(): string; set text(value: string); resetText(): void; get textInput(): string | undefined; } export interface DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudio { /** * URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#audio_uri DialogflowCxFlow#audio_uri} */ readonly audioUri: string; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudioToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudioOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudio): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudioToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudioOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudio): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudioOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudio | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudio | undefined); get allowPlaybackInterruption(): cdktf.IResolvable; private _audioUri?; get audioUri(): string; set audioUri(value: string); get audioUriInput(): string | undefined; } export interface DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCall { /** * Transfer the call to a phone number in E.164 format. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#phone_number DialogflowCxFlow#phone_number} */ readonly phoneNumber: string; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCallToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCallOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCall): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCallToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCallOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCall): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCallOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCall | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCall | undefined); private _phoneNumber?; get phoneNumber(): string; set phoneNumber(value: string); get phoneNumberInput(): string | undefined; } export interface DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesText { /** * A collection of text responses. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#text DialogflowCxFlow#text} */ readonly text?: string[]; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTextToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTextOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesText): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTextToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTextOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesText): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTextOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesText | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesText | undefined); get allowPlaybackInterruption(): cdktf.IResolvable; private _text?; get text(): string[]; set text(value: string[]); resetText(): void; get textInput(): string[] | undefined; } export interface DialogflowCxFlowEventHandlersTriggerFulfillmentMessages { /** * The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#channel DialogflowCxFlow#channel} */ readonly channel?: string; /** * A custom, platform-specific payload. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#payload DialogflowCxFlow#payload} */ readonly payload?: string; /** * conversation_success block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#conversation_success DialogflowCxFlow#conversation_success} */ readonly conversationSuccess?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccess; /** * live_agent_handoff block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#live_agent_handoff DialogflowCxFlow#live_agent_handoff} */ readonly liveAgentHandoff?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoff; /** * output_audio_text block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#output_audio_text DialogflowCxFlow#output_audio_text} */ readonly outputAudioText?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioText; /** * play_audio block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#play_audio DialogflowCxFlow#play_audio} */ readonly playAudio?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudio; /** * telephony_transfer_call block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#telephony_transfer_call DialogflowCxFlow#telephony_transfer_call} */ readonly telephonyTransferCall?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCall; /** * text block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#text DialogflowCxFlow#text} */ readonly text?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesText; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessages | cdktf.IResolvable): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentMessagesToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessages | cdktf.IResolvable): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessages | cdktf.IResolvable | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessages | cdktf.IResolvable | undefined); private _channel?; get channel(): string; set channel(value: string); resetChannel(): void; get channelInput(): string | undefined; private _payload?; get payload(): string; set payload(value: string); resetPayload(): void; get payloadInput(): string | undefined; private _conversationSuccess; get conversationSuccess(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccessOutputReference; putConversationSuccess(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccess): void; resetConversationSuccess(): void; get conversationSuccessInput(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesConversationSuccess | undefined; private _liveAgentHandoff; get liveAgentHandoff(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoffOutputReference; putLiveAgentHandoff(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoff): void; resetLiveAgentHandoff(): void; get liveAgentHandoffInput(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesLiveAgentHandoff | undefined; private _outputAudioText; get outputAudioText(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioTextOutputReference; putOutputAudioText(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioText): void; resetOutputAudioText(): void; get outputAudioTextInput(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputAudioText | undefined; private _playAudio; get playAudio(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudioOutputReference; putPlayAudio(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudio): void; resetPlayAudio(): void; get playAudioInput(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesPlayAudio | undefined; private _telephonyTransferCall; get telephonyTransferCall(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCallOutputReference; putTelephonyTransferCall(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCall): void; resetTelephonyTransferCall(): void; get telephonyTransferCallInput(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTelephonyTransferCall | undefined; private _text; get text(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesTextOutputReference; putText(value: DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesText): void; resetText(): void; get textInput(): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesText | undefined; } export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessages[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DialogflowCxFlowEventHandlersTriggerFulfillmentMessagesOutputReference; } export interface DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActions { /** * Display name of the parameter. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#parameter DialogflowCxFlow#parameter} */ readonly parameter?: string; /** * The new JSON-encoded value of the parameter. A null value clears the parameter. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#value DialogflowCxFlow#value} */ readonly value?: string; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActionsToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActions | cdktf.IResolvable): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActionsToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActions | cdktf.IResolvable): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActionsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActions | cdktf.IResolvable | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActions | cdktf.IResolvable | undefined); private _parameter?; get parameter(): string; set parameter(value: string); resetParameter(): void; get parameterInput(): string | undefined; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string | undefined; } export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActions[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActionsOutputReference; } export interface DialogflowCxFlowEventHandlersTriggerFulfillment { /** * 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. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#return_partial_responses DialogflowCxFlow#return_partial_responses} */ readonly returnPartialResponses?: boolean | cdktf.IResolvable; /** * The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#tag DialogflowCxFlow#tag} */ readonly tag?: string; /** * The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#webhook DialogflowCxFlow#webhook} */ readonly webhook?: string; /** * conditional_cases block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#conditional_cases DialogflowCxFlow#conditional_cases} */ readonly conditionalCases?: DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCases[] | cdktf.IResolvable; /** * messages block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#messages DialogflowCxFlow#messages} */ readonly messages?: DialogflowCxFlowEventHandlersTriggerFulfillmentMessages[] | cdktf.IResolvable; /** * set_parameter_actions block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/dialogflow_cx_flow#set_parameter_actions DialogflowCxFlow#set_parameter_actions} */ readonly setParameterActions?: DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActions[] | cdktf.IResolvable; } export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentToTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillment): any; export declare function dialogflowCxFlowEventHandlersTriggerFulfillmentToHclTerraform(struct?: DialogflowCxFlowEventHandlersTriggerFulfillmentOutputReference | DialogflowCxFlowEventHandlersTriggerFulfillment): any; export declare class DialogflowCxFlowEventHandlersTriggerFulfillmentOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DialogflowCxFlowEventHandlersTriggerFulfillment | undefined; set internalValue(value: DialogflowCxFlowEventHandlersTriggerFulfillment | undefined); private _returnPartialResponses?; get returnPartialResponses(): boolean | cdktf.IResolvable; set returnPartialResponses(value: boolean | cdktf.IResolvable); resetReturnPartialResponses(): void; get returnPartialResponsesInput(): boolean | cdktf.IResolvable | undefined; private _tag?; get tag(): string; set tag(value: string); resetTag(): void; get tagInput(): string | undefined; private _webhook?; get webhook(): string; set webhook(value: string); resetWebhook(): void; get webhookInput(): string | undefined; private _conditionalCases; get conditionalCases(): DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCasesList; putConditionalCases(value: DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCases[] | cdktf.IResolvable): void; resetConditionalCases(): void; get conditionalCasesInput(): cdkt