google_dialogflow_cx_test_case

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 Args

type Args struct {
	// DisplayName: string, required
	DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Notes: string, optional
	Notes terra.StringValue `hcl:"notes,attr"`
	// Parent: string, optional
	Parent terra.StringValue `hcl:"parent,attr"`
	// Tags: list of string, optional
	Tags terra.ListValue[terra.StringValue] `hcl:"tags,attr"`
	// TestCaseConversationTurns: min=0
	TestCaseConversationTurns []TestCaseConversationTurns `hcl:"test_case_conversation_turns,block" validate:"min=0"`
	// TestConfig: optional
	TestConfig *TestConfig `hcl:"test_config,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_dialogflow_cx_test_case.

type LastTestResultAttributes

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

func (LastTestResultAttributes) ConversationTurns

func (LastTestResultAttributes) Environment

func (ltr LastTestResultAttributes) Environment() terra.StringValue

func (LastTestResultAttributes) InternalRef

func (ltr LastTestResultAttributes) InternalRef() (terra.Reference, error)

func (LastTestResultAttributes) InternalTokens

func (ltr LastTestResultAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LastTestResultAttributes) InternalWithRef

func (LastTestResultAttributes) Name

func (LastTestResultAttributes) TestResult

func (ltr LastTestResultAttributes) TestResult() terra.StringValue

func (LastTestResultAttributes) TestTime

type LastTestResultConversationTurns13Cc42C9Attributes

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

func (LastTestResultConversationTurns13Cc42C9Attributes) Digits

func (LastTestResultConversationTurns13Cc42C9Attributes) FinishDigit

func (LastTestResultConversationTurns13Cc42C9Attributes) InternalRef

func (LastTestResultConversationTurns13Cc42C9Attributes) InternalTokens

func (LastTestResultConversationTurns13Cc42C9Attributes) InternalWithRef

type LastTestResultConversationTurns13Cc42C9State

type LastTestResultConversationTurns13Cc42C9State struct {
	Digits      string `json:"digits"`
	FinishDigit string `json:"finish_digit"`
}

type LastTestResultConversationTurns68Becae3Attributes

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

func (LastTestResultConversationTurns68Becae3Attributes) InternalRef

func (LastTestResultConversationTurns68Becae3Attributes) InternalTokens

func (LastTestResultConversationTurns68Becae3Attributes) InternalWithRef

func (LastTestResultConversationTurns68Becae3Attributes) Text

type LastTestResultConversationTurns68Becae3State

type LastTestResultConversationTurns68Becae3State struct {
	Text string `json:"text"`
}

type LastTestResultConversationTurnsAttributes

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

func (LastTestResultConversationTurnsAttributes) InternalRef

func (LastTestResultConversationTurnsAttributes) InternalTokens

func (LastTestResultConversationTurnsAttributes) InternalWithRef

func (LastTestResultConversationTurnsAttributes) UserInput

type LastTestResultConversationTurnsD716E446Attributes

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

func (LastTestResultConversationTurnsD716E446Attributes) Event

func (LastTestResultConversationTurnsD716E446Attributes) InternalRef

func (LastTestResultConversationTurnsD716E446Attributes) InternalTokens

func (LastTestResultConversationTurnsD716E446Attributes) InternalWithRef

type LastTestResultConversationTurnsD716E446State

type LastTestResultConversationTurnsD716E446State struct {
	Event string `json:"event"`
}

type LastTestResultConversationTurnsState

type LastTestResultConversationTurnsState struct {
	UserInput          []LastTestResultConversationTurnsUserInputState          `json:"user_input"`
	VirtualAgentOutput []LastTestResultConversationTurnsVirtualAgentOutputState `json:"virtual_agent_output"`
}

type LastTestResultConversationTurnsUserInputAttributes

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

func (LastTestResultConversationTurnsUserInputAttributes) EnableSentimentAnalysis

func (LastTestResultConversationTurnsUserInputAttributes) InjectedParameters

func (LastTestResultConversationTurnsUserInputAttributes) Input

func (LastTestResultConversationTurnsUserInputAttributes) InternalRef

func (LastTestResultConversationTurnsUserInputAttributes) InternalTokens

func (LastTestResultConversationTurnsUserInputAttributes) InternalWithRef

func (LastTestResultConversationTurnsUserInputAttributes) IsWebhookEnabled

type LastTestResultConversationTurnsUserInputInputAttributes

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

func (LastTestResultConversationTurnsUserInputInputAttributes) Dtmf

func (LastTestResultConversationTurnsUserInputInputAttributes) Event

func (LastTestResultConversationTurnsUserInputInputAttributes) InternalRef

func (LastTestResultConversationTurnsUserInputInputAttributes) InternalTokens

func (LastTestResultConversationTurnsUserInputInputAttributes) InternalWithRef

func (LastTestResultConversationTurnsUserInputInputAttributes) LanguageCode

func (LastTestResultConversationTurnsUserInputInputAttributes) Text

type LastTestResultConversationTurnsUserInputInputState

type LastTestResultConversationTurnsUserInputInputState struct {
	LanguageCode string                                         `json:"language_code"`
	Dtmf         []LastTestResultConversationTurns13Cc42C9State `json:"dtmf"`
	Event        []LastTestResultConversationTurnsD716E446State `json:"event"`
	Text         []LastTestResultConversationTurns68Becae3State `json:"text"`
}

type LastTestResultConversationTurnsUserInputState

type LastTestResultConversationTurnsUserInputState struct {
	EnableSentimentAnalysis bool                                                 `json:"enable_sentiment_analysis"`
	InjectedParameters      string                                               `json:"injected_parameters"`
	IsWebhookEnabled        bool                                                 `json:"is_webhook_enabled"`
	Input                   []LastTestResultConversationTurnsUserInputInputState `json:"input"`
}

type LastTestResultConversationTurnsVirtualAgentOutputAttributes

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

func (LastTestResultConversationTurnsVirtualAgentOutputAttributes) InternalRef

func (LastTestResultConversationTurnsVirtualAgentOutputAttributes) InternalTokens

func (LastTestResultConversationTurnsVirtualAgentOutputAttributes) InternalWithRef

func (LastTestResultConversationTurnsVirtualAgentOutputAttributes) SessionParameters

type LastTestResultConversationTurnsVirtualAgentOutputCurrentPageAttributes

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

func (LastTestResultConversationTurnsVirtualAgentOutputCurrentPageAttributes) DisplayName

func (LastTestResultConversationTurnsVirtualAgentOutputCurrentPageAttributes) InternalRef

func (LastTestResultConversationTurnsVirtualAgentOutputCurrentPageAttributes) InternalTokens

func (LastTestResultConversationTurnsVirtualAgentOutputCurrentPageAttributes) InternalWithRef

func (LastTestResultConversationTurnsVirtualAgentOutputCurrentPageAttributes) Name

type LastTestResultConversationTurnsVirtualAgentOutputCurrentPageState

type LastTestResultConversationTurnsVirtualAgentOutputCurrentPageState struct {
	DisplayName string `json:"display_name"`
	Name        string `json:"name"`
}

type LastTestResultConversationTurnsVirtualAgentOutputDifferencesAttributes

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

func (LastTestResultConversationTurnsVirtualAgentOutputDifferencesAttributes) Description

func (LastTestResultConversationTurnsVirtualAgentOutputDifferencesAttributes) InternalRef

func (LastTestResultConversationTurnsVirtualAgentOutputDifferencesAttributes) InternalTokens

func (LastTestResultConversationTurnsVirtualAgentOutputDifferencesAttributes) InternalWithRef

func (LastTestResultConversationTurnsVirtualAgentOutputDifferencesAttributes) Type

type LastTestResultConversationTurnsVirtualAgentOutputDifferencesState

type LastTestResultConversationTurnsVirtualAgentOutputDifferencesState struct {
	Description string `json:"description"`
	Type        string `json:"type"`
}

type LastTestResultConversationTurnsVirtualAgentOutputState

type LastTestResultConversationTurnsVirtualAgentOutputState struct {
	SessionParameters string                                                                  `json:"session_parameters"`
	CurrentPage       []LastTestResultConversationTurnsVirtualAgentOutputCurrentPageState     `json:"current_page"`
	Differences       []LastTestResultConversationTurnsVirtualAgentOutputDifferencesState     `json:"differences"`
	Status            []LastTestResultConversationTurnsVirtualAgentOutputStatusState          `json:"status"`
	TextResponses     []LastTestResultConversationTurnsVirtualAgentOutputTextResponsesState   `json:"text_responses"`
	TriggeredIntent   []LastTestResultConversationTurnsVirtualAgentOutputTriggeredIntentState `json:"triggered_intent"`
}

type LastTestResultConversationTurnsVirtualAgentOutputStatusAttributes

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

func (LastTestResultConversationTurnsVirtualAgentOutputStatusAttributes) Code

func (LastTestResultConversationTurnsVirtualAgentOutputStatusAttributes) Details

func (LastTestResultConversationTurnsVirtualAgentOutputStatusAttributes) InternalRef

func (LastTestResultConversationTurnsVirtualAgentOutputStatusAttributes) InternalTokens

func (LastTestResultConversationTurnsVirtualAgentOutputStatusAttributes) InternalWithRef

func (LastTestResultConversationTurnsVirtualAgentOutputStatusAttributes) Message

type LastTestResultConversationTurnsVirtualAgentOutputStatusState

type LastTestResultConversationTurnsVirtualAgentOutputStatusState struct {
	Code    float64 `json:"code"`
	Details string  `json:"details"`
	Message string  `json:"message"`
}

type LastTestResultConversationTurnsVirtualAgentOutputTextResponsesAttributes

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

func (LastTestResultConversationTurnsVirtualAgentOutputTextResponsesAttributes) InternalRef

func (LastTestResultConversationTurnsVirtualAgentOutputTextResponsesAttributes) InternalTokens

func (LastTestResultConversationTurnsVirtualAgentOutputTextResponsesAttributes) InternalWithRef

func (LastTestResultConversationTurnsVirtualAgentOutputTextResponsesAttributes) Text

type LastTestResultConversationTurnsVirtualAgentOutputTextResponsesState

type LastTestResultConversationTurnsVirtualAgentOutputTextResponsesState struct {
	Text []string `json:"text"`
}

type LastTestResultConversationTurnsVirtualAgentOutputTriggeredIntentAttributes

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

func (LastTestResultConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) DisplayName

func (LastTestResultConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) InternalRef

func (LastTestResultConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) InternalTokens

func (LastTestResultConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) InternalWithRef

func (LastTestResultConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) Name

type LastTestResultConversationTurnsVirtualAgentOutputTriggeredIntentState

type LastTestResultConversationTurnsVirtualAgentOutputTriggeredIntentState struct {
	DisplayName string `json:"display_name"`
	Name        string `json:"name"`
}

type LastTestResultState

type LastTestResultState struct {
	Environment       string                                 `json:"environment"`
	Name              string                                 `json:"name"`
	TestResult        string                                 `json:"test_result"`
	TestTime          string                                 `json:"test_time"`
	ConversationTurns []LastTestResultConversationTurnsState `json:"conversation_turns"`
}

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_test_case.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gdctc *Resource) Attributes() googleDialogflowCxTestCaseAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdctc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdctc *Resource) State() (*googleDialogflowCxTestCaseState, bool)

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

func (*Resource) StateMust

func (gdctc *Resource) StateMust() *googleDialogflowCxTestCaseState

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

func (*Resource) Type

func (gdctc *Resource) Type() string

Type returns the Terraform object type for Resource.

type TestCaseConversationTurns

type TestCaseConversationTurns struct {
	// TestCaseConversationTurnsUserInput: optional
	UserInput *TestCaseConversationTurnsUserInput `hcl:"user_input,block"`
	// TestCaseConversationTurnsVirtualAgentOutput: optional
	VirtualAgentOutput *TestCaseConversationTurnsVirtualAgentOutput `hcl:"virtual_agent_output,block"`
}

type TestCaseConversationTurnsAttributes

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

func (TestCaseConversationTurnsAttributes) InternalRef

func (TestCaseConversationTurnsAttributes) InternalTokens

func (tcct TestCaseConversationTurnsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TestCaseConversationTurnsAttributes) InternalWithRef

func (TestCaseConversationTurnsAttributes) UserInput

func (TestCaseConversationTurnsAttributes) VirtualAgentOutput

type TestCaseConversationTurnsState

type TestCaseConversationTurnsState struct {
	UserInput          []TestCaseConversationTurnsUserInputState          `json:"user_input"`
	VirtualAgentOutput []TestCaseConversationTurnsVirtualAgentOutputState `json:"virtual_agent_output"`
}

type TestCaseConversationTurnsUserInput

type TestCaseConversationTurnsUserInput struct {
	// EnableSentimentAnalysis: bool, optional
	EnableSentimentAnalysis terra.BoolValue `hcl:"enable_sentiment_analysis,attr"`
	// InjectedParameters: string, optional
	InjectedParameters terra.StringValue `hcl:"injected_parameters,attr"`
	// IsWebhookEnabled: bool, optional
	IsWebhookEnabled terra.BoolValue `hcl:"is_webhook_enabled,attr"`
	// TestCaseConversationTurnsUserInputInput: optional
	Input *TestCaseConversationTurnsUserInputInput `hcl:"input,block"`
}

type TestCaseConversationTurnsUserInputAttributes

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

func (TestCaseConversationTurnsUserInputAttributes) EnableSentimentAnalysis

func (ui TestCaseConversationTurnsUserInputAttributes) EnableSentimentAnalysis() terra.BoolValue

func (TestCaseConversationTurnsUserInputAttributes) InjectedParameters

func (TestCaseConversationTurnsUserInputAttributes) Input

func (TestCaseConversationTurnsUserInputAttributes) InternalRef

func (TestCaseConversationTurnsUserInputAttributes) InternalTokens

func (TestCaseConversationTurnsUserInputAttributes) InternalWithRef

func (TestCaseConversationTurnsUserInputAttributes) IsWebhookEnabled

type TestCaseConversationTurnsUserInputInput

type TestCaseConversationTurnsUserInputInput struct {
	// LanguageCode: string, optional
	LanguageCode terra.StringValue `hcl:"language_code,attr"`
	// TestCaseConversationTurnsUserInputInputDtmf: optional
	Dtmf *TestCaseConversationTurnsUserInputInputDtmf `hcl:"dtmf,block"`
	// TestCaseConversationTurnsUserInputInputEvent: optional
	Event *TestCaseConversationTurnsUserInputInputEvent `hcl:"event,block"`
	// TestCaseConversationTurnsUserInputInputText: optional
	Text *TestCaseConversationTurnsUserInputInputText `hcl:"text,block"`
}

type TestCaseConversationTurnsUserInputInputAttributes

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

func (TestCaseConversationTurnsUserInputInputAttributes) InternalRef

func (TestCaseConversationTurnsUserInputInputAttributes) InternalTokens

func (TestCaseConversationTurnsUserInputInputAttributes) InternalWithRef

func (TestCaseConversationTurnsUserInputInputAttributes) LanguageCode

type TestCaseConversationTurnsUserInputInputDtmf

type TestCaseConversationTurnsUserInputInputDtmf struct {
	// Digits: string, optional
	Digits terra.StringValue `hcl:"digits,attr"`
	// FinishDigit: string, optional
	FinishDigit terra.StringValue `hcl:"finish_digit,attr"`
}

type TestCaseConversationTurnsUserInputInputDtmfAttributes

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

func (TestCaseConversationTurnsUserInputInputDtmfAttributes) Digits

func (TestCaseConversationTurnsUserInputInputDtmfAttributes) FinishDigit

func (TestCaseConversationTurnsUserInputInputDtmfAttributes) InternalRef

func (TestCaseConversationTurnsUserInputInputDtmfAttributes) InternalTokens

func (TestCaseConversationTurnsUserInputInputDtmfAttributes) InternalWithRef

type TestCaseConversationTurnsUserInputInputDtmfState

type TestCaseConversationTurnsUserInputInputDtmfState struct {
	Digits      string `json:"digits"`
	FinishDigit string `json:"finish_digit"`
}

type TestCaseConversationTurnsUserInputInputEvent

type TestCaseConversationTurnsUserInputInputEvent struct {
	// Event: string, required
	Event terra.StringValue `hcl:"event,attr" validate:"required"`
}

type TestCaseConversationTurnsUserInputInputEventAttributes

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

func (TestCaseConversationTurnsUserInputInputEventAttributes) Event

func (TestCaseConversationTurnsUserInputInputEventAttributes) InternalRef

func (TestCaseConversationTurnsUserInputInputEventAttributes) InternalTokens

func (TestCaseConversationTurnsUserInputInputEventAttributes) InternalWithRef

type TestCaseConversationTurnsUserInputInputEventState

type TestCaseConversationTurnsUserInputInputEventState struct {
	Event string `json:"event"`
}

type TestCaseConversationTurnsUserInputInputState

type TestCaseConversationTurnsUserInputInputState struct {
	LanguageCode string                                              `json:"language_code"`
	Dtmf         []TestCaseConversationTurnsUserInputInputDtmfState  `json:"dtmf"`
	Event        []TestCaseConversationTurnsUserInputInputEventState `json:"event"`
	Text         []TestCaseConversationTurnsUserInputInputTextState  `json:"text"`
}

type TestCaseConversationTurnsUserInputInputText

type TestCaseConversationTurnsUserInputInputText struct {
	// Text: string, required
	Text terra.StringValue `hcl:"text,attr" validate:"required"`
}

type TestCaseConversationTurnsUserInputInputTextAttributes

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

func (TestCaseConversationTurnsUserInputInputTextAttributes) InternalRef

func (TestCaseConversationTurnsUserInputInputTextAttributes) InternalTokens

func (TestCaseConversationTurnsUserInputInputTextAttributes) InternalWithRef

func (TestCaseConversationTurnsUserInputInputTextAttributes) Text

type TestCaseConversationTurnsUserInputInputTextState

type TestCaseConversationTurnsUserInputInputTextState struct {
	Text string `json:"text"`
}

type TestCaseConversationTurnsUserInputState

type TestCaseConversationTurnsUserInputState struct {
	EnableSentimentAnalysis bool                                           `json:"enable_sentiment_analysis"`
	InjectedParameters      string                                         `json:"injected_parameters"`
	IsWebhookEnabled        bool                                           `json:"is_webhook_enabled"`
	Input                   []TestCaseConversationTurnsUserInputInputState `json:"input"`
}

type TestCaseConversationTurnsVirtualAgentOutput

type TestCaseConversationTurnsVirtualAgentOutput struct {
	// SessionParameters: string, optional
	SessionParameters terra.StringValue `hcl:"session_parameters,attr"`
	// TestCaseConversationTurnsVirtualAgentOutputCurrentPage: optional
	CurrentPage *TestCaseConversationTurnsVirtualAgentOutputCurrentPage `hcl:"current_page,block"`
	// TestCaseConversationTurnsVirtualAgentOutputTextResponses: min=0
	TextResponses []TestCaseConversationTurnsVirtualAgentOutputTextResponses `hcl:"text_responses,block" validate:"min=0"`
	// TestCaseConversationTurnsVirtualAgentOutputTriggeredIntent: optional
	TriggeredIntent *TestCaseConversationTurnsVirtualAgentOutputTriggeredIntent `hcl:"triggered_intent,block"`
}

type TestCaseConversationTurnsVirtualAgentOutputAttributes

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

func (TestCaseConversationTurnsVirtualAgentOutputAttributes) InternalRef

func (TestCaseConversationTurnsVirtualAgentOutputAttributes) InternalTokens

func (TestCaseConversationTurnsVirtualAgentOutputAttributes) InternalWithRef

func (TestCaseConversationTurnsVirtualAgentOutputAttributes) SessionParameters

type TestCaseConversationTurnsVirtualAgentOutputCurrentPage

type TestCaseConversationTurnsVirtualAgentOutputCurrentPage struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
}

type TestCaseConversationTurnsVirtualAgentOutputCurrentPageAttributes

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

func (TestCaseConversationTurnsVirtualAgentOutputCurrentPageAttributes) DisplayName

func (TestCaseConversationTurnsVirtualAgentOutputCurrentPageAttributes) InternalRef

func (TestCaseConversationTurnsVirtualAgentOutputCurrentPageAttributes) InternalTokens

func (TestCaseConversationTurnsVirtualAgentOutputCurrentPageAttributes) InternalWithRef

func (TestCaseConversationTurnsVirtualAgentOutputCurrentPageAttributes) Name

type TestCaseConversationTurnsVirtualAgentOutputCurrentPageState

type TestCaseConversationTurnsVirtualAgentOutputCurrentPageState struct {
	DisplayName string `json:"display_name"`
	Name        string `json:"name"`
}

type TestCaseConversationTurnsVirtualAgentOutputState

type TestCaseConversationTurnsVirtualAgentOutputState struct {
	SessionParameters string                                                            `json:"session_parameters"`
	CurrentPage       []TestCaseConversationTurnsVirtualAgentOutputCurrentPageState     `json:"current_page"`
	TextResponses     []TestCaseConversationTurnsVirtualAgentOutputTextResponsesState   `json:"text_responses"`
	TriggeredIntent   []TestCaseConversationTurnsVirtualAgentOutputTriggeredIntentState `json:"triggered_intent"`
}

type TestCaseConversationTurnsVirtualAgentOutputTextResponses

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

type TestCaseConversationTurnsVirtualAgentOutputTextResponsesAttributes

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

func (TestCaseConversationTurnsVirtualAgentOutputTextResponsesAttributes) InternalRef

func (TestCaseConversationTurnsVirtualAgentOutputTextResponsesAttributes) InternalTokens

func (TestCaseConversationTurnsVirtualAgentOutputTextResponsesAttributes) InternalWithRef

func (TestCaseConversationTurnsVirtualAgentOutputTextResponsesAttributes) Text

type TestCaseConversationTurnsVirtualAgentOutputTextResponsesState

type TestCaseConversationTurnsVirtualAgentOutputTextResponsesState struct {
	Text []string `json:"text"`
}

type TestCaseConversationTurnsVirtualAgentOutputTriggeredIntent

type TestCaseConversationTurnsVirtualAgentOutputTriggeredIntent struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
}

type TestCaseConversationTurnsVirtualAgentOutputTriggeredIntentAttributes

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

func (TestCaseConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) DisplayName

func (TestCaseConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) InternalRef

func (TestCaseConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) InternalTokens

func (TestCaseConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) InternalWithRef

func (TestCaseConversationTurnsVirtualAgentOutputTriggeredIntentAttributes) Name

type TestCaseConversationTurnsVirtualAgentOutputTriggeredIntentState

type TestCaseConversationTurnsVirtualAgentOutputTriggeredIntentState struct {
	DisplayName string `json:"display_name"`
	Name        string `json:"name"`
}

type TestConfig

type TestConfig struct {
	// Flow: string, optional
	Flow terra.StringValue `hcl:"flow,attr"`
	// Page: string, optional
	Page terra.StringValue `hcl:"page,attr"`
	// TrackingParameters: list of string, optional
	TrackingParameters terra.ListValue[terra.StringValue] `hcl:"tracking_parameters,attr"`
}

type TestConfigAttributes

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

func (TestConfigAttributes) Flow

func (TestConfigAttributes) InternalRef

func (tc TestConfigAttributes) InternalRef() (terra.Reference, error)

func (TestConfigAttributes) InternalTokens

func (tc TestConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TestConfigAttributes) InternalWithRef

func (tc TestConfigAttributes) InternalWithRef(ref terra.Reference) TestConfigAttributes

func (TestConfigAttributes) Page

func (TestConfigAttributes) TrackingParameters

func (tc TestConfigAttributes) TrackingParameters() terra.ListValue[terra.StringValue]

type TestConfigState

type TestConfigState struct {
	Flow               string   `json:"flow"`
	Page               string   `json:"page"`
	TrackingParameters []string `json:"tracking_parameters"`
}

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"`
}

Jump to

Keyboard shortcuts

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