google_dialogflow_cx_flow

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvancedSettings

type AdvancedSettings struct {
	// AdvancedSettingsAudioExportGcsDestination: optional
	AudioExportGcsDestination *AdvancedSettingsAudioExportGcsDestination `hcl:"audio_export_gcs_destination,block"`
	// AdvancedSettingsDtmfSettings: optional
	DtmfSettings *AdvancedSettingsDtmfSettings `hcl:"dtmf_settings,block"`
}

type AdvancedSettingsAttributes

type AdvancedSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (AdvancedSettingsAttributes) AudioExportGcsDestination

func (AdvancedSettingsAttributes) DtmfSettings

func (AdvancedSettingsAttributes) InternalRef

func (as AdvancedSettingsAttributes) InternalRef() (terra.Reference, error)

func (AdvancedSettingsAttributes) InternalTokens

func (as AdvancedSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AdvancedSettingsAttributes) InternalWithRef

type AdvancedSettingsAudioExportGcsDestination

type AdvancedSettingsAudioExportGcsDestination struct {
	// Uri: string, optional
	Uri terra.StringValue `hcl:"uri,attr"`
}

type AdvancedSettingsAudioExportGcsDestinationAttributes

type AdvancedSettingsAudioExportGcsDestinationAttributes struct {
	// contains filtered or unexported fields
}

func (AdvancedSettingsAudioExportGcsDestinationAttributes) InternalRef

func (AdvancedSettingsAudioExportGcsDestinationAttributes) InternalTokens

func (AdvancedSettingsAudioExportGcsDestinationAttributes) InternalWithRef

func (AdvancedSettingsAudioExportGcsDestinationAttributes) Uri

type AdvancedSettingsAudioExportGcsDestinationState

type AdvancedSettingsAudioExportGcsDestinationState struct {
	Uri string `json:"uri"`
}

type AdvancedSettingsDtmfSettings

type AdvancedSettingsDtmfSettings struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// FinishDigit: string, optional
	FinishDigit terra.StringValue `hcl:"finish_digit,attr"`
	// MaxDigits: number, optional
	MaxDigits terra.NumberValue `hcl:"max_digits,attr"`
}

type AdvancedSettingsDtmfSettingsAttributes

type AdvancedSettingsDtmfSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (AdvancedSettingsDtmfSettingsAttributes) Enabled

func (AdvancedSettingsDtmfSettingsAttributes) FinishDigit

func (AdvancedSettingsDtmfSettingsAttributes) InternalRef

func (AdvancedSettingsDtmfSettingsAttributes) InternalTokens

func (AdvancedSettingsDtmfSettingsAttributes) InternalWithRef

func (AdvancedSettingsDtmfSettingsAttributes) MaxDigits

type AdvancedSettingsDtmfSettingsState

type AdvancedSettingsDtmfSettingsState struct {
	Enabled     bool    `json:"enabled"`
	FinishDigit string  `json:"finish_digit"`
	MaxDigits   float64 `json:"max_digits"`
}

type AdvancedSettingsState

type AdvancedSettingsState struct {
	AudioExportGcsDestination []AdvancedSettingsAudioExportGcsDestinationState `json:"audio_export_gcs_destination"`
	DtmfSettings              []AdvancedSettingsDtmfSettingsState              `json:"dtmf_settings"`
}

type Args

type Args struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DisplayName: string, required
	DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IsDefaultStartFlow: bool, optional
	IsDefaultStartFlow terra.BoolValue `hcl:"is_default_start_flow,attr"`
	// LanguageCode: string, optional
	LanguageCode terra.StringValue `hcl:"language_code,attr"`
	// Parent: string, optional
	Parent terra.StringValue `hcl:"parent,attr"`
	// TransitionRouteGroups: list of string, optional
	TransitionRouteGroups terra.ListValue[terra.StringValue] `hcl:"transition_route_groups,attr"`
	// AdvancedSettings: optional
	AdvancedSettings *AdvancedSettings `hcl:"advanced_settings,block"`
	// EventHandlers: min=0
	EventHandlers []EventHandlers `hcl:"event_handlers,block" validate:"min=0"`
	// NluSettings: optional
	NluSettings *NluSettings `hcl:"nlu_settings,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// TransitionRoutes: min=0
	TransitionRoutes []TransitionRoutes `hcl:"transition_routes,block" validate:"min=0"`
}

Args contains the configurations for google_dialogflow_cx_flow.

type EventHandlers

type EventHandlers struct {
	// Event: string, optional
	Event terra.StringValue `hcl:"event,attr"`
	// TargetFlow: string, optional
	TargetFlow terra.StringValue `hcl:"target_flow,attr"`
	// TargetPage: string, optional
	TargetPage terra.StringValue `hcl:"target_page,attr"`
	// EventHandlersTriggerFulfillment: optional
	TriggerFulfillment *EventHandlersTriggerFulfillment `hcl:"trigger_fulfillment,block"`
}

type EventHandlersAttributes

type EventHandlersAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersAttributes) Event

func (EventHandlersAttributes) InternalRef

func (eh EventHandlersAttributes) InternalRef() (terra.Reference, error)

func (EventHandlersAttributes) InternalTokens

func (eh EventHandlersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventHandlersAttributes) InternalWithRef

func (EventHandlersAttributes) Name

func (EventHandlersAttributes) TargetFlow

func (eh EventHandlersAttributes) TargetFlow() terra.StringValue

func (EventHandlersAttributes) TargetPage

func (eh EventHandlersAttributes) TargetPage() terra.StringValue

func (EventHandlersAttributes) TriggerFulfillment

type EventHandlersState

type EventHandlersState struct {
	Event              string                                 `json:"event"`
	Name               string                                 `json:"name"`
	TargetFlow         string                                 `json:"target_flow"`
	TargetPage         string                                 `json:"target_page"`
	TriggerFulfillment []EventHandlersTriggerFulfillmentState `json:"trigger_fulfillment"`
}

type EventHandlersTriggerFulfillment

type EventHandlersTriggerFulfillment struct {
	// ReturnPartialResponses: bool, optional
	ReturnPartialResponses terra.BoolValue `hcl:"return_partial_responses,attr"`
	// Tag: string, optional
	Tag terra.StringValue `hcl:"tag,attr"`
	// Webhook: string, optional
	Webhook terra.StringValue `hcl:"webhook,attr"`
	// EventHandlersTriggerFulfillmentConditionalCases: min=0
	ConditionalCases []EventHandlersTriggerFulfillmentConditionalCases `hcl:"conditional_cases,block" validate:"min=0"`
	// EventHandlersTriggerFulfillmentMessages: min=0
	Messages []EventHandlersTriggerFulfillmentMessages `hcl:"messages,block" validate:"min=0"`
	// EventHandlersTriggerFulfillmentSetParameterActions: min=0
	SetParameterActions []EventHandlersTriggerFulfillmentSetParameterActions `hcl:"set_parameter_actions,block" validate:"min=0"`
}

type EventHandlersTriggerFulfillmentAttributes

type EventHandlersTriggerFulfillmentAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentAttributes) InternalRef

func (EventHandlersTriggerFulfillmentAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentAttributes) InternalWithRef

func (EventHandlersTriggerFulfillmentAttributes) Messages

func (EventHandlersTriggerFulfillmentAttributes) ReturnPartialResponses

func (tf EventHandlersTriggerFulfillmentAttributes) ReturnPartialResponses() terra.BoolValue

func (EventHandlersTriggerFulfillmentAttributes) Tag

func (EventHandlersTriggerFulfillmentAttributes) Webhook

type EventHandlersTriggerFulfillmentConditionalCases

type EventHandlersTriggerFulfillmentConditionalCases struct {
	// Cases: string, optional
	Cases terra.StringValue `hcl:"cases,attr"`
}

type EventHandlersTriggerFulfillmentConditionalCasesAttributes

type EventHandlersTriggerFulfillmentConditionalCasesAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentConditionalCasesAttributes) Cases

func (EventHandlersTriggerFulfillmentConditionalCasesAttributes) InternalRef

func (EventHandlersTriggerFulfillmentConditionalCasesAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentConditionalCasesAttributes) InternalWithRef

type EventHandlersTriggerFulfillmentConditionalCasesState

type EventHandlersTriggerFulfillmentConditionalCasesState struct {
	Cases string `json:"cases"`
}

type EventHandlersTriggerFulfillmentMessages

type EventHandlersTriggerFulfillmentMessages struct {
	// Channel: string, optional
	Channel terra.StringValue `hcl:"channel,attr"`
	// Payload: string, optional
	Payload terra.StringValue `hcl:"payload,attr"`
	// EventHandlersTriggerFulfillmentMessagesConversationSuccess: optional
	ConversationSuccess *EventHandlersTriggerFulfillmentMessagesConversationSuccess `hcl:"conversation_success,block"`
	// EventHandlersTriggerFulfillmentMessagesLiveAgentHandoff: optional
	LiveAgentHandoff *EventHandlersTriggerFulfillmentMessagesLiveAgentHandoff `hcl:"live_agent_handoff,block"`
	// EventHandlersTriggerFulfillmentMessagesOutputAudioText: optional
	OutputAudioText *EventHandlersTriggerFulfillmentMessagesOutputAudioText `hcl:"output_audio_text,block"`
	// EventHandlersTriggerFulfillmentMessagesPlayAudio: optional
	PlayAudio *EventHandlersTriggerFulfillmentMessagesPlayAudio `hcl:"play_audio,block"`
	// EventHandlersTriggerFulfillmentMessagesTelephonyTransferCall: optional
	TelephonyTransferCall *EventHandlersTriggerFulfillmentMessagesTelephonyTransferCall `hcl:"telephony_transfer_call,block"`
	// EventHandlersTriggerFulfillmentMessagesText: optional
	Text *EventHandlersTriggerFulfillmentMessagesText `hcl:"text,block"`
}

type EventHandlersTriggerFulfillmentMessagesAttributes

type EventHandlersTriggerFulfillmentMessagesAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentMessagesAttributes) Channel

func (EventHandlersTriggerFulfillmentMessagesAttributes) InternalRef

func (EventHandlersTriggerFulfillmentMessagesAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentMessagesAttributes) InternalWithRef

func (EventHandlersTriggerFulfillmentMessagesAttributes) Payload

type EventHandlersTriggerFulfillmentMessagesConversationSuccess

type EventHandlersTriggerFulfillmentMessagesConversationSuccess struct {
	// Metadata: string, optional
	Metadata terra.StringValue `hcl:"metadata,attr"`
}

type EventHandlersTriggerFulfillmentMessagesConversationSuccessAttributes

type EventHandlersTriggerFulfillmentMessagesConversationSuccessAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentMessagesConversationSuccessAttributes) InternalRef

func (EventHandlersTriggerFulfillmentMessagesConversationSuccessAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentMessagesConversationSuccessAttributes) InternalWithRef

func (EventHandlersTriggerFulfillmentMessagesConversationSuccessAttributes) Metadata

type EventHandlersTriggerFulfillmentMessagesConversationSuccessState

type EventHandlersTriggerFulfillmentMessagesConversationSuccessState struct {
	Metadata string `json:"metadata"`
}

type EventHandlersTriggerFulfillmentMessagesLiveAgentHandoff

type EventHandlersTriggerFulfillmentMessagesLiveAgentHandoff struct {
	// Metadata: string, optional
	Metadata terra.StringValue `hcl:"metadata,attr"`
}

type EventHandlersTriggerFulfillmentMessagesLiveAgentHandoffAttributes

type EventHandlersTriggerFulfillmentMessagesLiveAgentHandoffAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentMessagesLiveAgentHandoffAttributes) InternalRef

func (EventHandlersTriggerFulfillmentMessagesLiveAgentHandoffAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentMessagesLiveAgentHandoffAttributes) InternalWithRef

func (EventHandlersTriggerFulfillmentMessagesLiveAgentHandoffAttributes) Metadata

type EventHandlersTriggerFulfillmentMessagesLiveAgentHandoffState

type EventHandlersTriggerFulfillmentMessagesLiveAgentHandoffState struct {
	Metadata string `json:"metadata"`
}

type EventHandlersTriggerFulfillmentMessagesOutputAudioText

type EventHandlersTriggerFulfillmentMessagesOutputAudioText struct {
	// Ssml: string, optional
	Ssml terra.StringValue `hcl:"ssml,attr"`
	// Text: string, optional
	Text terra.StringValue `hcl:"text,attr"`
}

type EventHandlersTriggerFulfillmentMessagesOutputAudioTextAttributes

type EventHandlersTriggerFulfillmentMessagesOutputAudioTextAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentMessagesOutputAudioTextAttributes) AllowPlaybackInterruption

func (EventHandlersTriggerFulfillmentMessagesOutputAudioTextAttributes) InternalRef

func (EventHandlersTriggerFulfillmentMessagesOutputAudioTextAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentMessagesOutputAudioTextAttributes) InternalWithRef

func (EventHandlersTriggerFulfillmentMessagesOutputAudioTextAttributes) Ssml

func (EventHandlersTriggerFulfillmentMessagesOutputAudioTextAttributes) Text

type EventHandlersTriggerFulfillmentMessagesOutputAudioTextState

type EventHandlersTriggerFulfillmentMessagesOutputAudioTextState struct {
	AllowPlaybackInterruption bool   `json:"allow_playback_interruption"`
	Ssml                      string `json:"ssml"`
	Text                      string `json:"text"`
}

type EventHandlersTriggerFulfillmentMessagesPlayAudio

type EventHandlersTriggerFulfillmentMessagesPlayAudio struct {
	// AudioUri: string, required
	AudioUri terra.StringValue `hcl:"audio_uri,attr" validate:"required"`
}

type EventHandlersTriggerFulfillmentMessagesPlayAudioAttributes

type EventHandlersTriggerFulfillmentMessagesPlayAudioAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentMessagesPlayAudioAttributes) AllowPlaybackInterruption

func (EventHandlersTriggerFulfillmentMessagesPlayAudioAttributes) AudioUri

func (EventHandlersTriggerFulfillmentMessagesPlayAudioAttributes) InternalRef

func (EventHandlersTriggerFulfillmentMessagesPlayAudioAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentMessagesPlayAudioAttributes) InternalWithRef

type EventHandlersTriggerFulfillmentMessagesPlayAudioState

type EventHandlersTriggerFulfillmentMessagesPlayAudioState struct {
	AllowPlaybackInterruption bool   `json:"allow_playback_interruption"`
	AudioUri                  string `json:"audio_uri"`
}

type EventHandlersTriggerFulfillmentMessagesState

type EventHandlersTriggerFulfillmentMessagesState struct {
	Channel               string                                                              `json:"channel"`
	Payload               string                                                              `json:"payload"`
	ConversationSuccess   []EventHandlersTriggerFulfillmentMessagesConversationSuccessState   `json:"conversation_success"`
	LiveAgentHandoff      []EventHandlersTriggerFulfillmentMessagesLiveAgentHandoffState      `json:"live_agent_handoff"`
	OutputAudioText       []EventHandlersTriggerFulfillmentMessagesOutputAudioTextState       `json:"output_audio_text"`
	PlayAudio             []EventHandlersTriggerFulfillmentMessagesPlayAudioState             `json:"play_audio"`
	TelephonyTransferCall []EventHandlersTriggerFulfillmentMessagesTelephonyTransferCallState `json:"telephony_transfer_call"`
	Text                  []EventHandlersTriggerFulfillmentMessagesTextState                  `json:"text"`
}

type EventHandlersTriggerFulfillmentMessagesTelephonyTransferCall

type EventHandlersTriggerFulfillmentMessagesTelephonyTransferCall struct {
	// PhoneNumber: string, required
	PhoneNumber terra.StringValue `hcl:"phone_number,attr" validate:"required"`
}

type EventHandlersTriggerFulfillmentMessagesTelephonyTransferCallAttributes

type EventHandlersTriggerFulfillmentMessagesTelephonyTransferCallAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentMessagesTelephonyTransferCallAttributes) InternalRef

func (EventHandlersTriggerFulfillmentMessagesTelephonyTransferCallAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentMessagesTelephonyTransferCallAttributes) InternalWithRef

func (EventHandlersTriggerFulfillmentMessagesTelephonyTransferCallAttributes) PhoneNumber

type EventHandlersTriggerFulfillmentMessagesTelephonyTransferCallState

type EventHandlersTriggerFulfillmentMessagesTelephonyTransferCallState struct {
	PhoneNumber string `json:"phone_number"`
}

type EventHandlersTriggerFulfillmentMessagesText

type EventHandlersTriggerFulfillmentMessagesText struct {
	// Text: list of string, optional
	Text terra.ListValue[terra.StringValue] `hcl:"text,attr"`
}

type EventHandlersTriggerFulfillmentMessagesTextAttributes

type EventHandlersTriggerFulfillmentMessagesTextAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentMessagesTextAttributes) AllowPlaybackInterruption

func (EventHandlersTriggerFulfillmentMessagesTextAttributes) InternalRef

func (EventHandlersTriggerFulfillmentMessagesTextAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentMessagesTextAttributes) InternalWithRef

func (EventHandlersTriggerFulfillmentMessagesTextAttributes) Text

type EventHandlersTriggerFulfillmentMessagesTextState

type EventHandlersTriggerFulfillmentMessagesTextState struct {
	AllowPlaybackInterruption bool     `json:"allow_playback_interruption"`
	Text                      []string `json:"text"`
}

type EventHandlersTriggerFulfillmentSetParameterActions

type EventHandlersTriggerFulfillmentSetParameterActions struct {
	// Parameter: string, optional
	Parameter terra.StringValue `hcl:"parameter,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type EventHandlersTriggerFulfillmentSetParameterActionsAttributes

type EventHandlersTriggerFulfillmentSetParameterActionsAttributes struct {
	// contains filtered or unexported fields
}

func (EventHandlersTriggerFulfillmentSetParameterActionsAttributes) InternalRef

func (EventHandlersTriggerFulfillmentSetParameterActionsAttributes) InternalTokens

func (EventHandlersTriggerFulfillmentSetParameterActionsAttributes) InternalWithRef

func (EventHandlersTriggerFulfillmentSetParameterActionsAttributes) Parameter

func (EventHandlersTriggerFulfillmentSetParameterActionsAttributes) Value

type EventHandlersTriggerFulfillmentSetParameterActionsState

type EventHandlersTriggerFulfillmentSetParameterActionsState struct {
	Parameter string `json:"parameter"`
	Value     string `json:"value"`
}

type EventHandlersTriggerFulfillmentState

type EventHandlersTriggerFulfillmentState struct {
	ReturnPartialResponses bool                                                      `json:"return_partial_responses"`
	Tag                    string                                                    `json:"tag"`
	Webhook                string                                                    `json:"webhook"`
	ConditionalCases       []EventHandlersTriggerFulfillmentConditionalCasesState    `json:"conditional_cases"`
	Messages               []EventHandlersTriggerFulfillmentMessagesState            `json:"messages"`
	SetParameterActions    []EventHandlersTriggerFulfillmentSetParameterActionsState `json:"set_parameter_actions"`
}

type NluSettings

type NluSettings struct {
	// ClassificationThreshold: number, optional
	ClassificationThreshold terra.NumberValue `hcl:"classification_threshold,attr"`
	// ModelTrainingMode: string, optional
	ModelTrainingMode terra.StringValue `hcl:"model_training_mode,attr"`
	// ModelType: string, optional
	ModelType terra.StringValue `hcl:"model_type,attr"`
}

type NluSettingsAttributes

type NluSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (NluSettingsAttributes) ClassificationThreshold

func (ns NluSettingsAttributes) ClassificationThreshold() terra.NumberValue

func (NluSettingsAttributes) InternalRef

func (ns NluSettingsAttributes) InternalRef() (terra.Reference, error)

func (NluSettingsAttributes) InternalTokens

func (ns NluSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NluSettingsAttributes) InternalWithRef

func (NluSettingsAttributes) ModelTrainingMode

func (ns NluSettingsAttributes) ModelTrainingMode() terra.StringValue

func (NluSettingsAttributes) ModelType

func (ns NluSettingsAttributes) ModelType() terra.StringValue

type NluSettingsState

type NluSettingsState struct {
	ClassificationThreshold float64 `json:"classification_threshold"`
	ModelTrainingMode       string  `json:"model_training_mode"`
	ModelType               string  `json:"model_type"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_dialogflow_cx_flow.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gdcf *Resource) Attributes() googleDialogflowCxFlowAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gdcf *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gdcf *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gdcf *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gdcf *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gdcf *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdcf *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdcf *Resource) State() (*googleDialogflowCxFlowState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gdcf *Resource) StateMust() *googleDialogflowCxFlowState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gdcf *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type TransitionRoutes

type TransitionRoutes struct {
	// Condition: string, optional
	Condition terra.StringValue `hcl:"condition,attr"`
	// Intent: string, optional
	Intent terra.StringValue `hcl:"intent,attr"`
	// TargetFlow: string, optional
	TargetFlow terra.StringValue `hcl:"target_flow,attr"`
	// TargetPage: string, optional
	TargetPage terra.StringValue `hcl:"target_page,attr"`
	// TransitionRoutesTriggerFulfillment: optional
	TriggerFulfillment *TransitionRoutesTriggerFulfillment `hcl:"trigger_fulfillment,block"`
}

type TransitionRoutesAttributes

type TransitionRoutesAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesAttributes) Condition

func (TransitionRoutesAttributes) Intent

func (TransitionRoutesAttributes) InternalRef

func (tr TransitionRoutesAttributes) InternalRef() (terra.Reference, error)

func (TransitionRoutesAttributes) InternalTokens

func (tr TransitionRoutesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TransitionRoutesAttributes) InternalWithRef

func (TransitionRoutesAttributes) Name

func (TransitionRoutesAttributes) TargetFlow

func (TransitionRoutesAttributes) TargetPage

func (TransitionRoutesAttributes) TriggerFulfillment

type TransitionRoutesState

type TransitionRoutesState struct {
	Condition          string                                    `json:"condition"`
	Intent             string                                    `json:"intent"`
	Name               string                                    `json:"name"`
	TargetFlow         string                                    `json:"target_flow"`
	TargetPage         string                                    `json:"target_page"`
	TriggerFulfillment []TransitionRoutesTriggerFulfillmentState `json:"trigger_fulfillment"`
}

type TransitionRoutesTriggerFulfillment

type TransitionRoutesTriggerFulfillment struct {
	// ReturnPartialResponses: bool, optional
	ReturnPartialResponses terra.BoolValue `hcl:"return_partial_responses,attr"`
	// Tag: string, optional
	Tag terra.StringValue `hcl:"tag,attr"`
	// Webhook: string, optional
	Webhook terra.StringValue `hcl:"webhook,attr"`
	// TransitionRoutesTriggerFulfillmentConditionalCases: min=0
	ConditionalCases []TransitionRoutesTriggerFulfillmentConditionalCases `hcl:"conditional_cases,block" validate:"min=0"`
	// TransitionRoutesTriggerFulfillmentMessages: min=0
	Messages []TransitionRoutesTriggerFulfillmentMessages `hcl:"messages,block" validate:"min=0"`
	// TransitionRoutesTriggerFulfillmentSetParameterActions: min=0
	SetParameterActions []TransitionRoutesTriggerFulfillmentSetParameterActions `hcl:"set_parameter_actions,block" validate:"min=0"`
}

type TransitionRoutesTriggerFulfillmentAttributes

type TransitionRoutesTriggerFulfillmentAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentAttributes) InternalWithRef

func (TransitionRoutesTriggerFulfillmentAttributes) Messages

func (TransitionRoutesTriggerFulfillmentAttributes) ReturnPartialResponses

func (tf TransitionRoutesTriggerFulfillmentAttributes) ReturnPartialResponses() terra.BoolValue

func (TransitionRoutesTriggerFulfillmentAttributes) Tag

func (TransitionRoutesTriggerFulfillmentAttributes) Webhook

type TransitionRoutesTriggerFulfillmentConditionalCases

type TransitionRoutesTriggerFulfillmentConditionalCases struct {
	// Cases: string, optional
	Cases terra.StringValue `hcl:"cases,attr"`
}

type TransitionRoutesTriggerFulfillmentConditionalCasesAttributes

type TransitionRoutesTriggerFulfillmentConditionalCasesAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentConditionalCasesAttributes) Cases

func (TransitionRoutesTriggerFulfillmentConditionalCasesAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentConditionalCasesAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentConditionalCasesAttributes) InternalWithRef

type TransitionRoutesTriggerFulfillmentConditionalCasesState

type TransitionRoutesTriggerFulfillmentConditionalCasesState struct {
	Cases string `json:"cases"`
}

type TransitionRoutesTriggerFulfillmentMessages

type TransitionRoutesTriggerFulfillmentMessages struct {
	// Channel: string, optional
	Channel terra.StringValue `hcl:"channel,attr"`
	// Payload: string, optional
	Payload terra.StringValue `hcl:"payload,attr"`
	// TransitionRoutesTriggerFulfillmentMessagesConversationSuccess: optional
	ConversationSuccess *TransitionRoutesTriggerFulfillmentMessagesConversationSuccess `hcl:"conversation_success,block"`
	// TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoff: optional
	LiveAgentHandoff *TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoff `hcl:"live_agent_handoff,block"`
	// TransitionRoutesTriggerFulfillmentMessagesOutputAudioText: optional
	OutputAudioText *TransitionRoutesTriggerFulfillmentMessagesOutputAudioText `hcl:"output_audio_text,block"`
	// TransitionRoutesTriggerFulfillmentMessagesPlayAudio: optional
	PlayAudio *TransitionRoutesTriggerFulfillmentMessagesPlayAudio `hcl:"play_audio,block"`
	// TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCall: optional
	TelephonyTransferCall *TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCall `hcl:"telephony_transfer_call,block"`
	// TransitionRoutesTriggerFulfillmentMessagesText: optional
	Text *TransitionRoutesTriggerFulfillmentMessagesText `hcl:"text,block"`
}

type TransitionRoutesTriggerFulfillmentMessagesAttributes

type TransitionRoutesTriggerFulfillmentMessagesAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentMessagesAttributes) Channel

func (TransitionRoutesTriggerFulfillmentMessagesAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentMessagesAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentMessagesAttributes) InternalWithRef

func (TransitionRoutesTriggerFulfillmentMessagesAttributes) Payload

type TransitionRoutesTriggerFulfillmentMessagesConversationSuccess

type TransitionRoutesTriggerFulfillmentMessagesConversationSuccess struct {
	// Metadata: string, optional
	Metadata terra.StringValue `hcl:"metadata,attr"`
}

type TransitionRoutesTriggerFulfillmentMessagesConversationSuccessAttributes

type TransitionRoutesTriggerFulfillmentMessagesConversationSuccessAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentMessagesConversationSuccessAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentMessagesConversationSuccessAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentMessagesConversationSuccessAttributes) InternalWithRef

func (TransitionRoutesTriggerFulfillmentMessagesConversationSuccessAttributes) Metadata

type TransitionRoutesTriggerFulfillmentMessagesConversationSuccessState

type TransitionRoutesTriggerFulfillmentMessagesConversationSuccessState struct {
	Metadata string `json:"metadata"`
}

type TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoff

type TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoff struct {
	// Metadata: string, optional
	Metadata terra.StringValue `hcl:"metadata,attr"`
}

type TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoffAttributes

type TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoffAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoffAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoffAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoffAttributes) InternalWithRef

func (TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoffAttributes) Metadata

type TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoffState

type TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoffState struct {
	Metadata string `json:"metadata"`
}

type TransitionRoutesTriggerFulfillmentMessagesOutputAudioText

type TransitionRoutesTriggerFulfillmentMessagesOutputAudioText struct {
	// Ssml: string, optional
	Ssml terra.StringValue `hcl:"ssml,attr"`
	// Text: string, optional
	Text terra.StringValue `hcl:"text,attr"`
}

type TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextAttributes

type TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextAttributes) AllowPlaybackInterruption

func (TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextAttributes) InternalWithRef

func (TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextAttributes) Ssml

func (TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextAttributes) Text

type TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextState

type TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextState struct {
	AllowPlaybackInterruption bool   `json:"allow_playback_interruption"`
	Ssml                      string `json:"ssml"`
	Text                      string `json:"text"`
}

type TransitionRoutesTriggerFulfillmentMessagesPlayAudio

type TransitionRoutesTriggerFulfillmentMessagesPlayAudio struct {
	// AudioUri: string, required
	AudioUri terra.StringValue `hcl:"audio_uri,attr" validate:"required"`
}

type TransitionRoutesTriggerFulfillmentMessagesPlayAudioAttributes

type TransitionRoutesTriggerFulfillmentMessagesPlayAudioAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentMessagesPlayAudioAttributes) AllowPlaybackInterruption

func (TransitionRoutesTriggerFulfillmentMessagesPlayAudioAttributes) AudioUri

func (TransitionRoutesTriggerFulfillmentMessagesPlayAudioAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentMessagesPlayAudioAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentMessagesPlayAudioAttributes) InternalWithRef

type TransitionRoutesTriggerFulfillmentMessagesPlayAudioState

type TransitionRoutesTriggerFulfillmentMessagesPlayAudioState struct {
	AllowPlaybackInterruption bool   `json:"allow_playback_interruption"`
	AudioUri                  string `json:"audio_uri"`
}

type TransitionRoutesTriggerFulfillmentMessagesState

type TransitionRoutesTriggerFulfillmentMessagesState struct {
	Channel               string                                                                 `json:"channel"`
	Payload               string                                                                 `json:"payload"`
	ConversationSuccess   []TransitionRoutesTriggerFulfillmentMessagesConversationSuccessState   `json:"conversation_success"`
	LiveAgentHandoff      []TransitionRoutesTriggerFulfillmentMessagesLiveAgentHandoffState      `json:"live_agent_handoff"`
	OutputAudioText       []TransitionRoutesTriggerFulfillmentMessagesOutputAudioTextState       `json:"output_audio_text"`
	PlayAudio             []TransitionRoutesTriggerFulfillmentMessagesPlayAudioState             `json:"play_audio"`
	TelephonyTransferCall []TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCallState `json:"telephony_transfer_call"`
	Text                  []TransitionRoutesTriggerFulfillmentMessagesTextState                  `json:"text"`
}

type TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCall

type TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCall struct {
	// PhoneNumber: string, required
	PhoneNumber terra.StringValue `hcl:"phone_number,attr" validate:"required"`
}

type TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCallAttributes

type TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCallAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCallAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCallAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCallAttributes) InternalWithRef

func (TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCallAttributes) PhoneNumber

type TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCallState

type TransitionRoutesTriggerFulfillmentMessagesTelephonyTransferCallState struct {
	PhoneNumber string `json:"phone_number"`
}

type TransitionRoutesTriggerFulfillmentMessagesText

type TransitionRoutesTriggerFulfillmentMessagesText struct {
	// Text: list of string, optional
	Text terra.ListValue[terra.StringValue] `hcl:"text,attr"`
}

type TransitionRoutesTriggerFulfillmentMessagesTextAttributes

type TransitionRoutesTriggerFulfillmentMessagesTextAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentMessagesTextAttributes) AllowPlaybackInterruption

func (TransitionRoutesTriggerFulfillmentMessagesTextAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentMessagesTextAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentMessagesTextAttributes) InternalWithRef

func (TransitionRoutesTriggerFulfillmentMessagesTextAttributes) Text

type TransitionRoutesTriggerFulfillmentMessagesTextState

type TransitionRoutesTriggerFulfillmentMessagesTextState struct {
	AllowPlaybackInterruption bool     `json:"allow_playback_interruption"`
	Text                      []string `json:"text"`
}

type TransitionRoutesTriggerFulfillmentSetParameterActions

type TransitionRoutesTriggerFulfillmentSetParameterActions struct {
	// Parameter: string, optional
	Parameter terra.StringValue `hcl:"parameter,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type TransitionRoutesTriggerFulfillmentSetParameterActionsAttributes

type TransitionRoutesTriggerFulfillmentSetParameterActionsAttributes struct {
	// contains filtered or unexported fields
}

func (TransitionRoutesTriggerFulfillmentSetParameterActionsAttributes) InternalRef

func (TransitionRoutesTriggerFulfillmentSetParameterActionsAttributes) InternalTokens

func (TransitionRoutesTriggerFulfillmentSetParameterActionsAttributes) InternalWithRef

func (TransitionRoutesTriggerFulfillmentSetParameterActionsAttributes) Parameter

func (TransitionRoutesTriggerFulfillmentSetParameterActionsAttributes) Value

type TransitionRoutesTriggerFulfillmentSetParameterActionsState

type TransitionRoutesTriggerFulfillmentSetParameterActionsState struct {
	Parameter string `json:"parameter"`
	Value     string `json:"value"`
}

type TransitionRoutesTriggerFulfillmentState

type TransitionRoutesTriggerFulfillmentState struct {
	ReturnPartialResponses bool                                                         `json:"return_partial_responses"`
	Tag                    string                                                       `json:"tag"`
	Webhook                string                                                       `json:"webhook"`
	ConditionalCases       []TransitionRoutesTriggerFulfillmentConditionalCasesState    `json:"conditional_cases"`
	Messages               []TransitionRoutesTriggerFulfillmentMessagesState            `json:"messages"`
	SetParameterActions    []TransitionRoutesTriggerFulfillmentSetParameterActionsState `json:"set_parameter_actions"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL