Documentation ¶
Index ¶
- type Agent
- type AgentArgs
- type AgentArray
- type AgentArrayInput
- type AgentArrayOutput
- type AgentInput
- type AgentMap
- type AgentMapInput
- type AgentMapOutput
- type AgentOutput
- type AgentState
- type CxAgent
- type CxAgentArgs
- type CxAgentArray
- type CxAgentArrayInput
- type CxAgentArrayOutput
- type CxAgentInput
- type CxAgentMap
- type CxAgentMapInput
- type CxAgentMapOutput
- type CxAgentOutput
- type CxAgentSpeechToTextSettings
- type CxAgentSpeechToTextSettingsArgs
- func (CxAgentSpeechToTextSettingsArgs) ElementType() reflect.Type
- func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutput() CxAgentSpeechToTextSettingsOutput
- func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsOutput
- func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput
- func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsPtrOutput
- type CxAgentSpeechToTextSettingsInput
- type CxAgentSpeechToTextSettingsOutput
- func (CxAgentSpeechToTextSettingsOutput) ElementType() reflect.Type
- func (o CxAgentSpeechToTextSettingsOutput) EnableSpeechAdaptation() pulumi.BoolPtrOutput
- func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutput() CxAgentSpeechToTextSettingsOutput
- func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsOutput
- func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput
- func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsPtrOutput
- type CxAgentSpeechToTextSettingsPtrInput
- type CxAgentSpeechToTextSettingsPtrOutput
- func (o CxAgentSpeechToTextSettingsPtrOutput) Elem() CxAgentSpeechToTextSettingsOutput
- func (CxAgentSpeechToTextSettingsPtrOutput) ElementType() reflect.Type
- func (o CxAgentSpeechToTextSettingsPtrOutput) EnableSpeechAdaptation() pulumi.BoolPtrOutput
- func (o CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput
- func (o CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsPtrOutput
- type CxAgentState
- type CxEntityType
- type CxEntityTypeArgs
- type CxEntityTypeArray
- type CxEntityTypeArrayInput
- type CxEntityTypeArrayOutput
- func (CxEntityTypeArrayOutput) ElementType() reflect.Type
- func (o CxEntityTypeArrayOutput) Index(i pulumi.IntInput) CxEntityTypeOutput
- func (o CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutput() CxEntityTypeArrayOutput
- func (o CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutputWithContext(ctx context.Context) CxEntityTypeArrayOutput
- type CxEntityTypeEntity
- type CxEntityTypeEntityArgs
- type CxEntityTypeEntityArray
- type CxEntityTypeEntityArrayInput
- type CxEntityTypeEntityArrayOutput
- func (CxEntityTypeEntityArrayOutput) ElementType() reflect.Type
- func (o CxEntityTypeEntityArrayOutput) Index(i pulumi.IntInput) CxEntityTypeEntityOutput
- func (o CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutput() CxEntityTypeEntityArrayOutput
- func (o CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutputWithContext(ctx context.Context) CxEntityTypeEntityArrayOutput
- type CxEntityTypeEntityInput
- type CxEntityTypeEntityOutput
- func (CxEntityTypeEntityOutput) ElementType() reflect.Type
- func (o CxEntityTypeEntityOutput) Synonyms() pulumi.StringArrayOutput
- func (o CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutput() CxEntityTypeEntityOutput
- func (o CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutputWithContext(ctx context.Context) CxEntityTypeEntityOutput
- func (o CxEntityTypeEntityOutput) Value() pulumi.StringPtrOutput
- type CxEntityTypeExcludedPhrase
- type CxEntityTypeExcludedPhraseArgs
- func (CxEntityTypeExcludedPhraseArgs) ElementType() reflect.Type
- func (i CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutput() CxEntityTypeExcludedPhraseOutput
- func (i CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseOutput
- type CxEntityTypeExcludedPhraseArray
- func (CxEntityTypeExcludedPhraseArray) ElementType() reflect.Type
- func (i CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutput() CxEntityTypeExcludedPhraseArrayOutput
- func (i CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseArrayOutput
- type CxEntityTypeExcludedPhraseArrayInput
- type CxEntityTypeExcludedPhraseArrayOutput
- func (CxEntityTypeExcludedPhraseArrayOutput) ElementType() reflect.Type
- func (o CxEntityTypeExcludedPhraseArrayOutput) Index(i pulumi.IntInput) CxEntityTypeExcludedPhraseOutput
- func (o CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutput() CxEntityTypeExcludedPhraseArrayOutput
- func (o CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseArrayOutput
- type CxEntityTypeExcludedPhraseInput
- type CxEntityTypeExcludedPhraseOutput
- func (CxEntityTypeExcludedPhraseOutput) ElementType() reflect.Type
- func (o CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutput() CxEntityTypeExcludedPhraseOutput
- func (o CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseOutput
- func (o CxEntityTypeExcludedPhraseOutput) Value() pulumi.StringPtrOutput
- type CxEntityTypeInput
- type CxEntityTypeMap
- type CxEntityTypeMapInput
- type CxEntityTypeMapOutput
- func (CxEntityTypeMapOutput) ElementType() reflect.Type
- func (o CxEntityTypeMapOutput) MapIndex(k pulumi.StringInput) CxEntityTypeOutput
- func (o CxEntityTypeMapOutput) ToCxEntityTypeMapOutput() CxEntityTypeMapOutput
- func (o CxEntityTypeMapOutput) ToCxEntityTypeMapOutputWithContext(ctx context.Context) CxEntityTypeMapOutput
- type CxEntityTypeOutput
- type CxEntityTypeState
- type CxEnvironment
- type CxEnvironmentArgs
- type CxEnvironmentArray
- type CxEnvironmentArrayInput
- type CxEnvironmentArrayOutput
- func (CxEnvironmentArrayOutput) ElementType() reflect.Type
- func (o CxEnvironmentArrayOutput) Index(i pulumi.IntInput) CxEnvironmentOutput
- func (o CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutput() CxEnvironmentArrayOutput
- func (o CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutputWithContext(ctx context.Context) CxEnvironmentArrayOutput
- type CxEnvironmentInput
- type CxEnvironmentMap
- type CxEnvironmentMapInput
- type CxEnvironmentMapOutput
- func (CxEnvironmentMapOutput) ElementType() reflect.Type
- func (o CxEnvironmentMapOutput) MapIndex(k pulumi.StringInput) CxEnvironmentOutput
- func (o CxEnvironmentMapOutput) ToCxEnvironmentMapOutput() CxEnvironmentMapOutput
- func (o CxEnvironmentMapOutput) ToCxEnvironmentMapOutputWithContext(ctx context.Context) CxEnvironmentMapOutput
- type CxEnvironmentOutput
- type CxEnvironmentState
- type CxEnvironmentVersionConfig
- type CxEnvironmentVersionConfigArgs
- func (CxEnvironmentVersionConfigArgs) ElementType() reflect.Type
- func (i CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutput() CxEnvironmentVersionConfigOutput
- func (i CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigOutput
- type CxEnvironmentVersionConfigArray
- func (CxEnvironmentVersionConfigArray) ElementType() reflect.Type
- func (i CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutput() CxEnvironmentVersionConfigArrayOutput
- func (i CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigArrayOutput
- type CxEnvironmentVersionConfigArrayInput
- type CxEnvironmentVersionConfigArrayOutput
- func (CxEnvironmentVersionConfigArrayOutput) ElementType() reflect.Type
- func (o CxEnvironmentVersionConfigArrayOutput) Index(i pulumi.IntInput) CxEnvironmentVersionConfigOutput
- func (o CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutput() CxEnvironmentVersionConfigArrayOutput
- func (o CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigArrayOutput
- type CxEnvironmentVersionConfigInput
- type CxEnvironmentVersionConfigOutput
- func (CxEnvironmentVersionConfigOutput) ElementType() reflect.Type
- func (o CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutput() CxEnvironmentVersionConfigOutput
- func (o CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigOutput
- func (o CxEnvironmentVersionConfigOutput) Version() pulumi.StringOutput
- type CxFlow
- type CxFlowArgs
- type CxFlowArray
- type CxFlowArrayInput
- type CxFlowArrayOutput
- type CxFlowEventHandler
- type CxFlowEventHandlerArgs
- type CxFlowEventHandlerArray
- type CxFlowEventHandlerArrayInput
- type CxFlowEventHandlerArrayOutput
- func (CxFlowEventHandlerArrayOutput) ElementType() reflect.Type
- func (o CxFlowEventHandlerArrayOutput) Index(i pulumi.IntInput) CxFlowEventHandlerOutput
- func (o CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutput() CxFlowEventHandlerArrayOutput
- func (o CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerArrayOutput
- type CxFlowEventHandlerInput
- type CxFlowEventHandlerOutput
- func (CxFlowEventHandlerOutput) ElementType() reflect.Type
- func (o CxFlowEventHandlerOutput) Event() pulumi.StringPtrOutput
- func (o CxFlowEventHandlerOutput) Name() pulumi.StringPtrOutput
- func (o CxFlowEventHandlerOutput) TargetFlow() pulumi.StringPtrOutput
- func (o CxFlowEventHandlerOutput) TargetPage() pulumi.StringPtrOutput
- func (o CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutput() CxFlowEventHandlerOutput
- func (o CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutputWithContext(ctx context.Context) CxFlowEventHandlerOutput
- func (o CxFlowEventHandlerOutput) TriggerFulfillment() CxFlowEventHandlerTriggerFulfillmentPtrOutput
- type CxFlowEventHandlerTriggerFulfillment
- type CxFlowEventHandlerTriggerFulfillmentArgs
- func (CxFlowEventHandlerTriggerFulfillmentArgs) ElementType() reflect.Type
- func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutput() CxFlowEventHandlerTriggerFulfillmentOutput
- func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentOutput
- func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput
- func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput
- type CxFlowEventHandlerTriggerFulfillmentInput
- type CxFlowEventHandlerTriggerFulfillmentMessage
- type CxFlowEventHandlerTriggerFulfillmentMessageArgs
- func (CxFlowEventHandlerTriggerFulfillmentMessageArgs) ElementType() reflect.Type
- func (i CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput() CxFlowEventHandlerTriggerFulfillmentMessageOutput
- func (i CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageOutput
- type CxFlowEventHandlerTriggerFulfillmentMessageArray
- func (CxFlowEventHandlerTriggerFulfillmentMessageArray) ElementType() reflect.Type
- func (i CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
- func (i CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
- type CxFlowEventHandlerTriggerFulfillmentMessageArrayInput
- type CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
- func (CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ElementType() reflect.Type
- func (o CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) Index(i pulumi.IntInput) CxFlowEventHandlerTriggerFulfillmentMessageOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
- type CxFlowEventHandlerTriggerFulfillmentMessageInput
- type CxFlowEventHandlerTriggerFulfillmentMessageOutput
- func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) ElementType() reflect.Type
- func (o CxFlowEventHandlerTriggerFulfillmentMessageOutput) Text() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput() CxFlowEventHandlerTriggerFulfillmentMessageOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageOutput
- type CxFlowEventHandlerTriggerFulfillmentMessageText
- type CxFlowEventHandlerTriggerFulfillmentMessageTextArgs
- func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ElementType() reflect.Type
- func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
- func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
- func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
- type CxFlowEventHandlerTriggerFulfillmentMessageTextInput
- type CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ElementType() reflect.Type
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
- type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput
- type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) Elem() CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
- func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
- type CxFlowEventHandlerTriggerFulfillmentOutput
- func (CxFlowEventHandlerTriggerFulfillmentOutput) ElementType() reflect.Type
- func (o CxFlowEventHandlerTriggerFulfillmentOutput) Messages() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
- func (o CxFlowEventHandlerTriggerFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentOutput) Tag() pulumi.StringPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutput() CxFlowEventHandlerTriggerFulfillmentOutput
- func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentOutput
- func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentOutput) Webhook() pulumi.StringPtrOutput
- type CxFlowEventHandlerTriggerFulfillmentPtrInput
- type CxFlowEventHandlerTriggerFulfillmentPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) Elem() CxFlowEventHandlerTriggerFulfillmentOutput
- func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ElementType() reflect.Type
- func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) Messages() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
- func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput
- func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
- type CxFlowInput
- type CxFlowMap
- type CxFlowMapInput
- type CxFlowMapOutput
- type CxFlowNluSettings
- type CxFlowNluSettingsArgs
- func (CxFlowNluSettingsArgs) ElementType() reflect.Type
- func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutput() CxFlowNluSettingsOutput
- func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutputWithContext(ctx context.Context) CxFlowNluSettingsOutput
- func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput
- func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutputWithContext(ctx context.Context) CxFlowNluSettingsPtrOutput
- type CxFlowNluSettingsInput
- type CxFlowNluSettingsOutput
- func (o CxFlowNluSettingsOutput) ClassificationThreshold() pulumi.Float64PtrOutput
- func (CxFlowNluSettingsOutput) ElementType() reflect.Type
- func (o CxFlowNluSettingsOutput) ModelTrainingMode() pulumi.StringPtrOutput
- func (o CxFlowNluSettingsOutput) ModelType() pulumi.StringPtrOutput
- func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutput() CxFlowNluSettingsOutput
- func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutputWithContext(ctx context.Context) CxFlowNluSettingsOutput
- func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput
- func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutputWithContext(ctx context.Context) CxFlowNluSettingsPtrOutput
- type CxFlowNluSettingsPtrInput
- type CxFlowNluSettingsPtrOutput
- func (o CxFlowNluSettingsPtrOutput) ClassificationThreshold() pulumi.Float64PtrOutput
- func (o CxFlowNluSettingsPtrOutput) Elem() CxFlowNluSettingsOutput
- func (CxFlowNluSettingsPtrOutput) ElementType() reflect.Type
- func (o CxFlowNluSettingsPtrOutput) ModelTrainingMode() pulumi.StringPtrOutput
- func (o CxFlowNluSettingsPtrOutput) ModelType() pulumi.StringPtrOutput
- func (o CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput
- func (o CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutputWithContext(ctx context.Context) CxFlowNluSettingsPtrOutput
- type CxFlowOutput
- type CxFlowState
- type CxFlowTransitionRoute
- type CxFlowTransitionRouteArgs
- type CxFlowTransitionRouteArray
- func (CxFlowTransitionRouteArray) ElementType() reflect.Type
- func (i CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutput() CxFlowTransitionRouteArrayOutput
- func (i CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteArrayOutput
- type CxFlowTransitionRouteArrayInput
- type CxFlowTransitionRouteArrayOutput
- func (CxFlowTransitionRouteArrayOutput) ElementType() reflect.Type
- func (o CxFlowTransitionRouteArrayOutput) Index(i pulumi.IntInput) CxFlowTransitionRouteOutput
- func (o CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutput() CxFlowTransitionRouteArrayOutput
- func (o CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteArrayOutput
- type CxFlowTransitionRouteInput
- type CxFlowTransitionRouteOutput
- func (o CxFlowTransitionRouteOutput) Condition() pulumi.StringPtrOutput
- func (CxFlowTransitionRouteOutput) ElementType() reflect.Type
- func (o CxFlowTransitionRouteOutput) Intent() pulumi.StringPtrOutput
- func (o CxFlowTransitionRouteOutput) Name() pulumi.StringPtrOutput
- func (o CxFlowTransitionRouteOutput) TargetFlow() pulumi.StringPtrOutput
- func (o CxFlowTransitionRouteOutput) TargetPage() pulumi.StringPtrOutput
- func (o CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutput() CxFlowTransitionRouteOutput
- func (o CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutputWithContext(ctx context.Context) CxFlowTransitionRouteOutput
- func (o CxFlowTransitionRouteOutput) TriggerFulfillment() CxFlowTransitionRouteTriggerFulfillmentPtrOutput
- type CxFlowTransitionRouteTriggerFulfillment
- type CxFlowTransitionRouteTriggerFulfillmentArgs
- func (CxFlowTransitionRouteTriggerFulfillmentArgs) ElementType() reflect.Type
- func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutput() CxFlowTransitionRouteTriggerFulfillmentOutput
- func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentOutput
- func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput
- func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput
- type CxFlowTransitionRouteTriggerFulfillmentInput
- type CxFlowTransitionRouteTriggerFulfillmentMessage
- type CxFlowTransitionRouteTriggerFulfillmentMessageArgs
- func (CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ElementType() reflect.Type
- func (i CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput() CxFlowTransitionRouteTriggerFulfillmentMessageOutput
- func (i CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageOutput
- type CxFlowTransitionRouteTriggerFulfillmentMessageArray
- func (CxFlowTransitionRouteTriggerFulfillmentMessageArray) ElementType() reflect.Type
- func (i CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (i CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
- type CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput
- type CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ElementType() reflect.Type
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) Index(i pulumi.IntInput) CxFlowTransitionRouteTriggerFulfillmentMessageOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
- type CxFlowTransitionRouteTriggerFulfillmentMessageInput
- type CxFlowTransitionRouteTriggerFulfillmentMessageOutput
- func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ElementType() reflect.Type
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageOutput) Text() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput() CxFlowTransitionRouteTriggerFulfillmentMessageOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageOutput
- type CxFlowTransitionRouteTriggerFulfillmentMessageText
- type CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs
- func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ElementType() reflect.Type
- func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
- func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
- func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- type CxFlowTransitionRouteTriggerFulfillmentMessageTextInput
- type CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ElementType() reflect.Type
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput
- type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Elem() CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
- func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- type CxFlowTransitionRouteTriggerFulfillmentOutput
- func (CxFlowTransitionRouteTriggerFulfillmentOutput) ElementType() reflect.Type
- func (o CxFlowTransitionRouteTriggerFulfillmentOutput) Messages() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentOutput) Tag() pulumi.StringPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutput() CxFlowTransitionRouteTriggerFulfillmentOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentOutput) Webhook() pulumi.StringPtrOutput
- type CxFlowTransitionRouteTriggerFulfillmentPtrInput
- type CxFlowTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Elem() CxFlowTransitionRouteTriggerFulfillmentOutput
- func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ElementType() reflect.Type
- func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Messages() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
- type CxIntent
- type CxIntentArgs
- type CxIntentArray
- type CxIntentArrayInput
- type CxIntentArrayOutput
- type CxIntentInput
- type CxIntentMap
- type CxIntentMapInput
- type CxIntentMapOutput
- type CxIntentOutput
- type CxIntentParameter
- type CxIntentParameterArgs
- type CxIntentParameterArray
- type CxIntentParameterArrayInput
- type CxIntentParameterArrayOutput
- func (CxIntentParameterArrayOutput) ElementType() reflect.Type
- func (o CxIntentParameterArrayOutput) Index(i pulumi.IntInput) CxIntentParameterOutput
- func (o CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutput() CxIntentParameterArrayOutput
- func (o CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutputWithContext(ctx context.Context) CxIntentParameterArrayOutput
- type CxIntentParameterInput
- type CxIntentParameterOutput
- func (CxIntentParameterOutput) ElementType() reflect.Type
- func (o CxIntentParameterOutput) EntityType() pulumi.StringOutput
- func (o CxIntentParameterOutput) Id() pulumi.StringOutput
- func (o CxIntentParameterOutput) IsList() pulumi.BoolPtrOutput
- func (o CxIntentParameterOutput) Redact() pulumi.BoolPtrOutput
- func (o CxIntentParameterOutput) ToCxIntentParameterOutput() CxIntentParameterOutput
- func (o CxIntentParameterOutput) ToCxIntentParameterOutputWithContext(ctx context.Context) CxIntentParameterOutput
- type CxIntentState
- type CxIntentTrainingPhrase
- type CxIntentTrainingPhraseArgs
- type CxIntentTrainingPhraseArray
- func (CxIntentTrainingPhraseArray) ElementType() reflect.Type
- func (i CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutput() CxIntentTrainingPhraseArrayOutput
- func (i CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhraseArrayOutput
- type CxIntentTrainingPhraseArrayInput
- type CxIntentTrainingPhraseArrayOutput
- func (CxIntentTrainingPhraseArrayOutput) ElementType() reflect.Type
- func (o CxIntentTrainingPhraseArrayOutput) Index(i pulumi.IntInput) CxIntentTrainingPhraseOutput
- func (o CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutput() CxIntentTrainingPhraseArrayOutput
- func (o CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhraseArrayOutput
- type CxIntentTrainingPhraseInput
- type CxIntentTrainingPhraseOutput
- func (CxIntentTrainingPhraseOutput) ElementType() reflect.Type
- func (o CxIntentTrainingPhraseOutput) Id() pulumi.StringPtrOutput
- func (o CxIntentTrainingPhraseOutput) Parts() CxIntentTrainingPhrasePartArrayOutput
- func (o CxIntentTrainingPhraseOutput) RepeatCount() pulumi.IntPtrOutput
- func (o CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutput() CxIntentTrainingPhraseOutput
- func (o CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutputWithContext(ctx context.Context) CxIntentTrainingPhraseOutput
- type CxIntentTrainingPhrasePart
- type CxIntentTrainingPhrasePartArgs
- func (CxIntentTrainingPhrasePartArgs) ElementType() reflect.Type
- func (i CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutput() CxIntentTrainingPhrasePartOutput
- func (i CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartOutput
- type CxIntentTrainingPhrasePartArray
- func (CxIntentTrainingPhrasePartArray) ElementType() reflect.Type
- func (i CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutput() CxIntentTrainingPhrasePartArrayOutput
- func (i CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartArrayOutput
- type CxIntentTrainingPhrasePartArrayInput
- type CxIntentTrainingPhrasePartArrayOutput
- func (CxIntentTrainingPhrasePartArrayOutput) ElementType() reflect.Type
- func (o CxIntentTrainingPhrasePartArrayOutput) Index(i pulumi.IntInput) CxIntentTrainingPhrasePartOutput
- func (o CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutput() CxIntentTrainingPhrasePartArrayOutput
- func (o CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartArrayOutput
- type CxIntentTrainingPhrasePartInput
- type CxIntentTrainingPhrasePartOutput
- func (CxIntentTrainingPhrasePartOutput) ElementType() reflect.Type
- func (o CxIntentTrainingPhrasePartOutput) ParameterId() pulumi.StringPtrOutput
- func (o CxIntentTrainingPhrasePartOutput) Text() pulumi.StringOutput
- func (o CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutput() CxIntentTrainingPhrasePartOutput
- func (o CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartOutput
- type CxPage
- type CxPageArgs
- type CxPageArray
- type CxPageArrayInput
- type CxPageArrayOutput
- type CxPageEntryFulfillment
- type CxPageEntryFulfillmentArgs
- func (CxPageEntryFulfillmentArgs) ElementType() reflect.Type
- func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutput() CxPageEntryFulfillmentOutput
- func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutputWithContext(ctx context.Context) CxPageEntryFulfillmentOutput
- func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput
- func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentPtrOutput
- type CxPageEntryFulfillmentInput
- type CxPageEntryFulfillmentMessage
- type CxPageEntryFulfillmentMessageArgs
- func (CxPageEntryFulfillmentMessageArgs) ElementType() reflect.Type
- func (i CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutput() CxPageEntryFulfillmentMessageOutput
- func (i CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageOutput
- type CxPageEntryFulfillmentMessageArray
- func (CxPageEntryFulfillmentMessageArray) ElementType() reflect.Type
- func (i CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutput() CxPageEntryFulfillmentMessageArrayOutput
- func (i CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageArrayOutput
- type CxPageEntryFulfillmentMessageArrayInput
- type CxPageEntryFulfillmentMessageArrayOutput
- func (CxPageEntryFulfillmentMessageArrayOutput) ElementType() reflect.Type
- func (o CxPageEntryFulfillmentMessageArrayOutput) Index(i pulumi.IntInput) CxPageEntryFulfillmentMessageOutput
- func (o CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutput() CxPageEntryFulfillmentMessageArrayOutput
- func (o CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageArrayOutput
- type CxPageEntryFulfillmentMessageInput
- type CxPageEntryFulfillmentMessageOutput
- func (CxPageEntryFulfillmentMessageOutput) ElementType() reflect.Type
- func (o CxPageEntryFulfillmentMessageOutput) Text() CxPageEntryFulfillmentMessageTextPtrOutput
- func (o CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutput() CxPageEntryFulfillmentMessageOutput
- func (o CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageOutput
- type CxPageEntryFulfillmentMessageText
- type CxPageEntryFulfillmentMessageTextArgs
- func (CxPageEntryFulfillmentMessageTextArgs) ElementType() reflect.Type
- func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutput() CxPageEntryFulfillmentMessageTextOutput
- func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextOutput
- func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput
- func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextPtrOutput
- type CxPageEntryFulfillmentMessageTextInput
- type CxPageEntryFulfillmentMessageTextOutput
- func (o CxPageEntryFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (CxPageEntryFulfillmentMessageTextOutput) ElementType() reflect.Type
- func (o CxPageEntryFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
- func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutput() CxPageEntryFulfillmentMessageTextOutput
- func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextOutput
- func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput
- func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextPtrOutput
- type CxPageEntryFulfillmentMessageTextPtrInput
- type CxPageEntryFulfillmentMessageTextPtrOutput
- func (o CxPageEntryFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (o CxPageEntryFulfillmentMessageTextPtrOutput) Elem() CxPageEntryFulfillmentMessageTextOutput
- func (CxPageEntryFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
- func (o CxPageEntryFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
- func (o CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput
- func (o CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextPtrOutput
- type CxPageEntryFulfillmentOutput
- func (CxPageEntryFulfillmentOutput) ElementType() reflect.Type
- func (o CxPageEntryFulfillmentOutput) Messages() CxPageEntryFulfillmentMessageArrayOutput
- func (o CxPageEntryFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxPageEntryFulfillmentOutput) Tag() pulumi.StringPtrOutput
- func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutput() CxPageEntryFulfillmentOutput
- func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutputWithContext(ctx context.Context) CxPageEntryFulfillmentOutput
- func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput
- func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentPtrOutput
- func (o CxPageEntryFulfillmentOutput) Webhook() pulumi.StringPtrOutput
- type CxPageEntryFulfillmentPtrInput
- type CxPageEntryFulfillmentPtrOutput
- func (o CxPageEntryFulfillmentPtrOutput) Elem() CxPageEntryFulfillmentOutput
- func (CxPageEntryFulfillmentPtrOutput) ElementType() reflect.Type
- func (o CxPageEntryFulfillmentPtrOutput) Messages() CxPageEntryFulfillmentMessageArrayOutput
- func (o CxPageEntryFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxPageEntryFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
- func (o CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput
- func (o CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentPtrOutput
- func (o CxPageEntryFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
- type CxPageEventHandler
- type CxPageEventHandlerArgs
- type CxPageEventHandlerArray
- type CxPageEventHandlerArrayInput
- type CxPageEventHandlerArrayOutput
- func (CxPageEventHandlerArrayOutput) ElementType() reflect.Type
- func (o CxPageEventHandlerArrayOutput) Index(i pulumi.IntInput) CxPageEventHandlerOutput
- func (o CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutput() CxPageEventHandlerArrayOutput
- func (o CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutputWithContext(ctx context.Context) CxPageEventHandlerArrayOutput
- type CxPageEventHandlerInput
- type CxPageEventHandlerOutput
- func (CxPageEventHandlerOutput) ElementType() reflect.Type
- func (o CxPageEventHandlerOutput) Event() pulumi.StringPtrOutput
- func (o CxPageEventHandlerOutput) Name() pulumi.StringPtrOutput
- func (o CxPageEventHandlerOutput) TargetFlow() pulumi.StringPtrOutput
- func (o CxPageEventHandlerOutput) TargetPage() pulumi.StringPtrOutput
- func (o CxPageEventHandlerOutput) ToCxPageEventHandlerOutput() CxPageEventHandlerOutput
- func (o CxPageEventHandlerOutput) ToCxPageEventHandlerOutputWithContext(ctx context.Context) CxPageEventHandlerOutput
- func (o CxPageEventHandlerOutput) TriggerFulfillment() CxPageEventHandlerTriggerFulfillmentPtrOutput
- type CxPageEventHandlerTriggerFulfillment
- type CxPageEventHandlerTriggerFulfillmentArgs
- func (CxPageEventHandlerTriggerFulfillmentArgs) ElementType() reflect.Type
- func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutput() CxPageEventHandlerTriggerFulfillmentOutput
- func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentOutput
- func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput
- func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput
- type CxPageEventHandlerTriggerFulfillmentInput
- type CxPageEventHandlerTriggerFulfillmentMessage
- type CxPageEventHandlerTriggerFulfillmentMessageArgs
- func (CxPageEventHandlerTriggerFulfillmentMessageArgs) ElementType() reflect.Type
- func (i CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutput() CxPageEventHandlerTriggerFulfillmentMessageOutput
- func (i CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageOutput
- type CxPageEventHandlerTriggerFulfillmentMessageArray
- func (CxPageEventHandlerTriggerFulfillmentMessageArray) ElementType() reflect.Type
- func (i CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
- func (i CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
- type CxPageEventHandlerTriggerFulfillmentMessageArrayInput
- type CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
- func (CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ElementType() reflect.Type
- func (o CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) Index(i pulumi.IntInput) CxPageEventHandlerTriggerFulfillmentMessageOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
- type CxPageEventHandlerTriggerFulfillmentMessageInput
- type CxPageEventHandlerTriggerFulfillmentMessageOutput
- func (CxPageEventHandlerTriggerFulfillmentMessageOutput) ElementType() reflect.Type
- func (o CxPageEventHandlerTriggerFulfillmentMessageOutput) Text() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutput() CxPageEventHandlerTriggerFulfillmentMessageOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageOutput
- type CxPageEventHandlerTriggerFulfillmentMessageText
- type CxPageEventHandlerTriggerFulfillmentMessageTextArgs
- func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ElementType() reflect.Type
- func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput() CxPageEventHandlerTriggerFulfillmentMessageTextOutput
- func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextOutput
- func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
- type CxPageEventHandlerTriggerFulfillmentMessageTextInput
- type CxPageEventHandlerTriggerFulfillmentMessageTextOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ElementType() reflect.Type
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput() CxPageEventHandlerTriggerFulfillmentMessageTextOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
- type CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput
- type CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) Elem() CxPageEventHandlerTriggerFulfillmentMessageTextOutput
- func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
- type CxPageEventHandlerTriggerFulfillmentOutput
- func (CxPageEventHandlerTriggerFulfillmentOutput) ElementType() reflect.Type
- func (o CxPageEventHandlerTriggerFulfillmentOutput) Messages() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
- func (o CxPageEventHandlerTriggerFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentOutput) Tag() pulumi.StringPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutput() CxPageEventHandlerTriggerFulfillmentOutput
- func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentOutput
- func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentOutput) Webhook() pulumi.StringPtrOutput
- type CxPageEventHandlerTriggerFulfillmentPtrInput
- type CxPageEventHandlerTriggerFulfillmentPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) Elem() CxPageEventHandlerTriggerFulfillmentOutput
- func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ElementType() reflect.Type
- func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) Messages() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
- func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput
- func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
- type CxPageForm
- type CxPageFormArgs
- func (CxPageFormArgs) ElementType() reflect.Type
- func (i CxPageFormArgs) ToCxPageFormOutput() CxPageFormOutput
- func (i CxPageFormArgs) ToCxPageFormOutputWithContext(ctx context.Context) CxPageFormOutput
- func (i CxPageFormArgs) ToCxPageFormPtrOutput() CxPageFormPtrOutput
- func (i CxPageFormArgs) ToCxPageFormPtrOutputWithContext(ctx context.Context) CxPageFormPtrOutput
- type CxPageFormInput
- type CxPageFormOutput
- func (CxPageFormOutput) ElementType() reflect.Type
- func (o CxPageFormOutput) Parameters() CxPageFormParameterArrayOutput
- func (o CxPageFormOutput) ToCxPageFormOutput() CxPageFormOutput
- func (o CxPageFormOutput) ToCxPageFormOutputWithContext(ctx context.Context) CxPageFormOutput
- func (o CxPageFormOutput) ToCxPageFormPtrOutput() CxPageFormPtrOutput
- func (o CxPageFormOutput) ToCxPageFormPtrOutputWithContext(ctx context.Context) CxPageFormPtrOutput
- type CxPageFormParameter
- type CxPageFormParameterArgs
- type CxPageFormParameterArray
- type CxPageFormParameterArrayInput
- type CxPageFormParameterArrayOutput
- func (CxPageFormParameterArrayOutput) ElementType() reflect.Type
- func (o CxPageFormParameterArrayOutput) Index(i pulumi.IntInput) CxPageFormParameterOutput
- func (o CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutput() CxPageFormParameterArrayOutput
- func (o CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutputWithContext(ctx context.Context) CxPageFormParameterArrayOutput
- type CxPageFormParameterFillBehavior
- type CxPageFormParameterFillBehaviorArgs
- func (CxPageFormParameterFillBehaviorArgs) ElementType() reflect.Type
- func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutput() CxPageFormParameterFillBehaviorOutput
- func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorOutput
- func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput
- func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorPtrOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillment
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ElementType() reflect.Type
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentInput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessage
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ElementType() reflect.Type
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ElementType() reflect.Type
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ElementType() reflect.Type
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) Index(i pulumi.IntInput) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ElementType() reflect.Type
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) Text() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageText
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ElementType() reflect.Type
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
- func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextInput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ElementType() reflect.Type
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) Elem() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ElementType() reflect.Type
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Messages() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Tag() pulumi.StringPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Webhook() pulumi.StringPtrOutput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput
- type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Elem() CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
- func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ElementType() reflect.Type
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Messages() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
- func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
- type CxPageFormParameterFillBehaviorInput
- type CxPageFormParameterFillBehaviorOutput
- func (CxPageFormParameterFillBehaviorOutput) ElementType() reflect.Type
- func (o CxPageFormParameterFillBehaviorOutput) InitialPromptFulfillment() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
- func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutput() CxPageFormParameterFillBehaviorOutput
- func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorOutput
- func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput
- func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorPtrOutput
- type CxPageFormParameterFillBehaviorPtrInput
- type CxPageFormParameterFillBehaviorPtrOutput
- func (o CxPageFormParameterFillBehaviorPtrOutput) Elem() CxPageFormParameterFillBehaviorOutput
- func (CxPageFormParameterFillBehaviorPtrOutput) ElementType() reflect.Type
- func (o CxPageFormParameterFillBehaviorPtrOutput) InitialPromptFulfillment() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
- func (o CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput
- func (o CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorPtrOutput
- type CxPageFormParameterInput
- type CxPageFormParameterOutput
- func (o CxPageFormParameterOutput) DisplayName() pulumi.StringPtrOutput
- func (CxPageFormParameterOutput) ElementType() reflect.Type
- func (o CxPageFormParameterOutput) EntityType() pulumi.StringPtrOutput
- func (o CxPageFormParameterOutput) FillBehavior() CxPageFormParameterFillBehaviorPtrOutput
- func (o CxPageFormParameterOutput) IsList() pulumi.BoolPtrOutput
- func (o CxPageFormParameterOutput) Redact() pulumi.BoolPtrOutput
- func (o CxPageFormParameterOutput) Required() pulumi.BoolPtrOutput
- func (o CxPageFormParameterOutput) ToCxPageFormParameterOutput() CxPageFormParameterOutput
- func (o CxPageFormParameterOutput) ToCxPageFormParameterOutputWithContext(ctx context.Context) CxPageFormParameterOutput
- type CxPageFormPtrInput
- type CxPageFormPtrOutput
- func (o CxPageFormPtrOutput) Elem() CxPageFormOutput
- func (CxPageFormPtrOutput) ElementType() reflect.Type
- func (o CxPageFormPtrOutput) Parameters() CxPageFormParameterArrayOutput
- func (o CxPageFormPtrOutput) ToCxPageFormPtrOutput() CxPageFormPtrOutput
- func (o CxPageFormPtrOutput) ToCxPageFormPtrOutputWithContext(ctx context.Context) CxPageFormPtrOutput
- type CxPageInput
- type CxPageMap
- type CxPageMapInput
- type CxPageMapOutput
- type CxPageOutput
- type CxPageState
- type CxPageTransitionRoute
- type CxPageTransitionRouteArgs
- type CxPageTransitionRouteArray
- func (CxPageTransitionRouteArray) ElementType() reflect.Type
- func (i CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutput() CxPageTransitionRouteArrayOutput
- func (i CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteArrayOutput
- type CxPageTransitionRouteArrayInput
- type CxPageTransitionRouteArrayOutput
- func (CxPageTransitionRouteArrayOutput) ElementType() reflect.Type
- func (o CxPageTransitionRouteArrayOutput) Index(i pulumi.IntInput) CxPageTransitionRouteOutput
- func (o CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutput() CxPageTransitionRouteArrayOutput
- func (o CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteArrayOutput
- type CxPageTransitionRouteInput
- type CxPageTransitionRouteOutput
- func (o CxPageTransitionRouteOutput) Condition() pulumi.StringPtrOutput
- func (CxPageTransitionRouteOutput) ElementType() reflect.Type
- func (o CxPageTransitionRouteOutput) Intent() pulumi.StringPtrOutput
- func (o CxPageTransitionRouteOutput) Name() pulumi.StringPtrOutput
- func (o CxPageTransitionRouteOutput) TargetFlow() pulumi.StringPtrOutput
- func (o CxPageTransitionRouteOutput) TargetPage() pulumi.StringPtrOutput
- func (o CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutput() CxPageTransitionRouteOutput
- func (o CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutputWithContext(ctx context.Context) CxPageTransitionRouteOutput
- func (o CxPageTransitionRouteOutput) TriggerFulfillment() CxPageTransitionRouteTriggerFulfillmentPtrOutput
- type CxPageTransitionRouteTriggerFulfillment
- type CxPageTransitionRouteTriggerFulfillmentArgs
- func (CxPageTransitionRouteTriggerFulfillmentArgs) ElementType() reflect.Type
- func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutput() CxPageTransitionRouteTriggerFulfillmentOutput
- func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentOutput
- func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput
- func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput
- type CxPageTransitionRouteTriggerFulfillmentInput
- type CxPageTransitionRouteTriggerFulfillmentMessage
- type CxPageTransitionRouteTriggerFulfillmentMessageArgs
- func (CxPageTransitionRouteTriggerFulfillmentMessageArgs) ElementType() reflect.Type
- func (i CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutput() CxPageTransitionRouteTriggerFulfillmentMessageOutput
- func (i CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageOutput
- type CxPageTransitionRouteTriggerFulfillmentMessageArray
- func (CxPageTransitionRouteTriggerFulfillmentMessageArray) ElementType() reflect.Type
- func (i CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (i CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
- type CxPageTransitionRouteTriggerFulfillmentMessageArrayInput
- type CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ElementType() reflect.Type
- func (o CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) Index(i pulumi.IntInput) CxPageTransitionRouteTriggerFulfillmentMessageOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
- type CxPageTransitionRouteTriggerFulfillmentMessageInput
- type CxPageTransitionRouteTriggerFulfillmentMessageOutput
- func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) ElementType() reflect.Type
- func (o CxPageTransitionRouteTriggerFulfillmentMessageOutput) Text() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageOutput() CxPageTransitionRouteTriggerFulfillmentMessageOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageOutput
- type CxPageTransitionRouteTriggerFulfillmentMessageText
- type CxPageTransitionRouteTriggerFulfillmentMessageTextArgs
- func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ElementType() reflect.Type
- func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
- func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
- func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- type CxPageTransitionRouteTriggerFulfillmentMessageTextInput
- type CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ElementType() reflect.Type
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput
- type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Elem() CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
- func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
- type CxPageTransitionRouteTriggerFulfillmentOutput
- func (CxPageTransitionRouteTriggerFulfillmentOutput) ElementType() reflect.Type
- func (o CxPageTransitionRouteTriggerFulfillmentOutput) Messages() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (o CxPageTransitionRouteTriggerFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentOutput) Tag() pulumi.StringPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutput() CxPageTransitionRouteTriggerFulfillmentOutput
- func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentOutput
- func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentOutput) Webhook() pulumi.StringPtrOutput
- type CxPageTransitionRouteTriggerFulfillmentPtrInput
- type CxPageTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) Elem() CxPageTransitionRouteTriggerFulfillmentOutput
- func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ElementType() reflect.Type
- func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) Messages() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
- func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput
- func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
- type CxVersion
- type CxVersionArgs
- type CxVersionArray
- type CxVersionArrayInput
- type CxVersionArrayOutput
- func (CxVersionArrayOutput) ElementType() reflect.Type
- func (o CxVersionArrayOutput) Index(i pulumi.IntInput) CxVersionOutput
- func (o CxVersionArrayOutput) ToCxVersionArrayOutput() CxVersionArrayOutput
- func (o CxVersionArrayOutput) ToCxVersionArrayOutputWithContext(ctx context.Context) CxVersionArrayOutput
- type CxVersionInput
- type CxVersionMap
- type CxVersionMapInput
- type CxVersionMapOutput
- type CxVersionNluSetting
- type CxVersionNluSettingArgs
- type CxVersionNluSettingArray
- type CxVersionNluSettingArrayInput
- type CxVersionNluSettingArrayOutput
- func (CxVersionNluSettingArrayOutput) ElementType() reflect.Type
- func (o CxVersionNluSettingArrayOutput) Index(i pulumi.IntInput) CxVersionNluSettingOutput
- func (o CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutput() CxVersionNluSettingArrayOutput
- func (o CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutputWithContext(ctx context.Context) CxVersionNluSettingArrayOutput
- type CxVersionNluSettingInput
- type CxVersionNluSettingOutput
- func (o CxVersionNluSettingOutput) ClassificationThreshold() pulumi.Float64PtrOutput
- func (CxVersionNluSettingOutput) ElementType() reflect.Type
- func (o CxVersionNluSettingOutput) ModelTrainingMode() pulumi.StringPtrOutput
- func (o CxVersionNluSettingOutput) ModelType() pulumi.StringPtrOutput
- func (o CxVersionNluSettingOutput) ToCxVersionNluSettingOutput() CxVersionNluSettingOutput
- func (o CxVersionNluSettingOutput) ToCxVersionNluSettingOutputWithContext(ctx context.Context) CxVersionNluSettingOutput
- type CxVersionOutput
- type CxVersionState
- type EntityType
- type EntityTypeArgs
- type EntityTypeArray
- type EntityTypeArrayInput
- type EntityTypeArrayOutput
- func (EntityTypeArrayOutput) ElementType() reflect.Type
- func (o EntityTypeArrayOutput) Index(i pulumi.IntInput) EntityTypeOutput
- func (o EntityTypeArrayOutput) ToEntityTypeArrayOutput() EntityTypeArrayOutput
- func (o EntityTypeArrayOutput) ToEntityTypeArrayOutputWithContext(ctx context.Context) EntityTypeArrayOutput
- type EntityTypeEntity
- type EntityTypeEntityArgs
- type EntityTypeEntityArray
- type EntityTypeEntityArrayInput
- type EntityTypeEntityArrayOutput
- func (EntityTypeEntityArrayOutput) ElementType() reflect.Type
- func (o EntityTypeEntityArrayOutput) Index(i pulumi.IntInput) EntityTypeEntityOutput
- func (o EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutput() EntityTypeEntityArrayOutput
- func (o EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutputWithContext(ctx context.Context) EntityTypeEntityArrayOutput
- type EntityTypeEntityInput
- type EntityTypeEntityOutput
- func (EntityTypeEntityOutput) ElementType() reflect.Type
- func (o EntityTypeEntityOutput) Synonyms() pulumi.StringArrayOutput
- func (o EntityTypeEntityOutput) ToEntityTypeEntityOutput() EntityTypeEntityOutput
- func (o EntityTypeEntityOutput) ToEntityTypeEntityOutputWithContext(ctx context.Context) EntityTypeEntityOutput
- func (o EntityTypeEntityOutput) Value() pulumi.StringOutput
- type EntityTypeInput
- type EntityTypeMap
- type EntityTypeMapInput
- type EntityTypeMapOutput
- func (EntityTypeMapOutput) ElementType() reflect.Type
- func (o EntityTypeMapOutput) MapIndex(k pulumi.StringInput) EntityTypeOutput
- func (o EntityTypeMapOutput) ToEntityTypeMapOutput() EntityTypeMapOutput
- func (o EntityTypeMapOutput) ToEntityTypeMapOutputWithContext(ctx context.Context) EntityTypeMapOutput
- type EntityTypeOutput
- type EntityTypeState
- type Fulfillment
- type FulfillmentArgs
- type FulfillmentArray
- type FulfillmentArrayInput
- type FulfillmentArrayOutput
- func (FulfillmentArrayOutput) ElementType() reflect.Type
- func (o FulfillmentArrayOutput) Index(i pulumi.IntInput) FulfillmentOutput
- func (o FulfillmentArrayOutput) ToFulfillmentArrayOutput() FulfillmentArrayOutput
- func (o FulfillmentArrayOutput) ToFulfillmentArrayOutputWithContext(ctx context.Context) FulfillmentArrayOutput
- type FulfillmentFeature
- type FulfillmentFeatureArgs
- type FulfillmentFeatureArray
- type FulfillmentFeatureArrayInput
- type FulfillmentFeatureArrayOutput
- func (FulfillmentFeatureArrayOutput) ElementType() reflect.Type
- func (o FulfillmentFeatureArrayOutput) Index(i pulumi.IntInput) FulfillmentFeatureOutput
- func (o FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutput() FulfillmentFeatureArrayOutput
- func (o FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutputWithContext(ctx context.Context) FulfillmentFeatureArrayOutput
- type FulfillmentFeatureInput
- type FulfillmentFeatureOutput
- func (FulfillmentFeatureOutput) ElementType() reflect.Type
- func (o FulfillmentFeatureOutput) ToFulfillmentFeatureOutput() FulfillmentFeatureOutput
- func (o FulfillmentFeatureOutput) ToFulfillmentFeatureOutputWithContext(ctx context.Context) FulfillmentFeatureOutput
- func (o FulfillmentFeatureOutput) Type() pulumi.StringOutput
- type FulfillmentGenericWebService
- type FulfillmentGenericWebServiceArgs
- func (FulfillmentGenericWebServiceArgs) ElementType() reflect.Type
- func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutput() FulfillmentGenericWebServiceOutput
- func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutputWithContext(ctx context.Context) FulfillmentGenericWebServiceOutput
- func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput
- func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutputWithContext(ctx context.Context) FulfillmentGenericWebServicePtrOutput
- type FulfillmentGenericWebServiceInput
- type FulfillmentGenericWebServiceOutput
- func (FulfillmentGenericWebServiceOutput) ElementType() reflect.Type
- func (o FulfillmentGenericWebServiceOutput) Password() pulumi.StringPtrOutput
- func (o FulfillmentGenericWebServiceOutput) RequestHeaders() pulumi.StringMapOutput
- func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutput() FulfillmentGenericWebServiceOutput
- func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutputWithContext(ctx context.Context) FulfillmentGenericWebServiceOutput
- func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput
- func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutputWithContext(ctx context.Context) FulfillmentGenericWebServicePtrOutput
- func (o FulfillmentGenericWebServiceOutput) Uri() pulumi.StringOutput
- func (o FulfillmentGenericWebServiceOutput) Username() pulumi.StringPtrOutput
- type FulfillmentGenericWebServicePtrInput
- type FulfillmentGenericWebServicePtrOutput
- func (o FulfillmentGenericWebServicePtrOutput) Elem() FulfillmentGenericWebServiceOutput
- func (FulfillmentGenericWebServicePtrOutput) ElementType() reflect.Type
- func (o FulfillmentGenericWebServicePtrOutput) Password() pulumi.StringPtrOutput
- func (o FulfillmentGenericWebServicePtrOutput) RequestHeaders() pulumi.StringMapOutput
- func (o FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput
- func (o FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutputWithContext(ctx context.Context) FulfillmentGenericWebServicePtrOutput
- func (o FulfillmentGenericWebServicePtrOutput) Uri() pulumi.StringPtrOutput
- func (o FulfillmentGenericWebServicePtrOutput) Username() pulumi.StringPtrOutput
- type FulfillmentInput
- type FulfillmentMap
- type FulfillmentMapInput
- type FulfillmentMapOutput
- func (FulfillmentMapOutput) ElementType() reflect.Type
- func (o FulfillmentMapOutput) MapIndex(k pulumi.StringInput) FulfillmentOutput
- func (o FulfillmentMapOutput) ToFulfillmentMapOutput() FulfillmentMapOutput
- func (o FulfillmentMapOutput) ToFulfillmentMapOutputWithContext(ctx context.Context) FulfillmentMapOutput
- type FulfillmentOutput
- type FulfillmentState
- type Intent
- type IntentArgs
- type IntentArray
- type IntentArrayInput
- type IntentArrayOutput
- type IntentFollowupIntentInfo
- type IntentFollowupIntentInfoArgs
- func (IntentFollowupIntentInfoArgs) ElementType() reflect.Type
- func (i IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutput() IntentFollowupIntentInfoOutput
- func (i IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutputWithContext(ctx context.Context) IntentFollowupIntentInfoOutput
- type IntentFollowupIntentInfoArray
- func (IntentFollowupIntentInfoArray) ElementType() reflect.Type
- func (i IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutput() IntentFollowupIntentInfoArrayOutput
- func (i IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutputWithContext(ctx context.Context) IntentFollowupIntentInfoArrayOutput
- type IntentFollowupIntentInfoArrayInput
- type IntentFollowupIntentInfoArrayOutput
- func (IntentFollowupIntentInfoArrayOutput) ElementType() reflect.Type
- func (o IntentFollowupIntentInfoArrayOutput) Index(i pulumi.IntInput) IntentFollowupIntentInfoOutput
- func (o IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutput() IntentFollowupIntentInfoArrayOutput
- func (o IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutputWithContext(ctx context.Context) IntentFollowupIntentInfoArrayOutput
- type IntentFollowupIntentInfoInput
- type IntentFollowupIntentInfoOutput
- func (IntentFollowupIntentInfoOutput) ElementType() reflect.Type
- func (o IntentFollowupIntentInfoOutput) FollowupIntentName() pulumi.StringPtrOutput
- func (o IntentFollowupIntentInfoOutput) ParentFollowupIntentName() pulumi.StringPtrOutput
- func (o IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutput() IntentFollowupIntentInfoOutput
- func (o IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutputWithContext(ctx context.Context) IntentFollowupIntentInfoOutput
- type IntentInput
- type IntentMap
- type IntentMapInput
- type IntentMapOutput
- type IntentOutput
- type IntentState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { pulumi.CustomResourceState // API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query // different service endpoints for different API versions. However, bots connectors and webhook calls will follow // the specified API version. // * API_VERSION_V1: Legacy V1 API. // * API_VERSION_V2: V2 API. // * API_VERSION_V2_BETA_1: V2beta1 API. // Possible values are `API_VERSION_V1`, `API_VERSION_V2`, and `API_VERSION_V2_BETA_1`. ApiVersion pulumi.StringOutput `pulumi:"apiVersion"` // The URI of the agent's avatar, which are used throughout the Dialogflow console. When an image URL is entered // into this field, the Dialogflow will save the image in the backend. The address of the backend image returned // from the API will be shown in the [avatarUriBackend] field. AvatarUri pulumi.StringPtrOutput `pulumi:"avatarUri"` // The URI of the agent's avatar as returned from the API. Output only. To provide an image URL for the agent avatar, the // [avatarUri] field can be used. AvatarUriBackend pulumi.StringOutput `pulumi:"avatarUriBackend"` // To filter out false positive results and still get variety in matched natural language inputs for your agent, // you can tune the machine learning classification threshold. If the returned score value is less than the threshold // value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be // triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the // default of 0.3 is used. ClassificationThreshold pulumi.Float64PtrOutput `pulumi:"classificationThreshold"` // The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. This field cannot be updated after creation. DefaultLanguageCode pulumi.StringOutput `pulumi:"defaultLanguageCode"` // The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of this agent. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Determines whether this agent should log conversation queries. EnableLogging pulumi.BoolPtrOutput `pulumi:"enableLogging"` // Determines how intents are detected from user queries. // * MATCH_MODE_HYBRID: Best for agents with a small number of examples in intents and/or wide use of templates // syntax and composite entities. // * MATCH_MODE_ML_ONLY: Can be used for agents with a large number of examples in intents, especially the ones // using @sys.any or very large developer entities. // Possible values are `MATCH_MODE_HYBRID` and `MATCH_MODE_ML_ONLY`. MatchMode pulumi.StringOutput `pulumi:"matchMode"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The list of all languages supported by this agent (except for the defaultLanguageCode). SupportedLanguageCodes pulumi.StringArrayOutput `pulumi:"supportedLanguageCodes"` // The agent tier. If not specified, TIER_STANDARD is assumed. // * TIER_STANDARD: Standard tier. // * TIER_ENTERPRISE: Enterprise tier (Essentials). // * TIER_ENTERPRISE_PLUS: Enterprise tier (Plus). // NOTE: Due to consistency issues, the provider will not read this field from the API. Drift is possible between // the the provider state and Dialogflow if the agent tier is changed outside of the provider. Tier pulumi.StringPtrOutput `pulumi:"tier"` // The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, // Europe/Paris. TimeZone pulumi.StringOutput `pulumi:"timeZone"` }
A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system.
To get more information about Agent, see:
* [API documentation](https://cloud.google.com/dialogflow/docs/reference/rest/v2/projects/agent) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/docs/)
## Example Usage ### Dialogflow Agent Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := diagflow.NewAgent(ctx, "fullAgent", &diagflow.AgentArgs{ ApiVersion: pulumi.String("API_VERSION_V2_BETA_1"), AvatarUri: pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"), ClassificationThreshold: pulumi.Float64(0.3), DefaultLanguageCode: pulumi.String("en"), Description: pulumi.String("Example description."), DisplayName: pulumi.String("dialogflow-agent"), EnableLogging: pulumi.Bool(true), MatchMode: pulumi.String("MATCH_MODE_ML_ONLY"), SupportedLanguageCodes: pulumi.StringArray{ pulumi.String("fr"), pulumi.String("de"), pulumi.String("es"), }, Tier: pulumi.String("TIER_STANDARD"), TimeZone: pulumi.String("America/New_York"), }) if err != nil { return err } return nil }) }
```
## Import
Agent can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/agent:Agent default {{project}}
```
func GetAgent ¶
func GetAgent(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AgentState, opts ...pulumi.ResourceOption) (*Agent, error)
GetAgent gets an existing Agent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAgent ¶
func NewAgent(ctx *pulumi.Context, name string, args *AgentArgs, opts ...pulumi.ResourceOption) (*Agent, error)
NewAgent registers a new resource with the given unique name, arguments, and options.
func (*Agent) ElementType ¶
func (*Agent) ToAgentOutput ¶
func (i *Agent) ToAgentOutput() AgentOutput
func (*Agent) ToAgentOutputWithContext ¶
func (i *Agent) ToAgentOutputWithContext(ctx context.Context) AgentOutput
type AgentArgs ¶
type AgentArgs struct { // API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query // different service endpoints for different API versions. However, bots connectors and webhook calls will follow // the specified API version. // * API_VERSION_V1: Legacy V1 API. // * API_VERSION_V2: V2 API. // * API_VERSION_V2_BETA_1: V2beta1 API. // Possible values are `API_VERSION_V1`, `API_VERSION_V2`, and `API_VERSION_V2_BETA_1`. ApiVersion pulumi.StringPtrInput // The URI of the agent's avatar, which are used throughout the Dialogflow console. When an image URL is entered // into this field, the Dialogflow will save the image in the backend. The address of the backend image returned // from the API will be shown in the [avatarUriBackend] field. AvatarUri pulumi.StringPtrInput // To filter out false positive results and still get variety in matched natural language inputs for your agent, // you can tune the machine learning classification threshold. If the returned score value is less than the threshold // value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be // triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the // default of 0.3 is used. ClassificationThreshold pulumi.Float64PtrInput // The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. This field cannot be updated after creation. DefaultLanguageCode pulumi.StringInput // The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The name of this agent. DisplayName pulumi.StringInput // Determines whether this agent should log conversation queries. EnableLogging pulumi.BoolPtrInput // Determines how intents are detected from user queries. // * MATCH_MODE_HYBRID: Best for agents with a small number of examples in intents and/or wide use of templates // syntax and composite entities. // * MATCH_MODE_ML_ONLY: Can be used for agents with a large number of examples in intents, especially the ones // using @sys.any or very large developer entities. // Possible values are `MATCH_MODE_HYBRID` and `MATCH_MODE_ML_ONLY`. MatchMode pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The list of all languages supported by this agent (except for the defaultLanguageCode). SupportedLanguageCodes pulumi.StringArrayInput // The agent tier. If not specified, TIER_STANDARD is assumed. // * TIER_STANDARD: Standard tier. // * TIER_ENTERPRISE: Enterprise tier (Essentials). // * TIER_ENTERPRISE_PLUS: Enterprise tier (Plus). // NOTE: Due to consistency issues, the provider will not read this field from the API. Drift is possible between // the the provider state and Dialogflow if the agent tier is changed outside of the provider. Tier pulumi.StringPtrInput // The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, // Europe/Paris. TimeZone pulumi.StringInput }
The set of arguments for constructing a Agent resource.
func (AgentArgs) ElementType ¶
type AgentArray ¶
type AgentArray []AgentInput
func (AgentArray) ElementType ¶
func (AgentArray) ElementType() reflect.Type
func (AgentArray) ToAgentArrayOutput ¶
func (i AgentArray) ToAgentArrayOutput() AgentArrayOutput
func (AgentArray) ToAgentArrayOutputWithContext ¶
func (i AgentArray) ToAgentArrayOutputWithContext(ctx context.Context) AgentArrayOutput
type AgentArrayInput ¶
type AgentArrayInput interface { pulumi.Input ToAgentArrayOutput() AgentArrayOutput ToAgentArrayOutputWithContext(context.Context) AgentArrayOutput }
AgentArrayInput is an input type that accepts AgentArray and AgentArrayOutput values. You can construct a concrete instance of `AgentArrayInput` via:
AgentArray{ AgentArgs{...} }
type AgentArrayOutput ¶
type AgentArrayOutput struct{ *pulumi.OutputState }
func (AgentArrayOutput) ElementType ¶
func (AgentArrayOutput) ElementType() reflect.Type
func (AgentArrayOutput) Index ¶
func (o AgentArrayOutput) Index(i pulumi.IntInput) AgentOutput
func (AgentArrayOutput) ToAgentArrayOutput ¶
func (o AgentArrayOutput) ToAgentArrayOutput() AgentArrayOutput
func (AgentArrayOutput) ToAgentArrayOutputWithContext ¶
func (o AgentArrayOutput) ToAgentArrayOutputWithContext(ctx context.Context) AgentArrayOutput
type AgentInput ¶
type AgentInput interface { pulumi.Input ToAgentOutput() AgentOutput ToAgentOutputWithContext(ctx context.Context) AgentOutput }
type AgentMap ¶
type AgentMap map[string]AgentInput
func (AgentMap) ElementType ¶
func (AgentMap) ToAgentMapOutput ¶
func (i AgentMap) ToAgentMapOutput() AgentMapOutput
func (AgentMap) ToAgentMapOutputWithContext ¶
func (i AgentMap) ToAgentMapOutputWithContext(ctx context.Context) AgentMapOutput
type AgentMapInput ¶
type AgentMapInput interface { pulumi.Input ToAgentMapOutput() AgentMapOutput ToAgentMapOutputWithContext(context.Context) AgentMapOutput }
AgentMapInput is an input type that accepts AgentMap and AgentMapOutput values. You can construct a concrete instance of `AgentMapInput` via:
AgentMap{ "key": AgentArgs{...} }
type AgentMapOutput ¶
type AgentMapOutput struct{ *pulumi.OutputState }
func (AgentMapOutput) ElementType ¶
func (AgentMapOutput) ElementType() reflect.Type
func (AgentMapOutput) MapIndex ¶
func (o AgentMapOutput) MapIndex(k pulumi.StringInput) AgentOutput
func (AgentMapOutput) ToAgentMapOutput ¶
func (o AgentMapOutput) ToAgentMapOutput() AgentMapOutput
func (AgentMapOutput) ToAgentMapOutputWithContext ¶
func (o AgentMapOutput) ToAgentMapOutputWithContext(ctx context.Context) AgentMapOutput
type AgentOutput ¶
type AgentOutput struct{ *pulumi.OutputState }
func (AgentOutput) ElementType ¶
func (AgentOutput) ElementType() reflect.Type
func (AgentOutput) ToAgentOutput ¶
func (o AgentOutput) ToAgentOutput() AgentOutput
func (AgentOutput) ToAgentOutputWithContext ¶
func (o AgentOutput) ToAgentOutputWithContext(ctx context.Context) AgentOutput
type AgentState ¶
type AgentState struct { // API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query // different service endpoints for different API versions. However, bots connectors and webhook calls will follow // the specified API version. // * API_VERSION_V1: Legacy V1 API. // * API_VERSION_V2: V2 API. // * API_VERSION_V2_BETA_1: V2beta1 API. // Possible values are `API_VERSION_V1`, `API_VERSION_V2`, and `API_VERSION_V2_BETA_1`. ApiVersion pulumi.StringPtrInput // The URI of the agent's avatar, which are used throughout the Dialogflow console. When an image URL is entered // into this field, the Dialogflow will save the image in the backend. The address of the backend image returned // from the API will be shown in the [avatarUriBackend] field. AvatarUri pulumi.StringPtrInput // The URI of the agent's avatar as returned from the API. Output only. To provide an image URL for the agent avatar, the // [avatarUri] field can be used. AvatarUriBackend pulumi.StringPtrInput // To filter out false positive results and still get variety in matched natural language inputs for your agent, // you can tune the machine learning classification threshold. If the returned score value is less than the threshold // value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be // triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the // default of 0.3 is used. ClassificationThreshold pulumi.Float64PtrInput // The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. This field cannot be updated after creation. DefaultLanguageCode pulumi.StringPtrInput // The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The name of this agent. DisplayName pulumi.StringPtrInput // Determines whether this agent should log conversation queries. EnableLogging pulumi.BoolPtrInput // Determines how intents are detected from user queries. // * MATCH_MODE_HYBRID: Best for agents with a small number of examples in intents and/or wide use of templates // syntax and composite entities. // * MATCH_MODE_ML_ONLY: Can be used for agents with a large number of examples in intents, especially the ones // using @sys.any or very large developer entities. // Possible values are `MATCH_MODE_HYBRID` and `MATCH_MODE_ML_ONLY`. MatchMode pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The list of all languages supported by this agent (except for the defaultLanguageCode). SupportedLanguageCodes pulumi.StringArrayInput // The agent tier. If not specified, TIER_STANDARD is assumed. // * TIER_STANDARD: Standard tier. // * TIER_ENTERPRISE: Enterprise tier (Essentials). // * TIER_ENTERPRISE_PLUS: Enterprise tier (Plus). // NOTE: Due to consistency issues, the provider will not read this field from the API. Drift is possible between // the the provider state and Dialogflow if the agent tier is changed outside of the provider. Tier pulumi.StringPtrInput // The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, // Europe/Paris. TimeZone pulumi.StringPtrInput }
func (AgentState) ElementType ¶
func (AgentState) ElementType() reflect.Type
type CxAgent ¶
type CxAgent struct { pulumi.CustomResourceState // The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration. AvatarUri pulumi.StringPtrOutput `pulumi:"avatarUri"` // The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) // for a list of the currently supported language codes. This field cannot be updated after creation. DefaultLanguageCode pulumi.StringOutput `pulumi:"defaultLanguageCode"` // The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrOutput `pulumi:"description"` // The human-readable name of the agent, unique within the location. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Indicates if automatic spell correction is enabled in detect intent requests. EnableSpellCorrection pulumi.BoolPtrOutput `pulumi:"enableSpellCorrection"` // Determines whether this agent should log conversation queries. EnableStackdriverLogging pulumi.BoolPtrOutput `pulumi:"enableStackdriverLogging"` // The name of the location this agent is located in. // > **Note:** The first time you are deploying an Agent in your project you must configure location settings. // This is a one time step but at the moment you can only [configure location settings](https://cloud.google.com/dialogflow/cx/docs/concept/region#location-settings) via the Dialogflow CX console. // Another options is to use global location so you don't need to manually configure location settings. Location pulumi.StringOutput `pulumi:"location"` // The unique identifier of the agent. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>. SecuritySettings pulumi.StringPtrOutput `pulumi:"securitySettings"` // Settings related to speech recognition. // Structure is documented below. SpeechToTextSettings CxAgentSpeechToTextSettingsPtrOutput `pulumi:"speechToTextSettings"` // Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only // be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow // ID>. StartFlow pulumi.StringOutput `pulumi:"startFlow"` // The list of all languages supported by this agent (except for the default_language_code). SupportedLanguageCodes pulumi.StringArrayOutput `pulumi:"supportedLanguageCodes"` // The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, // Europe/Paris. TimeZone pulumi.StringOutput `pulumi:"timeZone"` }
Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.
To get more information about Agent, see:
* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
## Example Usage ### Dialogflowcx Agent Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := diagflow.NewCxAgent(ctx, "fullAgent", &diagflow.CxAgentArgs{ AvatarUri: pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"), DefaultLanguageCode: pulumi.String("en"), Description: pulumi.String("Example description."), DisplayName: pulumi.String("dialogflowcx-agent"), EnableSpellCorrection: pulumi.Bool(true), EnableStackdriverLogging: pulumi.Bool(true), Location: pulumi.String("global"), SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{ EnableSpeechAdaptation: pulumi.Bool(true), }, SupportedLanguageCodes: pulumi.StringArray{ pulumi.String("fr"), pulumi.String("de"), pulumi.String("es"), }, TimeZone: pulumi.String("America/New_York"), }) if err != nil { return err } return nil }) }
```
## Import
Agent can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/cxAgent:CxAgent default projects/{{project}}/locations/{{location}}/agents/{{name}}
```
```sh
$ pulumi import gcp:diagflow/cxAgent:CxAgent default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:diagflow/cxAgent:CxAgent default {{location}}/{{name}}
```
func GetCxAgent ¶
func GetCxAgent(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CxAgentState, opts ...pulumi.ResourceOption) (*CxAgent, error)
GetCxAgent gets an existing CxAgent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCxAgent ¶
func NewCxAgent(ctx *pulumi.Context, name string, args *CxAgentArgs, opts ...pulumi.ResourceOption) (*CxAgent, error)
NewCxAgent registers a new resource with the given unique name, arguments, and options.
func (*CxAgent) ElementType ¶
func (*CxAgent) ToCxAgentOutput ¶
func (i *CxAgent) ToCxAgentOutput() CxAgentOutput
func (*CxAgent) ToCxAgentOutputWithContext ¶
func (i *CxAgent) ToCxAgentOutputWithContext(ctx context.Context) CxAgentOutput
type CxAgentArgs ¶
type CxAgentArgs struct { // The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration. AvatarUri pulumi.StringPtrInput // The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) // for a list of the currently supported language codes. This field cannot be updated after creation. DefaultLanguageCode pulumi.StringInput // The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The human-readable name of the agent, unique within the location. DisplayName pulumi.StringInput // Indicates if automatic spell correction is enabled in detect intent requests. EnableSpellCorrection pulumi.BoolPtrInput // Determines whether this agent should log conversation queries. EnableStackdriverLogging pulumi.BoolPtrInput // The name of the location this agent is located in. // > **Note:** The first time you are deploying an Agent in your project you must configure location settings. // This is a one time step but at the moment you can only [configure location settings](https://cloud.google.com/dialogflow/cx/docs/concept/region#location-settings) via the Dialogflow CX console. // Another options is to use global location so you don't need to manually configure location settings. Location pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>. SecuritySettings pulumi.StringPtrInput // Settings related to speech recognition. // Structure is documented below. SpeechToTextSettings CxAgentSpeechToTextSettingsPtrInput // The list of all languages supported by this agent (except for the default_language_code). SupportedLanguageCodes pulumi.StringArrayInput // The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, // Europe/Paris. TimeZone pulumi.StringInput }
The set of arguments for constructing a CxAgent resource.
func (CxAgentArgs) ElementType ¶
func (CxAgentArgs) ElementType() reflect.Type
type CxAgentArray ¶
type CxAgentArray []CxAgentInput
func (CxAgentArray) ElementType ¶
func (CxAgentArray) ElementType() reflect.Type
func (CxAgentArray) ToCxAgentArrayOutput ¶
func (i CxAgentArray) ToCxAgentArrayOutput() CxAgentArrayOutput
func (CxAgentArray) ToCxAgentArrayOutputWithContext ¶
func (i CxAgentArray) ToCxAgentArrayOutputWithContext(ctx context.Context) CxAgentArrayOutput
type CxAgentArrayInput ¶
type CxAgentArrayInput interface { pulumi.Input ToCxAgentArrayOutput() CxAgentArrayOutput ToCxAgentArrayOutputWithContext(context.Context) CxAgentArrayOutput }
CxAgentArrayInput is an input type that accepts CxAgentArray and CxAgentArrayOutput values. You can construct a concrete instance of `CxAgentArrayInput` via:
CxAgentArray{ CxAgentArgs{...} }
type CxAgentArrayOutput ¶
type CxAgentArrayOutput struct{ *pulumi.OutputState }
func (CxAgentArrayOutput) ElementType ¶
func (CxAgentArrayOutput) ElementType() reflect.Type
func (CxAgentArrayOutput) Index ¶
func (o CxAgentArrayOutput) Index(i pulumi.IntInput) CxAgentOutput
func (CxAgentArrayOutput) ToCxAgentArrayOutput ¶
func (o CxAgentArrayOutput) ToCxAgentArrayOutput() CxAgentArrayOutput
func (CxAgentArrayOutput) ToCxAgentArrayOutputWithContext ¶
func (o CxAgentArrayOutput) ToCxAgentArrayOutputWithContext(ctx context.Context) CxAgentArrayOutput
type CxAgentInput ¶
type CxAgentInput interface { pulumi.Input ToCxAgentOutput() CxAgentOutput ToCxAgentOutputWithContext(ctx context.Context) CxAgentOutput }
type CxAgentMap ¶
type CxAgentMap map[string]CxAgentInput
func (CxAgentMap) ElementType ¶
func (CxAgentMap) ElementType() reflect.Type
func (CxAgentMap) ToCxAgentMapOutput ¶
func (i CxAgentMap) ToCxAgentMapOutput() CxAgentMapOutput
func (CxAgentMap) ToCxAgentMapOutputWithContext ¶
func (i CxAgentMap) ToCxAgentMapOutputWithContext(ctx context.Context) CxAgentMapOutput
type CxAgentMapInput ¶
type CxAgentMapInput interface { pulumi.Input ToCxAgentMapOutput() CxAgentMapOutput ToCxAgentMapOutputWithContext(context.Context) CxAgentMapOutput }
CxAgentMapInput is an input type that accepts CxAgentMap and CxAgentMapOutput values. You can construct a concrete instance of `CxAgentMapInput` via:
CxAgentMap{ "key": CxAgentArgs{...} }
type CxAgentMapOutput ¶
type CxAgentMapOutput struct{ *pulumi.OutputState }
func (CxAgentMapOutput) ElementType ¶
func (CxAgentMapOutput) ElementType() reflect.Type
func (CxAgentMapOutput) MapIndex ¶
func (o CxAgentMapOutput) MapIndex(k pulumi.StringInput) CxAgentOutput
func (CxAgentMapOutput) ToCxAgentMapOutput ¶
func (o CxAgentMapOutput) ToCxAgentMapOutput() CxAgentMapOutput
func (CxAgentMapOutput) ToCxAgentMapOutputWithContext ¶
func (o CxAgentMapOutput) ToCxAgentMapOutputWithContext(ctx context.Context) CxAgentMapOutput
type CxAgentOutput ¶
type CxAgentOutput struct{ *pulumi.OutputState }
func (CxAgentOutput) ElementType ¶
func (CxAgentOutput) ElementType() reflect.Type
func (CxAgentOutput) ToCxAgentOutput ¶
func (o CxAgentOutput) ToCxAgentOutput() CxAgentOutput
func (CxAgentOutput) ToCxAgentOutputWithContext ¶
func (o CxAgentOutput) ToCxAgentOutputWithContext(ctx context.Context) CxAgentOutput
type CxAgentSpeechToTextSettings ¶
type CxAgentSpeechToTextSettings struct { // Whether to use speech adaptation for speech recognition. EnableSpeechAdaptation *bool `pulumi:"enableSpeechAdaptation"` }
type CxAgentSpeechToTextSettingsArgs ¶
type CxAgentSpeechToTextSettingsArgs struct { // Whether to use speech adaptation for speech recognition. EnableSpeechAdaptation pulumi.BoolPtrInput `pulumi:"enableSpeechAdaptation"` }
func (CxAgentSpeechToTextSettingsArgs) ElementType ¶
func (CxAgentSpeechToTextSettingsArgs) ElementType() reflect.Type
func (CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutput ¶
func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutput() CxAgentSpeechToTextSettingsOutput
func (CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutputWithContext ¶
func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsOutput
func (CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutput ¶
func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput
func (CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutputWithContext ¶
func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsPtrOutput
type CxAgentSpeechToTextSettingsInput ¶
type CxAgentSpeechToTextSettingsInput interface { pulumi.Input ToCxAgentSpeechToTextSettingsOutput() CxAgentSpeechToTextSettingsOutput ToCxAgentSpeechToTextSettingsOutputWithContext(context.Context) CxAgentSpeechToTextSettingsOutput }
CxAgentSpeechToTextSettingsInput is an input type that accepts CxAgentSpeechToTextSettingsArgs and CxAgentSpeechToTextSettingsOutput values. You can construct a concrete instance of `CxAgentSpeechToTextSettingsInput` via:
CxAgentSpeechToTextSettingsArgs{...}
type CxAgentSpeechToTextSettingsOutput ¶
type CxAgentSpeechToTextSettingsOutput struct{ *pulumi.OutputState }
func (CxAgentSpeechToTextSettingsOutput) ElementType ¶
func (CxAgentSpeechToTextSettingsOutput) ElementType() reflect.Type
func (CxAgentSpeechToTextSettingsOutput) EnableSpeechAdaptation ¶
func (o CxAgentSpeechToTextSettingsOutput) EnableSpeechAdaptation() pulumi.BoolPtrOutput
Whether to use speech adaptation for speech recognition.
func (CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutput ¶
func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutput() CxAgentSpeechToTextSettingsOutput
func (CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutputWithContext ¶
func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsOutput
func (CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutput ¶
func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput
func (CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext ¶
func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsPtrOutput
type CxAgentSpeechToTextSettingsPtrInput ¶
type CxAgentSpeechToTextSettingsPtrInput interface { pulumi.Input ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput ToCxAgentSpeechToTextSettingsPtrOutputWithContext(context.Context) CxAgentSpeechToTextSettingsPtrOutput }
CxAgentSpeechToTextSettingsPtrInput is an input type that accepts CxAgentSpeechToTextSettingsArgs, CxAgentSpeechToTextSettingsPtr and CxAgentSpeechToTextSettingsPtrOutput values. You can construct a concrete instance of `CxAgentSpeechToTextSettingsPtrInput` via:
CxAgentSpeechToTextSettingsArgs{...} or: nil
func CxAgentSpeechToTextSettingsPtr ¶
func CxAgentSpeechToTextSettingsPtr(v *CxAgentSpeechToTextSettingsArgs) CxAgentSpeechToTextSettingsPtrInput
type CxAgentSpeechToTextSettingsPtrOutput ¶
type CxAgentSpeechToTextSettingsPtrOutput struct{ *pulumi.OutputState }
func (CxAgentSpeechToTextSettingsPtrOutput) ElementType ¶
func (CxAgentSpeechToTextSettingsPtrOutput) ElementType() reflect.Type
func (CxAgentSpeechToTextSettingsPtrOutput) EnableSpeechAdaptation ¶
func (o CxAgentSpeechToTextSettingsPtrOutput) EnableSpeechAdaptation() pulumi.BoolPtrOutput
Whether to use speech adaptation for speech recognition.
func (CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutput ¶
func (o CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput
func (CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext ¶
func (o CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsPtrOutput
type CxAgentState ¶
type CxAgentState struct { // The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration. AvatarUri pulumi.StringPtrInput // The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) // for a list of the currently supported language codes. This field cannot be updated after creation. DefaultLanguageCode pulumi.StringPtrInput // The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The human-readable name of the agent, unique within the location. DisplayName pulumi.StringPtrInput // Indicates if automatic spell correction is enabled in detect intent requests. EnableSpellCorrection pulumi.BoolPtrInput // Determines whether this agent should log conversation queries. EnableStackdriverLogging pulumi.BoolPtrInput // The name of the location this agent is located in. // > **Note:** The first time you are deploying an Agent in your project you must configure location settings. // This is a one time step but at the moment you can only [configure location settings](https://cloud.google.com/dialogflow/cx/docs/concept/region#location-settings) via the Dialogflow CX console. // Another options is to use global location so you don't need to manually configure location settings. Location pulumi.StringPtrInput // The unique identifier of the agent. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>. SecuritySettings pulumi.StringPtrInput // Settings related to speech recognition. // Structure is documented below. SpeechToTextSettings CxAgentSpeechToTextSettingsPtrInput // Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only // be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow // ID>. StartFlow pulumi.StringPtrInput // The list of all languages supported by this agent (except for the default_language_code). SupportedLanguageCodes pulumi.StringArrayInput // The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, // Europe/Paris. TimeZone pulumi.StringPtrInput }
func (CxAgentState) ElementType ¶
func (CxAgentState) ElementType() reflect.Type
type CxEntityType ¶
type CxEntityType struct { pulumi.CustomResourceState // Represents kinds of entities. // * AUTO_EXPANSION_MODE_UNSPECIFIED: Auto expansion disabled for the entity. // * AUTO_EXPANSION_MODE_DEFAULT: Allows an agent to recognize values that have not been explicitly listed in the entity. // Possible values are `AUTO_EXPANSION_MODE_DEFAULT` and `AUTO_EXPANSION_MODE_UNSPECIFIED`. AutoExpansionMode pulumi.StringPtrOutput `pulumi:"autoExpansionMode"` // The human-readable name of the entity type, unique within the agent. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Enables fuzzy entity extraction during classification. EnableFuzzyExtraction pulumi.BoolPtrOutput `pulumi:"enableFuzzyExtraction"` // The collection of entity entries associated with the entity type. // Structure is documented below. Entities CxEntityTypeEntityArrayOutput `pulumi:"entities"` // Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry giant(an adjective), you might consider adding giants(a noun) as an exclusion. // If the kind of entity type is KIND_MAP, then the phrases specified by entities and excluded phrases should be mutually exclusive. // Structure is documented below. ExcludedPhrases CxEntityTypeExcludedPhraseArrayOutput `pulumi:"excludedPhrases"` // Indicates whether the entity type can be automatically expanded. // * KIND_MAP: Map entity types allow mapping of a group of synonyms to a canonical value. // * KIND_LIST: List entity types contain a set of entries that do not map to canonical values. However, list entity types can contain references to other entity types (with or without aliases). // * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values. // Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`. Kind pulumi.StringOutput `pulumi:"kind"` // The language of the following fields in entityType: // EntityType.entities.value // EntityType.entities.synonyms // EntityType.excluded_phrases.value // 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. LanguageCode pulumi.StringPtrOutput `pulumi:"languageCode"` // The unique identifier of the entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent // ID>/entityTypes/<Entity Type ID>. Name pulumi.StringOutput `pulumi:"name"` // The agent to create a entity type for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrOutput `pulumi:"parent"` // Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging. Redact pulumi.BoolPtrOutput `pulumi:"redact"` }
Entities are extracted from user input and represent parameters that are meaningful to your application. For example, a date range, a proper name such as a geographic location or landmark, and so on. Entities represent actionable data for your application.
To get more information about EntityType, see:
* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.entityTypes) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
## Example Usage ### Dialogflowcx Entity Type Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{ DisplayName: pulumi.String("dialogflowcx-agent"), Location: pulumi.String("global"), DefaultLanguageCode: pulumi.String("en"), SupportedLanguageCodes: pulumi.StringArray{ pulumi.String("fr"), pulumi.String("de"), pulumi.String("es"), }, TimeZone: pulumi.String("America/New_York"), Description: pulumi.String("Example description."), AvatarUri: pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"), EnableStackdriverLogging: pulumi.Bool(true), EnableSpellCorrection: pulumi.Bool(true), SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{ EnableSpeechAdaptation: pulumi.Bool(true), }, }) if err != nil { return err } _, err = diagflow.NewCxEntityType(ctx, "basicEntityType", &diagflow.CxEntityTypeArgs{ Parent: agent.ID(), DisplayName: pulumi.String("MyEntity"), Kind: pulumi.String("KIND_MAP"), Entities: diagflow.CxEntityTypeEntityArray{ &diagflow.CxEntityTypeEntityArgs{ Value: pulumi.String("value1"), Synonyms: pulumi.StringArray{ pulumi.String("synonym1"), pulumi.String("synonym2"), }, }, &diagflow.CxEntityTypeEntityArgs{ Value: pulumi.String("value2"), Synonyms: pulumi.StringArray{ pulumi.String("synonym3"), pulumi.String("synonym4"), }, }, }, EnableFuzzyExtraction: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
EntityType can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/cxEntityType:CxEntityType default {{parent}}/entityTypes/{{name}}
```
```sh
$ pulumi import gcp:diagflow/cxEntityType:CxEntityType default {{parent}}/{{name}}
```
func GetCxEntityType ¶
func GetCxEntityType(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CxEntityTypeState, opts ...pulumi.ResourceOption) (*CxEntityType, error)
GetCxEntityType gets an existing CxEntityType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCxEntityType ¶
func NewCxEntityType(ctx *pulumi.Context, name string, args *CxEntityTypeArgs, opts ...pulumi.ResourceOption) (*CxEntityType, error)
NewCxEntityType registers a new resource with the given unique name, arguments, and options.
func (*CxEntityType) ElementType ¶
func (*CxEntityType) ElementType() reflect.Type
func (*CxEntityType) ToCxEntityTypeOutput ¶
func (i *CxEntityType) ToCxEntityTypeOutput() CxEntityTypeOutput
func (*CxEntityType) ToCxEntityTypeOutputWithContext ¶
func (i *CxEntityType) ToCxEntityTypeOutputWithContext(ctx context.Context) CxEntityTypeOutput
type CxEntityTypeArgs ¶
type CxEntityTypeArgs struct { // Represents kinds of entities. // * AUTO_EXPANSION_MODE_UNSPECIFIED: Auto expansion disabled for the entity. // * AUTO_EXPANSION_MODE_DEFAULT: Allows an agent to recognize values that have not been explicitly listed in the entity. // Possible values are `AUTO_EXPANSION_MODE_DEFAULT` and `AUTO_EXPANSION_MODE_UNSPECIFIED`. AutoExpansionMode pulumi.StringPtrInput // The human-readable name of the entity type, unique within the agent. DisplayName pulumi.StringInput // Enables fuzzy entity extraction during classification. EnableFuzzyExtraction pulumi.BoolPtrInput // The collection of entity entries associated with the entity type. // Structure is documented below. Entities CxEntityTypeEntityArrayInput // Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry giant(an adjective), you might consider adding giants(a noun) as an exclusion. // If the kind of entity type is KIND_MAP, then the phrases specified by entities and excluded phrases should be mutually exclusive. // Structure is documented below. ExcludedPhrases CxEntityTypeExcludedPhraseArrayInput // Indicates whether the entity type can be automatically expanded. // * KIND_MAP: Map entity types allow mapping of a group of synonyms to a canonical value. // * KIND_LIST: List entity types contain a set of entries that do not map to canonical values. However, list entity types can contain references to other entity types (with or without aliases). // * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values. // Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`. Kind pulumi.StringInput // The language of the following fields in entityType: // EntityType.entities.value // EntityType.entities.synonyms // EntityType.excluded_phrases.value // 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. LanguageCode pulumi.StringPtrInput // The agent to create a entity type for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrInput // Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging. Redact pulumi.BoolPtrInput }
The set of arguments for constructing a CxEntityType resource.
func (CxEntityTypeArgs) ElementType ¶
func (CxEntityTypeArgs) ElementType() reflect.Type
type CxEntityTypeArray ¶
type CxEntityTypeArray []CxEntityTypeInput
func (CxEntityTypeArray) ElementType ¶
func (CxEntityTypeArray) ElementType() reflect.Type
func (CxEntityTypeArray) ToCxEntityTypeArrayOutput ¶
func (i CxEntityTypeArray) ToCxEntityTypeArrayOutput() CxEntityTypeArrayOutput
func (CxEntityTypeArray) ToCxEntityTypeArrayOutputWithContext ¶
func (i CxEntityTypeArray) ToCxEntityTypeArrayOutputWithContext(ctx context.Context) CxEntityTypeArrayOutput
type CxEntityTypeArrayInput ¶
type CxEntityTypeArrayInput interface { pulumi.Input ToCxEntityTypeArrayOutput() CxEntityTypeArrayOutput ToCxEntityTypeArrayOutputWithContext(context.Context) CxEntityTypeArrayOutput }
CxEntityTypeArrayInput is an input type that accepts CxEntityTypeArray and CxEntityTypeArrayOutput values. You can construct a concrete instance of `CxEntityTypeArrayInput` via:
CxEntityTypeArray{ CxEntityTypeArgs{...} }
type CxEntityTypeArrayOutput ¶
type CxEntityTypeArrayOutput struct{ *pulumi.OutputState }
func (CxEntityTypeArrayOutput) ElementType ¶
func (CxEntityTypeArrayOutput) ElementType() reflect.Type
func (CxEntityTypeArrayOutput) Index ¶
func (o CxEntityTypeArrayOutput) Index(i pulumi.IntInput) CxEntityTypeOutput
func (CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutput ¶
func (o CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutput() CxEntityTypeArrayOutput
func (CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutputWithContext ¶
func (o CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutputWithContext(ctx context.Context) CxEntityTypeArrayOutput
type CxEntityTypeEntity ¶
type CxEntityTypeEntity struct { // A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. // For KIND_LIST entity types: This collection must contain exactly one synonym equal to value. Synonyms []string `pulumi:"synonyms"` // The word or phrase to be excluded. Value *string `pulumi:"value"` }
type CxEntityTypeEntityArgs ¶
type CxEntityTypeEntityArgs struct { // A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. // For KIND_LIST entity types: This collection must contain exactly one synonym equal to value. Synonyms pulumi.StringArrayInput `pulumi:"synonyms"` // The word or phrase to be excluded. Value pulumi.StringPtrInput `pulumi:"value"` }
func (CxEntityTypeEntityArgs) ElementType ¶
func (CxEntityTypeEntityArgs) ElementType() reflect.Type
func (CxEntityTypeEntityArgs) ToCxEntityTypeEntityOutput ¶
func (i CxEntityTypeEntityArgs) ToCxEntityTypeEntityOutput() CxEntityTypeEntityOutput
func (CxEntityTypeEntityArgs) ToCxEntityTypeEntityOutputWithContext ¶
func (i CxEntityTypeEntityArgs) ToCxEntityTypeEntityOutputWithContext(ctx context.Context) CxEntityTypeEntityOutput
type CxEntityTypeEntityArray ¶
type CxEntityTypeEntityArray []CxEntityTypeEntityInput
func (CxEntityTypeEntityArray) ElementType ¶
func (CxEntityTypeEntityArray) ElementType() reflect.Type
func (CxEntityTypeEntityArray) ToCxEntityTypeEntityArrayOutput ¶
func (i CxEntityTypeEntityArray) ToCxEntityTypeEntityArrayOutput() CxEntityTypeEntityArrayOutput
func (CxEntityTypeEntityArray) ToCxEntityTypeEntityArrayOutputWithContext ¶
func (i CxEntityTypeEntityArray) ToCxEntityTypeEntityArrayOutputWithContext(ctx context.Context) CxEntityTypeEntityArrayOutput
type CxEntityTypeEntityArrayInput ¶
type CxEntityTypeEntityArrayInput interface { pulumi.Input ToCxEntityTypeEntityArrayOutput() CxEntityTypeEntityArrayOutput ToCxEntityTypeEntityArrayOutputWithContext(context.Context) CxEntityTypeEntityArrayOutput }
CxEntityTypeEntityArrayInput is an input type that accepts CxEntityTypeEntityArray and CxEntityTypeEntityArrayOutput values. You can construct a concrete instance of `CxEntityTypeEntityArrayInput` via:
CxEntityTypeEntityArray{ CxEntityTypeEntityArgs{...} }
type CxEntityTypeEntityArrayOutput ¶
type CxEntityTypeEntityArrayOutput struct{ *pulumi.OutputState }
func (CxEntityTypeEntityArrayOutput) ElementType ¶
func (CxEntityTypeEntityArrayOutput) ElementType() reflect.Type
func (CxEntityTypeEntityArrayOutput) Index ¶
func (o CxEntityTypeEntityArrayOutput) Index(i pulumi.IntInput) CxEntityTypeEntityOutput
func (CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutput ¶
func (o CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutput() CxEntityTypeEntityArrayOutput
func (CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutputWithContext ¶
func (o CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutputWithContext(ctx context.Context) CxEntityTypeEntityArrayOutput
type CxEntityTypeEntityInput ¶
type CxEntityTypeEntityInput interface { pulumi.Input ToCxEntityTypeEntityOutput() CxEntityTypeEntityOutput ToCxEntityTypeEntityOutputWithContext(context.Context) CxEntityTypeEntityOutput }
CxEntityTypeEntityInput is an input type that accepts CxEntityTypeEntityArgs and CxEntityTypeEntityOutput values. You can construct a concrete instance of `CxEntityTypeEntityInput` via:
CxEntityTypeEntityArgs{...}
type CxEntityTypeEntityOutput ¶
type CxEntityTypeEntityOutput struct{ *pulumi.OutputState }
func (CxEntityTypeEntityOutput) ElementType ¶
func (CxEntityTypeEntityOutput) ElementType() reflect.Type
func (CxEntityTypeEntityOutput) Synonyms ¶
func (o CxEntityTypeEntityOutput) Synonyms() pulumi.StringArrayOutput
A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types: This collection must contain exactly one synonym equal to value.
func (CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutput ¶
func (o CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutput() CxEntityTypeEntityOutput
func (CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutputWithContext ¶
func (o CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutputWithContext(ctx context.Context) CxEntityTypeEntityOutput
func (CxEntityTypeEntityOutput) Value ¶
func (o CxEntityTypeEntityOutput) Value() pulumi.StringPtrOutput
The word or phrase to be excluded.
type CxEntityTypeExcludedPhrase ¶
type CxEntityTypeExcludedPhrase struct { // The word or phrase to be excluded. Value *string `pulumi:"value"` }
type CxEntityTypeExcludedPhraseArgs ¶
type CxEntityTypeExcludedPhraseArgs struct { // The word or phrase to be excluded. Value pulumi.StringPtrInput `pulumi:"value"` }
func (CxEntityTypeExcludedPhraseArgs) ElementType ¶
func (CxEntityTypeExcludedPhraseArgs) ElementType() reflect.Type
func (CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutput ¶
func (i CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutput() CxEntityTypeExcludedPhraseOutput
func (CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutputWithContext ¶
func (i CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseOutput
type CxEntityTypeExcludedPhraseArray ¶
type CxEntityTypeExcludedPhraseArray []CxEntityTypeExcludedPhraseInput
func (CxEntityTypeExcludedPhraseArray) ElementType ¶
func (CxEntityTypeExcludedPhraseArray) ElementType() reflect.Type
func (CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutput ¶
func (i CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutput() CxEntityTypeExcludedPhraseArrayOutput
func (CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutputWithContext ¶
func (i CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseArrayOutput
type CxEntityTypeExcludedPhraseArrayInput ¶
type CxEntityTypeExcludedPhraseArrayInput interface { pulumi.Input ToCxEntityTypeExcludedPhraseArrayOutput() CxEntityTypeExcludedPhraseArrayOutput ToCxEntityTypeExcludedPhraseArrayOutputWithContext(context.Context) CxEntityTypeExcludedPhraseArrayOutput }
CxEntityTypeExcludedPhraseArrayInput is an input type that accepts CxEntityTypeExcludedPhraseArray and CxEntityTypeExcludedPhraseArrayOutput values. You can construct a concrete instance of `CxEntityTypeExcludedPhraseArrayInput` via:
CxEntityTypeExcludedPhraseArray{ CxEntityTypeExcludedPhraseArgs{...} }
type CxEntityTypeExcludedPhraseArrayOutput ¶
type CxEntityTypeExcludedPhraseArrayOutput struct{ *pulumi.OutputState }
func (CxEntityTypeExcludedPhraseArrayOutput) ElementType ¶
func (CxEntityTypeExcludedPhraseArrayOutput) ElementType() reflect.Type
func (CxEntityTypeExcludedPhraseArrayOutput) Index ¶
func (o CxEntityTypeExcludedPhraseArrayOutput) Index(i pulumi.IntInput) CxEntityTypeExcludedPhraseOutput
func (CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutput ¶
func (o CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutput() CxEntityTypeExcludedPhraseArrayOutput
func (CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutputWithContext ¶
func (o CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseArrayOutput
type CxEntityTypeExcludedPhraseInput ¶
type CxEntityTypeExcludedPhraseInput interface { pulumi.Input ToCxEntityTypeExcludedPhraseOutput() CxEntityTypeExcludedPhraseOutput ToCxEntityTypeExcludedPhraseOutputWithContext(context.Context) CxEntityTypeExcludedPhraseOutput }
CxEntityTypeExcludedPhraseInput is an input type that accepts CxEntityTypeExcludedPhraseArgs and CxEntityTypeExcludedPhraseOutput values. You can construct a concrete instance of `CxEntityTypeExcludedPhraseInput` via:
CxEntityTypeExcludedPhraseArgs{...}
type CxEntityTypeExcludedPhraseOutput ¶
type CxEntityTypeExcludedPhraseOutput struct{ *pulumi.OutputState }
func (CxEntityTypeExcludedPhraseOutput) ElementType ¶
func (CxEntityTypeExcludedPhraseOutput) ElementType() reflect.Type
func (CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutput ¶
func (o CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutput() CxEntityTypeExcludedPhraseOutput
func (CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutputWithContext ¶
func (o CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseOutput
func (CxEntityTypeExcludedPhraseOutput) Value ¶
func (o CxEntityTypeExcludedPhraseOutput) Value() pulumi.StringPtrOutput
The word or phrase to be excluded.
type CxEntityTypeInput ¶
type CxEntityTypeInput interface { pulumi.Input ToCxEntityTypeOutput() CxEntityTypeOutput ToCxEntityTypeOutputWithContext(ctx context.Context) CxEntityTypeOutput }
type CxEntityTypeMap ¶
type CxEntityTypeMap map[string]CxEntityTypeInput
func (CxEntityTypeMap) ElementType ¶
func (CxEntityTypeMap) ElementType() reflect.Type
func (CxEntityTypeMap) ToCxEntityTypeMapOutput ¶
func (i CxEntityTypeMap) ToCxEntityTypeMapOutput() CxEntityTypeMapOutput
func (CxEntityTypeMap) ToCxEntityTypeMapOutputWithContext ¶
func (i CxEntityTypeMap) ToCxEntityTypeMapOutputWithContext(ctx context.Context) CxEntityTypeMapOutput
type CxEntityTypeMapInput ¶
type CxEntityTypeMapInput interface { pulumi.Input ToCxEntityTypeMapOutput() CxEntityTypeMapOutput ToCxEntityTypeMapOutputWithContext(context.Context) CxEntityTypeMapOutput }
CxEntityTypeMapInput is an input type that accepts CxEntityTypeMap and CxEntityTypeMapOutput values. You can construct a concrete instance of `CxEntityTypeMapInput` via:
CxEntityTypeMap{ "key": CxEntityTypeArgs{...} }
type CxEntityTypeMapOutput ¶
type CxEntityTypeMapOutput struct{ *pulumi.OutputState }
func (CxEntityTypeMapOutput) ElementType ¶
func (CxEntityTypeMapOutput) ElementType() reflect.Type
func (CxEntityTypeMapOutput) MapIndex ¶
func (o CxEntityTypeMapOutput) MapIndex(k pulumi.StringInput) CxEntityTypeOutput
func (CxEntityTypeMapOutput) ToCxEntityTypeMapOutput ¶
func (o CxEntityTypeMapOutput) ToCxEntityTypeMapOutput() CxEntityTypeMapOutput
func (CxEntityTypeMapOutput) ToCxEntityTypeMapOutputWithContext ¶
func (o CxEntityTypeMapOutput) ToCxEntityTypeMapOutputWithContext(ctx context.Context) CxEntityTypeMapOutput
type CxEntityTypeOutput ¶
type CxEntityTypeOutput struct{ *pulumi.OutputState }
func (CxEntityTypeOutput) ElementType ¶
func (CxEntityTypeOutput) ElementType() reflect.Type
func (CxEntityTypeOutput) ToCxEntityTypeOutput ¶
func (o CxEntityTypeOutput) ToCxEntityTypeOutput() CxEntityTypeOutput
func (CxEntityTypeOutput) ToCxEntityTypeOutputWithContext ¶
func (o CxEntityTypeOutput) ToCxEntityTypeOutputWithContext(ctx context.Context) CxEntityTypeOutput
type CxEntityTypeState ¶
type CxEntityTypeState struct { // Represents kinds of entities. // * AUTO_EXPANSION_MODE_UNSPECIFIED: Auto expansion disabled for the entity. // * AUTO_EXPANSION_MODE_DEFAULT: Allows an agent to recognize values that have not been explicitly listed in the entity. // Possible values are `AUTO_EXPANSION_MODE_DEFAULT` and `AUTO_EXPANSION_MODE_UNSPECIFIED`. AutoExpansionMode pulumi.StringPtrInput // The human-readable name of the entity type, unique within the agent. DisplayName pulumi.StringPtrInput // Enables fuzzy entity extraction during classification. EnableFuzzyExtraction pulumi.BoolPtrInput // The collection of entity entries associated with the entity type. // Structure is documented below. Entities CxEntityTypeEntityArrayInput // Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry giant(an adjective), you might consider adding giants(a noun) as an exclusion. // If the kind of entity type is KIND_MAP, then the phrases specified by entities and excluded phrases should be mutually exclusive. // Structure is documented below. ExcludedPhrases CxEntityTypeExcludedPhraseArrayInput // Indicates whether the entity type can be automatically expanded. // * KIND_MAP: Map entity types allow mapping of a group of synonyms to a canonical value. // * KIND_LIST: List entity types contain a set of entries that do not map to canonical values. However, list entity types can contain references to other entity types (with or without aliases). // * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values. // Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`. Kind pulumi.StringPtrInput // The language of the following fields in entityType: // EntityType.entities.value // EntityType.entities.synonyms // EntityType.excluded_phrases.value // 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. LanguageCode pulumi.StringPtrInput // The unique identifier of the entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent // ID>/entityTypes/<Entity Type ID>. Name pulumi.StringPtrInput // The agent to create a entity type for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrInput // Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging. Redact pulumi.BoolPtrInput }
func (CxEntityTypeState) ElementType ¶
func (CxEntityTypeState) ElementType() reflect.Type
type CxEnvironment ¶
type CxEnvironment struct { pulumi.CustomResourceState // The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrOutput `pulumi:"description"` // The human-readable name of the environment (unique in an agent). Limit of 64 characters. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The name of the environment. Name pulumi.StringOutput `pulumi:"name"` // The Agent to create an Environment for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrOutput `pulumi:"parent"` // Update time of this environment. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine // fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". UpdateTime pulumi.StringOutput `pulumi:"updateTime"` // A list of configurations for flow versions. You should include version configs for all flows that are reachable from [Start Flow][Agent.start_flow] in the agent. Otherwise, an error will be returned. // Structure is documented below. VersionConfigs CxEnvironmentVersionConfigArrayOutput `pulumi:"versionConfigs"` }
Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.
To get more information about Environment, see:
* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.environments) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
## Example Usage ### Dialogflowcx Environment Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{ DisplayName: pulumi.String("dialogflowcx-agent"), Location: pulumi.String("global"), DefaultLanguageCode: pulumi.String("en"), SupportedLanguageCodes: pulumi.StringArray{ pulumi.String("fr"), pulumi.String("de"), pulumi.String("es"), }, TimeZone: pulumi.String("America/New_York"), Description: pulumi.String("Example description."), AvatarUri: pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"), EnableStackdriverLogging: pulumi.Bool(true), EnableSpellCorrection: pulumi.Bool(true), SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{ EnableSpeechAdaptation: pulumi.Bool(true), }, }) if err != nil { return err } version1, err := diagflow.NewCxVersion(ctx, "version1", &diagflow.CxVersionArgs{ Parent: agent.StartFlow, DisplayName: pulumi.String("1.0.0"), Description: pulumi.String("version 1.0.0"), }) if err != nil { return err } _, err = diagflow.NewCxEnvironment(ctx, "development", &diagflow.CxEnvironmentArgs{ Parent: agent.ID(), DisplayName: pulumi.String("Development"), Description: pulumi.String("Development Environment"), VersionConfigs: diagflow.CxEnvironmentVersionConfigArray{ &diagflow.CxEnvironmentVersionConfigArgs{ Version: version1.ID(), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Environment can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/cxEnvironment:CxEnvironment default {{parent}}/environments/{{name}}
```
```sh
$ pulumi import gcp:diagflow/cxEnvironment:CxEnvironment default {{parent}}/{{name}}
```
func GetCxEnvironment ¶
func GetCxEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CxEnvironmentState, opts ...pulumi.ResourceOption) (*CxEnvironment, error)
GetCxEnvironment gets an existing CxEnvironment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCxEnvironment ¶
func NewCxEnvironment(ctx *pulumi.Context, name string, args *CxEnvironmentArgs, opts ...pulumi.ResourceOption) (*CxEnvironment, error)
NewCxEnvironment registers a new resource with the given unique name, arguments, and options.
func (*CxEnvironment) ElementType ¶
func (*CxEnvironment) ElementType() reflect.Type
func (*CxEnvironment) ToCxEnvironmentOutput ¶
func (i *CxEnvironment) ToCxEnvironmentOutput() CxEnvironmentOutput
func (*CxEnvironment) ToCxEnvironmentOutputWithContext ¶
func (i *CxEnvironment) ToCxEnvironmentOutputWithContext(ctx context.Context) CxEnvironmentOutput
type CxEnvironmentArgs ¶
type CxEnvironmentArgs struct { // The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The human-readable name of the environment (unique in an agent). Limit of 64 characters. DisplayName pulumi.StringInput // The Agent to create an Environment for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrInput // A list of configurations for flow versions. You should include version configs for all flows that are reachable from [Start Flow][Agent.start_flow] in the agent. Otherwise, an error will be returned. // Structure is documented below. VersionConfigs CxEnvironmentVersionConfigArrayInput }
The set of arguments for constructing a CxEnvironment resource.
func (CxEnvironmentArgs) ElementType ¶
func (CxEnvironmentArgs) ElementType() reflect.Type
type CxEnvironmentArray ¶
type CxEnvironmentArray []CxEnvironmentInput
func (CxEnvironmentArray) ElementType ¶
func (CxEnvironmentArray) ElementType() reflect.Type
func (CxEnvironmentArray) ToCxEnvironmentArrayOutput ¶
func (i CxEnvironmentArray) ToCxEnvironmentArrayOutput() CxEnvironmentArrayOutput
func (CxEnvironmentArray) ToCxEnvironmentArrayOutputWithContext ¶
func (i CxEnvironmentArray) ToCxEnvironmentArrayOutputWithContext(ctx context.Context) CxEnvironmentArrayOutput
type CxEnvironmentArrayInput ¶
type CxEnvironmentArrayInput interface { pulumi.Input ToCxEnvironmentArrayOutput() CxEnvironmentArrayOutput ToCxEnvironmentArrayOutputWithContext(context.Context) CxEnvironmentArrayOutput }
CxEnvironmentArrayInput is an input type that accepts CxEnvironmentArray and CxEnvironmentArrayOutput values. You can construct a concrete instance of `CxEnvironmentArrayInput` via:
CxEnvironmentArray{ CxEnvironmentArgs{...} }
type CxEnvironmentArrayOutput ¶
type CxEnvironmentArrayOutput struct{ *pulumi.OutputState }
func (CxEnvironmentArrayOutput) ElementType ¶
func (CxEnvironmentArrayOutput) ElementType() reflect.Type
func (CxEnvironmentArrayOutput) Index ¶
func (o CxEnvironmentArrayOutput) Index(i pulumi.IntInput) CxEnvironmentOutput
func (CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutput ¶
func (o CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutput() CxEnvironmentArrayOutput
func (CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutputWithContext ¶
func (o CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutputWithContext(ctx context.Context) CxEnvironmentArrayOutput
type CxEnvironmentInput ¶
type CxEnvironmentInput interface { pulumi.Input ToCxEnvironmentOutput() CxEnvironmentOutput ToCxEnvironmentOutputWithContext(ctx context.Context) CxEnvironmentOutput }
type CxEnvironmentMap ¶
type CxEnvironmentMap map[string]CxEnvironmentInput
func (CxEnvironmentMap) ElementType ¶
func (CxEnvironmentMap) ElementType() reflect.Type
func (CxEnvironmentMap) ToCxEnvironmentMapOutput ¶
func (i CxEnvironmentMap) ToCxEnvironmentMapOutput() CxEnvironmentMapOutput
func (CxEnvironmentMap) ToCxEnvironmentMapOutputWithContext ¶
func (i CxEnvironmentMap) ToCxEnvironmentMapOutputWithContext(ctx context.Context) CxEnvironmentMapOutput
type CxEnvironmentMapInput ¶
type CxEnvironmentMapInput interface { pulumi.Input ToCxEnvironmentMapOutput() CxEnvironmentMapOutput ToCxEnvironmentMapOutputWithContext(context.Context) CxEnvironmentMapOutput }
CxEnvironmentMapInput is an input type that accepts CxEnvironmentMap and CxEnvironmentMapOutput values. You can construct a concrete instance of `CxEnvironmentMapInput` via:
CxEnvironmentMap{ "key": CxEnvironmentArgs{...} }
type CxEnvironmentMapOutput ¶
type CxEnvironmentMapOutput struct{ *pulumi.OutputState }
func (CxEnvironmentMapOutput) ElementType ¶
func (CxEnvironmentMapOutput) ElementType() reflect.Type
func (CxEnvironmentMapOutput) MapIndex ¶
func (o CxEnvironmentMapOutput) MapIndex(k pulumi.StringInput) CxEnvironmentOutput
func (CxEnvironmentMapOutput) ToCxEnvironmentMapOutput ¶
func (o CxEnvironmentMapOutput) ToCxEnvironmentMapOutput() CxEnvironmentMapOutput
func (CxEnvironmentMapOutput) ToCxEnvironmentMapOutputWithContext ¶
func (o CxEnvironmentMapOutput) ToCxEnvironmentMapOutputWithContext(ctx context.Context) CxEnvironmentMapOutput
type CxEnvironmentOutput ¶
type CxEnvironmentOutput struct{ *pulumi.OutputState }
func (CxEnvironmentOutput) ElementType ¶
func (CxEnvironmentOutput) ElementType() reflect.Type
func (CxEnvironmentOutput) ToCxEnvironmentOutput ¶
func (o CxEnvironmentOutput) ToCxEnvironmentOutput() CxEnvironmentOutput
func (CxEnvironmentOutput) ToCxEnvironmentOutputWithContext ¶
func (o CxEnvironmentOutput) ToCxEnvironmentOutputWithContext(ctx context.Context) CxEnvironmentOutput
type CxEnvironmentState ¶
type CxEnvironmentState struct { // The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The human-readable name of the environment (unique in an agent). Limit of 64 characters. DisplayName pulumi.StringPtrInput // The name of the environment. Name pulumi.StringPtrInput // The Agent to create an Environment for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrInput // Update time of this environment. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine // fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". UpdateTime pulumi.StringPtrInput // A list of configurations for flow versions. You should include version configs for all flows that are reachable from [Start Flow][Agent.start_flow] in the agent. Otherwise, an error will be returned. // Structure is documented below. VersionConfigs CxEnvironmentVersionConfigArrayInput }
func (CxEnvironmentState) ElementType ¶
func (CxEnvironmentState) ElementType() reflect.Type
type CxEnvironmentVersionConfig ¶
type CxEnvironmentVersionConfig struct { // Format: projects/{{project}}/locations/{{location}}/agents/{{agent}}/flows/{{flow}}/versions/{{version}}. Version string `pulumi:"version"` }
type CxEnvironmentVersionConfigArgs ¶
type CxEnvironmentVersionConfigArgs struct { // Format: projects/{{project}}/locations/{{location}}/agents/{{agent}}/flows/{{flow}}/versions/{{version}}. Version pulumi.StringInput `pulumi:"version"` }
func (CxEnvironmentVersionConfigArgs) ElementType ¶
func (CxEnvironmentVersionConfigArgs) ElementType() reflect.Type
func (CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutput ¶
func (i CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutput() CxEnvironmentVersionConfigOutput
func (CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutputWithContext ¶
func (i CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigOutput
type CxEnvironmentVersionConfigArray ¶
type CxEnvironmentVersionConfigArray []CxEnvironmentVersionConfigInput
func (CxEnvironmentVersionConfigArray) ElementType ¶
func (CxEnvironmentVersionConfigArray) ElementType() reflect.Type
func (CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutput ¶
func (i CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutput() CxEnvironmentVersionConfigArrayOutput
func (CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutputWithContext ¶
func (i CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigArrayOutput
type CxEnvironmentVersionConfigArrayInput ¶
type CxEnvironmentVersionConfigArrayInput interface { pulumi.Input ToCxEnvironmentVersionConfigArrayOutput() CxEnvironmentVersionConfigArrayOutput ToCxEnvironmentVersionConfigArrayOutputWithContext(context.Context) CxEnvironmentVersionConfigArrayOutput }
CxEnvironmentVersionConfigArrayInput is an input type that accepts CxEnvironmentVersionConfigArray and CxEnvironmentVersionConfigArrayOutput values. You can construct a concrete instance of `CxEnvironmentVersionConfigArrayInput` via:
CxEnvironmentVersionConfigArray{ CxEnvironmentVersionConfigArgs{...} }
type CxEnvironmentVersionConfigArrayOutput ¶
type CxEnvironmentVersionConfigArrayOutput struct{ *pulumi.OutputState }
func (CxEnvironmentVersionConfigArrayOutput) ElementType ¶
func (CxEnvironmentVersionConfigArrayOutput) ElementType() reflect.Type
func (CxEnvironmentVersionConfigArrayOutput) Index ¶
func (o CxEnvironmentVersionConfigArrayOutput) Index(i pulumi.IntInput) CxEnvironmentVersionConfigOutput
func (CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutput ¶
func (o CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutput() CxEnvironmentVersionConfigArrayOutput
func (CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutputWithContext ¶
func (o CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigArrayOutput
type CxEnvironmentVersionConfigInput ¶
type CxEnvironmentVersionConfigInput interface { pulumi.Input ToCxEnvironmentVersionConfigOutput() CxEnvironmentVersionConfigOutput ToCxEnvironmentVersionConfigOutputWithContext(context.Context) CxEnvironmentVersionConfigOutput }
CxEnvironmentVersionConfigInput is an input type that accepts CxEnvironmentVersionConfigArgs and CxEnvironmentVersionConfigOutput values. You can construct a concrete instance of `CxEnvironmentVersionConfigInput` via:
CxEnvironmentVersionConfigArgs{...}
type CxEnvironmentVersionConfigOutput ¶
type CxEnvironmentVersionConfigOutput struct{ *pulumi.OutputState }
func (CxEnvironmentVersionConfigOutput) ElementType ¶
func (CxEnvironmentVersionConfigOutput) ElementType() reflect.Type
func (CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutput ¶
func (o CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutput() CxEnvironmentVersionConfigOutput
func (CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutputWithContext ¶
func (o CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigOutput
func (CxEnvironmentVersionConfigOutput) Version ¶
func (o CxEnvironmentVersionConfigOutput) Version() pulumi.StringOutput
Format: projects/{{project}}/locations/{{location}}/agents/{{agent}}/flows/{{flow}}/versions/{{version}}.
type CxFlow ¶
type CxFlow struct { pulumi.CustomResourceState // The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrOutput `pulumi:"description"` // The human-readable name of the flow. DisplayName pulumi.StringOutput `pulumi:"displayName"` // A flow's event handlers serve two purposes: // They are responsible for handling events (e.g. no match, webhook errors) in the flow. // They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. // Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. // Structure is documented below. EventHandlers CxFlowEventHandlerArrayOutput `pulumi:"eventHandlers"` // 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. LanguageCode pulumi.StringPtrOutput `pulumi:"languageCode"` // - // The unique identifier of this event handler. Name pulumi.StringOutput `pulumi:"name"` // NLU related settings of the flow. // Structure is documented below. NluSettings CxFlowNluSettingsPtrOutput `pulumi:"nluSettings"` // The agent to create a flow for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrOutput `pulumi:"parent"` // 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>. TransitionRouteGroups pulumi.StringArrayOutput `pulumi:"transitionRouteGroups"` // A flow's transition routes serve two purposes: // They are responsible for matching the user's first utterances in the flow. // They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes CxFlowTransitionRouteArrayOutput `pulumi:"transitionRoutes"` }
Flows represents the conversation flows when you build your chatbot agent.
To get more information about Flow, see:
* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
## Example Usage ### Dialogflowcx Flow Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{ DisplayName: pulumi.String("dialogflowcx-agent"), Location: pulumi.String("global"), DefaultLanguageCode: pulumi.String("en"), SupportedLanguageCodes: pulumi.StringArray{ pulumi.String("fr"), pulumi.String("de"), pulumi.String("es"), }, TimeZone: pulumi.String("America/New_York"), Description: pulumi.String("Example description."), AvatarUri: pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"), EnableStackdriverLogging: pulumi.Bool(true), EnableSpellCorrection: pulumi.Bool(true), SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{ EnableSpeechAdaptation: pulumi.Bool(true), }, }) if err != nil { return err } _, err = diagflow.NewCxFlow(ctx, "basicFlow", &diagflow.CxFlowArgs{ Parent: agent.ID(), DisplayName: pulumi.String("MyFlow"), Description: pulumi.String("Test Flow"), NluSettings: &diagflow.CxFlowNluSettingsArgs{ ClassificationThreshold: pulumi.Float64(0.3), ModelType: pulumi.String("MODEL_TYPE_STANDARD"), }, EventHandlers: diagflow.CxFlowEventHandlerArray{ &diagflow.CxFlowEventHandlerArgs{ Event: pulumi.String("custom-event"), TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{ ReturnPartialResponses: pulumi.Bool(false), Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{ &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{ Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{ Texts: pulumi.StringArray{ pulumi.String("I didn't get that. Can you say it again?"), }, }, }, }, }, }, &diagflow.CxFlowEventHandlerArgs{ Event: pulumi.String("sys.no-match-default"), TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{ ReturnPartialResponses: pulumi.Bool(false), Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{ &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{ Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{ Texts: pulumi.StringArray{ pulumi.String("Sorry, could you say that again?"), }, }, }, }, }, }, &diagflow.CxFlowEventHandlerArgs{ Event: pulumi.String("sys.no-input-default"), TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{ ReturnPartialResponses: pulumi.Bool(false), Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{ &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{ Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{ Texts: pulumi.StringArray{ pulumi.String("One more time?"), }, }, }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Flow can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/cxFlow:CxFlow default {{parent}}/flows/{{name}}
```
```sh
$ pulumi import gcp:diagflow/cxFlow:CxFlow default {{parent}}/{{name}}
```
func GetCxFlow ¶
func GetCxFlow(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CxFlowState, opts ...pulumi.ResourceOption) (*CxFlow, error)
GetCxFlow gets an existing CxFlow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCxFlow ¶
func NewCxFlow(ctx *pulumi.Context, name string, args *CxFlowArgs, opts ...pulumi.ResourceOption) (*CxFlow, error)
NewCxFlow registers a new resource with the given unique name, arguments, and options.
func (*CxFlow) ElementType ¶
func (*CxFlow) ToCxFlowOutput ¶
func (i *CxFlow) ToCxFlowOutput() CxFlowOutput
func (*CxFlow) ToCxFlowOutputWithContext ¶
func (i *CxFlow) ToCxFlowOutputWithContext(ctx context.Context) CxFlowOutput
type CxFlowArgs ¶
type CxFlowArgs struct { // The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The human-readable name of the flow. DisplayName pulumi.StringInput // A flow's event handlers serve two purposes: // They are responsible for handling events (e.g. no match, webhook errors) in the flow. // They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. // Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. // Structure is documented below. EventHandlers CxFlowEventHandlerArrayInput // 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. LanguageCode pulumi.StringPtrInput // NLU related settings of the flow. // Structure is documented below. NluSettings CxFlowNluSettingsPtrInput // The agent to create a flow for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrInput // 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>. TransitionRouteGroups pulumi.StringArrayInput // A flow's transition routes serve two purposes: // They are responsible for matching the user's first utterances in the flow. // They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes CxFlowTransitionRouteArrayInput }
The set of arguments for constructing a CxFlow resource.
func (CxFlowArgs) ElementType ¶
func (CxFlowArgs) ElementType() reflect.Type
type CxFlowArray ¶
type CxFlowArray []CxFlowInput
func (CxFlowArray) ElementType ¶
func (CxFlowArray) ElementType() reflect.Type
func (CxFlowArray) ToCxFlowArrayOutput ¶
func (i CxFlowArray) ToCxFlowArrayOutput() CxFlowArrayOutput
func (CxFlowArray) ToCxFlowArrayOutputWithContext ¶
func (i CxFlowArray) ToCxFlowArrayOutputWithContext(ctx context.Context) CxFlowArrayOutput
type CxFlowArrayInput ¶
type CxFlowArrayInput interface { pulumi.Input ToCxFlowArrayOutput() CxFlowArrayOutput ToCxFlowArrayOutputWithContext(context.Context) CxFlowArrayOutput }
CxFlowArrayInput is an input type that accepts CxFlowArray and CxFlowArrayOutput values. You can construct a concrete instance of `CxFlowArrayInput` via:
CxFlowArray{ CxFlowArgs{...} }
type CxFlowArrayOutput ¶
type CxFlowArrayOutput struct{ *pulumi.OutputState }
func (CxFlowArrayOutput) ElementType ¶
func (CxFlowArrayOutput) ElementType() reflect.Type
func (CxFlowArrayOutput) Index ¶
func (o CxFlowArrayOutput) Index(i pulumi.IntInput) CxFlowOutput
func (CxFlowArrayOutput) ToCxFlowArrayOutput ¶
func (o CxFlowArrayOutput) ToCxFlowArrayOutput() CxFlowArrayOutput
func (CxFlowArrayOutput) ToCxFlowArrayOutputWithContext ¶
func (o CxFlowArrayOutput) ToCxFlowArrayOutputWithContext(ctx context.Context) CxFlowArrayOutput
type CxFlowEventHandler ¶
type CxFlowEventHandler struct { // The name of the event to handle. Event *string `pulumi:"event"` // - // The unique identifier of this event handler. Name *string `pulumi:"name"` // The target flow to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. TargetFlow *string `pulumi:"targetFlow"` // The target page to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>. TargetPage *string `pulumi:"targetPage"` // The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. // Structure is documented below. TriggerFulfillment *CxFlowEventHandlerTriggerFulfillment `pulumi:"triggerFulfillment"` }
type CxFlowEventHandlerArgs ¶
type CxFlowEventHandlerArgs struct { // The name of the event to handle. Event pulumi.StringPtrInput `pulumi:"event"` // - // The unique identifier of this event handler. Name pulumi.StringPtrInput `pulumi:"name"` // The target flow to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. TargetFlow pulumi.StringPtrInput `pulumi:"targetFlow"` // The target page to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>. TargetPage pulumi.StringPtrInput `pulumi:"targetPage"` // The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. // Structure is documented below. TriggerFulfillment CxFlowEventHandlerTriggerFulfillmentPtrInput `pulumi:"triggerFulfillment"` }
func (CxFlowEventHandlerArgs) ElementType ¶
func (CxFlowEventHandlerArgs) ElementType() reflect.Type
func (CxFlowEventHandlerArgs) ToCxFlowEventHandlerOutput ¶
func (i CxFlowEventHandlerArgs) ToCxFlowEventHandlerOutput() CxFlowEventHandlerOutput
func (CxFlowEventHandlerArgs) ToCxFlowEventHandlerOutputWithContext ¶
func (i CxFlowEventHandlerArgs) ToCxFlowEventHandlerOutputWithContext(ctx context.Context) CxFlowEventHandlerOutput
type CxFlowEventHandlerArray ¶
type CxFlowEventHandlerArray []CxFlowEventHandlerInput
func (CxFlowEventHandlerArray) ElementType ¶
func (CxFlowEventHandlerArray) ElementType() reflect.Type
func (CxFlowEventHandlerArray) ToCxFlowEventHandlerArrayOutput ¶
func (i CxFlowEventHandlerArray) ToCxFlowEventHandlerArrayOutput() CxFlowEventHandlerArrayOutput
func (CxFlowEventHandlerArray) ToCxFlowEventHandlerArrayOutputWithContext ¶
func (i CxFlowEventHandlerArray) ToCxFlowEventHandlerArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerArrayOutput
type CxFlowEventHandlerArrayInput ¶
type CxFlowEventHandlerArrayInput interface { pulumi.Input ToCxFlowEventHandlerArrayOutput() CxFlowEventHandlerArrayOutput ToCxFlowEventHandlerArrayOutputWithContext(context.Context) CxFlowEventHandlerArrayOutput }
CxFlowEventHandlerArrayInput is an input type that accepts CxFlowEventHandlerArray and CxFlowEventHandlerArrayOutput values. You can construct a concrete instance of `CxFlowEventHandlerArrayInput` via:
CxFlowEventHandlerArray{ CxFlowEventHandlerArgs{...} }
type CxFlowEventHandlerArrayOutput ¶
type CxFlowEventHandlerArrayOutput struct{ *pulumi.OutputState }
func (CxFlowEventHandlerArrayOutput) ElementType ¶
func (CxFlowEventHandlerArrayOutput) ElementType() reflect.Type
func (CxFlowEventHandlerArrayOutput) Index ¶
func (o CxFlowEventHandlerArrayOutput) Index(i pulumi.IntInput) CxFlowEventHandlerOutput
func (CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutput ¶
func (o CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutput() CxFlowEventHandlerArrayOutput
func (CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutputWithContext ¶
func (o CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerArrayOutput
type CxFlowEventHandlerInput ¶
type CxFlowEventHandlerInput interface { pulumi.Input ToCxFlowEventHandlerOutput() CxFlowEventHandlerOutput ToCxFlowEventHandlerOutputWithContext(context.Context) CxFlowEventHandlerOutput }
CxFlowEventHandlerInput is an input type that accepts CxFlowEventHandlerArgs and CxFlowEventHandlerOutput values. You can construct a concrete instance of `CxFlowEventHandlerInput` via:
CxFlowEventHandlerArgs{...}
type CxFlowEventHandlerOutput ¶
type CxFlowEventHandlerOutput struct{ *pulumi.OutputState }
func (CxFlowEventHandlerOutput) ElementType ¶
func (CxFlowEventHandlerOutput) ElementType() reflect.Type
func (CxFlowEventHandlerOutput) Event ¶
func (o CxFlowEventHandlerOutput) Event() pulumi.StringPtrOutput
The name of the event to handle.
func (CxFlowEventHandlerOutput) Name ¶
func (o CxFlowEventHandlerOutput) Name() pulumi.StringPtrOutput
- The unique identifier of this event handler.
func (CxFlowEventHandlerOutput) TargetFlow ¶
func (o CxFlowEventHandlerOutput) TargetFlow() pulumi.StringPtrOutput
The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
func (CxFlowEventHandlerOutput) TargetPage ¶
func (o CxFlowEventHandlerOutput) TargetPage() pulumi.StringPtrOutput
The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
func (CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutput ¶
func (o CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutput() CxFlowEventHandlerOutput
func (CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutputWithContext ¶
func (o CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutputWithContext(ctx context.Context) CxFlowEventHandlerOutput
func (CxFlowEventHandlerOutput) TriggerFulfillment ¶
func (o CxFlowEventHandlerOutput) TriggerFulfillment() CxFlowEventHandlerTriggerFulfillmentPtrOutput
The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.
type CxFlowEventHandlerTriggerFulfillment ¶
type CxFlowEventHandlerTriggerFulfillment struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages []CxFlowEventHandlerTriggerFulfillmentMessage `pulumi:"messages"` // 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. ReturnPartialResponses *bool `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag *string `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook *string `pulumi:"webhook"` }
type CxFlowEventHandlerTriggerFulfillmentArgs ¶
type CxFlowEventHandlerTriggerFulfillmentArgs struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages CxFlowEventHandlerTriggerFulfillmentMessageArrayInput `pulumi:"messages"` // 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. ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag pulumi.StringPtrInput `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook pulumi.StringPtrInput `pulumi:"webhook"` }
func (CxFlowEventHandlerTriggerFulfillmentArgs) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentArgs) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutput ¶
func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutput() CxFlowEventHandlerTriggerFulfillmentOutput
func (CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext ¶
func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentOutput
func (CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput ¶
func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput
func (CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext ¶
func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput
type CxFlowEventHandlerTriggerFulfillmentInput ¶
type CxFlowEventHandlerTriggerFulfillmentInput interface { pulumi.Input ToCxFlowEventHandlerTriggerFulfillmentOutput() CxFlowEventHandlerTriggerFulfillmentOutput ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentOutput }
CxFlowEventHandlerTriggerFulfillmentInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentArgs and CxFlowEventHandlerTriggerFulfillmentOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentInput` via:
CxFlowEventHandlerTriggerFulfillmentArgs{...}
type CxFlowEventHandlerTriggerFulfillmentMessage ¶
type CxFlowEventHandlerTriggerFulfillmentMessage struct { // A collection of text responses. Text *CxFlowEventHandlerTriggerFulfillmentMessageText `pulumi:"text"` }
type CxFlowEventHandlerTriggerFulfillmentMessageArgs ¶
type CxFlowEventHandlerTriggerFulfillmentMessageArgs struct { // A collection of text responses. Text CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput `pulumi:"text"` }
func (CxFlowEventHandlerTriggerFulfillmentMessageArgs) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentMessageArgs) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput ¶
func (i CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput() CxFlowEventHandlerTriggerFulfillmentMessageOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext ¶
func (i CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageOutput
type CxFlowEventHandlerTriggerFulfillmentMessageArray ¶
type CxFlowEventHandlerTriggerFulfillmentMessageArray []CxFlowEventHandlerTriggerFulfillmentMessageInput
func (CxFlowEventHandlerTriggerFulfillmentMessageArray) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentMessageArray) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput ¶
func (i CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext ¶
func (i CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
type CxFlowEventHandlerTriggerFulfillmentMessageArrayInput ¶
type CxFlowEventHandlerTriggerFulfillmentMessageArrayInput interface { pulumi.Input ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput }
CxFlowEventHandlerTriggerFulfillmentMessageArrayInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentMessageArray and CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentMessageArrayInput` via:
CxFlowEventHandlerTriggerFulfillmentMessageArray{ CxFlowEventHandlerTriggerFulfillmentMessageArgs{...} }
type CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput ¶
type CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }
func (CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
type CxFlowEventHandlerTriggerFulfillmentMessageInput ¶
type CxFlowEventHandlerTriggerFulfillmentMessageInput interface { pulumi.Input ToCxFlowEventHandlerTriggerFulfillmentMessageOutput() CxFlowEventHandlerTriggerFulfillmentMessageOutput ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentMessageOutput }
CxFlowEventHandlerTriggerFulfillmentMessageInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentMessageArgs and CxFlowEventHandlerTriggerFulfillmentMessageOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentMessageInput` via:
CxFlowEventHandlerTriggerFulfillmentMessageArgs{...}
type CxFlowEventHandlerTriggerFulfillmentMessageOutput ¶
type CxFlowEventHandlerTriggerFulfillmentMessageOutput struct{ *pulumi.OutputState }
func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) Text ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageOutput) Text() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
A collection of text responses.
func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput() CxFlowEventHandlerTriggerFulfillmentMessageOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageOutput
type CxFlowEventHandlerTriggerFulfillmentMessageText ¶
type CxFlowEventHandlerTriggerFulfillmentMessageText struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts []string `pulumi:"texts"` }
type CxFlowEventHandlerTriggerFulfillmentMessageTextArgs ¶
type CxFlowEventHandlerTriggerFulfillmentMessageTextArgs struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts pulumi.StringArrayInput `pulumi:"texts"` }
func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput ¶
func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext ¶
func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput ¶
func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
type CxFlowEventHandlerTriggerFulfillmentMessageTextInput ¶
type CxFlowEventHandlerTriggerFulfillmentMessageTextInput interface { pulumi.Input ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextOutput ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextOutput }
CxFlowEventHandlerTriggerFulfillmentMessageTextInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentMessageTextArgs and CxFlowEventHandlerTriggerFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentMessageTextInput` via:
CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{...}
type CxFlowEventHandlerTriggerFulfillmentMessageTextOutput ¶
type CxFlowEventHandlerTriggerFulfillmentMessageTextOutput struct{ *pulumi.OutputState }
func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) Texts ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
A collection of text responses.
func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput ¶
type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput interface { pulumi.Input ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput }
CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentMessageTextArgs, CxFlowEventHandlerTriggerFulfillmentMessageTextPtr and CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput` via:
CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{...} or: nil
func CxFlowEventHandlerTriggerFulfillmentMessageTextPtr ¶
func CxFlowEventHandlerTriggerFulfillmentMessageTextPtr(v *CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput
type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput ¶
type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }
func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) Texts ¶
A collection of text responses.
func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
type CxFlowEventHandlerTriggerFulfillmentOutput ¶
type CxFlowEventHandlerTriggerFulfillmentOutput struct{ *pulumi.OutputState }
func (CxFlowEventHandlerTriggerFulfillmentOutput) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentOutput) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentOutput) Messages ¶
func (o CxFlowEventHandlerTriggerFulfillmentOutput) Messages() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxFlowEventHandlerTriggerFulfillmentOutput) ReturnPartialResponses ¶
func (o CxFlowEventHandlerTriggerFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxFlowEventHandlerTriggerFulfillmentOutput) Tag ¶
func (o CxFlowEventHandlerTriggerFulfillmentOutput) Tag() pulumi.StringPtrOutput
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutput ¶
func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutput() CxFlowEventHandlerTriggerFulfillmentOutput
func (CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext ¶
func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentOutput
func (CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput ¶
func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput
func (CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext ¶
func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput
func (CxFlowEventHandlerTriggerFulfillmentOutput) Webhook ¶
func (o CxFlowEventHandlerTriggerFulfillmentOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxFlowEventHandlerTriggerFulfillmentPtrInput ¶
type CxFlowEventHandlerTriggerFulfillmentPtrInput interface { pulumi.Input ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput }
CxFlowEventHandlerTriggerFulfillmentPtrInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentArgs, CxFlowEventHandlerTriggerFulfillmentPtr and CxFlowEventHandlerTriggerFulfillmentPtrOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentPtrInput` via:
CxFlowEventHandlerTriggerFulfillmentArgs{...} or: nil
func CxFlowEventHandlerTriggerFulfillmentPtr ¶
func CxFlowEventHandlerTriggerFulfillmentPtr(v *CxFlowEventHandlerTriggerFulfillmentArgs) CxFlowEventHandlerTriggerFulfillmentPtrInput
type CxFlowEventHandlerTriggerFulfillmentPtrOutput ¶
type CxFlowEventHandlerTriggerFulfillmentPtrOutput struct{ *pulumi.OutputState }
func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ElementType ¶
func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ElementType() reflect.Type
func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) Messages ¶
func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) Messages() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ReturnPartialResponses ¶
func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) Tag ¶
func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput ¶
func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput
func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext ¶
func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput
func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) Webhook ¶
func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxFlowInput ¶
type CxFlowInput interface { pulumi.Input ToCxFlowOutput() CxFlowOutput ToCxFlowOutputWithContext(ctx context.Context) CxFlowOutput }
type CxFlowMap ¶
type CxFlowMap map[string]CxFlowInput
func (CxFlowMap) ElementType ¶
func (CxFlowMap) ToCxFlowMapOutput ¶
func (i CxFlowMap) ToCxFlowMapOutput() CxFlowMapOutput
func (CxFlowMap) ToCxFlowMapOutputWithContext ¶
func (i CxFlowMap) ToCxFlowMapOutputWithContext(ctx context.Context) CxFlowMapOutput
type CxFlowMapInput ¶
type CxFlowMapInput interface { pulumi.Input ToCxFlowMapOutput() CxFlowMapOutput ToCxFlowMapOutputWithContext(context.Context) CxFlowMapOutput }
CxFlowMapInput is an input type that accepts CxFlowMap and CxFlowMapOutput values. You can construct a concrete instance of `CxFlowMapInput` via:
CxFlowMap{ "key": CxFlowArgs{...} }
type CxFlowMapOutput ¶
type CxFlowMapOutput struct{ *pulumi.OutputState }
func (CxFlowMapOutput) ElementType ¶
func (CxFlowMapOutput) ElementType() reflect.Type
func (CxFlowMapOutput) MapIndex ¶
func (o CxFlowMapOutput) MapIndex(k pulumi.StringInput) CxFlowOutput
func (CxFlowMapOutput) ToCxFlowMapOutput ¶
func (o CxFlowMapOutput) ToCxFlowMapOutput() CxFlowMapOutput
func (CxFlowMapOutput) ToCxFlowMapOutputWithContext ¶
func (o CxFlowMapOutput) ToCxFlowMapOutputWithContext(ctx context.Context) CxFlowMapOutput
type CxFlowNluSettings ¶
type CxFlowNluSettings struct { // To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. // If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. ClassificationThreshold *float64 `pulumi:"classificationThreshold"` // Indicates NLU model training mode. // * MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode. // * MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. // Possible values are `MODEL_TRAINING_MODE_AUTOMATIC` and `MODEL_TRAINING_MODE_MANUAL`. ModelTrainingMode *string `pulumi:"modelTrainingMode"` // Indicates the type of NLU model. // * MODEL_TYPE_STANDARD: Use standard NLU model. // * MODEL_TYPE_ADVANCED: Use advanced NLU model. // Possible values are `MODEL_TYPE_STANDARD` and `MODEL_TYPE_ADVANCED`. ModelType *string `pulumi:"modelType"` }
type CxFlowNluSettingsArgs ¶
type CxFlowNluSettingsArgs struct { // To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. // If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. ClassificationThreshold pulumi.Float64PtrInput `pulumi:"classificationThreshold"` // Indicates NLU model training mode. // * MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode. // * MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. // Possible values are `MODEL_TRAINING_MODE_AUTOMATIC` and `MODEL_TRAINING_MODE_MANUAL`. ModelTrainingMode pulumi.StringPtrInput `pulumi:"modelTrainingMode"` // Indicates the type of NLU model. // * MODEL_TYPE_STANDARD: Use standard NLU model. // * MODEL_TYPE_ADVANCED: Use advanced NLU model. // Possible values are `MODEL_TYPE_STANDARD` and `MODEL_TYPE_ADVANCED`. ModelType pulumi.StringPtrInput `pulumi:"modelType"` }
func (CxFlowNluSettingsArgs) ElementType ¶
func (CxFlowNluSettingsArgs) ElementType() reflect.Type
func (CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutput ¶
func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutput() CxFlowNluSettingsOutput
func (CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutputWithContext ¶
func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutputWithContext(ctx context.Context) CxFlowNluSettingsOutput
func (CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutput ¶
func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput
func (CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutputWithContext ¶
func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutputWithContext(ctx context.Context) CxFlowNluSettingsPtrOutput
type CxFlowNluSettingsInput ¶
type CxFlowNluSettingsInput interface { pulumi.Input ToCxFlowNluSettingsOutput() CxFlowNluSettingsOutput ToCxFlowNluSettingsOutputWithContext(context.Context) CxFlowNluSettingsOutput }
CxFlowNluSettingsInput is an input type that accepts CxFlowNluSettingsArgs and CxFlowNluSettingsOutput values. You can construct a concrete instance of `CxFlowNluSettingsInput` via:
CxFlowNluSettingsArgs{...}
type CxFlowNluSettingsOutput ¶
type CxFlowNluSettingsOutput struct{ *pulumi.OutputState }
func (CxFlowNluSettingsOutput) ClassificationThreshold ¶
func (o CxFlowNluSettingsOutput) ClassificationThreshold() pulumi.Float64PtrOutput
To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
func (CxFlowNluSettingsOutput) ElementType ¶
func (CxFlowNluSettingsOutput) ElementType() reflect.Type
func (CxFlowNluSettingsOutput) ModelTrainingMode ¶
func (o CxFlowNluSettingsOutput) ModelTrainingMode() pulumi.StringPtrOutput
Indicates NLU model training mode.
- MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
- MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are `MODEL_TRAINING_MODE_AUTOMATIC` and `MODEL_TRAINING_MODE_MANUAL`.
func (CxFlowNluSettingsOutput) ModelType ¶
func (o CxFlowNluSettingsOutput) ModelType() pulumi.StringPtrOutput
Indicates the type of NLU model.
- MODEL_TYPE_STANDARD: Use standard NLU model.
- MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are `MODEL_TYPE_STANDARD` and `MODEL_TYPE_ADVANCED`.
func (CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutput ¶
func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutput() CxFlowNluSettingsOutput
func (CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutputWithContext ¶
func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutputWithContext(ctx context.Context) CxFlowNluSettingsOutput
func (CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutput ¶
func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput
func (CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutputWithContext ¶
func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutputWithContext(ctx context.Context) CxFlowNluSettingsPtrOutput
type CxFlowNluSettingsPtrInput ¶
type CxFlowNluSettingsPtrInput interface { pulumi.Input ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput ToCxFlowNluSettingsPtrOutputWithContext(context.Context) CxFlowNluSettingsPtrOutput }
CxFlowNluSettingsPtrInput is an input type that accepts CxFlowNluSettingsArgs, CxFlowNluSettingsPtr and CxFlowNluSettingsPtrOutput values. You can construct a concrete instance of `CxFlowNluSettingsPtrInput` via:
CxFlowNluSettingsArgs{...} or: nil
func CxFlowNluSettingsPtr ¶
func CxFlowNluSettingsPtr(v *CxFlowNluSettingsArgs) CxFlowNluSettingsPtrInput
type CxFlowNluSettingsPtrOutput ¶
type CxFlowNluSettingsPtrOutput struct{ *pulumi.OutputState }
func (CxFlowNluSettingsPtrOutput) ClassificationThreshold ¶
func (o CxFlowNluSettingsPtrOutput) ClassificationThreshold() pulumi.Float64PtrOutput
To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
func (CxFlowNluSettingsPtrOutput) Elem ¶
func (o CxFlowNluSettingsPtrOutput) Elem() CxFlowNluSettingsOutput
func (CxFlowNluSettingsPtrOutput) ElementType ¶
func (CxFlowNluSettingsPtrOutput) ElementType() reflect.Type
func (CxFlowNluSettingsPtrOutput) ModelTrainingMode ¶
func (o CxFlowNluSettingsPtrOutput) ModelTrainingMode() pulumi.StringPtrOutput
Indicates NLU model training mode.
- MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
- MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are `MODEL_TRAINING_MODE_AUTOMATIC` and `MODEL_TRAINING_MODE_MANUAL`.
func (CxFlowNluSettingsPtrOutput) ModelType ¶
func (o CxFlowNluSettingsPtrOutput) ModelType() pulumi.StringPtrOutput
Indicates the type of NLU model.
- MODEL_TYPE_STANDARD: Use standard NLU model.
- MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are `MODEL_TYPE_STANDARD` and `MODEL_TYPE_ADVANCED`.
func (CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutput ¶
func (o CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput
func (CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutputWithContext ¶
func (o CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutputWithContext(ctx context.Context) CxFlowNluSettingsPtrOutput
type CxFlowOutput ¶
type CxFlowOutput struct{ *pulumi.OutputState }
func (CxFlowOutput) ElementType ¶
func (CxFlowOutput) ElementType() reflect.Type
func (CxFlowOutput) ToCxFlowOutput ¶
func (o CxFlowOutput) ToCxFlowOutput() CxFlowOutput
func (CxFlowOutput) ToCxFlowOutputWithContext ¶
func (o CxFlowOutput) ToCxFlowOutputWithContext(ctx context.Context) CxFlowOutput
type CxFlowState ¶
type CxFlowState struct { // The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The human-readable name of the flow. DisplayName pulumi.StringPtrInput // A flow's event handlers serve two purposes: // They are responsible for handling events (e.g. no match, webhook errors) in the flow. // They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. // Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. // Structure is documented below. EventHandlers CxFlowEventHandlerArrayInput // 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. LanguageCode pulumi.StringPtrInput // - // The unique identifier of this event handler. Name pulumi.StringPtrInput // NLU related settings of the flow. // Structure is documented below. NluSettings CxFlowNluSettingsPtrInput // The agent to create a flow for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrInput // 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>. TransitionRouteGroups pulumi.StringArrayInput // A flow's transition routes serve two purposes: // They are responsible for matching the user's first utterances in the flow. // They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes CxFlowTransitionRouteArrayInput }
func (CxFlowState) ElementType ¶
func (CxFlowState) ElementType() reflect.Type
type CxFlowTransitionRoute ¶
type CxFlowTransitionRoute struct { // The condition to evaluate against form parameters or session parameters. // At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Condition *string `pulumi:"condition"` // The unique identifier of an Intent. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Intent *string `pulumi:"intent"` // - // The unique identifier of this event handler. Name *string `pulumi:"name"` // The target flow to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. TargetFlow *string `pulumi:"targetFlow"` // The target page to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>. TargetPage *string `pulumi:"targetPage"` // The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. // Structure is documented below. TriggerFulfillment *CxFlowTransitionRouteTriggerFulfillment `pulumi:"triggerFulfillment"` }
type CxFlowTransitionRouteArgs ¶
type CxFlowTransitionRouteArgs struct { // The condition to evaluate against form parameters or session parameters. // At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Condition pulumi.StringPtrInput `pulumi:"condition"` // The unique identifier of an Intent. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Intent pulumi.StringPtrInput `pulumi:"intent"` // - // The unique identifier of this event handler. Name pulumi.StringPtrInput `pulumi:"name"` // The target flow to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. TargetFlow pulumi.StringPtrInput `pulumi:"targetFlow"` // The target page to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>. TargetPage pulumi.StringPtrInput `pulumi:"targetPage"` // The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. // Structure is documented below. TriggerFulfillment CxFlowTransitionRouteTriggerFulfillmentPtrInput `pulumi:"triggerFulfillment"` }
func (CxFlowTransitionRouteArgs) ElementType ¶
func (CxFlowTransitionRouteArgs) ElementType() reflect.Type
func (CxFlowTransitionRouteArgs) ToCxFlowTransitionRouteOutput ¶
func (i CxFlowTransitionRouteArgs) ToCxFlowTransitionRouteOutput() CxFlowTransitionRouteOutput
func (CxFlowTransitionRouteArgs) ToCxFlowTransitionRouteOutputWithContext ¶
func (i CxFlowTransitionRouteArgs) ToCxFlowTransitionRouteOutputWithContext(ctx context.Context) CxFlowTransitionRouteOutput
type CxFlowTransitionRouteArray ¶
type CxFlowTransitionRouteArray []CxFlowTransitionRouteInput
func (CxFlowTransitionRouteArray) ElementType ¶
func (CxFlowTransitionRouteArray) ElementType() reflect.Type
func (CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutput ¶
func (i CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutput() CxFlowTransitionRouteArrayOutput
func (CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutputWithContext ¶
func (i CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteArrayOutput
type CxFlowTransitionRouteArrayInput ¶
type CxFlowTransitionRouteArrayInput interface { pulumi.Input ToCxFlowTransitionRouteArrayOutput() CxFlowTransitionRouteArrayOutput ToCxFlowTransitionRouteArrayOutputWithContext(context.Context) CxFlowTransitionRouteArrayOutput }
CxFlowTransitionRouteArrayInput is an input type that accepts CxFlowTransitionRouteArray and CxFlowTransitionRouteArrayOutput values. You can construct a concrete instance of `CxFlowTransitionRouteArrayInput` via:
CxFlowTransitionRouteArray{ CxFlowTransitionRouteArgs{...} }
type CxFlowTransitionRouteArrayOutput ¶
type CxFlowTransitionRouteArrayOutput struct{ *pulumi.OutputState }
func (CxFlowTransitionRouteArrayOutput) ElementType ¶
func (CxFlowTransitionRouteArrayOutput) ElementType() reflect.Type
func (CxFlowTransitionRouteArrayOutput) Index ¶
func (o CxFlowTransitionRouteArrayOutput) Index(i pulumi.IntInput) CxFlowTransitionRouteOutput
func (CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutput ¶
func (o CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutput() CxFlowTransitionRouteArrayOutput
func (CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutputWithContext ¶
func (o CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteArrayOutput
type CxFlowTransitionRouteInput ¶
type CxFlowTransitionRouteInput interface { pulumi.Input ToCxFlowTransitionRouteOutput() CxFlowTransitionRouteOutput ToCxFlowTransitionRouteOutputWithContext(context.Context) CxFlowTransitionRouteOutput }
CxFlowTransitionRouteInput is an input type that accepts CxFlowTransitionRouteArgs and CxFlowTransitionRouteOutput values. You can construct a concrete instance of `CxFlowTransitionRouteInput` via:
CxFlowTransitionRouteArgs{...}
type CxFlowTransitionRouteOutput ¶
type CxFlowTransitionRouteOutput struct{ *pulumi.OutputState }
func (CxFlowTransitionRouteOutput) Condition ¶
func (o CxFlowTransitionRouteOutput) Condition() pulumi.StringPtrOutput
The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
func (CxFlowTransitionRouteOutput) ElementType ¶
func (CxFlowTransitionRouteOutput) ElementType() reflect.Type
func (CxFlowTransitionRouteOutput) Intent ¶
func (o CxFlowTransitionRouteOutput) Intent() pulumi.StringPtrOutput
The unique identifier of an Intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
func (CxFlowTransitionRouteOutput) Name ¶
func (o CxFlowTransitionRouteOutput) Name() pulumi.StringPtrOutput
- The unique identifier of this event handler.
func (CxFlowTransitionRouteOutput) TargetFlow ¶
func (o CxFlowTransitionRouteOutput) TargetFlow() pulumi.StringPtrOutput
The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
func (CxFlowTransitionRouteOutput) TargetPage ¶
func (o CxFlowTransitionRouteOutput) TargetPage() pulumi.StringPtrOutput
The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
func (CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutput ¶
func (o CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutput() CxFlowTransitionRouteOutput
func (CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutputWithContext ¶
func (o CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutputWithContext(ctx context.Context) CxFlowTransitionRouteOutput
func (CxFlowTransitionRouteOutput) TriggerFulfillment ¶
func (o CxFlowTransitionRouteOutput) TriggerFulfillment() CxFlowTransitionRouteTriggerFulfillmentPtrOutput
The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.
type CxFlowTransitionRouteTriggerFulfillment ¶
type CxFlowTransitionRouteTriggerFulfillment struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages []CxFlowTransitionRouteTriggerFulfillmentMessage `pulumi:"messages"` // 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. ReturnPartialResponses *bool `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag *string `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook *string `pulumi:"webhook"` }
type CxFlowTransitionRouteTriggerFulfillmentArgs ¶
type CxFlowTransitionRouteTriggerFulfillmentArgs struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput `pulumi:"messages"` // 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. ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag pulumi.StringPtrInput `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook pulumi.StringPtrInput `pulumi:"webhook"` }
func (CxFlowTransitionRouteTriggerFulfillmentArgs) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentArgs) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutput ¶
func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutput() CxFlowTransitionRouteTriggerFulfillmentOutput
func (CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext ¶
func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentOutput
func (CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput ¶
func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput
func (CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext ¶
func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput
type CxFlowTransitionRouteTriggerFulfillmentInput ¶
type CxFlowTransitionRouteTriggerFulfillmentInput interface { pulumi.Input ToCxFlowTransitionRouteTriggerFulfillmentOutput() CxFlowTransitionRouteTriggerFulfillmentOutput ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentOutput }
CxFlowTransitionRouteTriggerFulfillmentInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentArgs and CxFlowTransitionRouteTriggerFulfillmentOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentInput` via:
CxFlowTransitionRouteTriggerFulfillmentArgs{...}
type CxFlowTransitionRouteTriggerFulfillmentMessage ¶
type CxFlowTransitionRouteTriggerFulfillmentMessage struct { // A collection of text responses. Text *CxFlowTransitionRouteTriggerFulfillmentMessageText `pulumi:"text"` }
type CxFlowTransitionRouteTriggerFulfillmentMessageArgs ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageArgs struct { // A collection of text responses. Text CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput `pulumi:"text"` }
func (CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput ¶
func (i CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput() CxFlowTransitionRouteTriggerFulfillmentMessageOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext ¶
func (i CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageOutput
type CxFlowTransitionRouteTriggerFulfillmentMessageArray ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageArray []CxFlowTransitionRouteTriggerFulfillmentMessageInput
func (CxFlowTransitionRouteTriggerFulfillmentMessageArray) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentMessageArray) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput ¶
func (i CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext ¶
func (i CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
type CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput interface { pulumi.Input ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput }
CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentMessageArray and CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput` via:
CxFlowTransitionRouteTriggerFulfillmentMessageArray{ CxFlowTransitionRouteTriggerFulfillmentMessageArgs{...} }
type CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }
func (CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
type CxFlowTransitionRouteTriggerFulfillmentMessageInput ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageInput interface { pulumi.Input ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput() CxFlowTransitionRouteTriggerFulfillmentMessageOutput ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageOutput }
CxFlowTransitionRouteTriggerFulfillmentMessageInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentMessageArgs and CxFlowTransitionRouteTriggerFulfillmentMessageOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentMessageInput` via:
CxFlowTransitionRouteTriggerFulfillmentMessageArgs{...}
type CxFlowTransitionRouteTriggerFulfillmentMessageOutput ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageOutput struct{ *pulumi.OutputState }
func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) Text ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageOutput) Text() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
A collection of text responses.
func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput() CxFlowTransitionRouteTriggerFulfillmentMessageOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageOutput
type CxFlowTransitionRouteTriggerFulfillmentMessageText ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageText struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts []string `pulumi:"texts"` }
type CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts pulumi.StringArrayInput `pulumi:"texts"` }
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput ¶
func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext ¶
func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput ¶
func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
type CxFlowTransitionRouteTriggerFulfillmentMessageTextInput ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageTextInput interface { pulumi.Input ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput }
CxFlowTransitionRouteTriggerFulfillmentMessageTextInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs and CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentMessageTextInput` via:
CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs{...}
type CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput struct{ *pulumi.OutputState }
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) Texts ¶
A collection of text responses.
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput interface { pulumi.Input ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput }
CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs, CxFlowTransitionRouteTriggerFulfillmentMessageTextPtr and CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput` via:
CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs{...} or: nil
func CxFlowTransitionRouteTriggerFulfillmentMessageTextPtr ¶
func CxFlowTransitionRouteTriggerFulfillmentMessageTextPtr(v *CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput
type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput ¶
type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Texts ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
A collection of text responses.
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
type CxFlowTransitionRouteTriggerFulfillmentOutput ¶
type CxFlowTransitionRouteTriggerFulfillmentOutput struct{ *pulumi.OutputState }
func (CxFlowTransitionRouteTriggerFulfillmentOutput) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentOutput) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentOutput) Messages ¶
func (o CxFlowTransitionRouteTriggerFulfillmentOutput) Messages() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxFlowTransitionRouteTriggerFulfillmentOutput) ReturnPartialResponses ¶
func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxFlowTransitionRouteTriggerFulfillmentOutput) Tag ¶
func (o CxFlowTransitionRouteTriggerFulfillmentOutput) Tag() pulumi.StringPtrOutput
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutput ¶
func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutput() CxFlowTransitionRouteTriggerFulfillmentOutput
func (CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext ¶
func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentOutput
func (CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput ¶
func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput
func (CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext ¶
func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput
func (CxFlowTransitionRouteTriggerFulfillmentOutput) Webhook ¶
func (o CxFlowTransitionRouteTriggerFulfillmentOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxFlowTransitionRouteTriggerFulfillmentPtrInput ¶
type CxFlowTransitionRouteTriggerFulfillmentPtrInput interface { pulumi.Input ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput }
CxFlowTransitionRouteTriggerFulfillmentPtrInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentArgs, CxFlowTransitionRouteTriggerFulfillmentPtr and CxFlowTransitionRouteTriggerFulfillmentPtrOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentPtrInput` via:
CxFlowTransitionRouteTriggerFulfillmentArgs{...} or: nil
func CxFlowTransitionRouteTriggerFulfillmentPtr ¶
func CxFlowTransitionRouteTriggerFulfillmentPtr(v *CxFlowTransitionRouteTriggerFulfillmentArgs) CxFlowTransitionRouteTriggerFulfillmentPtrInput
type CxFlowTransitionRouteTriggerFulfillmentPtrOutput ¶
type CxFlowTransitionRouteTriggerFulfillmentPtrOutput struct{ *pulumi.OutputState }
func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ElementType ¶
func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ElementType() reflect.Type
func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Messages ¶
func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Messages() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ReturnPartialResponses ¶
func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Tag ¶
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput ¶
func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput
func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext ¶
func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput
func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Webhook ¶
func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxIntent ¶
type CxIntent struct { pulumi.CustomResourceState // Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters. Description pulumi.StringPtrOutput `pulumi:"description"` // The human-readable name of the intent, unique within the agent. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. // Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event. IsFallback pulumi.BoolPtrOutput `pulumi:"isFallback"` // The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. // Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys.contextual" means the intent is a contextual intent. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels pulumi.StringMapOutput `pulumi:"labels"` // The language of the following fields in intent: // Intent.training_phrases.parts.text // 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. LanguageCode pulumi.StringPtrOutput `pulumi:"languageCode"` // The unique identifier of the intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent // ID>/intents/<Intent ID>. Name pulumi.StringOutput `pulumi:"name"` // The collection of parameters associated with the intent. // Structure is documented below. Parameters CxIntentParameterArrayOutput `pulumi:"parameters"` // The agent to create an intent for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrOutput `pulumi:"parent"` // The priority of this intent. Higher numbers represent higher priorities. // If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the Normal priority in the console. // If the supplied value is negative, the intent is ignored in runtime detect intent requests. Priority pulumi.IntPtrOutput `pulumi:"priority"` // The collection of training phrases the agent is trained on to identify the intent. // Structure is documented below. TrainingPhrases CxIntentTrainingPhraseArrayOutput `pulumi:"trainingPhrases"` }
An intent represents a user's intent to interact with a conversational agent.
To get more information about Intent, see:
* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.intents) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
## Example Usage ### Dialogflowcx Intent Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{ DisplayName: pulumi.String("dialogflowcx-agent"), Location: pulumi.String("global"), DefaultLanguageCode: pulumi.String("en"), SupportedLanguageCodes: pulumi.StringArray{ pulumi.String("fr"), pulumi.String("de"), pulumi.String("es"), }, TimeZone: pulumi.String("America/New_York"), Description: pulumi.String("Example description."), AvatarUri: pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"), EnableStackdriverLogging: pulumi.Bool(true), EnableSpellCorrection: pulumi.Bool(true), SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{ EnableSpeechAdaptation: pulumi.Bool(true), }, }) if err != nil { return err } _, err = diagflow.NewCxIntent(ctx, "basicIntent", &diagflow.CxIntentArgs{ Parent: agent.ID(), DisplayName: pulumi.String("Example"), Priority: pulumi.Int(1), Description: pulumi.String("Intent example"), TrainingPhrases: diagflow.CxIntentTrainingPhraseArray{ &diagflow.CxIntentTrainingPhraseArgs{ Parts: diagflow.CxIntentTrainingPhrasePartArray{ &diagflow.CxIntentTrainingPhrasePartArgs{ Text: pulumi.String("training"), }, &diagflow.CxIntentTrainingPhrasePartArgs{ Text: pulumi.String("phrase"), }, &diagflow.CxIntentTrainingPhrasePartArgs{ Text: pulumi.String("example"), }, }, RepeatCount: pulumi.Int(1), }, }, Parameters: diagflow.CxIntentParameterArray{ &diagflow.CxIntentParameterArgs{ Id: pulumi.String("param1"), EntityType: pulumi.String("projects/-/locations/-/agents/-/entityTypes/sys.date"), }, }, Labels: pulumi.StringMap{ "label1": pulumi.String("value1"), "label2": pulumi.String("value2"), }, }) if err != nil { return err } return nil }) }
```
## Import
Intent can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/cxIntent:CxIntent default {{parent}}/intents/{{name}}
```
```sh
$ pulumi import gcp:diagflow/cxIntent:CxIntent default {{parent}}/{{name}}
```
func GetCxIntent ¶
func GetCxIntent(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CxIntentState, opts ...pulumi.ResourceOption) (*CxIntent, error)
GetCxIntent gets an existing CxIntent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCxIntent ¶
func NewCxIntent(ctx *pulumi.Context, name string, args *CxIntentArgs, opts ...pulumi.ResourceOption) (*CxIntent, error)
NewCxIntent registers a new resource with the given unique name, arguments, and options.
func (*CxIntent) ElementType ¶
func (*CxIntent) ToCxIntentOutput ¶
func (i *CxIntent) ToCxIntentOutput() CxIntentOutput
func (*CxIntent) ToCxIntentOutputWithContext ¶
func (i *CxIntent) ToCxIntentOutputWithContext(ctx context.Context) CxIntentOutput
type CxIntentArgs ¶
type CxIntentArgs struct { // Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters. Description pulumi.StringPtrInput // The human-readable name of the intent, unique within the agent. DisplayName pulumi.StringInput // Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. // Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event. IsFallback pulumi.BoolPtrInput // The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. // Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys.contextual" means the intent is a contextual intent. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels pulumi.StringMapInput // The language of the following fields in intent: // Intent.training_phrases.parts.text // 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. LanguageCode pulumi.StringPtrInput // The collection of parameters associated with the intent. // Structure is documented below. Parameters CxIntentParameterArrayInput // The agent to create an intent for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrInput // The priority of this intent. Higher numbers represent higher priorities. // If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the Normal priority in the console. // If the supplied value is negative, the intent is ignored in runtime detect intent requests. Priority pulumi.IntPtrInput // The collection of training phrases the agent is trained on to identify the intent. // Structure is documented below. TrainingPhrases CxIntentTrainingPhraseArrayInput }
The set of arguments for constructing a CxIntent resource.
func (CxIntentArgs) ElementType ¶
func (CxIntentArgs) ElementType() reflect.Type
type CxIntentArray ¶
type CxIntentArray []CxIntentInput
func (CxIntentArray) ElementType ¶
func (CxIntentArray) ElementType() reflect.Type
func (CxIntentArray) ToCxIntentArrayOutput ¶
func (i CxIntentArray) ToCxIntentArrayOutput() CxIntentArrayOutput
func (CxIntentArray) ToCxIntentArrayOutputWithContext ¶
func (i CxIntentArray) ToCxIntentArrayOutputWithContext(ctx context.Context) CxIntentArrayOutput
type CxIntentArrayInput ¶
type CxIntentArrayInput interface { pulumi.Input ToCxIntentArrayOutput() CxIntentArrayOutput ToCxIntentArrayOutputWithContext(context.Context) CxIntentArrayOutput }
CxIntentArrayInput is an input type that accepts CxIntentArray and CxIntentArrayOutput values. You can construct a concrete instance of `CxIntentArrayInput` via:
CxIntentArray{ CxIntentArgs{...} }
type CxIntentArrayOutput ¶
type CxIntentArrayOutput struct{ *pulumi.OutputState }
func (CxIntentArrayOutput) ElementType ¶
func (CxIntentArrayOutput) ElementType() reflect.Type
func (CxIntentArrayOutput) Index ¶
func (o CxIntentArrayOutput) Index(i pulumi.IntInput) CxIntentOutput
func (CxIntentArrayOutput) ToCxIntentArrayOutput ¶
func (o CxIntentArrayOutput) ToCxIntentArrayOutput() CxIntentArrayOutput
func (CxIntentArrayOutput) ToCxIntentArrayOutputWithContext ¶
func (o CxIntentArrayOutput) ToCxIntentArrayOutputWithContext(ctx context.Context) CxIntentArrayOutput
type CxIntentInput ¶
type CxIntentInput interface { pulumi.Input ToCxIntentOutput() CxIntentOutput ToCxIntentOutputWithContext(ctx context.Context) CxIntentOutput }
type CxIntentMap ¶
type CxIntentMap map[string]CxIntentInput
func (CxIntentMap) ElementType ¶
func (CxIntentMap) ElementType() reflect.Type
func (CxIntentMap) ToCxIntentMapOutput ¶
func (i CxIntentMap) ToCxIntentMapOutput() CxIntentMapOutput
func (CxIntentMap) ToCxIntentMapOutputWithContext ¶
func (i CxIntentMap) ToCxIntentMapOutputWithContext(ctx context.Context) CxIntentMapOutput
type CxIntentMapInput ¶
type CxIntentMapInput interface { pulumi.Input ToCxIntentMapOutput() CxIntentMapOutput ToCxIntentMapOutputWithContext(context.Context) CxIntentMapOutput }
CxIntentMapInput is an input type that accepts CxIntentMap and CxIntentMapOutput values. You can construct a concrete instance of `CxIntentMapInput` via:
CxIntentMap{ "key": CxIntentArgs{...} }
type CxIntentMapOutput ¶
type CxIntentMapOutput struct{ *pulumi.OutputState }
func (CxIntentMapOutput) ElementType ¶
func (CxIntentMapOutput) ElementType() reflect.Type
func (CxIntentMapOutput) MapIndex ¶
func (o CxIntentMapOutput) MapIndex(k pulumi.StringInput) CxIntentOutput
func (CxIntentMapOutput) ToCxIntentMapOutput ¶
func (o CxIntentMapOutput) ToCxIntentMapOutput() CxIntentMapOutput
func (CxIntentMapOutput) ToCxIntentMapOutputWithContext ¶
func (o CxIntentMapOutput) ToCxIntentMapOutputWithContext(ctx context.Context) CxIntentMapOutput
type CxIntentOutput ¶
type CxIntentOutput struct{ *pulumi.OutputState }
func (CxIntentOutput) ElementType ¶
func (CxIntentOutput) ElementType() reflect.Type
func (CxIntentOutput) ToCxIntentOutput ¶
func (o CxIntentOutput) ToCxIntentOutput() CxIntentOutput
func (CxIntentOutput) ToCxIntentOutputWithContext ¶
func (o CxIntentOutput) ToCxIntentOutputWithContext(ctx context.Context) CxIntentOutput
type CxIntentParameter ¶
type CxIntentParameter struct { // The entity type of the parameter. // Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types. EntityType string `pulumi:"entityType"` // The unique identifier of the parameter. This field is used by training phrases to annotate their parts. Id string `pulumi:"id"` // Indicates whether the parameter represents a list of values. IsList *bool `pulumi:"isList"` // Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. // Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled. Redact *bool `pulumi:"redact"` }
type CxIntentParameterArgs ¶
type CxIntentParameterArgs struct { // The entity type of the parameter. // Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types. EntityType pulumi.StringInput `pulumi:"entityType"` // The unique identifier of the parameter. This field is used by training phrases to annotate their parts. Id pulumi.StringInput `pulumi:"id"` // Indicates whether the parameter represents a list of values. IsList pulumi.BoolPtrInput `pulumi:"isList"` // Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. // Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled. Redact pulumi.BoolPtrInput `pulumi:"redact"` }
func (CxIntentParameterArgs) ElementType ¶
func (CxIntentParameterArgs) ElementType() reflect.Type
func (CxIntentParameterArgs) ToCxIntentParameterOutput ¶
func (i CxIntentParameterArgs) ToCxIntentParameterOutput() CxIntentParameterOutput
func (CxIntentParameterArgs) ToCxIntentParameterOutputWithContext ¶
func (i CxIntentParameterArgs) ToCxIntentParameterOutputWithContext(ctx context.Context) CxIntentParameterOutput
type CxIntentParameterArray ¶
type CxIntentParameterArray []CxIntentParameterInput
func (CxIntentParameterArray) ElementType ¶
func (CxIntentParameterArray) ElementType() reflect.Type
func (CxIntentParameterArray) ToCxIntentParameterArrayOutput ¶
func (i CxIntentParameterArray) ToCxIntentParameterArrayOutput() CxIntentParameterArrayOutput
func (CxIntentParameterArray) ToCxIntentParameterArrayOutputWithContext ¶
func (i CxIntentParameterArray) ToCxIntentParameterArrayOutputWithContext(ctx context.Context) CxIntentParameterArrayOutput
type CxIntentParameterArrayInput ¶
type CxIntentParameterArrayInput interface { pulumi.Input ToCxIntentParameterArrayOutput() CxIntentParameterArrayOutput ToCxIntentParameterArrayOutputWithContext(context.Context) CxIntentParameterArrayOutput }
CxIntentParameterArrayInput is an input type that accepts CxIntentParameterArray and CxIntentParameterArrayOutput values. You can construct a concrete instance of `CxIntentParameterArrayInput` via:
CxIntentParameterArray{ CxIntentParameterArgs{...} }
type CxIntentParameterArrayOutput ¶
type CxIntentParameterArrayOutput struct{ *pulumi.OutputState }
func (CxIntentParameterArrayOutput) ElementType ¶
func (CxIntentParameterArrayOutput) ElementType() reflect.Type
func (CxIntentParameterArrayOutput) Index ¶
func (o CxIntentParameterArrayOutput) Index(i pulumi.IntInput) CxIntentParameterOutput
func (CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutput ¶
func (o CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutput() CxIntentParameterArrayOutput
func (CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutputWithContext ¶
func (o CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutputWithContext(ctx context.Context) CxIntentParameterArrayOutput
type CxIntentParameterInput ¶
type CxIntentParameterInput interface { pulumi.Input ToCxIntentParameterOutput() CxIntentParameterOutput ToCxIntentParameterOutputWithContext(context.Context) CxIntentParameterOutput }
CxIntentParameterInput is an input type that accepts CxIntentParameterArgs and CxIntentParameterOutput values. You can construct a concrete instance of `CxIntentParameterInput` via:
CxIntentParameterArgs{...}
type CxIntentParameterOutput ¶
type CxIntentParameterOutput struct{ *pulumi.OutputState }
func (CxIntentParameterOutput) ElementType ¶
func (CxIntentParameterOutput) ElementType() reflect.Type
func (CxIntentParameterOutput) EntityType ¶
func (o CxIntentParameterOutput) EntityType() pulumi.StringOutput
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
func (CxIntentParameterOutput) Id ¶
func (o CxIntentParameterOutput) Id() pulumi.StringOutput
The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
func (CxIntentParameterOutput) IsList ¶
func (o CxIntentParameterOutput) IsList() pulumi.BoolPtrOutput
Indicates whether the parameter represents a list of values.
func (CxIntentParameterOutput) Redact ¶
func (o CxIntentParameterOutput) Redact() pulumi.BoolPtrOutput
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
func (CxIntentParameterOutput) ToCxIntentParameterOutput ¶
func (o CxIntentParameterOutput) ToCxIntentParameterOutput() CxIntentParameterOutput
func (CxIntentParameterOutput) ToCxIntentParameterOutputWithContext ¶
func (o CxIntentParameterOutput) ToCxIntentParameterOutputWithContext(ctx context.Context) CxIntentParameterOutput
type CxIntentState ¶
type CxIntentState struct { // Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters. Description pulumi.StringPtrInput // The human-readable name of the intent, unique within the agent. DisplayName pulumi.StringPtrInput // Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. // Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event. IsFallback pulumi.BoolPtrInput // The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. // Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys.contextual" means the intent is a contextual intent. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels pulumi.StringMapInput // The language of the following fields in intent: // Intent.training_phrases.parts.text // 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. LanguageCode pulumi.StringPtrInput // The unique identifier of the intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent // ID>/intents/<Intent ID>. Name pulumi.StringPtrInput // The collection of parameters associated with the intent. // Structure is documented below. Parameters CxIntentParameterArrayInput // The agent to create an intent for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Parent pulumi.StringPtrInput // The priority of this intent. Higher numbers represent higher priorities. // If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the Normal priority in the console. // If the supplied value is negative, the intent is ignored in runtime detect intent requests. Priority pulumi.IntPtrInput // The collection of training phrases the agent is trained on to identify the intent. // Structure is documented below. TrainingPhrases CxIntentTrainingPhraseArrayInput }
func (CxIntentState) ElementType ¶
func (CxIntentState) ElementType() reflect.Type
type CxIntentTrainingPhrase ¶
type CxIntentTrainingPhrase struct { // The unique identifier of the parameter. This field is used by training phrases to annotate their parts. Id *string `pulumi:"id"` // The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. // Note: The API does not automatically annotate training phrases like the Dialogflow Console does. // Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. // If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. // If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: // Part.text is set to a part of the phrase that has no parameters. // Part.text is set to a part of the phrase that you want to annotate, and the parameterId field is set. // Structure is documented below. Parts []CxIntentTrainingPhrasePart `pulumi:"parts"` // Indicates how many times this example was added to the intent. RepeatCount *int `pulumi:"repeatCount"` }
type CxIntentTrainingPhraseArgs ¶
type CxIntentTrainingPhraseArgs struct { // The unique identifier of the parameter. This field is used by training phrases to annotate their parts. Id pulumi.StringPtrInput `pulumi:"id"` // The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. // Note: The API does not automatically annotate training phrases like the Dialogflow Console does. // Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. // If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. // If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: // Part.text is set to a part of the phrase that has no parameters. // Part.text is set to a part of the phrase that you want to annotate, and the parameterId field is set. // Structure is documented below. Parts CxIntentTrainingPhrasePartArrayInput `pulumi:"parts"` // Indicates how many times this example was added to the intent. RepeatCount pulumi.IntPtrInput `pulumi:"repeatCount"` }
func (CxIntentTrainingPhraseArgs) ElementType ¶
func (CxIntentTrainingPhraseArgs) ElementType() reflect.Type
func (CxIntentTrainingPhraseArgs) ToCxIntentTrainingPhraseOutput ¶
func (i CxIntentTrainingPhraseArgs) ToCxIntentTrainingPhraseOutput() CxIntentTrainingPhraseOutput
func (CxIntentTrainingPhraseArgs) ToCxIntentTrainingPhraseOutputWithContext ¶
func (i CxIntentTrainingPhraseArgs) ToCxIntentTrainingPhraseOutputWithContext(ctx context.Context) CxIntentTrainingPhraseOutput
type CxIntentTrainingPhraseArray ¶
type CxIntentTrainingPhraseArray []CxIntentTrainingPhraseInput
func (CxIntentTrainingPhraseArray) ElementType ¶
func (CxIntentTrainingPhraseArray) ElementType() reflect.Type
func (CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutput ¶
func (i CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutput() CxIntentTrainingPhraseArrayOutput
func (CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutputWithContext ¶
func (i CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhraseArrayOutput
type CxIntentTrainingPhraseArrayInput ¶
type CxIntentTrainingPhraseArrayInput interface { pulumi.Input ToCxIntentTrainingPhraseArrayOutput() CxIntentTrainingPhraseArrayOutput ToCxIntentTrainingPhraseArrayOutputWithContext(context.Context) CxIntentTrainingPhraseArrayOutput }
CxIntentTrainingPhraseArrayInput is an input type that accepts CxIntentTrainingPhraseArray and CxIntentTrainingPhraseArrayOutput values. You can construct a concrete instance of `CxIntentTrainingPhraseArrayInput` via:
CxIntentTrainingPhraseArray{ CxIntentTrainingPhraseArgs{...} }
type CxIntentTrainingPhraseArrayOutput ¶
type CxIntentTrainingPhraseArrayOutput struct{ *pulumi.OutputState }
func (CxIntentTrainingPhraseArrayOutput) ElementType ¶
func (CxIntentTrainingPhraseArrayOutput) ElementType() reflect.Type
func (CxIntentTrainingPhraseArrayOutput) Index ¶
func (o CxIntentTrainingPhraseArrayOutput) Index(i pulumi.IntInput) CxIntentTrainingPhraseOutput
func (CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutput ¶
func (o CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutput() CxIntentTrainingPhraseArrayOutput
func (CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutputWithContext ¶
func (o CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhraseArrayOutput
type CxIntentTrainingPhraseInput ¶
type CxIntentTrainingPhraseInput interface { pulumi.Input ToCxIntentTrainingPhraseOutput() CxIntentTrainingPhraseOutput ToCxIntentTrainingPhraseOutputWithContext(context.Context) CxIntentTrainingPhraseOutput }
CxIntentTrainingPhraseInput is an input type that accepts CxIntentTrainingPhraseArgs and CxIntentTrainingPhraseOutput values. You can construct a concrete instance of `CxIntentTrainingPhraseInput` via:
CxIntentTrainingPhraseArgs{...}
type CxIntentTrainingPhraseOutput ¶
type CxIntentTrainingPhraseOutput struct{ *pulumi.OutputState }
func (CxIntentTrainingPhraseOutput) ElementType ¶
func (CxIntentTrainingPhraseOutput) ElementType() reflect.Type
func (CxIntentTrainingPhraseOutput) Id ¶
func (o CxIntentTrainingPhraseOutput) Id() pulumi.StringPtrOutput
The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
func (CxIntentTrainingPhraseOutput) Parts ¶
func (o CxIntentTrainingPhraseOutput) Parts() CxIntentTrainingPhrasePartArrayOutput
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: Part.text is set to a part of the phrase that has no parameters. Part.text is set to a part of the phrase that you want to annotate, and the parameterId field is set. Structure is documented below.
func (CxIntentTrainingPhraseOutput) RepeatCount ¶
func (o CxIntentTrainingPhraseOutput) RepeatCount() pulumi.IntPtrOutput
Indicates how many times this example was added to the intent.
func (CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutput ¶
func (o CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutput() CxIntentTrainingPhraseOutput
func (CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutputWithContext ¶
func (o CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutputWithContext(ctx context.Context) CxIntentTrainingPhraseOutput
type CxIntentTrainingPhrasePartArgs ¶
type CxIntentTrainingPhrasePartArgs struct { // The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase. ParameterId pulumi.StringPtrInput `pulumi:"parameterId"` // The text for this part. Text pulumi.StringInput `pulumi:"text"` }
func (CxIntentTrainingPhrasePartArgs) ElementType ¶
func (CxIntentTrainingPhrasePartArgs) ElementType() reflect.Type
func (CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutput ¶
func (i CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutput() CxIntentTrainingPhrasePartOutput
func (CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutputWithContext ¶
func (i CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartOutput
type CxIntentTrainingPhrasePartArray ¶
type CxIntentTrainingPhrasePartArray []CxIntentTrainingPhrasePartInput
func (CxIntentTrainingPhrasePartArray) ElementType ¶
func (CxIntentTrainingPhrasePartArray) ElementType() reflect.Type
func (CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutput ¶
func (i CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutput() CxIntentTrainingPhrasePartArrayOutput
func (CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutputWithContext ¶
func (i CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartArrayOutput
type CxIntentTrainingPhrasePartArrayInput ¶
type CxIntentTrainingPhrasePartArrayInput interface { pulumi.Input ToCxIntentTrainingPhrasePartArrayOutput() CxIntentTrainingPhrasePartArrayOutput ToCxIntentTrainingPhrasePartArrayOutputWithContext(context.Context) CxIntentTrainingPhrasePartArrayOutput }
CxIntentTrainingPhrasePartArrayInput is an input type that accepts CxIntentTrainingPhrasePartArray and CxIntentTrainingPhrasePartArrayOutput values. You can construct a concrete instance of `CxIntentTrainingPhrasePartArrayInput` via:
CxIntentTrainingPhrasePartArray{ CxIntentTrainingPhrasePartArgs{...} }
type CxIntentTrainingPhrasePartArrayOutput ¶
type CxIntentTrainingPhrasePartArrayOutput struct{ *pulumi.OutputState }
func (CxIntentTrainingPhrasePartArrayOutput) ElementType ¶
func (CxIntentTrainingPhrasePartArrayOutput) ElementType() reflect.Type
func (CxIntentTrainingPhrasePartArrayOutput) Index ¶
func (o CxIntentTrainingPhrasePartArrayOutput) Index(i pulumi.IntInput) CxIntentTrainingPhrasePartOutput
func (CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutput ¶
func (o CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutput() CxIntentTrainingPhrasePartArrayOutput
func (CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutputWithContext ¶
func (o CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartArrayOutput
type CxIntentTrainingPhrasePartInput ¶
type CxIntentTrainingPhrasePartInput interface { pulumi.Input ToCxIntentTrainingPhrasePartOutput() CxIntentTrainingPhrasePartOutput ToCxIntentTrainingPhrasePartOutputWithContext(context.Context) CxIntentTrainingPhrasePartOutput }
CxIntentTrainingPhrasePartInput is an input type that accepts CxIntentTrainingPhrasePartArgs and CxIntentTrainingPhrasePartOutput values. You can construct a concrete instance of `CxIntentTrainingPhrasePartInput` via:
CxIntentTrainingPhrasePartArgs{...}
type CxIntentTrainingPhrasePartOutput ¶
type CxIntentTrainingPhrasePartOutput struct{ *pulumi.OutputState }
func (CxIntentTrainingPhrasePartOutput) ElementType ¶
func (CxIntentTrainingPhrasePartOutput) ElementType() reflect.Type
func (CxIntentTrainingPhrasePartOutput) ParameterId ¶
func (o CxIntentTrainingPhrasePartOutput) ParameterId() pulumi.StringPtrOutput
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
func (CxIntentTrainingPhrasePartOutput) Text ¶
func (o CxIntentTrainingPhrasePartOutput) Text() pulumi.StringOutput
The text for this part.
func (CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutput ¶
func (o CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutput() CxIntentTrainingPhrasePartOutput
func (CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutputWithContext ¶
func (o CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartOutput
type CxPage ¶
type CxPage struct { pulumi.CustomResourceState // The human-readable name of the parameter, unique within the form. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The fulfillment to call when the session is entering the page. // Structure is documented below. EntryFulfillment CxPageEntryFulfillmentPtrOutput `pulumi:"entryFulfillment"` // Handlers associated with the page to handle events such as webhook errors, no match or no input. // Structure is documented below. EventHandlers CxPageEventHandlerArrayOutput `pulumi:"eventHandlers"` // The form associated with the page, used for collecting parameters relevant to the page. // Structure is documented below. Form CxPageFormPtrOutput `pulumi:"form"` // The language of the following fields in page: // Page.entry_fulfillment.messages // Page.entry_fulfillment.conditional_cases // Page.event_handlers.trigger_fulfillment.messages // Page.event_handlers.trigger_fulfillment.conditional_cases // Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages // Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases // Page.form.parameters.fill_behavior.reprompt_event_handlers.messages // Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases // Page.transition_routes.trigger_fulfillment.messages // Page.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. LanguageCode pulumi.StringPtrOutput `pulumi:"languageCode"` // - // The unique identifier of this event handler. Name pulumi.StringOutput `pulumi:"name"` // The flow to create a page for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. Parent pulumi.StringPtrOutput `pulumi:"parent"` // Ordered list of TransitionRouteGroups associated with the page. Transition route groups must be unique within a page. // If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route > page's transition route group > flow's transition routes. // If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. // Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>. TransitionRouteGroups pulumi.StringArrayOutput `pulumi:"transitionRouteGroups"` // A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. // When we are in a certain page, the TransitionRoutes are evalauted in the following order: // TransitionRoutes defined in the page with intent specified. // TransitionRoutes defined in the transition route groups with intent specified. // TransitionRoutes defined in flow with intent specified. // TransitionRoutes defined in the transition route groups with intent specified. // TransitionRoutes defined in the page with only condition specified. // TransitionRoutes defined in the transition route groups with only condition specified. // Structure is documented below. TransitionRoutes CxPageTransitionRouteArrayOutput `pulumi:"transitionRoutes"` }
A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages.
To get more information about Page, see:
* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows.pages) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
## Example Usage ### Dialogflowcx Page Full
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{ DisplayName: pulumi.String("dialogflowcx-agent"), Location: pulumi.String("global"), DefaultLanguageCode: pulumi.String("en"), SupportedLanguageCodes: pulumi.StringArray{ pulumi.String("fr"), pulumi.String("de"), pulumi.String("es"), }, TimeZone: pulumi.String("America/New_York"), Description: pulumi.String("Example description."), AvatarUri: pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"), EnableStackdriverLogging: pulumi.Bool(true), EnableSpellCorrection: pulumi.Bool(true), SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{ EnableSpeechAdaptation: pulumi.Bool(true), }, }) if err != nil { return err } myPage2, err := diagflow.NewCxPage(ctx, "myPage2", &diagflow.CxPageArgs{ Parent: agent.StartFlow, DisplayName: pulumi.String("MyPage2"), }) if err != nil { return err } _, err = diagflow.NewCxPage(ctx, "basicPage", &diagflow.CxPageArgs{ Parent: agent.StartFlow, DisplayName: pulumi.String("MyPage"), EntryFulfillment: &diagflow.CxPageEntryFulfillmentArgs{ Messages: diagflow.CxPageEntryFulfillmentMessageArray{ &diagflow.CxPageEntryFulfillmentMessageArgs{ Text: &diagflow.CxPageEntryFulfillmentMessageTextArgs{ Texts: pulumi.StringArray{ pulumi.String("Welcome to page"), }, }, }, }, }, Form: &diagflow.CxPageFormArgs{ Parameters: diagflow.CxPageFormParameterArray{ &diagflow.CxPageFormParameterArgs{ DisplayName: pulumi.String("param1"), EntityType: pulumi.String("projects/-/locations/-/agents/-/entityTypes/sys.date"), FillBehavior: &diagflow.CxPageFormParameterFillBehaviorArgs{ InitialPromptFulfillment: &diagflow.CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs{ Messages: diagflow.CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray{ &diagflow.CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs{ Text: &diagflow.CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs{ Texts: pulumi.StringArray{ pulumi.String("Please provide param1"), }, }, }, }, }, }, Required: pulumi.Bool(true), Redact: pulumi.Bool(true), }, }, }, TransitionRoutes: diagflow.CxPageTransitionRouteArray{ &diagflow.CxPageTransitionRouteArgs{ Condition: pulumi.String(fmt.Sprintf("%v%v", "$", "page.params.status = 'FINAL'")), TriggerFulfillment: &diagflow.CxPageTransitionRouteTriggerFulfillmentArgs{ Messages: diagflow.CxPageTransitionRouteTriggerFulfillmentMessageArray{ &diagflow.CxPageTransitionRouteTriggerFulfillmentMessageArgs{ Text: &diagflow.CxPageTransitionRouteTriggerFulfillmentMessageTextArgs{ Texts: pulumi.StringArray{ pulumi.String("information completed, navigating to page 2"), }, }, }, }, }, TargetPage: myPage2.ID(), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Page can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/cxPage:CxPage default {{parent}}/pages/{{name}}
```
```sh
$ pulumi import gcp:diagflow/cxPage:CxPage default {{parent}}/{{name}}
```
func GetCxPage ¶
func GetCxPage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CxPageState, opts ...pulumi.ResourceOption) (*CxPage, error)
GetCxPage gets an existing CxPage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCxPage ¶
func NewCxPage(ctx *pulumi.Context, name string, args *CxPageArgs, opts ...pulumi.ResourceOption) (*CxPage, error)
NewCxPage registers a new resource with the given unique name, arguments, and options.
func (*CxPage) ElementType ¶
func (*CxPage) ToCxPageOutput ¶
func (i *CxPage) ToCxPageOutput() CxPageOutput
func (*CxPage) ToCxPageOutputWithContext ¶
func (i *CxPage) ToCxPageOutputWithContext(ctx context.Context) CxPageOutput
type CxPageArgs ¶
type CxPageArgs struct { // The human-readable name of the parameter, unique within the form. DisplayName pulumi.StringInput // The fulfillment to call when the session is entering the page. // Structure is documented below. EntryFulfillment CxPageEntryFulfillmentPtrInput // Handlers associated with the page to handle events such as webhook errors, no match or no input. // Structure is documented below. EventHandlers CxPageEventHandlerArrayInput // The form associated with the page, used for collecting parameters relevant to the page. // Structure is documented below. Form CxPageFormPtrInput // The language of the following fields in page: // Page.entry_fulfillment.messages // Page.entry_fulfillment.conditional_cases // Page.event_handlers.trigger_fulfillment.messages // Page.event_handlers.trigger_fulfillment.conditional_cases // Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages // Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases // Page.form.parameters.fill_behavior.reprompt_event_handlers.messages // Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases // Page.transition_routes.trigger_fulfillment.messages // Page.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. LanguageCode pulumi.StringPtrInput // The flow to create a page for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. Parent pulumi.StringPtrInput // Ordered list of TransitionRouteGroups associated with the page. Transition route groups must be unique within a page. // If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route > page's transition route group > flow's transition routes. // If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. // Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>. TransitionRouteGroups pulumi.StringArrayInput // A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. // When we are in a certain page, the TransitionRoutes are evalauted in the following order: // TransitionRoutes defined in the page with intent specified. // TransitionRoutes defined in the transition route groups with intent specified. // TransitionRoutes defined in flow with intent specified. // TransitionRoutes defined in the transition route groups with intent specified. // TransitionRoutes defined in the page with only condition specified. // TransitionRoutes defined in the transition route groups with only condition specified. // Structure is documented below. TransitionRoutes CxPageTransitionRouteArrayInput }
The set of arguments for constructing a CxPage resource.
func (CxPageArgs) ElementType ¶
func (CxPageArgs) ElementType() reflect.Type
type CxPageArray ¶
type CxPageArray []CxPageInput
func (CxPageArray) ElementType ¶
func (CxPageArray) ElementType() reflect.Type
func (CxPageArray) ToCxPageArrayOutput ¶
func (i CxPageArray) ToCxPageArrayOutput() CxPageArrayOutput
func (CxPageArray) ToCxPageArrayOutputWithContext ¶
func (i CxPageArray) ToCxPageArrayOutputWithContext(ctx context.Context) CxPageArrayOutput
type CxPageArrayInput ¶
type CxPageArrayInput interface { pulumi.Input ToCxPageArrayOutput() CxPageArrayOutput ToCxPageArrayOutputWithContext(context.Context) CxPageArrayOutput }
CxPageArrayInput is an input type that accepts CxPageArray and CxPageArrayOutput values. You can construct a concrete instance of `CxPageArrayInput` via:
CxPageArray{ CxPageArgs{...} }
type CxPageArrayOutput ¶
type CxPageArrayOutput struct{ *pulumi.OutputState }
func (CxPageArrayOutput) ElementType ¶
func (CxPageArrayOutput) ElementType() reflect.Type
func (CxPageArrayOutput) Index ¶
func (o CxPageArrayOutput) Index(i pulumi.IntInput) CxPageOutput
func (CxPageArrayOutput) ToCxPageArrayOutput ¶
func (o CxPageArrayOutput) ToCxPageArrayOutput() CxPageArrayOutput
func (CxPageArrayOutput) ToCxPageArrayOutputWithContext ¶
func (o CxPageArrayOutput) ToCxPageArrayOutputWithContext(ctx context.Context) CxPageArrayOutput
type CxPageEntryFulfillment ¶
type CxPageEntryFulfillment struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages []CxPageEntryFulfillmentMessage `pulumi:"messages"` // 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. ReturnPartialResponses *bool `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag *string `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook *string `pulumi:"webhook"` }
type CxPageEntryFulfillmentArgs ¶
type CxPageEntryFulfillmentArgs struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages CxPageEntryFulfillmentMessageArrayInput `pulumi:"messages"` // 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. ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag pulumi.StringPtrInput `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook pulumi.StringPtrInput `pulumi:"webhook"` }
func (CxPageEntryFulfillmentArgs) ElementType ¶
func (CxPageEntryFulfillmentArgs) ElementType() reflect.Type
func (CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutput ¶
func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutput() CxPageEntryFulfillmentOutput
func (CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutputWithContext ¶
func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutputWithContext(ctx context.Context) CxPageEntryFulfillmentOutput
func (CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutput ¶
func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput
func (CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutputWithContext ¶
func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentPtrOutput
type CxPageEntryFulfillmentInput ¶
type CxPageEntryFulfillmentInput interface { pulumi.Input ToCxPageEntryFulfillmentOutput() CxPageEntryFulfillmentOutput ToCxPageEntryFulfillmentOutputWithContext(context.Context) CxPageEntryFulfillmentOutput }
CxPageEntryFulfillmentInput is an input type that accepts CxPageEntryFulfillmentArgs and CxPageEntryFulfillmentOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentInput` via:
CxPageEntryFulfillmentArgs{...}
type CxPageEntryFulfillmentMessage ¶
type CxPageEntryFulfillmentMessage struct { // A collection of text responses. Text *CxPageEntryFulfillmentMessageText `pulumi:"text"` }
type CxPageEntryFulfillmentMessageArgs ¶
type CxPageEntryFulfillmentMessageArgs struct { // A collection of text responses. Text CxPageEntryFulfillmentMessageTextPtrInput `pulumi:"text"` }
func (CxPageEntryFulfillmentMessageArgs) ElementType ¶
func (CxPageEntryFulfillmentMessageArgs) ElementType() reflect.Type
func (CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutput ¶
func (i CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutput() CxPageEntryFulfillmentMessageOutput
func (CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutputWithContext ¶
func (i CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageOutput
type CxPageEntryFulfillmentMessageArray ¶
type CxPageEntryFulfillmentMessageArray []CxPageEntryFulfillmentMessageInput
func (CxPageEntryFulfillmentMessageArray) ElementType ¶
func (CxPageEntryFulfillmentMessageArray) ElementType() reflect.Type
func (CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutput ¶
func (i CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutput() CxPageEntryFulfillmentMessageArrayOutput
func (CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutputWithContext ¶
func (i CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageArrayOutput
type CxPageEntryFulfillmentMessageArrayInput ¶
type CxPageEntryFulfillmentMessageArrayInput interface { pulumi.Input ToCxPageEntryFulfillmentMessageArrayOutput() CxPageEntryFulfillmentMessageArrayOutput ToCxPageEntryFulfillmentMessageArrayOutputWithContext(context.Context) CxPageEntryFulfillmentMessageArrayOutput }
CxPageEntryFulfillmentMessageArrayInput is an input type that accepts CxPageEntryFulfillmentMessageArray and CxPageEntryFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentMessageArrayInput` via:
CxPageEntryFulfillmentMessageArray{ CxPageEntryFulfillmentMessageArgs{...} }
type CxPageEntryFulfillmentMessageArrayOutput ¶
type CxPageEntryFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }
func (CxPageEntryFulfillmentMessageArrayOutput) ElementType ¶
func (CxPageEntryFulfillmentMessageArrayOutput) ElementType() reflect.Type
func (CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutput ¶
func (o CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutput() CxPageEntryFulfillmentMessageArrayOutput
func (CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutputWithContext ¶
func (o CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageArrayOutput
type CxPageEntryFulfillmentMessageInput ¶
type CxPageEntryFulfillmentMessageInput interface { pulumi.Input ToCxPageEntryFulfillmentMessageOutput() CxPageEntryFulfillmentMessageOutput ToCxPageEntryFulfillmentMessageOutputWithContext(context.Context) CxPageEntryFulfillmentMessageOutput }
CxPageEntryFulfillmentMessageInput is an input type that accepts CxPageEntryFulfillmentMessageArgs and CxPageEntryFulfillmentMessageOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentMessageInput` via:
CxPageEntryFulfillmentMessageArgs{...}
type CxPageEntryFulfillmentMessageOutput ¶
type CxPageEntryFulfillmentMessageOutput struct{ *pulumi.OutputState }
func (CxPageEntryFulfillmentMessageOutput) ElementType ¶
func (CxPageEntryFulfillmentMessageOutput) ElementType() reflect.Type
func (CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutput ¶
func (o CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutput() CxPageEntryFulfillmentMessageOutput
func (CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutputWithContext ¶
func (o CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageOutput
type CxPageEntryFulfillmentMessageText ¶
type CxPageEntryFulfillmentMessageText struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts []string `pulumi:"texts"` }
type CxPageEntryFulfillmentMessageTextArgs ¶
type CxPageEntryFulfillmentMessageTextArgs struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts pulumi.StringArrayInput `pulumi:"texts"` }
func (CxPageEntryFulfillmentMessageTextArgs) ElementType ¶
func (CxPageEntryFulfillmentMessageTextArgs) ElementType() reflect.Type
func (CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutput ¶
func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutput() CxPageEntryFulfillmentMessageTextOutput
func (CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutputWithContext ¶
func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextOutput
func (CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutput ¶
func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput
func (CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext ¶
func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextPtrOutput
type CxPageEntryFulfillmentMessageTextInput ¶
type CxPageEntryFulfillmentMessageTextInput interface { pulumi.Input ToCxPageEntryFulfillmentMessageTextOutput() CxPageEntryFulfillmentMessageTextOutput ToCxPageEntryFulfillmentMessageTextOutputWithContext(context.Context) CxPageEntryFulfillmentMessageTextOutput }
CxPageEntryFulfillmentMessageTextInput is an input type that accepts CxPageEntryFulfillmentMessageTextArgs and CxPageEntryFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentMessageTextInput` via:
CxPageEntryFulfillmentMessageTextArgs{...}
type CxPageEntryFulfillmentMessageTextOutput ¶
type CxPageEntryFulfillmentMessageTextOutput struct{ *pulumi.OutputState }
func (CxPageEntryFulfillmentMessageTextOutput) AllowPlaybackInterruption ¶
func (o CxPageEntryFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxPageEntryFulfillmentMessageTextOutput) ElementType ¶
func (CxPageEntryFulfillmentMessageTextOutput) ElementType() reflect.Type
func (CxPageEntryFulfillmentMessageTextOutput) Texts ¶
func (o CxPageEntryFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
A collection of text responses.
func (CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutput ¶
func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutput() CxPageEntryFulfillmentMessageTextOutput
func (CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutputWithContext ¶
func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextOutput
func (CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput ¶
func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput
func (CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextPtrOutput
type CxPageEntryFulfillmentMessageTextPtrInput ¶
type CxPageEntryFulfillmentMessageTextPtrInput interface { pulumi.Input ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(context.Context) CxPageEntryFulfillmentMessageTextPtrOutput }
CxPageEntryFulfillmentMessageTextPtrInput is an input type that accepts CxPageEntryFulfillmentMessageTextArgs, CxPageEntryFulfillmentMessageTextPtr and CxPageEntryFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentMessageTextPtrInput` via:
CxPageEntryFulfillmentMessageTextArgs{...} or: nil
func CxPageEntryFulfillmentMessageTextPtr ¶
func CxPageEntryFulfillmentMessageTextPtr(v *CxPageEntryFulfillmentMessageTextArgs) CxPageEntryFulfillmentMessageTextPtrInput
type CxPageEntryFulfillmentMessageTextPtrOutput ¶
type CxPageEntryFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }
func (CxPageEntryFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption ¶
func (o CxPageEntryFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxPageEntryFulfillmentMessageTextPtrOutput) ElementType ¶
func (CxPageEntryFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
func (CxPageEntryFulfillmentMessageTextPtrOutput) Texts ¶
func (o CxPageEntryFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
A collection of text responses.
func (CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput ¶
func (o CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput
func (CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextPtrOutput
type CxPageEntryFulfillmentOutput ¶
type CxPageEntryFulfillmentOutput struct{ *pulumi.OutputState }
func (CxPageEntryFulfillmentOutput) ElementType ¶
func (CxPageEntryFulfillmentOutput) ElementType() reflect.Type
func (CxPageEntryFulfillmentOutput) Messages ¶
func (o CxPageEntryFulfillmentOutput) Messages() CxPageEntryFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxPageEntryFulfillmentOutput) ReturnPartialResponses ¶
func (o CxPageEntryFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxPageEntryFulfillmentOutput) Tag ¶
func (o CxPageEntryFulfillmentOutput) Tag() pulumi.StringPtrOutput
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutput ¶
func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutput() CxPageEntryFulfillmentOutput
func (CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutputWithContext ¶
func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutputWithContext(ctx context.Context) CxPageEntryFulfillmentOutput
func (CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutput ¶
func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput
func (CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutputWithContext ¶
func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentPtrOutput
func (CxPageEntryFulfillmentOutput) Webhook ¶
func (o CxPageEntryFulfillmentOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxPageEntryFulfillmentPtrInput ¶
type CxPageEntryFulfillmentPtrInput interface { pulumi.Input ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput ToCxPageEntryFulfillmentPtrOutputWithContext(context.Context) CxPageEntryFulfillmentPtrOutput }
CxPageEntryFulfillmentPtrInput is an input type that accepts CxPageEntryFulfillmentArgs, CxPageEntryFulfillmentPtr and CxPageEntryFulfillmentPtrOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentPtrInput` via:
CxPageEntryFulfillmentArgs{...} or: nil
func CxPageEntryFulfillmentPtr ¶
func CxPageEntryFulfillmentPtr(v *CxPageEntryFulfillmentArgs) CxPageEntryFulfillmentPtrInput
type CxPageEntryFulfillmentPtrOutput ¶
type CxPageEntryFulfillmentPtrOutput struct{ *pulumi.OutputState }
func (CxPageEntryFulfillmentPtrOutput) Elem ¶
func (o CxPageEntryFulfillmentPtrOutput) Elem() CxPageEntryFulfillmentOutput
func (CxPageEntryFulfillmentPtrOutput) ElementType ¶
func (CxPageEntryFulfillmentPtrOutput) ElementType() reflect.Type
func (CxPageEntryFulfillmentPtrOutput) Messages ¶
func (o CxPageEntryFulfillmentPtrOutput) Messages() CxPageEntryFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxPageEntryFulfillmentPtrOutput) ReturnPartialResponses ¶
func (o CxPageEntryFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxPageEntryFulfillmentPtrOutput) Tag ¶
func (o CxPageEntryFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutput ¶
func (o CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput
func (CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutputWithContext ¶
func (o CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentPtrOutput
func (CxPageEntryFulfillmentPtrOutput) Webhook ¶
func (o CxPageEntryFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxPageEventHandler ¶
type CxPageEventHandler struct { // The name of the event to handle. Event *string `pulumi:"event"` // - // The unique identifier of this event handler. Name *string `pulumi:"name"` // The target flow to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. TargetFlow *string `pulumi:"targetFlow"` // The target page to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>. TargetPage *string `pulumi:"targetPage"` // The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. // Structure is documented below. TriggerFulfillment *CxPageEventHandlerTriggerFulfillment `pulumi:"triggerFulfillment"` }
type CxPageEventHandlerArgs ¶
type CxPageEventHandlerArgs struct { // The name of the event to handle. Event pulumi.StringPtrInput `pulumi:"event"` // - // The unique identifier of this event handler. Name pulumi.StringPtrInput `pulumi:"name"` // The target flow to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. TargetFlow pulumi.StringPtrInput `pulumi:"targetFlow"` // The target page to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>. TargetPage pulumi.StringPtrInput `pulumi:"targetPage"` // The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. // Structure is documented below. TriggerFulfillment CxPageEventHandlerTriggerFulfillmentPtrInput `pulumi:"triggerFulfillment"` }
func (CxPageEventHandlerArgs) ElementType ¶
func (CxPageEventHandlerArgs) ElementType() reflect.Type
func (CxPageEventHandlerArgs) ToCxPageEventHandlerOutput ¶
func (i CxPageEventHandlerArgs) ToCxPageEventHandlerOutput() CxPageEventHandlerOutput
func (CxPageEventHandlerArgs) ToCxPageEventHandlerOutputWithContext ¶
func (i CxPageEventHandlerArgs) ToCxPageEventHandlerOutputWithContext(ctx context.Context) CxPageEventHandlerOutput
type CxPageEventHandlerArray ¶
type CxPageEventHandlerArray []CxPageEventHandlerInput
func (CxPageEventHandlerArray) ElementType ¶
func (CxPageEventHandlerArray) ElementType() reflect.Type
func (CxPageEventHandlerArray) ToCxPageEventHandlerArrayOutput ¶
func (i CxPageEventHandlerArray) ToCxPageEventHandlerArrayOutput() CxPageEventHandlerArrayOutput
func (CxPageEventHandlerArray) ToCxPageEventHandlerArrayOutputWithContext ¶
func (i CxPageEventHandlerArray) ToCxPageEventHandlerArrayOutputWithContext(ctx context.Context) CxPageEventHandlerArrayOutput
type CxPageEventHandlerArrayInput ¶
type CxPageEventHandlerArrayInput interface { pulumi.Input ToCxPageEventHandlerArrayOutput() CxPageEventHandlerArrayOutput ToCxPageEventHandlerArrayOutputWithContext(context.Context) CxPageEventHandlerArrayOutput }
CxPageEventHandlerArrayInput is an input type that accepts CxPageEventHandlerArray and CxPageEventHandlerArrayOutput values. You can construct a concrete instance of `CxPageEventHandlerArrayInput` via:
CxPageEventHandlerArray{ CxPageEventHandlerArgs{...} }
type CxPageEventHandlerArrayOutput ¶
type CxPageEventHandlerArrayOutput struct{ *pulumi.OutputState }
func (CxPageEventHandlerArrayOutput) ElementType ¶
func (CxPageEventHandlerArrayOutput) ElementType() reflect.Type
func (CxPageEventHandlerArrayOutput) Index ¶
func (o CxPageEventHandlerArrayOutput) Index(i pulumi.IntInput) CxPageEventHandlerOutput
func (CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutput ¶
func (o CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutput() CxPageEventHandlerArrayOutput
func (CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutputWithContext ¶
func (o CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutputWithContext(ctx context.Context) CxPageEventHandlerArrayOutput
type CxPageEventHandlerInput ¶
type CxPageEventHandlerInput interface { pulumi.Input ToCxPageEventHandlerOutput() CxPageEventHandlerOutput ToCxPageEventHandlerOutputWithContext(context.Context) CxPageEventHandlerOutput }
CxPageEventHandlerInput is an input type that accepts CxPageEventHandlerArgs and CxPageEventHandlerOutput values. You can construct a concrete instance of `CxPageEventHandlerInput` via:
CxPageEventHandlerArgs{...}
type CxPageEventHandlerOutput ¶
type CxPageEventHandlerOutput struct{ *pulumi.OutputState }
func (CxPageEventHandlerOutput) ElementType ¶
func (CxPageEventHandlerOutput) ElementType() reflect.Type
func (CxPageEventHandlerOutput) Event ¶
func (o CxPageEventHandlerOutput) Event() pulumi.StringPtrOutput
The name of the event to handle.
func (CxPageEventHandlerOutput) Name ¶
func (o CxPageEventHandlerOutput) Name() pulumi.StringPtrOutput
- The unique identifier of this event handler.
func (CxPageEventHandlerOutput) TargetFlow ¶
func (o CxPageEventHandlerOutput) TargetFlow() pulumi.StringPtrOutput
The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
func (CxPageEventHandlerOutput) TargetPage ¶
func (o CxPageEventHandlerOutput) TargetPage() pulumi.StringPtrOutput
The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
func (CxPageEventHandlerOutput) ToCxPageEventHandlerOutput ¶
func (o CxPageEventHandlerOutput) ToCxPageEventHandlerOutput() CxPageEventHandlerOutput
func (CxPageEventHandlerOutput) ToCxPageEventHandlerOutputWithContext ¶
func (o CxPageEventHandlerOutput) ToCxPageEventHandlerOutputWithContext(ctx context.Context) CxPageEventHandlerOutput
func (CxPageEventHandlerOutput) TriggerFulfillment ¶
func (o CxPageEventHandlerOutput) TriggerFulfillment() CxPageEventHandlerTriggerFulfillmentPtrOutput
The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.
type CxPageEventHandlerTriggerFulfillment ¶
type CxPageEventHandlerTriggerFulfillment struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages []CxPageEventHandlerTriggerFulfillmentMessage `pulumi:"messages"` // 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. ReturnPartialResponses *bool `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag *string `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook *string `pulumi:"webhook"` }
type CxPageEventHandlerTriggerFulfillmentArgs ¶
type CxPageEventHandlerTriggerFulfillmentArgs struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages CxPageEventHandlerTriggerFulfillmentMessageArrayInput `pulumi:"messages"` // 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. ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag pulumi.StringPtrInput `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook pulumi.StringPtrInput `pulumi:"webhook"` }
func (CxPageEventHandlerTriggerFulfillmentArgs) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentArgs) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutput ¶
func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutput() CxPageEventHandlerTriggerFulfillmentOutput
func (CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext ¶
func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentOutput
func (CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutput ¶
func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput
func (CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext ¶
func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput
type CxPageEventHandlerTriggerFulfillmentInput ¶
type CxPageEventHandlerTriggerFulfillmentInput interface { pulumi.Input ToCxPageEventHandlerTriggerFulfillmentOutput() CxPageEventHandlerTriggerFulfillmentOutput ToCxPageEventHandlerTriggerFulfillmentOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentOutput }
CxPageEventHandlerTriggerFulfillmentInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentArgs and CxPageEventHandlerTriggerFulfillmentOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentInput` via:
CxPageEventHandlerTriggerFulfillmentArgs{...}
type CxPageEventHandlerTriggerFulfillmentMessage ¶
type CxPageEventHandlerTriggerFulfillmentMessage struct { // A collection of text responses. Text *CxPageEventHandlerTriggerFulfillmentMessageText `pulumi:"text"` }
type CxPageEventHandlerTriggerFulfillmentMessageArgs ¶
type CxPageEventHandlerTriggerFulfillmentMessageArgs struct { // A collection of text responses. Text CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput `pulumi:"text"` }
func (CxPageEventHandlerTriggerFulfillmentMessageArgs) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentMessageArgs) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutput ¶
func (i CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutput() CxPageEventHandlerTriggerFulfillmentMessageOutput
func (CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext ¶
func (i CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageOutput
type CxPageEventHandlerTriggerFulfillmentMessageArray ¶
type CxPageEventHandlerTriggerFulfillmentMessageArray []CxPageEventHandlerTriggerFulfillmentMessageInput
func (CxPageEventHandlerTriggerFulfillmentMessageArray) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentMessageArray) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput ¶
func (i CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
func (CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext ¶
func (i CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
type CxPageEventHandlerTriggerFulfillmentMessageArrayInput ¶
type CxPageEventHandlerTriggerFulfillmentMessageArrayInput interface { pulumi.Input ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentMessageArrayOutput }
CxPageEventHandlerTriggerFulfillmentMessageArrayInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentMessageArray and CxPageEventHandlerTriggerFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentMessageArrayInput` via:
CxPageEventHandlerTriggerFulfillmentMessageArray{ CxPageEventHandlerTriggerFulfillmentMessageArgs{...} }
type CxPageEventHandlerTriggerFulfillmentMessageArrayOutput ¶
type CxPageEventHandlerTriggerFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }
func (CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
func (CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
type CxPageEventHandlerTriggerFulfillmentMessageInput ¶
type CxPageEventHandlerTriggerFulfillmentMessageInput interface { pulumi.Input ToCxPageEventHandlerTriggerFulfillmentMessageOutput() CxPageEventHandlerTriggerFulfillmentMessageOutput ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentMessageOutput }
CxPageEventHandlerTriggerFulfillmentMessageInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentMessageArgs and CxPageEventHandlerTriggerFulfillmentMessageOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentMessageInput` via:
CxPageEventHandlerTriggerFulfillmentMessageArgs{...}
type CxPageEventHandlerTriggerFulfillmentMessageOutput ¶
type CxPageEventHandlerTriggerFulfillmentMessageOutput struct{ *pulumi.OutputState }
func (CxPageEventHandlerTriggerFulfillmentMessageOutput) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentMessageOutput) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentMessageOutput) Text ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageOutput) Text() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
A collection of text responses.
func (CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutput ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutput() CxPageEventHandlerTriggerFulfillmentMessageOutput
func (CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageOutput
type CxPageEventHandlerTriggerFulfillmentMessageText ¶
type CxPageEventHandlerTriggerFulfillmentMessageText struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts []string `pulumi:"texts"` }
type CxPageEventHandlerTriggerFulfillmentMessageTextArgs ¶
type CxPageEventHandlerTriggerFulfillmentMessageTextArgs struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts pulumi.StringArrayInput `pulumi:"texts"` }
func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput ¶
func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput() CxPageEventHandlerTriggerFulfillmentMessageTextOutput
func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext ¶
func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextOutput
func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput ¶
func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
type CxPageEventHandlerTriggerFulfillmentMessageTextInput ¶
type CxPageEventHandlerTriggerFulfillmentMessageTextInput interface { pulumi.Input ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput() CxPageEventHandlerTriggerFulfillmentMessageTextOutput ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextOutput }
CxPageEventHandlerTriggerFulfillmentMessageTextInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentMessageTextArgs and CxPageEventHandlerTriggerFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentMessageTextInput` via:
CxPageEventHandlerTriggerFulfillmentMessageTextArgs{...}
type CxPageEventHandlerTriggerFulfillmentMessageTextOutput ¶
type CxPageEventHandlerTriggerFulfillmentMessageTextOutput struct{ *pulumi.OutputState }
func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) Texts ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
A collection of text responses.
func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput() CxPageEventHandlerTriggerFulfillmentMessageTextOutput
func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextOutput
func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
type CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput ¶
type CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput interface { pulumi.Input ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput }
CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentMessageTextArgs, CxPageEventHandlerTriggerFulfillmentMessageTextPtr and CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput` via:
CxPageEventHandlerTriggerFulfillmentMessageTextArgs{...} or: nil
func CxPageEventHandlerTriggerFulfillmentMessageTextPtr ¶
func CxPageEventHandlerTriggerFulfillmentMessageTextPtr(v *CxPageEventHandlerTriggerFulfillmentMessageTextArgs) CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput
type CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput ¶
type CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }
func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) Texts ¶
A collection of text responses.
func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
type CxPageEventHandlerTriggerFulfillmentOutput ¶
type CxPageEventHandlerTriggerFulfillmentOutput struct{ *pulumi.OutputState }
func (CxPageEventHandlerTriggerFulfillmentOutput) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentOutput) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentOutput) Messages ¶
func (o CxPageEventHandlerTriggerFulfillmentOutput) Messages() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxPageEventHandlerTriggerFulfillmentOutput) ReturnPartialResponses ¶
func (o CxPageEventHandlerTriggerFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxPageEventHandlerTriggerFulfillmentOutput) Tag ¶
func (o CxPageEventHandlerTriggerFulfillmentOutput) Tag() pulumi.StringPtrOutput
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutput ¶
func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutput() CxPageEventHandlerTriggerFulfillmentOutput
func (CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext ¶
func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentOutput
func (CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput ¶
func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput
func (CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext ¶
func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput
func (CxPageEventHandlerTriggerFulfillmentOutput) Webhook ¶
func (o CxPageEventHandlerTriggerFulfillmentOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxPageEventHandlerTriggerFulfillmentPtrInput ¶
type CxPageEventHandlerTriggerFulfillmentPtrInput interface { pulumi.Input ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput }
CxPageEventHandlerTriggerFulfillmentPtrInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentArgs, CxPageEventHandlerTriggerFulfillmentPtr and CxPageEventHandlerTriggerFulfillmentPtrOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentPtrInput` via:
CxPageEventHandlerTriggerFulfillmentArgs{...} or: nil
func CxPageEventHandlerTriggerFulfillmentPtr ¶
func CxPageEventHandlerTriggerFulfillmentPtr(v *CxPageEventHandlerTriggerFulfillmentArgs) CxPageEventHandlerTriggerFulfillmentPtrInput
type CxPageEventHandlerTriggerFulfillmentPtrOutput ¶
type CxPageEventHandlerTriggerFulfillmentPtrOutput struct{ *pulumi.OutputState }
func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ElementType ¶
func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ElementType() reflect.Type
func (CxPageEventHandlerTriggerFulfillmentPtrOutput) Messages ¶
func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) Messages() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ReturnPartialResponses ¶
func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxPageEventHandlerTriggerFulfillmentPtrOutput) Tag ¶
func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput ¶
func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput
func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext ¶
func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput
func (CxPageEventHandlerTriggerFulfillmentPtrOutput) Webhook ¶
func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxPageForm ¶
type CxPageForm struct { // Parameters to collect from the user. // Structure is documented below. Parameters []CxPageFormParameter `pulumi:"parameters"` }
type CxPageFormArgs ¶
type CxPageFormArgs struct { // Parameters to collect from the user. // Structure is documented below. Parameters CxPageFormParameterArrayInput `pulumi:"parameters"` }
func (CxPageFormArgs) ElementType ¶
func (CxPageFormArgs) ElementType() reflect.Type
func (CxPageFormArgs) ToCxPageFormOutput ¶
func (i CxPageFormArgs) ToCxPageFormOutput() CxPageFormOutput
func (CxPageFormArgs) ToCxPageFormOutputWithContext ¶
func (i CxPageFormArgs) ToCxPageFormOutputWithContext(ctx context.Context) CxPageFormOutput
func (CxPageFormArgs) ToCxPageFormPtrOutput ¶
func (i CxPageFormArgs) ToCxPageFormPtrOutput() CxPageFormPtrOutput
func (CxPageFormArgs) ToCxPageFormPtrOutputWithContext ¶
func (i CxPageFormArgs) ToCxPageFormPtrOutputWithContext(ctx context.Context) CxPageFormPtrOutput
type CxPageFormInput ¶
type CxPageFormInput interface { pulumi.Input ToCxPageFormOutput() CxPageFormOutput ToCxPageFormOutputWithContext(context.Context) CxPageFormOutput }
CxPageFormInput is an input type that accepts CxPageFormArgs and CxPageFormOutput values. You can construct a concrete instance of `CxPageFormInput` via:
CxPageFormArgs{...}
type CxPageFormOutput ¶
type CxPageFormOutput struct{ *pulumi.OutputState }
func (CxPageFormOutput) ElementType ¶
func (CxPageFormOutput) ElementType() reflect.Type
func (CxPageFormOutput) Parameters ¶
func (o CxPageFormOutput) Parameters() CxPageFormParameterArrayOutput
Parameters to collect from the user. Structure is documented below.
func (CxPageFormOutput) ToCxPageFormOutput ¶
func (o CxPageFormOutput) ToCxPageFormOutput() CxPageFormOutput
func (CxPageFormOutput) ToCxPageFormOutputWithContext ¶
func (o CxPageFormOutput) ToCxPageFormOutputWithContext(ctx context.Context) CxPageFormOutput
func (CxPageFormOutput) ToCxPageFormPtrOutput ¶
func (o CxPageFormOutput) ToCxPageFormPtrOutput() CxPageFormPtrOutput
func (CxPageFormOutput) ToCxPageFormPtrOutputWithContext ¶
func (o CxPageFormOutput) ToCxPageFormPtrOutputWithContext(ctx context.Context) CxPageFormPtrOutput
type CxPageFormParameter ¶
type CxPageFormParameter struct { // The human-readable name of the parameter, unique within the form. DisplayName *string `pulumi:"displayName"` // The entity type of the parameter. // Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types. EntityType *string `pulumi:"entityType"` // Defines fill behavior for the parameter. // Structure is documented below. FillBehavior *CxPageFormParameterFillBehavior `pulumi:"fillBehavior"` // Indicates whether the parameter represents a list of values. IsList *bool `pulumi:"isList"` // Indicates whether the parameter content should be redacted in log. // If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled. Redact *bool `pulumi:"redact"` // Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. // Required parameters must be filled before form filling concludes. Required *bool `pulumi:"required"` }
type CxPageFormParameterArgs ¶
type CxPageFormParameterArgs struct { // The human-readable name of the parameter, unique within the form. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // The entity type of the parameter. // Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types. EntityType pulumi.StringPtrInput `pulumi:"entityType"` // Defines fill behavior for the parameter. // Structure is documented below. FillBehavior CxPageFormParameterFillBehaviorPtrInput `pulumi:"fillBehavior"` // Indicates whether the parameter represents a list of values. IsList pulumi.BoolPtrInput `pulumi:"isList"` // Indicates whether the parameter content should be redacted in log. // If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled. Redact pulumi.BoolPtrInput `pulumi:"redact"` // Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. // Required parameters must be filled before form filling concludes. Required pulumi.BoolPtrInput `pulumi:"required"` }
func (CxPageFormParameterArgs) ElementType ¶
func (CxPageFormParameterArgs) ElementType() reflect.Type
func (CxPageFormParameterArgs) ToCxPageFormParameterOutput ¶
func (i CxPageFormParameterArgs) ToCxPageFormParameterOutput() CxPageFormParameterOutput
func (CxPageFormParameterArgs) ToCxPageFormParameterOutputWithContext ¶
func (i CxPageFormParameterArgs) ToCxPageFormParameterOutputWithContext(ctx context.Context) CxPageFormParameterOutput
type CxPageFormParameterArray ¶
type CxPageFormParameterArray []CxPageFormParameterInput
func (CxPageFormParameterArray) ElementType ¶
func (CxPageFormParameterArray) ElementType() reflect.Type
func (CxPageFormParameterArray) ToCxPageFormParameterArrayOutput ¶
func (i CxPageFormParameterArray) ToCxPageFormParameterArrayOutput() CxPageFormParameterArrayOutput
func (CxPageFormParameterArray) ToCxPageFormParameterArrayOutputWithContext ¶
func (i CxPageFormParameterArray) ToCxPageFormParameterArrayOutputWithContext(ctx context.Context) CxPageFormParameterArrayOutput
type CxPageFormParameterArrayInput ¶
type CxPageFormParameterArrayInput interface { pulumi.Input ToCxPageFormParameterArrayOutput() CxPageFormParameterArrayOutput ToCxPageFormParameterArrayOutputWithContext(context.Context) CxPageFormParameterArrayOutput }
CxPageFormParameterArrayInput is an input type that accepts CxPageFormParameterArray and CxPageFormParameterArrayOutput values. You can construct a concrete instance of `CxPageFormParameterArrayInput` via:
CxPageFormParameterArray{ CxPageFormParameterArgs{...} }
type CxPageFormParameterArrayOutput ¶
type CxPageFormParameterArrayOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterArrayOutput) ElementType ¶
func (CxPageFormParameterArrayOutput) ElementType() reflect.Type
func (CxPageFormParameterArrayOutput) Index ¶
func (o CxPageFormParameterArrayOutput) Index(i pulumi.IntInput) CxPageFormParameterOutput
func (CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutput ¶
func (o CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutput() CxPageFormParameterArrayOutput
func (CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutputWithContext ¶
func (o CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutputWithContext(ctx context.Context) CxPageFormParameterArrayOutput
type CxPageFormParameterFillBehavior ¶
type CxPageFormParameterFillBehavior struct { // The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. // Structure is documented below. InitialPromptFulfillment *CxPageFormParameterFillBehaviorInitialPromptFulfillment `pulumi:"initialPromptFulfillment"` }
type CxPageFormParameterFillBehaviorArgs ¶
type CxPageFormParameterFillBehaviorArgs struct { // The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. // Structure is documented below. InitialPromptFulfillment CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput `pulumi:"initialPromptFulfillment"` }
func (CxPageFormParameterFillBehaviorArgs) ElementType ¶
func (CxPageFormParameterFillBehaviorArgs) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutput ¶
func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutput() CxPageFormParameterFillBehaviorOutput
func (CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutputWithContext ¶
func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorOutput
func (CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutput ¶
func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput
func (CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutputWithContext ¶
func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorPtrOutput
type CxPageFormParameterFillBehaviorInitialPromptFulfillment ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillment struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages []CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessage `pulumi:"messages"` // 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. ReturnPartialResponses *bool `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag *string `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook *string `pulumi:"webhook"` }
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput `pulumi:"messages"` // 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. ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag pulumi.StringPtrInput `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook pulumi.StringPtrInput `pulumi:"webhook"` }
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentInput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentInput interface { pulumi.Input ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput }
CxPageFormParameterFillBehaviorInitialPromptFulfillmentInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs and CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentInput` via:
CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs{...}
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessage ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessage struct { // A collection of text responses. Text *CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageText `pulumi:"text"` }
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs struct { // A collection of text responses. Text CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput `pulumi:"text"` }
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray []CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput interface { pulumi.Input ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput }
CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray and CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput` via:
CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray{ CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs{...} }
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput interface { pulumi.Input ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput }
CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs and CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput` via:
CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs{...}
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) Text ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) Text() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
A collection of text responses.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageText ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageText struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts []string `pulumi:"texts"` }
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts pulumi.StringArrayInput `pulumi:"texts"` }
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext ¶
func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextInput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextInput interface { pulumi.Input ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput }
CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs and CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextInput` via:
CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs{...}
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) AllowPlaybackInterruption ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) Texts ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) Texts() pulumi.StringArrayOutput
A collection of text responses.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput interface { pulumi.Input ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput }
CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs, CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtr and CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput` via:
CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs{...} or: nil
func CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtr ¶
func CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtr(v *CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) Texts ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
A collection of text responses.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Messages ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Messages() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ReturnPartialResponses ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Tag ¶
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Webhook ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput interface { pulumi.Input ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput }
CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs, CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtr and CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput` via:
CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs{...} or: nil
func CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtr ¶
func CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtr(v *CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput ¶
type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ElementType ¶
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Messages ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Messages() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ReturnPartialResponses ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Tag ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Tag() pulumi.StringPtrOutput
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Webhook ¶
func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxPageFormParameterFillBehaviorInput ¶
type CxPageFormParameterFillBehaviorInput interface { pulumi.Input ToCxPageFormParameterFillBehaviorOutput() CxPageFormParameterFillBehaviorOutput ToCxPageFormParameterFillBehaviorOutputWithContext(context.Context) CxPageFormParameterFillBehaviorOutput }
CxPageFormParameterFillBehaviorInput is an input type that accepts CxPageFormParameterFillBehaviorArgs and CxPageFormParameterFillBehaviorOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInput` via:
CxPageFormParameterFillBehaviorArgs{...}
type CxPageFormParameterFillBehaviorOutput ¶
type CxPageFormParameterFillBehaviorOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterFillBehaviorOutput) ElementType ¶
func (CxPageFormParameterFillBehaviorOutput) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorOutput) InitialPromptFulfillment ¶
func (o CxPageFormParameterFillBehaviorOutput) InitialPromptFulfillment() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. Structure is documented below.
func (CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutput ¶
func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutput() CxPageFormParameterFillBehaviorOutput
func (CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorOutput
func (CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutput ¶
func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput
func (CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorPtrOutput
type CxPageFormParameterFillBehaviorPtrInput ¶
type CxPageFormParameterFillBehaviorPtrInput interface { pulumi.Input ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput ToCxPageFormParameterFillBehaviorPtrOutputWithContext(context.Context) CxPageFormParameterFillBehaviorPtrOutput }
CxPageFormParameterFillBehaviorPtrInput is an input type that accepts CxPageFormParameterFillBehaviorArgs, CxPageFormParameterFillBehaviorPtr and CxPageFormParameterFillBehaviorPtrOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorPtrInput` via:
CxPageFormParameterFillBehaviorArgs{...} or: nil
func CxPageFormParameterFillBehaviorPtr ¶
func CxPageFormParameterFillBehaviorPtr(v *CxPageFormParameterFillBehaviorArgs) CxPageFormParameterFillBehaviorPtrInput
type CxPageFormParameterFillBehaviorPtrOutput ¶
type CxPageFormParameterFillBehaviorPtrOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterFillBehaviorPtrOutput) ElementType ¶
func (CxPageFormParameterFillBehaviorPtrOutput) ElementType() reflect.Type
func (CxPageFormParameterFillBehaviorPtrOutput) InitialPromptFulfillment ¶
func (o CxPageFormParameterFillBehaviorPtrOutput) InitialPromptFulfillment() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. Structure is documented below.
func (CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutput ¶
func (o CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput
func (CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext ¶
func (o CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorPtrOutput
type CxPageFormParameterInput ¶
type CxPageFormParameterInput interface { pulumi.Input ToCxPageFormParameterOutput() CxPageFormParameterOutput ToCxPageFormParameterOutputWithContext(context.Context) CxPageFormParameterOutput }
CxPageFormParameterInput is an input type that accepts CxPageFormParameterArgs and CxPageFormParameterOutput values. You can construct a concrete instance of `CxPageFormParameterInput` via:
CxPageFormParameterArgs{...}
type CxPageFormParameterOutput ¶
type CxPageFormParameterOutput struct{ *pulumi.OutputState }
func (CxPageFormParameterOutput) DisplayName ¶
func (o CxPageFormParameterOutput) DisplayName() pulumi.StringPtrOutput
The human-readable name of the parameter, unique within the form.
func (CxPageFormParameterOutput) ElementType ¶
func (CxPageFormParameterOutput) ElementType() reflect.Type
func (CxPageFormParameterOutput) EntityType ¶
func (o CxPageFormParameterOutput) EntityType() pulumi.StringPtrOutput
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
func (CxPageFormParameterOutput) FillBehavior ¶
func (o CxPageFormParameterOutput) FillBehavior() CxPageFormParameterFillBehaviorPtrOutput
Defines fill behavior for the parameter. Structure is documented below.
func (CxPageFormParameterOutput) IsList ¶
func (o CxPageFormParameterOutput) IsList() pulumi.BoolPtrOutput
Indicates whether the parameter represents a list of values.
func (CxPageFormParameterOutput) Redact ¶
func (o CxPageFormParameterOutput) Redact() pulumi.BoolPtrOutput
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
func (CxPageFormParameterOutput) Required ¶
func (o CxPageFormParameterOutput) Required() pulumi.BoolPtrOutput
Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.
func (CxPageFormParameterOutput) ToCxPageFormParameterOutput ¶
func (o CxPageFormParameterOutput) ToCxPageFormParameterOutput() CxPageFormParameterOutput
func (CxPageFormParameterOutput) ToCxPageFormParameterOutputWithContext ¶
func (o CxPageFormParameterOutput) ToCxPageFormParameterOutputWithContext(ctx context.Context) CxPageFormParameterOutput
type CxPageFormPtrInput ¶
type CxPageFormPtrInput interface { pulumi.Input ToCxPageFormPtrOutput() CxPageFormPtrOutput ToCxPageFormPtrOutputWithContext(context.Context) CxPageFormPtrOutput }
CxPageFormPtrInput is an input type that accepts CxPageFormArgs, CxPageFormPtr and CxPageFormPtrOutput values. You can construct a concrete instance of `CxPageFormPtrInput` via:
CxPageFormArgs{...} or: nil
func CxPageFormPtr ¶
func CxPageFormPtr(v *CxPageFormArgs) CxPageFormPtrInput
type CxPageFormPtrOutput ¶
type CxPageFormPtrOutput struct{ *pulumi.OutputState }
func (CxPageFormPtrOutput) Elem ¶
func (o CxPageFormPtrOutput) Elem() CxPageFormOutput
func (CxPageFormPtrOutput) ElementType ¶
func (CxPageFormPtrOutput) ElementType() reflect.Type
func (CxPageFormPtrOutput) Parameters ¶
func (o CxPageFormPtrOutput) Parameters() CxPageFormParameterArrayOutput
Parameters to collect from the user. Structure is documented below.
func (CxPageFormPtrOutput) ToCxPageFormPtrOutput ¶
func (o CxPageFormPtrOutput) ToCxPageFormPtrOutput() CxPageFormPtrOutput
func (CxPageFormPtrOutput) ToCxPageFormPtrOutputWithContext ¶
func (o CxPageFormPtrOutput) ToCxPageFormPtrOutputWithContext(ctx context.Context) CxPageFormPtrOutput
type CxPageInput ¶
type CxPageInput interface { pulumi.Input ToCxPageOutput() CxPageOutput ToCxPageOutputWithContext(ctx context.Context) CxPageOutput }
type CxPageMap ¶
type CxPageMap map[string]CxPageInput
func (CxPageMap) ElementType ¶
func (CxPageMap) ToCxPageMapOutput ¶
func (i CxPageMap) ToCxPageMapOutput() CxPageMapOutput
func (CxPageMap) ToCxPageMapOutputWithContext ¶
func (i CxPageMap) ToCxPageMapOutputWithContext(ctx context.Context) CxPageMapOutput
type CxPageMapInput ¶
type CxPageMapInput interface { pulumi.Input ToCxPageMapOutput() CxPageMapOutput ToCxPageMapOutputWithContext(context.Context) CxPageMapOutput }
CxPageMapInput is an input type that accepts CxPageMap and CxPageMapOutput values. You can construct a concrete instance of `CxPageMapInput` via:
CxPageMap{ "key": CxPageArgs{...} }
type CxPageMapOutput ¶
type CxPageMapOutput struct{ *pulumi.OutputState }
func (CxPageMapOutput) ElementType ¶
func (CxPageMapOutput) ElementType() reflect.Type
func (CxPageMapOutput) MapIndex ¶
func (o CxPageMapOutput) MapIndex(k pulumi.StringInput) CxPageOutput
func (CxPageMapOutput) ToCxPageMapOutput ¶
func (o CxPageMapOutput) ToCxPageMapOutput() CxPageMapOutput
func (CxPageMapOutput) ToCxPageMapOutputWithContext ¶
func (o CxPageMapOutput) ToCxPageMapOutputWithContext(ctx context.Context) CxPageMapOutput
type CxPageOutput ¶
type CxPageOutput struct{ *pulumi.OutputState }
func (CxPageOutput) ElementType ¶
func (CxPageOutput) ElementType() reflect.Type
func (CxPageOutput) ToCxPageOutput ¶
func (o CxPageOutput) ToCxPageOutput() CxPageOutput
func (CxPageOutput) ToCxPageOutputWithContext ¶
func (o CxPageOutput) ToCxPageOutputWithContext(ctx context.Context) CxPageOutput
type CxPageState ¶
type CxPageState struct { // The human-readable name of the parameter, unique within the form. DisplayName pulumi.StringPtrInput // The fulfillment to call when the session is entering the page. // Structure is documented below. EntryFulfillment CxPageEntryFulfillmentPtrInput // Handlers associated with the page to handle events such as webhook errors, no match or no input. // Structure is documented below. EventHandlers CxPageEventHandlerArrayInput // The form associated with the page, used for collecting parameters relevant to the page. // Structure is documented below. Form CxPageFormPtrInput // The language of the following fields in page: // Page.entry_fulfillment.messages // Page.entry_fulfillment.conditional_cases // Page.event_handlers.trigger_fulfillment.messages // Page.event_handlers.trigger_fulfillment.conditional_cases // Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages // Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases // Page.form.parameters.fill_behavior.reprompt_event_handlers.messages // Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases // Page.transition_routes.trigger_fulfillment.messages // Page.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. LanguageCode pulumi.StringPtrInput // - // The unique identifier of this event handler. Name pulumi.StringPtrInput // The flow to create a page for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. Parent pulumi.StringPtrInput // Ordered list of TransitionRouteGroups associated with the page. Transition route groups must be unique within a page. // If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route > page's transition route group > flow's transition routes. // If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. // Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>. TransitionRouteGroups pulumi.StringArrayInput // A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. // When we are in a certain page, the TransitionRoutes are evalauted in the following order: // TransitionRoutes defined in the page with intent specified. // TransitionRoutes defined in the transition route groups with intent specified. // TransitionRoutes defined in flow with intent specified. // TransitionRoutes defined in the transition route groups with intent specified. // TransitionRoutes defined in the page with only condition specified. // TransitionRoutes defined in the transition route groups with only condition specified. // Structure is documented below. TransitionRoutes CxPageTransitionRouteArrayInput }
func (CxPageState) ElementType ¶
func (CxPageState) ElementType() reflect.Type
type CxPageTransitionRoute ¶
type CxPageTransitionRoute struct { // The condition to evaluate against form parameters or session parameters. // At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Condition *string `pulumi:"condition"` // The unique identifier of an Intent. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Intent *string `pulumi:"intent"` // - // The unique identifier of this event handler. Name *string `pulumi:"name"` // The target flow to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. TargetFlow *string `pulumi:"targetFlow"` // The target page to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>. TargetPage *string `pulumi:"targetPage"` // The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. // Structure is documented below. TriggerFulfillment *CxPageTransitionRouteTriggerFulfillment `pulumi:"triggerFulfillment"` }
type CxPageTransitionRouteArgs ¶
type CxPageTransitionRouteArgs struct { // The condition to evaluate against form parameters or session parameters. // At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Condition pulumi.StringPtrInput `pulumi:"condition"` // The unique identifier of an Intent. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Intent pulumi.StringPtrInput `pulumi:"intent"` // - // The unique identifier of this event handler. Name pulumi.StringPtrInput `pulumi:"name"` // The target flow to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. TargetFlow pulumi.StringPtrInput `pulumi:"targetFlow"` // The target page to transition to. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>. TargetPage pulumi.StringPtrInput `pulumi:"targetPage"` // The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. // Structure is documented below. TriggerFulfillment CxPageTransitionRouteTriggerFulfillmentPtrInput `pulumi:"triggerFulfillment"` }
func (CxPageTransitionRouteArgs) ElementType ¶
func (CxPageTransitionRouteArgs) ElementType() reflect.Type
func (CxPageTransitionRouteArgs) ToCxPageTransitionRouteOutput ¶
func (i CxPageTransitionRouteArgs) ToCxPageTransitionRouteOutput() CxPageTransitionRouteOutput
func (CxPageTransitionRouteArgs) ToCxPageTransitionRouteOutputWithContext ¶
func (i CxPageTransitionRouteArgs) ToCxPageTransitionRouteOutputWithContext(ctx context.Context) CxPageTransitionRouteOutput
type CxPageTransitionRouteArray ¶
type CxPageTransitionRouteArray []CxPageTransitionRouteInput
func (CxPageTransitionRouteArray) ElementType ¶
func (CxPageTransitionRouteArray) ElementType() reflect.Type
func (CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutput ¶
func (i CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutput() CxPageTransitionRouteArrayOutput
func (CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutputWithContext ¶
func (i CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteArrayOutput
type CxPageTransitionRouteArrayInput ¶
type CxPageTransitionRouteArrayInput interface { pulumi.Input ToCxPageTransitionRouteArrayOutput() CxPageTransitionRouteArrayOutput ToCxPageTransitionRouteArrayOutputWithContext(context.Context) CxPageTransitionRouteArrayOutput }
CxPageTransitionRouteArrayInput is an input type that accepts CxPageTransitionRouteArray and CxPageTransitionRouteArrayOutput values. You can construct a concrete instance of `CxPageTransitionRouteArrayInput` via:
CxPageTransitionRouteArray{ CxPageTransitionRouteArgs{...} }
type CxPageTransitionRouteArrayOutput ¶
type CxPageTransitionRouteArrayOutput struct{ *pulumi.OutputState }
func (CxPageTransitionRouteArrayOutput) ElementType ¶
func (CxPageTransitionRouteArrayOutput) ElementType() reflect.Type
func (CxPageTransitionRouteArrayOutput) Index ¶
func (o CxPageTransitionRouteArrayOutput) Index(i pulumi.IntInput) CxPageTransitionRouteOutput
func (CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutput ¶
func (o CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutput() CxPageTransitionRouteArrayOutput
func (CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutputWithContext ¶
func (o CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteArrayOutput
type CxPageTransitionRouteInput ¶
type CxPageTransitionRouteInput interface { pulumi.Input ToCxPageTransitionRouteOutput() CxPageTransitionRouteOutput ToCxPageTransitionRouteOutputWithContext(context.Context) CxPageTransitionRouteOutput }
CxPageTransitionRouteInput is an input type that accepts CxPageTransitionRouteArgs and CxPageTransitionRouteOutput values. You can construct a concrete instance of `CxPageTransitionRouteInput` via:
CxPageTransitionRouteArgs{...}
type CxPageTransitionRouteOutput ¶
type CxPageTransitionRouteOutput struct{ *pulumi.OutputState }
func (CxPageTransitionRouteOutput) Condition ¶
func (o CxPageTransitionRouteOutput) Condition() pulumi.StringPtrOutput
The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
func (CxPageTransitionRouteOutput) ElementType ¶
func (CxPageTransitionRouteOutput) ElementType() reflect.Type
func (CxPageTransitionRouteOutput) Intent ¶
func (o CxPageTransitionRouteOutput) Intent() pulumi.StringPtrOutput
The unique identifier of an Intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
func (CxPageTransitionRouteOutput) Name ¶
func (o CxPageTransitionRouteOutput) Name() pulumi.StringPtrOutput
- The unique identifier of this event handler.
func (CxPageTransitionRouteOutput) TargetFlow ¶
func (o CxPageTransitionRouteOutput) TargetFlow() pulumi.StringPtrOutput
The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
func (CxPageTransitionRouteOutput) TargetPage ¶
func (o CxPageTransitionRouteOutput) TargetPage() pulumi.StringPtrOutput
The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
func (CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutput ¶
func (o CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutput() CxPageTransitionRouteOutput
func (CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutputWithContext ¶
func (o CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutputWithContext(ctx context.Context) CxPageTransitionRouteOutput
func (CxPageTransitionRouteOutput) TriggerFulfillment ¶
func (o CxPageTransitionRouteOutput) TriggerFulfillment() CxPageTransitionRouteTriggerFulfillmentPtrOutput
The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.
type CxPageTransitionRouteTriggerFulfillment ¶
type CxPageTransitionRouteTriggerFulfillment struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages []CxPageTransitionRouteTriggerFulfillmentMessage `pulumi:"messages"` // 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. ReturnPartialResponses *bool `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag *string `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook *string `pulumi:"webhook"` }
type CxPageTransitionRouteTriggerFulfillmentArgs ¶
type CxPageTransitionRouteTriggerFulfillmentArgs struct { // The list of rich message responses to present to the user. // Structure is documented below. Messages CxPageTransitionRouteTriggerFulfillmentMessageArrayInput `pulumi:"messages"` // 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. ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"` // The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Tag pulumi.StringPtrInput `pulumi:"tag"` // The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>. Webhook pulumi.StringPtrInput `pulumi:"webhook"` }
func (CxPageTransitionRouteTriggerFulfillmentArgs) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentArgs) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutput ¶
func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutput() CxPageTransitionRouteTriggerFulfillmentOutput
func (CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext ¶
func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentOutput
func (CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput ¶
func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput
func (CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext ¶
func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput
type CxPageTransitionRouteTriggerFulfillmentInput ¶
type CxPageTransitionRouteTriggerFulfillmentInput interface { pulumi.Input ToCxPageTransitionRouteTriggerFulfillmentOutput() CxPageTransitionRouteTriggerFulfillmentOutput ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentOutput }
CxPageTransitionRouteTriggerFulfillmentInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentArgs and CxPageTransitionRouteTriggerFulfillmentOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentInput` via:
CxPageTransitionRouteTriggerFulfillmentArgs{...}
type CxPageTransitionRouteTriggerFulfillmentMessage ¶
type CxPageTransitionRouteTriggerFulfillmentMessage struct { // A collection of text responses. Text *CxPageTransitionRouteTriggerFulfillmentMessageText `pulumi:"text"` }
type CxPageTransitionRouteTriggerFulfillmentMessageArgs ¶
type CxPageTransitionRouteTriggerFulfillmentMessageArgs struct { // A collection of text responses. Text CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput `pulumi:"text"` }
func (CxPageTransitionRouteTriggerFulfillmentMessageArgs) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentMessageArgs) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutput ¶
func (i CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutput() CxPageTransitionRouteTriggerFulfillmentMessageOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext ¶
func (i CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageOutput
type CxPageTransitionRouteTriggerFulfillmentMessageArray ¶
type CxPageTransitionRouteTriggerFulfillmentMessageArray []CxPageTransitionRouteTriggerFulfillmentMessageInput
func (CxPageTransitionRouteTriggerFulfillmentMessageArray) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentMessageArray) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput ¶
func (i CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext ¶
func (i CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
type CxPageTransitionRouteTriggerFulfillmentMessageArrayInput ¶
type CxPageTransitionRouteTriggerFulfillmentMessageArrayInput interface { pulumi.Input ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput }
CxPageTransitionRouteTriggerFulfillmentMessageArrayInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentMessageArray and CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentMessageArrayInput` via:
CxPageTransitionRouteTriggerFulfillmentMessageArray{ CxPageTransitionRouteTriggerFulfillmentMessageArgs{...} }
type CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput ¶
type CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }
func (CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
type CxPageTransitionRouteTriggerFulfillmentMessageInput ¶
type CxPageTransitionRouteTriggerFulfillmentMessageInput interface { pulumi.Input ToCxPageTransitionRouteTriggerFulfillmentMessageOutput() CxPageTransitionRouteTriggerFulfillmentMessageOutput ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentMessageOutput }
CxPageTransitionRouteTriggerFulfillmentMessageInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentMessageArgs and CxPageTransitionRouteTriggerFulfillmentMessageOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentMessageInput` via:
CxPageTransitionRouteTriggerFulfillmentMessageArgs{...}
type CxPageTransitionRouteTriggerFulfillmentMessageOutput ¶
type CxPageTransitionRouteTriggerFulfillmentMessageOutput struct{ *pulumi.OutputState }
func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) Text ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageOutput) Text() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
A collection of text responses.
func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageOutput ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageOutput() CxPageTransitionRouteTriggerFulfillmentMessageOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageOutput
type CxPageTransitionRouteTriggerFulfillmentMessageText ¶
type CxPageTransitionRouteTriggerFulfillmentMessageText struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts []string `pulumi:"texts"` }
type CxPageTransitionRouteTriggerFulfillmentMessageTextArgs ¶
type CxPageTransitionRouteTriggerFulfillmentMessageTextArgs struct { // - // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"` // A collection of text responses. Texts pulumi.StringArrayInput `pulumi:"texts"` }
func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput ¶
func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext ¶
func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput ¶
func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
type CxPageTransitionRouteTriggerFulfillmentMessageTextInput ¶
type CxPageTransitionRouteTriggerFulfillmentMessageTextInput interface { pulumi.Input ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextOutput ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextOutput }
CxPageTransitionRouteTriggerFulfillmentMessageTextInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentMessageTextArgs and CxPageTransitionRouteTriggerFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentMessageTextInput` via:
CxPageTransitionRouteTriggerFulfillmentMessageTextArgs{...}
type CxPageTransitionRouteTriggerFulfillmentMessageTextOutput ¶
type CxPageTransitionRouteTriggerFulfillmentMessageTextOutput struct{ *pulumi.OutputState }
func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) Texts ¶
A collection of text responses.
func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput ¶
type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput interface { pulumi.Input ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput }
CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentMessageTextArgs, CxPageTransitionRouteTriggerFulfillmentMessageTextPtr and CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput` via:
CxPageTransitionRouteTriggerFulfillmentMessageTextArgs{...} or: nil
func CxPageTransitionRouteTriggerFulfillmentMessageTextPtr ¶
func CxPageTransitionRouteTriggerFulfillmentMessageTextPtr(v *CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput
type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput ¶
type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }
func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput
- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Texts ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Texts() pulumi.StringArrayOutput
A collection of text responses.
func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext ¶
func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
type CxPageTransitionRouteTriggerFulfillmentOutput ¶
type CxPageTransitionRouteTriggerFulfillmentOutput struct{ *pulumi.OutputState }
func (CxPageTransitionRouteTriggerFulfillmentOutput) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentOutput) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentOutput) Messages ¶
func (o CxPageTransitionRouteTriggerFulfillmentOutput) Messages() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxPageTransitionRouteTriggerFulfillmentOutput) ReturnPartialResponses ¶
func (o CxPageTransitionRouteTriggerFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxPageTransitionRouteTriggerFulfillmentOutput) Tag ¶
func (o CxPageTransitionRouteTriggerFulfillmentOutput) Tag() pulumi.StringPtrOutput
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutput ¶
func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutput() CxPageTransitionRouteTriggerFulfillmentOutput
func (CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext ¶
func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentOutput
func (CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput ¶
func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput
func (CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext ¶
func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput
func (CxPageTransitionRouteTriggerFulfillmentOutput) Webhook ¶
func (o CxPageTransitionRouteTriggerFulfillmentOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxPageTransitionRouteTriggerFulfillmentPtrInput ¶
type CxPageTransitionRouteTriggerFulfillmentPtrInput interface { pulumi.Input ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput }
CxPageTransitionRouteTriggerFulfillmentPtrInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentArgs, CxPageTransitionRouteTriggerFulfillmentPtr and CxPageTransitionRouteTriggerFulfillmentPtrOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentPtrInput` via:
CxPageTransitionRouteTriggerFulfillmentArgs{...} or: nil
func CxPageTransitionRouteTriggerFulfillmentPtr ¶
func CxPageTransitionRouteTriggerFulfillmentPtr(v *CxPageTransitionRouteTriggerFulfillmentArgs) CxPageTransitionRouteTriggerFulfillmentPtrInput
type CxPageTransitionRouteTriggerFulfillmentPtrOutput ¶
type CxPageTransitionRouteTriggerFulfillmentPtrOutput struct{ *pulumi.OutputState }
func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ElementType ¶
func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ElementType() reflect.Type
func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) Messages ¶
func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) Messages() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
The list of rich message responses to present to the user. Structure is documented below.
func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ReturnPartialResponses ¶
func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput
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.
func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) Tag ¶
The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput ¶
func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput
func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext ¶
func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput
func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) Webhook ¶
func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) Webhook() pulumi.StringPtrOutput
The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
type CxVersion ¶
type CxVersion struct { pulumi.CustomResourceState // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: // "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". CreateTime pulumi.StringOutput `pulumi:"createTime"` // The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrOutput `pulumi:"description"` // The human-readable name of the version. Limit of 64 characters. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow // upon version creation. Name pulumi.StringOutput `pulumi:"name"` // The NLU settings of the flow at version creation. NluSettings CxVersionNluSettingArrayOutput `pulumi:"nluSettings"` // The Flow to create an Version for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. Parent pulumi.StringPtrOutput `pulumi:"parent"` // The state of this version. * RUNNING: Version is not ready to serve (e.g. training is running). * SUCCEEDED: Training // has succeeded and this version is ready to serve. * FAILED: Version training failed. State pulumi.StringOutput `pulumi:"state"` }
You can create multiple versions of your agent flows and deploy them to separate serving environments. When you edit a flow, you are editing a draft flow. At any point, you can save a draft flow as a flow version. A flow version is an immutable snapshot of your flow data and associated agent data like intents, entities, webhooks, pages, route groups, etc.
To get more information about Version, see:
* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows.versions) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/cx/docs)
## Example Usage ### Dialogflowcx Version Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{ DisplayName: pulumi.String("dialogflowcx-agent"), Location: pulumi.String("global"), DefaultLanguageCode: pulumi.String("en"), SupportedLanguageCodes: pulumi.StringArray{ pulumi.String("fr"), pulumi.String("de"), pulumi.String("es"), }, TimeZone: pulumi.String("America/New_York"), Description: pulumi.String("Example description."), AvatarUri: pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"), EnableStackdriverLogging: pulumi.Bool(true), EnableSpellCorrection: pulumi.Bool(true), SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{ EnableSpeechAdaptation: pulumi.Bool(true), }, }) if err != nil { return err } _, err = diagflow.NewCxVersion(ctx, "version1", &diagflow.CxVersionArgs{ Parent: agent.StartFlow, DisplayName: pulumi.String("1.0.0"), Description: pulumi.String("version 1.0.0"), }) if err != nil { return err } return nil }) }
```
## Import
Version can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/cxVersion:CxVersion default {{parent}}/versions/{{name}}
```
```sh
$ pulumi import gcp:diagflow/cxVersion:CxVersion default {{parent}}/{{name}}
```
func GetCxVersion ¶
func GetCxVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CxVersionState, opts ...pulumi.ResourceOption) (*CxVersion, error)
GetCxVersion gets an existing CxVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCxVersion ¶
func NewCxVersion(ctx *pulumi.Context, name string, args *CxVersionArgs, opts ...pulumi.ResourceOption) (*CxVersion, error)
NewCxVersion registers a new resource with the given unique name, arguments, and options.
func (*CxVersion) ElementType ¶
func (*CxVersion) ToCxVersionOutput ¶
func (i *CxVersion) ToCxVersionOutput() CxVersionOutput
func (*CxVersion) ToCxVersionOutputWithContext ¶
func (i *CxVersion) ToCxVersionOutputWithContext(ctx context.Context) CxVersionOutput
type CxVersionArgs ¶
type CxVersionArgs struct { // The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The human-readable name of the version. Limit of 64 characters. DisplayName pulumi.StringInput // The Flow to create an Version for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. Parent pulumi.StringPtrInput }
The set of arguments for constructing a CxVersion resource.
func (CxVersionArgs) ElementType ¶
func (CxVersionArgs) ElementType() reflect.Type
type CxVersionArray ¶
type CxVersionArray []CxVersionInput
func (CxVersionArray) ElementType ¶
func (CxVersionArray) ElementType() reflect.Type
func (CxVersionArray) ToCxVersionArrayOutput ¶
func (i CxVersionArray) ToCxVersionArrayOutput() CxVersionArrayOutput
func (CxVersionArray) ToCxVersionArrayOutputWithContext ¶
func (i CxVersionArray) ToCxVersionArrayOutputWithContext(ctx context.Context) CxVersionArrayOutput
type CxVersionArrayInput ¶
type CxVersionArrayInput interface { pulumi.Input ToCxVersionArrayOutput() CxVersionArrayOutput ToCxVersionArrayOutputWithContext(context.Context) CxVersionArrayOutput }
CxVersionArrayInput is an input type that accepts CxVersionArray and CxVersionArrayOutput values. You can construct a concrete instance of `CxVersionArrayInput` via:
CxVersionArray{ CxVersionArgs{...} }
type CxVersionArrayOutput ¶
type CxVersionArrayOutput struct{ *pulumi.OutputState }
func (CxVersionArrayOutput) ElementType ¶
func (CxVersionArrayOutput) ElementType() reflect.Type
func (CxVersionArrayOutput) Index ¶
func (o CxVersionArrayOutput) Index(i pulumi.IntInput) CxVersionOutput
func (CxVersionArrayOutput) ToCxVersionArrayOutput ¶
func (o CxVersionArrayOutput) ToCxVersionArrayOutput() CxVersionArrayOutput
func (CxVersionArrayOutput) ToCxVersionArrayOutputWithContext ¶
func (o CxVersionArrayOutput) ToCxVersionArrayOutputWithContext(ctx context.Context) CxVersionArrayOutput
type CxVersionInput ¶
type CxVersionInput interface { pulumi.Input ToCxVersionOutput() CxVersionOutput ToCxVersionOutputWithContext(ctx context.Context) CxVersionOutput }
type CxVersionMap ¶
type CxVersionMap map[string]CxVersionInput
func (CxVersionMap) ElementType ¶
func (CxVersionMap) ElementType() reflect.Type
func (CxVersionMap) ToCxVersionMapOutput ¶
func (i CxVersionMap) ToCxVersionMapOutput() CxVersionMapOutput
func (CxVersionMap) ToCxVersionMapOutputWithContext ¶
func (i CxVersionMap) ToCxVersionMapOutputWithContext(ctx context.Context) CxVersionMapOutput
type CxVersionMapInput ¶
type CxVersionMapInput interface { pulumi.Input ToCxVersionMapOutput() CxVersionMapOutput ToCxVersionMapOutputWithContext(context.Context) CxVersionMapOutput }
CxVersionMapInput is an input type that accepts CxVersionMap and CxVersionMapOutput values. You can construct a concrete instance of `CxVersionMapInput` via:
CxVersionMap{ "key": CxVersionArgs{...} }
type CxVersionMapOutput ¶
type CxVersionMapOutput struct{ *pulumi.OutputState }
func (CxVersionMapOutput) ElementType ¶
func (CxVersionMapOutput) ElementType() reflect.Type
func (CxVersionMapOutput) MapIndex ¶
func (o CxVersionMapOutput) MapIndex(k pulumi.StringInput) CxVersionOutput
func (CxVersionMapOutput) ToCxVersionMapOutput ¶
func (o CxVersionMapOutput) ToCxVersionMapOutput() CxVersionMapOutput
func (CxVersionMapOutput) ToCxVersionMapOutputWithContext ¶
func (o CxVersionMapOutput) ToCxVersionMapOutputWithContext(ctx context.Context) CxVersionMapOutput
type CxVersionNluSetting ¶
type CxVersionNluSettingArgs ¶
type CxVersionNluSettingArgs struct { ClassificationThreshold pulumi.Float64PtrInput `pulumi:"classificationThreshold"` ModelTrainingMode pulumi.StringPtrInput `pulumi:"modelTrainingMode"` ModelType pulumi.StringPtrInput `pulumi:"modelType"` }
func (CxVersionNluSettingArgs) ElementType ¶
func (CxVersionNluSettingArgs) ElementType() reflect.Type
func (CxVersionNluSettingArgs) ToCxVersionNluSettingOutput ¶
func (i CxVersionNluSettingArgs) ToCxVersionNluSettingOutput() CxVersionNluSettingOutput
func (CxVersionNluSettingArgs) ToCxVersionNluSettingOutputWithContext ¶
func (i CxVersionNluSettingArgs) ToCxVersionNluSettingOutputWithContext(ctx context.Context) CxVersionNluSettingOutput
type CxVersionNluSettingArray ¶
type CxVersionNluSettingArray []CxVersionNluSettingInput
func (CxVersionNluSettingArray) ElementType ¶
func (CxVersionNluSettingArray) ElementType() reflect.Type
func (CxVersionNluSettingArray) ToCxVersionNluSettingArrayOutput ¶
func (i CxVersionNluSettingArray) ToCxVersionNluSettingArrayOutput() CxVersionNluSettingArrayOutput
func (CxVersionNluSettingArray) ToCxVersionNluSettingArrayOutputWithContext ¶
func (i CxVersionNluSettingArray) ToCxVersionNluSettingArrayOutputWithContext(ctx context.Context) CxVersionNluSettingArrayOutput
type CxVersionNluSettingArrayInput ¶
type CxVersionNluSettingArrayInput interface { pulumi.Input ToCxVersionNluSettingArrayOutput() CxVersionNluSettingArrayOutput ToCxVersionNluSettingArrayOutputWithContext(context.Context) CxVersionNluSettingArrayOutput }
CxVersionNluSettingArrayInput is an input type that accepts CxVersionNluSettingArray and CxVersionNluSettingArrayOutput values. You can construct a concrete instance of `CxVersionNluSettingArrayInput` via:
CxVersionNluSettingArray{ CxVersionNluSettingArgs{...} }
type CxVersionNluSettingArrayOutput ¶
type CxVersionNluSettingArrayOutput struct{ *pulumi.OutputState }
func (CxVersionNluSettingArrayOutput) ElementType ¶
func (CxVersionNluSettingArrayOutput) ElementType() reflect.Type
func (CxVersionNluSettingArrayOutput) Index ¶
func (o CxVersionNluSettingArrayOutput) Index(i pulumi.IntInput) CxVersionNluSettingOutput
func (CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutput ¶
func (o CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutput() CxVersionNluSettingArrayOutput
func (CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutputWithContext ¶
func (o CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutputWithContext(ctx context.Context) CxVersionNluSettingArrayOutput
type CxVersionNluSettingInput ¶
type CxVersionNluSettingInput interface { pulumi.Input ToCxVersionNluSettingOutput() CxVersionNluSettingOutput ToCxVersionNluSettingOutputWithContext(context.Context) CxVersionNluSettingOutput }
CxVersionNluSettingInput is an input type that accepts CxVersionNluSettingArgs and CxVersionNluSettingOutput values. You can construct a concrete instance of `CxVersionNluSettingInput` via:
CxVersionNluSettingArgs{...}
type CxVersionNluSettingOutput ¶
type CxVersionNluSettingOutput struct{ *pulumi.OutputState }
func (CxVersionNluSettingOutput) ClassificationThreshold ¶
func (o CxVersionNluSettingOutput) ClassificationThreshold() pulumi.Float64PtrOutput
func (CxVersionNluSettingOutput) ElementType ¶
func (CxVersionNluSettingOutput) ElementType() reflect.Type
func (CxVersionNluSettingOutput) ModelTrainingMode ¶
func (o CxVersionNluSettingOutput) ModelTrainingMode() pulumi.StringPtrOutput
func (CxVersionNluSettingOutput) ModelType ¶
func (o CxVersionNluSettingOutput) ModelType() pulumi.StringPtrOutput
func (CxVersionNluSettingOutput) ToCxVersionNluSettingOutput ¶
func (o CxVersionNluSettingOutput) ToCxVersionNluSettingOutput() CxVersionNluSettingOutput
func (CxVersionNluSettingOutput) ToCxVersionNluSettingOutputWithContext ¶
func (o CxVersionNluSettingOutput) ToCxVersionNluSettingOutputWithContext(ctx context.Context) CxVersionNluSettingOutput
type CxVersionOutput ¶
type CxVersionOutput struct{ *pulumi.OutputState }
func (CxVersionOutput) ElementType ¶
func (CxVersionOutput) ElementType() reflect.Type
func (CxVersionOutput) ToCxVersionOutput ¶
func (o CxVersionOutput) ToCxVersionOutput() CxVersionOutput
func (CxVersionOutput) ToCxVersionOutputWithContext ¶
func (o CxVersionOutput) ToCxVersionOutputWithContext(ctx context.Context) CxVersionOutput
type CxVersionState ¶
type CxVersionState struct { // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: // "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". CreateTime pulumi.StringPtrInput // The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected. Description pulumi.StringPtrInput // The human-readable name of the version. Limit of 64 characters. DisplayName pulumi.StringPtrInput // Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow // upon version creation. Name pulumi.StringPtrInput // The NLU settings of the flow at version creation. NluSettings CxVersionNluSettingArrayInput // The Flow to create an Version for. // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>. Parent pulumi.StringPtrInput // The state of this version. * RUNNING: Version is not ready to serve (e.g. training is running). * SUCCEEDED: Training // has succeeded and this version is ready to serve. * FAILED: Version training failed. State pulumi.StringPtrInput }
func (CxVersionState) ElementType ¶
func (CxVersionState) ElementType() reflect.Type
type EntityType ¶
type EntityType struct { pulumi.CustomResourceState // The name of this entity type to be displayed on the console. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Enables fuzzy entity extraction during classification. EnableFuzzyExtraction pulumi.BoolPtrOutput `pulumi:"enableFuzzyExtraction"` // The collection of entity entries associated with the entity type. // Structure is documented below. Entities EntityTypeEntityArrayOutput `pulumi:"entities"` // Indicates the kind of entity type. // * KIND_MAP: Map entity types allow mapping of a group of synonyms to a reference value. // * KIND_LIST: List entity types contain a set of entries that do not map to reference values. However, list entity // types can contain references to other entity types (with or without aliases). // * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values. // Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`. Kind pulumi.StringOutput `pulumi:"kind"` // The unique identifier of the entity type. Format: projects/<Project ID>/agent/entityTypes/<Entity type ID>. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
Represents an entity type. Entity types serve as a tool for extracting parameter values from natural language queries.
To get more information about EntityType, see:
* [API documentation](https://cloud.google.com/dialogflow/docs/reference/rest/v2/projects.agent.entityTypes) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/docs/)
## Example Usage ### Dialogflow Entity Type Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { basicAgent, err := diagflow.NewAgent(ctx, "basicAgent", &diagflow.AgentArgs{ DisplayName: pulumi.String("example_agent"), DefaultLanguageCode: pulumi.String("en"), TimeZone: pulumi.String("America/New_York"), }) if err != nil { return err } _, err = diagflow.NewEntityType(ctx, "basicEntityType", &diagflow.EntityTypeArgs{ DisplayName: pulumi.String(""), Kind: pulumi.String("KIND_MAP"), Entities: diagflow.EntityTypeEntityArray{ &diagflow.EntityTypeEntityArgs{ Value: pulumi.String("value1"), Synonyms: pulumi.StringArray{ pulumi.String("synonym1"), pulumi.String("synonym2"), }, }, &diagflow.EntityTypeEntityArgs{ Value: pulumi.String("value2"), Synonyms: pulumi.StringArray{ pulumi.String("synonym3"), pulumi.String("synonym4"), }, }, }, }, pulumi.DependsOn([]pulumi.Resource{ basicAgent, })) if err != nil { return err } return nil }) }
```
## Import
EntityType can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/entityType:EntityType default {{name}}
```
func GetEntityType ¶
func GetEntityType(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EntityTypeState, opts ...pulumi.ResourceOption) (*EntityType, error)
GetEntityType gets an existing EntityType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEntityType ¶
func NewEntityType(ctx *pulumi.Context, name string, args *EntityTypeArgs, opts ...pulumi.ResourceOption) (*EntityType, error)
NewEntityType registers a new resource with the given unique name, arguments, and options.
func (*EntityType) ElementType ¶
func (*EntityType) ElementType() reflect.Type
func (*EntityType) ToEntityTypeOutput ¶
func (i *EntityType) ToEntityTypeOutput() EntityTypeOutput
func (*EntityType) ToEntityTypeOutputWithContext ¶
func (i *EntityType) ToEntityTypeOutputWithContext(ctx context.Context) EntityTypeOutput
type EntityTypeArgs ¶
type EntityTypeArgs struct { // The name of this entity type to be displayed on the console. DisplayName pulumi.StringInput // Enables fuzzy entity extraction during classification. EnableFuzzyExtraction pulumi.BoolPtrInput // The collection of entity entries associated with the entity type. // Structure is documented below. Entities EntityTypeEntityArrayInput // Indicates the kind of entity type. // * KIND_MAP: Map entity types allow mapping of a group of synonyms to a reference value. // * KIND_LIST: List entity types contain a set of entries that do not map to reference values. However, list entity // types can contain references to other entity types (with or without aliases). // * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values. // Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`. Kind pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a EntityType resource.
func (EntityTypeArgs) ElementType ¶
func (EntityTypeArgs) ElementType() reflect.Type
type EntityTypeArray ¶
type EntityTypeArray []EntityTypeInput
func (EntityTypeArray) ElementType ¶
func (EntityTypeArray) ElementType() reflect.Type
func (EntityTypeArray) ToEntityTypeArrayOutput ¶
func (i EntityTypeArray) ToEntityTypeArrayOutput() EntityTypeArrayOutput
func (EntityTypeArray) ToEntityTypeArrayOutputWithContext ¶
func (i EntityTypeArray) ToEntityTypeArrayOutputWithContext(ctx context.Context) EntityTypeArrayOutput
type EntityTypeArrayInput ¶
type EntityTypeArrayInput interface { pulumi.Input ToEntityTypeArrayOutput() EntityTypeArrayOutput ToEntityTypeArrayOutputWithContext(context.Context) EntityTypeArrayOutput }
EntityTypeArrayInput is an input type that accepts EntityTypeArray and EntityTypeArrayOutput values. You can construct a concrete instance of `EntityTypeArrayInput` via:
EntityTypeArray{ EntityTypeArgs{...} }
type EntityTypeArrayOutput ¶
type EntityTypeArrayOutput struct{ *pulumi.OutputState }
func (EntityTypeArrayOutput) ElementType ¶
func (EntityTypeArrayOutput) ElementType() reflect.Type
func (EntityTypeArrayOutput) Index ¶
func (o EntityTypeArrayOutput) Index(i pulumi.IntInput) EntityTypeOutput
func (EntityTypeArrayOutput) ToEntityTypeArrayOutput ¶
func (o EntityTypeArrayOutput) ToEntityTypeArrayOutput() EntityTypeArrayOutput
func (EntityTypeArrayOutput) ToEntityTypeArrayOutputWithContext ¶
func (o EntityTypeArrayOutput) ToEntityTypeArrayOutputWithContext(ctx context.Context) EntityTypeArrayOutput
type EntityTypeEntity ¶
type EntityTypeEntity struct { // A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym // could be green onions. // For KIND_LIST entity types: // * This collection must contain exactly one synonym equal to value. Synonyms []string `pulumi:"synonyms"` // The primary value associated with this entity entry. For example, if the entity type is vegetable, the value // could be scallions. // For KIND_MAP entity types: // * A reference value to be used in place of synonyms. // For KIND_LIST entity types: // * A string that can contain references to other entity types (with or without aliases). Value string `pulumi:"value"` }
type EntityTypeEntityArgs ¶
type EntityTypeEntityArgs struct { // A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym // could be green onions. // For KIND_LIST entity types: // * This collection must contain exactly one synonym equal to value. Synonyms pulumi.StringArrayInput `pulumi:"synonyms"` // The primary value associated with this entity entry. For example, if the entity type is vegetable, the value // could be scallions. // For KIND_MAP entity types: // * A reference value to be used in place of synonyms. // For KIND_LIST entity types: // * A string that can contain references to other entity types (with or without aliases). Value pulumi.StringInput `pulumi:"value"` }
func (EntityTypeEntityArgs) ElementType ¶
func (EntityTypeEntityArgs) ElementType() reflect.Type
func (EntityTypeEntityArgs) ToEntityTypeEntityOutput ¶
func (i EntityTypeEntityArgs) ToEntityTypeEntityOutput() EntityTypeEntityOutput
func (EntityTypeEntityArgs) ToEntityTypeEntityOutputWithContext ¶
func (i EntityTypeEntityArgs) ToEntityTypeEntityOutputWithContext(ctx context.Context) EntityTypeEntityOutput
type EntityTypeEntityArray ¶
type EntityTypeEntityArray []EntityTypeEntityInput
func (EntityTypeEntityArray) ElementType ¶
func (EntityTypeEntityArray) ElementType() reflect.Type
func (EntityTypeEntityArray) ToEntityTypeEntityArrayOutput ¶
func (i EntityTypeEntityArray) ToEntityTypeEntityArrayOutput() EntityTypeEntityArrayOutput
func (EntityTypeEntityArray) ToEntityTypeEntityArrayOutputWithContext ¶
func (i EntityTypeEntityArray) ToEntityTypeEntityArrayOutputWithContext(ctx context.Context) EntityTypeEntityArrayOutput
type EntityTypeEntityArrayInput ¶
type EntityTypeEntityArrayInput interface { pulumi.Input ToEntityTypeEntityArrayOutput() EntityTypeEntityArrayOutput ToEntityTypeEntityArrayOutputWithContext(context.Context) EntityTypeEntityArrayOutput }
EntityTypeEntityArrayInput is an input type that accepts EntityTypeEntityArray and EntityTypeEntityArrayOutput values. You can construct a concrete instance of `EntityTypeEntityArrayInput` via:
EntityTypeEntityArray{ EntityTypeEntityArgs{...} }
type EntityTypeEntityArrayOutput ¶
type EntityTypeEntityArrayOutput struct{ *pulumi.OutputState }
func (EntityTypeEntityArrayOutput) ElementType ¶
func (EntityTypeEntityArrayOutput) ElementType() reflect.Type
func (EntityTypeEntityArrayOutput) Index ¶
func (o EntityTypeEntityArrayOutput) Index(i pulumi.IntInput) EntityTypeEntityOutput
func (EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutput ¶
func (o EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutput() EntityTypeEntityArrayOutput
func (EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutputWithContext ¶
func (o EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutputWithContext(ctx context.Context) EntityTypeEntityArrayOutput
type EntityTypeEntityInput ¶
type EntityTypeEntityInput interface { pulumi.Input ToEntityTypeEntityOutput() EntityTypeEntityOutput ToEntityTypeEntityOutputWithContext(context.Context) EntityTypeEntityOutput }
EntityTypeEntityInput is an input type that accepts EntityTypeEntityArgs and EntityTypeEntityOutput values. You can construct a concrete instance of `EntityTypeEntityInput` via:
EntityTypeEntityArgs{...}
type EntityTypeEntityOutput ¶
type EntityTypeEntityOutput struct{ *pulumi.OutputState }
func (EntityTypeEntityOutput) ElementType ¶
func (EntityTypeEntityOutput) ElementType() reflect.Type
func (EntityTypeEntityOutput) Synonyms ¶
func (o EntityTypeEntityOutput) Synonyms() pulumi.StringArrayOutput
A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types: * This collection must contain exactly one synonym equal to value.
func (EntityTypeEntityOutput) ToEntityTypeEntityOutput ¶
func (o EntityTypeEntityOutput) ToEntityTypeEntityOutput() EntityTypeEntityOutput
func (EntityTypeEntityOutput) ToEntityTypeEntityOutputWithContext ¶
func (o EntityTypeEntityOutput) ToEntityTypeEntityOutputWithContext(ctx context.Context) EntityTypeEntityOutput
func (EntityTypeEntityOutput) Value ¶
func (o EntityTypeEntityOutput) Value() pulumi.StringOutput
The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types:
- A reference value to be used in place of synonyms. For KIND_LIST entity types:
- A string that can contain references to other entity types (with or without aliases).
type EntityTypeInput ¶
type EntityTypeInput interface { pulumi.Input ToEntityTypeOutput() EntityTypeOutput ToEntityTypeOutputWithContext(ctx context.Context) EntityTypeOutput }
type EntityTypeMap ¶
type EntityTypeMap map[string]EntityTypeInput
func (EntityTypeMap) ElementType ¶
func (EntityTypeMap) ElementType() reflect.Type
func (EntityTypeMap) ToEntityTypeMapOutput ¶
func (i EntityTypeMap) ToEntityTypeMapOutput() EntityTypeMapOutput
func (EntityTypeMap) ToEntityTypeMapOutputWithContext ¶
func (i EntityTypeMap) ToEntityTypeMapOutputWithContext(ctx context.Context) EntityTypeMapOutput
type EntityTypeMapInput ¶
type EntityTypeMapInput interface { pulumi.Input ToEntityTypeMapOutput() EntityTypeMapOutput ToEntityTypeMapOutputWithContext(context.Context) EntityTypeMapOutput }
EntityTypeMapInput is an input type that accepts EntityTypeMap and EntityTypeMapOutput values. You can construct a concrete instance of `EntityTypeMapInput` via:
EntityTypeMap{ "key": EntityTypeArgs{...} }
type EntityTypeMapOutput ¶
type EntityTypeMapOutput struct{ *pulumi.OutputState }
func (EntityTypeMapOutput) ElementType ¶
func (EntityTypeMapOutput) ElementType() reflect.Type
func (EntityTypeMapOutput) MapIndex ¶
func (o EntityTypeMapOutput) MapIndex(k pulumi.StringInput) EntityTypeOutput
func (EntityTypeMapOutput) ToEntityTypeMapOutput ¶
func (o EntityTypeMapOutput) ToEntityTypeMapOutput() EntityTypeMapOutput
func (EntityTypeMapOutput) ToEntityTypeMapOutputWithContext ¶
func (o EntityTypeMapOutput) ToEntityTypeMapOutputWithContext(ctx context.Context) EntityTypeMapOutput
type EntityTypeOutput ¶
type EntityTypeOutput struct{ *pulumi.OutputState }
func (EntityTypeOutput) ElementType ¶
func (EntityTypeOutput) ElementType() reflect.Type
func (EntityTypeOutput) ToEntityTypeOutput ¶
func (o EntityTypeOutput) ToEntityTypeOutput() EntityTypeOutput
func (EntityTypeOutput) ToEntityTypeOutputWithContext ¶
func (o EntityTypeOutput) ToEntityTypeOutputWithContext(ctx context.Context) EntityTypeOutput
type EntityTypeState ¶
type EntityTypeState struct { // The name of this entity type to be displayed on the console. DisplayName pulumi.StringPtrInput // Enables fuzzy entity extraction during classification. EnableFuzzyExtraction pulumi.BoolPtrInput // The collection of entity entries associated with the entity type. // Structure is documented below. Entities EntityTypeEntityArrayInput // Indicates the kind of entity type. // * KIND_MAP: Map entity types allow mapping of a group of synonyms to a reference value. // * KIND_LIST: List entity types contain a set of entries that do not map to reference values. However, list entity // types can contain references to other entity types (with or without aliases). // * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values. // Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`. Kind pulumi.StringPtrInput // The unique identifier of the entity type. Format: projects/<Project ID>/agent/entityTypes/<Entity type ID>. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
func (EntityTypeState) ElementType ¶
func (EntityTypeState) ElementType() reflect.Type
type Fulfillment ¶
type Fulfillment struct { pulumi.CustomResourceState // The human-readable name of the fulfillment, unique within the agent. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Whether fulfillment is enabled. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The field defines whether the fulfillment is enabled for certain features. // Structure is documented below. Features FulfillmentFeatureArrayOutput `pulumi:"features"` // Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. // Structure is documented below. GenericWebService FulfillmentGenericWebServicePtrOutput `pulumi:"genericWebService"` // The unique identifier of the fulfillment. Format: projects/<Project ID>/agent/fulfillment - projects/<Project // ID>/locations/<Location ID>/agent/fulfillment Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
By default, your agent responds to a matched intent with a static response. If you're using one of the integration options, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday.
To get more information about Fulfillment, see:
* [API documentation](https://cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.agent/getFulfillment) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/es/docs/fulfillment-overview)
## Example Usage ### Dialogflow Fulfillment Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { basicAgent, err := diagflow.NewAgent(ctx, "basicAgent", &diagflow.AgentArgs{ DisplayName: pulumi.String("example_agent"), DefaultLanguageCode: pulumi.String("en"), TimeZone: pulumi.String("America/New_York"), }) if err != nil { return err } _, err = diagflow.NewFulfillment(ctx, "basicFulfillment", &diagflow.FulfillmentArgs{ DisplayName: pulumi.String("basic-fulfillment"), Enabled: pulumi.Bool(true), GenericWebService: &diagflow.FulfillmentGenericWebServiceArgs{ Uri: pulumi.String("https://google.com"), Username: pulumi.String("admin"), Password: pulumi.String("password"), RequestHeaders: pulumi.StringMap{ "name": pulumi.String("wrench"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ basicAgent, })) if err != nil { return err } return nil }) }
```
## Import
Fulfillment can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/fulfillment:Fulfillment default {{name}}
```
func GetFulfillment ¶
func GetFulfillment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FulfillmentState, opts ...pulumi.ResourceOption) (*Fulfillment, error)
GetFulfillment gets an existing Fulfillment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFulfillment ¶
func NewFulfillment(ctx *pulumi.Context, name string, args *FulfillmentArgs, opts ...pulumi.ResourceOption) (*Fulfillment, error)
NewFulfillment registers a new resource with the given unique name, arguments, and options.
func (*Fulfillment) ElementType ¶
func (*Fulfillment) ElementType() reflect.Type
func (*Fulfillment) ToFulfillmentOutput ¶
func (i *Fulfillment) ToFulfillmentOutput() FulfillmentOutput
func (*Fulfillment) ToFulfillmentOutputWithContext ¶
func (i *Fulfillment) ToFulfillmentOutputWithContext(ctx context.Context) FulfillmentOutput
type FulfillmentArgs ¶
type FulfillmentArgs struct { // The human-readable name of the fulfillment, unique within the agent. DisplayName pulumi.StringInput // Whether fulfillment is enabled. Enabled pulumi.BoolPtrInput // The field defines whether the fulfillment is enabled for certain features. // Structure is documented below. Features FulfillmentFeatureArrayInput // Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. // Structure is documented below. GenericWebService FulfillmentGenericWebServicePtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Fulfillment resource.
func (FulfillmentArgs) ElementType ¶
func (FulfillmentArgs) ElementType() reflect.Type
type FulfillmentArray ¶
type FulfillmentArray []FulfillmentInput
func (FulfillmentArray) ElementType ¶
func (FulfillmentArray) ElementType() reflect.Type
func (FulfillmentArray) ToFulfillmentArrayOutput ¶
func (i FulfillmentArray) ToFulfillmentArrayOutput() FulfillmentArrayOutput
func (FulfillmentArray) ToFulfillmentArrayOutputWithContext ¶
func (i FulfillmentArray) ToFulfillmentArrayOutputWithContext(ctx context.Context) FulfillmentArrayOutput
type FulfillmentArrayInput ¶
type FulfillmentArrayInput interface { pulumi.Input ToFulfillmentArrayOutput() FulfillmentArrayOutput ToFulfillmentArrayOutputWithContext(context.Context) FulfillmentArrayOutput }
FulfillmentArrayInput is an input type that accepts FulfillmentArray and FulfillmentArrayOutput values. You can construct a concrete instance of `FulfillmentArrayInput` via:
FulfillmentArray{ FulfillmentArgs{...} }
type FulfillmentArrayOutput ¶
type FulfillmentArrayOutput struct{ *pulumi.OutputState }
func (FulfillmentArrayOutput) ElementType ¶
func (FulfillmentArrayOutput) ElementType() reflect.Type
func (FulfillmentArrayOutput) Index ¶
func (o FulfillmentArrayOutput) Index(i pulumi.IntInput) FulfillmentOutput
func (FulfillmentArrayOutput) ToFulfillmentArrayOutput ¶
func (o FulfillmentArrayOutput) ToFulfillmentArrayOutput() FulfillmentArrayOutput
func (FulfillmentArrayOutput) ToFulfillmentArrayOutputWithContext ¶
func (o FulfillmentArrayOutput) ToFulfillmentArrayOutputWithContext(ctx context.Context) FulfillmentArrayOutput
type FulfillmentFeature ¶
type FulfillmentFeature struct { // The type of the feature that enabled for fulfillment. // * SMALLTALK: Fulfillment is enabled for SmallTalk. // Possible values are `SMALLTALK`. Type string `pulumi:"type"` }
type FulfillmentFeatureArgs ¶
type FulfillmentFeatureArgs struct { // The type of the feature that enabled for fulfillment. // * SMALLTALK: Fulfillment is enabled for SmallTalk. // Possible values are `SMALLTALK`. Type pulumi.StringInput `pulumi:"type"` }
func (FulfillmentFeatureArgs) ElementType ¶
func (FulfillmentFeatureArgs) ElementType() reflect.Type
func (FulfillmentFeatureArgs) ToFulfillmentFeatureOutput ¶
func (i FulfillmentFeatureArgs) ToFulfillmentFeatureOutput() FulfillmentFeatureOutput
func (FulfillmentFeatureArgs) ToFulfillmentFeatureOutputWithContext ¶
func (i FulfillmentFeatureArgs) ToFulfillmentFeatureOutputWithContext(ctx context.Context) FulfillmentFeatureOutput
type FulfillmentFeatureArray ¶
type FulfillmentFeatureArray []FulfillmentFeatureInput
func (FulfillmentFeatureArray) ElementType ¶
func (FulfillmentFeatureArray) ElementType() reflect.Type
func (FulfillmentFeatureArray) ToFulfillmentFeatureArrayOutput ¶
func (i FulfillmentFeatureArray) ToFulfillmentFeatureArrayOutput() FulfillmentFeatureArrayOutput
func (FulfillmentFeatureArray) ToFulfillmentFeatureArrayOutputWithContext ¶
func (i FulfillmentFeatureArray) ToFulfillmentFeatureArrayOutputWithContext(ctx context.Context) FulfillmentFeatureArrayOutput
type FulfillmentFeatureArrayInput ¶
type FulfillmentFeatureArrayInput interface { pulumi.Input ToFulfillmentFeatureArrayOutput() FulfillmentFeatureArrayOutput ToFulfillmentFeatureArrayOutputWithContext(context.Context) FulfillmentFeatureArrayOutput }
FulfillmentFeatureArrayInput is an input type that accepts FulfillmentFeatureArray and FulfillmentFeatureArrayOutput values. You can construct a concrete instance of `FulfillmentFeatureArrayInput` via:
FulfillmentFeatureArray{ FulfillmentFeatureArgs{...} }
type FulfillmentFeatureArrayOutput ¶
type FulfillmentFeatureArrayOutput struct{ *pulumi.OutputState }
func (FulfillmentFeatureArrayOutput) ElementType ¶
func (FulfillmentFeatureArrayOutput) ElementType() reflect.Type
func (FulfillmentFeatureArrayOutput) Index ¶
func (o FulfillmentFeatureArrayOutput) Index(i pulumi.IntInput) FulfillmentFeatureOutput
func (FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutput ¶
func (o FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutput() FulfillmentFeatureArrayOutput
func (FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutputWithContext ¶
func (o FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutputWithContext(ctx context.Context) FulfillmentFeatureArrayOutput
type FulfillmentFeatureInput ¶
type FulfillmentFeatureInput interface { pulumi.Input ToFulfillmentFeatureOutput() FulfillmentFeatureOutput ToFulfillmentFeatureOutputWithContext(context.Context) FulfillmentFeatureOutput }
FulfillmentFeatureInput is an input type that accepts FulfillmentFeatureArgs and FulfillmentFeatureOutput values. You can construct a concrete instance of `FulfillmentFeatureInput` via:
FulfillmentFeatureArgs{...}
type FulfillmentFeatureOutput ¶
type FulfillmentFeatureOutput struct{ *pulumi.OutputState }
func (FulfillmentFeatureOutput) ElementType ¶
func (FulfillmentFeatureOutput) ElementType() reflect.Type
func (FulfillmentFeatureOutput) ToFulfillmentFeatureOutput ¶
func (o FulfillmentFeatureOutput) ToFulfillmentFeatureOutput() FulfillmentFeatureOutput
func (FulfillmentFeatureOutput) ToFulfillmentFeatureOutputWithContext ¶
func (o FulfillmentFeatureOutput) ToFulfillmentFeatureOutputWithContext(ctx context.Context) FulfillmentFeatureOutput
func (FulfillmentFeatureOutput) Type ¶
func (o FulfillmentFeatureOutput) Type() pulumi.StringOutput
The type of the feature that enabled for fulfillment.
- SMALLTALK: Fulfillment is enabled for SmallTalk. Possible values are `SMALLTALK`.
type FulfillmentGenericWebService ¶
type FulfillmentGenericWebService struct { // The password for HTTP Basic authentication. Password *string `pulumi:"password"` // The HTTP request headers to send together with fulfillment requests. RequestHeaders map[string]string `pulumi:"requestHeaders"` // The fulfillment URI for receiving POST requests. It must use https protocol. Uri string `pulumi:"uri"` // The user name for HTTP Basic authentication. Username *string `pulumi:"username"` }
type FulfillmentGenericWebServiceArgs ¶
type FulfillmentGenericWebServiceArgs struct { // The password for HTTP Basic authentication. Password pulumi.StringPtrInput `pulumi:"password"` // The HTTP request headers to send together with fulfillment requests. RequestHeaders pulumi.StringMapInput `pulumi:"requestHeaders"` // The fulfillment URI for receiving POST requests. It must use https protocol. Uri pulumi.StringInput `pulumi:"uri"` // The user name for HTTP Basic authentication. Username pulumi.StringPtrInput `pulumi:"username"` }
func (FulfillmentGenericWebServiceArgs) ElementType ¶
func (FulfillmentGenericWebServiceArgs) ElementType() reflect.Type
func (FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutput ¶
func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutput() FulfillmentGenericWebServiceOutput
func (FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutputWithContext ¶
func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutputWithContext(ctx context.Context) FulfillmentGenericWebServiceOutput
func (FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutput ¶
func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput
func (FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutputWithContext ¶
func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutputWithContext(ctx context.Context) FulfillmentGenericWebServicePtrOutput
type FulfillmentGenericWebServiceInput ¶
type FulfillmentGenericWebServiceInput interface { pulumi.Input ToFulfillmentGenericWebServiceOutput() FulfillmentGenericWebServiceOutput ToFulfillmentGenericWebServiceOutputWithContext(context.Context) FulfillmentGenericWebServiceOutput }
FulfillmentGenericWebServiceInput is an input type that accepts FulfillmentGenericWebServiceArgs and FulfillmentGenericWebServiceOutput values. You can construct a concrete instance of `FulfillmentGenericWebServiceInput` via:
FulfillmentGenericWebServiceArgs{...}
type FulfillmentGenericWebServiceOutput ¶
type FulfillmentGenericWebServiceOutput struct{ *pulumi.OutputState }
func (FulfillmentGenericWebServiceOutput) ElementType ¶
func (FulfillmentGenericWebServiceOutput) ElementType() reflect.Type
func (FulfillmentGenericWebServiceOutput) Password ¶
func (o FulfillmentGenericWebServiceOutput) Password() pulumi.StringPtrOutput
The password for HTTP Basic authentication.
func (FulfillmentGenericWebServiceOutput) RequestHeaders ¶
func (o FulfillmentGenericWebServiceOutput) RequestHeaders() pulumi.StringMapOutput
The HTTP request headers to send together with fulfillment requests.
func (FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutput ¶
func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutput() FulfillmentGenericWebServiceOutput
func (FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutputWithContext ¶
func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutputWithContext(ctx context.Context) FulfillmentGenericWebServiceOutput
func (FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutput ¶
func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput
func (FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutputWithContext ¶
func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutputWithContext(ctx context.Context) FulfillmentGenericWebServicePtrOutput
func (FulfillmentGenericWebServiceOutput) Uri ¶
func (o FulfillmentGenericWebServiceOutput) Uri() pulumi.StringOutput
The fulfillment URI for receiving POST requests. It must use https protocol.
func (FulfillmentGenericWebServiceOutput) Username ¶
func (o FulfillmentGenericWebServiceOutput) Username() pulumi.StringPtrOutput
The user name for HTTP Basic authentication.
type FulfillmentGenericWebServicePtrInput ¶
type FulfillmentGenericWebServicePtrInput interface { pulumi.Input ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput ToFulfillmentGenericWebServicePtrOutputWithContext(context.Context) FulfillmentGenericWebServicePtrOutput }
FulfillmentGenericWebServicePtrInput is an input type that accepts FulfillmentGenericWebServiceArgs, FulfillmentGenericWebServicePtr and FulfillmentGenericWebServicePtrOutput values. You can construct a concrete instance of `FulfillmentGenericWebServicePtrInput` via:
FulfillmentGenericWebServiceArgs{...} or: nil
func FulfillmentGenericWebServicePtr ¶
func FulfillmentGenericWebServicePtr(v *FulfillmentGenericWebServiceArgs) FulfillmentGenericWebServicePtrInput
type FulfillmentGenericWebServicePtrOutput ¶
type FulfillmentGenericWebServicePtrOutput struct{ *pulumi.OutputState }
func (FulfillmentGenericWebServicePtrOutput) ElementType ¶
func (FulfillmentGenericWebServicePtrOutput) ElementType() reflect.Type
func (FulfillmentGenericWebServicePtrOutput) Password ¶
func (o FulfillmentGenericWebServicePtrOutput) Password() pulumi.StringPtrOutput
The password for HTTP Basic authentication.
func (FulfillmentGenericWebServicePtrOutput) RequestHeaders ¶
func (o FulfillmentGenericWebServicePtrOutput) RequestHeaders() pulumi.StringMapOutput
The HTTP request headers to send together with fulfillment requests.
func (FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutput ¶
func (o FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput
func (FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutputWithContext ¶
func (o FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutputWithContext(ctx context.Context) FulfillmentGenericWebServicePtrOutput
func (FulfillmentGenericWebServicePtrOutput) Uri ¶
func (o FulfillmentGenericWebServicePtrOutput) Uri() pulumi.StringPtrOutput
The fulfillment URI for receiving POST requests. It must use https protocol.
func (FulfillmentGenericWebServicePtrOutput) Username ¶
func (o FulfillmentGenericWebServicePtrOutput) Username() pulumi.StringPtrOutput
The user name for HTTP Basic authentication.
type FulfillmentInput ¶
type FulfillmentInput interface { pulumi.Input ToFulfillmentOutput() FulfillmentOutput ToFulfillmentOutputWithContext(ctx context.Context) FulfillmentOutput }
type FulfillmentMap ¶
type FulfillmentMap map[string]FulfillmentInput
func (FulfillmentMap) ElementType ¶
func (FulfillmentMap) ElementType() reflect.Type
func (FulfillmentMap) ToFulfillmentMapOutput ¶
func (i FulfillmentMap) ToFulfillmentMapOutput() FulfillmentMapOutput
func (FulfillmentMap) ToFulfillmentMapOutputWithContext ¶
func (i FulfillmentMap) ToFulfillmentMapOutputWithContext(ctx context.Context) FulfillmentMapOutput
type FulfillmentMapInput ¶
type FulfillmentMapInput interface { pulumi.Input ToFulfillmentMapOutput() FulfillmentMapOutput ToFulfillmentMapOutputWithContext(context.Context) FulfillmentMapOutput }
FulfillmentMapInput is an input type that accepts FulfillmentMap and FulfillmentMapOutput values. You can construct a concrete instance of `FulfillmentMapInput` via:
FulfillmentMap{ "key": FulfillmentArgs{...} }
type FulfillmentMapOutput ¶
type FulfillmentMapOutput struct{ *pulumi.OutputState }
func (FulfillmentMapOutput) ElementType ¶
func (FulfillmentMapOutput) ElementType() reflect.Type
func (FulfillmentMapOutput) MapIndex ¶
func (o FulfillmentMapOutput) MapIndex(k pulumi.StringInput) FulfillmentOutput
func (FulfillmentMapOutput) ToFulfillmentMapOutput ¶
func (o FulfillmentMapOutput) ToFulfillmentMapOutput() FulfillmentMapOutput
func (FulfillmentMapOutput) ToFulfillmentMapOutputWithContext ¶
func (o FulfillmentMapOutput) ToFulfillmentMapOutputWithContext(ctx context.Context) FulfillmentMapOutput
type FulfillmentOutput ¶
type FulfillmentOutput struct{ *pulumi.OutputState }
func (FulfillmentOutput) ElementType ¶
func (FulfillmentOutput) ElementType() reflect.Type
func (FulfillmentOutput) ToFulfillmentOutput ¶
func (o FulfillmentOutput) ToFulfillmentOutput() FulfillmentOutput
func (FulfillmentOutput) ToFulfillmentOutputWithContext ¶
func (o FulfillmentOutput) ToFulfillmentOutputWithContext(ctx context.Context) FulfillmentOutput
type FulfillmentState ¶
type FulfillmentState struct { // The human-readable name of the fulfillment, unique within the agent. DisplayName pulumi.StringPtrInput // Whether fulfillment is enabled. Enabled pulumi.BoolPtrInput // The field defines whether the fulfillment is enabled for certain features. // Structure is documented below. Features FulfillmentFeatureArrayInput // Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. // Structure is documented below. GenericWebService FulfillmentGenericWebServicePtrInput // The unique identifier of the fulfillment. Format: projects/<Project ID>/agent/fulfillment - projects/<Project // ID>/locations/<Location ID>/agent/fulfillment Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
func (FulfillmentState) ElementType ¶
func (FulfillmentState) ElementType() reflect.Type
type Intent ¶
type Intent struct { pulumi.CustomResourceState // The name of the action associated with the intent. // Note: The action name must not contain whitespaces. Action pulumi.StringOutput `pulumi:"action"` // The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED // (i.e. default platform). // Each value may be one of `FACEBOOK`, `SLACK`, `TELEGRAM`, `KIK`, `SKYPE`, `LINE`, `VIBER`, `ACTIONS_ON_GOOGLE`, and `GOOGLE_HANGOUTS`. DefaultResponsePlatforms pulumi.StringArrayOutput `pulumi:"defaultResponsePlatforms"` // The name of this intent to be displayed on the console. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of // the contexts must be present in the active user session for an event to trigger this intent. See the // [events reference](https://cloud.google.com/dialogflow/docs/events-overview) for more details. Events pulumi.StringArrayOutput `pulumi:"events"` // Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only // in the output. FollowupIntentInfos IntentFollowupIntentInfoArrayOutput `pulumi:"followupIntentInfos"` // The list of context names required for this intent to be triggered. // Format: projects/<Project ID>/agent/sessions/-/contexts/<Context ID>. InputContextNames pulumi.StringArrayOutput `pulumi:"inputContextNames"` // Indicates whether this is a fallback intent. IsFallback pulumi.BoolOutput `pulumi:"isFallback"` // Indicates whether Machine Learning is disabled for the intent. // Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML // ONLY match mode. Also, auto-markup in the UI is turned off. MlDisabled pulumi.BoolOutput `pulumi:"mlDisabled"` // The unique identifier of this intent. Format: projects/<Project ID>/agent/intents/<Intent ID>. Name pulumi.StringOutput `pulumi:"name"` // The unique identifier of the parent intent in the chain of followup intents. // Format: projects/<Project ID>/agent/intents/<Intent ID>. ParentFollowupIntentName pulumi.StringOutput `pulumi:"parentFollowupIntentName"` // The priority of this intent. Higher numbers represent higher priorities. // - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds // to the Normal priority in the console. // - If the supplied value is negative, the intent is ignored in runtime detect intent requests. Priority pulumi.IntOutput `pulumi:"priority"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Indicates whether to delete all contexts in the current session when this intent is matched. ResetContexts pulumi.BoolOutput `pulumi:"resetContexts"` // The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents // chain for this intent. Format: projects/<Project ID>/agent/intents/<Intent ID>. RootFollowupIntentName pulumi.StringOutput `pulumi:"rootFollowupIntentName"` // Indicates whether webhooks are enabled for the intent. // * WEBHOOK_STATE_ENABLED: Webhook is enabled in the agent and in the intent. // * WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING: Webhook is enabled in the agent and in the intent. Also, each slot // filling prompt is forwarded to the webhook. // Possible values are `WEBHOOK_STATE_ENABLED` and `WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING`. WebhookState pulumi.StringOutput `pulumi:"webhookState"` }
Represents a Dialogflow intent. Intents convert a number of user expressions or patterns into an action. An action is an extraction of a user command or sentence semantics.
To get more information about Intent, see:
* [API documentation](https://cloud.google.com/dialogflow/docs/reference/rest/v2/projects.agent.intents) * How-to Guides
- [Official Documentation](https://cloud.google.com/dialogflow/docs/)
## Example Usage ### Dialogflow Intent Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/diagflow" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { basicAgent, err := diagflow.NewAgent(ctx, "basicAgent", &diagflow.AgentArgs{ DisplayName: pulumi.String("example_agent"), DefaultLanguageCode: pulumi.String("en"), TimeZone: pulumi.String("America/New_York"), }) if err != nil { return err } _, err = diagflow.NewIntent(ctx, "basicIntent", &diagflow.IntentArgs{ DisplayName: pulumi.String("basic-intent"), }, pulumi.DependsOn([]pulumi.Resource{ basicAgent, })) if err != nil { return err } return nil }) }
```
## Import
Intent can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:diagflow/intent:Intent default {{name}}
```
func GetIntent ¶
func GetIntent(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntentState, opts ...pulumi.ResourceOption) (*Intent, error)
GetIntent gets an existing Intent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIntent ¶
func NewIntent(ctx *pulumi.Context, name string, args *IntentArgs, opts ...pulumi.ResourceOption) (*Intent, error)
NewIntent registers a new resource with the given unique name, arguments, and options.
func (*Intent) ElementType ¶
func (*Intent) ToIntentOutput ¶
func (i *Intent) ToIntentOutput() IntentOutput
func (*Intent) ToIntentOutputWithContext ¶
func (i *Intent) ToIntentOutputWithContext(ctx context.Context) IntentOutput
type IntentArgs ¶
type IntentArgs struct { // The name of the action associated with the intent. // Note: The action name must not contain whitespaces. Action pulumi.StringPtrInput // The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED // (i.e. default platform). // Each value may be one of `FACEBOOK`, `SLACK`, `TELEGRAM`, `KIK`, `SKYPE`, `LINE`, `VIBER`, `ACTIONS_ON_GOOGLE`, and `GOOGLE_HANGOUTS`. DefaultResponsePlatforms pulumi.StringArrayInput // The name of this intent to be displayed on the console. DisplayName pulumi.StringInput // The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of // the contexts must be present in the active user session for an event to trigger this intent. See the // [events reference](https://cloud.google.com/dialogflow/docs/events-overview) for more details. Events pulumi.StringArrayInput // The list of context names required for this intent to be triggered. // Format: projects/<Project ID>/agent/sessions/-/contexts/<Context ID>. InputContextNames pulumi.StringArrayInput // Indicates whether this is a fallback intent. IsFallback pulumi.BoolPtrInput // Indicates whether Machine Learning is disabled for the intent. // Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML // ONLY match mode. Also, auto-markup in the UI is turned off. MlDisabled pulumi.BoolPtrInput // The unique identifier of the parent intent in the chain of followup intents. // Format: projects/<Project ID>/agent/intents/<Intent ID>. ParentFollowupIntentName pulumi.StringPtrInput // The priority of this intent. Higher numbers represent higher priorities. // - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds // to the Normal priority in the console. // - If the supplied value is negative, the intent is ignored in runtime detect intent requests. Priority pulumi.IntPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Indicates whether to delete all contexts in the current session when this intent is matched. ResetContexts pulumi.BoolPtrInput // Indicates whether webhooks are enabled for the intent. // * WEBHOOK_STATE_ENABLED: Webhook is enabled in the agent and in the intent. // * WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING: Webhook is enabled in the agent and in the intent. Also, each slot // filling prompt is forwarded to the webhook. // Possible values are `WEBHOOK_STATE_ENABLED` and `WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING`. WebhookState pulumi.StringPtrInput }
The set of arguments for constructing a Intent resource.
func (IntentArgs) ElementType ¶
func (IntentArgs) ElementType() reflect.Type
type IntentArray ¶
type IntentArray []IntentInput
func (IntentArray) ElementType ¶
func (IntentArray) ElementType() reflect.Type
func (IntentArray) ToIntentArrayOutput ¶
func (i IntentArray) ToIntentArrayOutput() IntentArrayOutput
func (IntentArray) ToIntentArrayOutputWithContext ¶
func (i IntentArray) ToIntentArrayOutputWithContext(ctx context.Context) IntentArrayOutput
type IntentArrayInput ¶
type IntentArrayInput interface { pulumi.Input ToIntentArrayOutput() IntentArrayOutput ToIntentArrayOutputWithContext(context.Context) IntentArrayOutput }
IntentArrayInput is an input type that accepts IntentArray and IntentArrayOutput values. You can construct a concrete instance of `IntentArrayInput` via:
IntentArray{ IntentArgs{...} }
type IntentArrayOutput ¶
type IntentArrayOutput struct{ *pulumi.OutputState }
func (IntentArrayOutput) ElementType ¶
func (IntentArrayOutput) ElementType() reflect.Type
func (IntentArrayOutput) Index ¶
func (o IntentArrayOutput) Index(i pulumi.IntInput) IntentOutput
func (IntentArrayOutput) ToIntentArrayOutput ¶
func (o IntentArrayOutput) ToIntentArrayOutput() IntentArrayOutput
func (IntentArrayOutput) ToIntentArrayOutputWithContext ¶
func (o IntentArrayOutput) ToIntentArrayOutputWithContext(ctx context.Context) IntentArrayOutput
type IntentFollowupIntentInfo ¶
type IntentFollowupIntentInfo struct { FollowupIntentName *string `pulumi:"followupIntentName"` // The unique identifier of the parent intent in the chain of followup intents. // Format: projects/<Project ID>/agent/intents/<Intent ID>. ParentFollowupIntentName *string `pulumi:"parentFollowupIntentName"` }
type IntentFollowupIntentInfoArgs ¶
type IntentFollowupIntentInfoArgs struct { FollowupIntentName pulumi.StringPtrInput `pulumi:"followupIntentName"` // The unique identifier of the parent intent in the chain of followup intents. // Format: projects/<Project ID>/agent/intents/<Intent ID>. ParentFollowupIntentName pulumi.StringPtrInput `pulumi:"parentFollowupIntentName"` }
func (IntentFollowupIntentInfoArgs) ElementType ¶
func (IntentFollowupIntentInfoArgs) ElementType() reflect.Type
func (IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutput ¶
func (i IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutput() IntentFollowupIntentInfoOutput
func (IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutputWithContext ¶
func (i IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutputWithContext(ctx context.Context) IntentFollowupIntentInfoOutput
type IntentFollowupIntentInfoArray ¶
type IntentFollowupIntentInfoArray []IntentFollowupIntentInfoInput
func (IntentFollowupIntentInfoArray) ElementType ¶
func (IntentFollowupIntentInfoArray) ElementType() reflect.Type
func (IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutput ¶
func (i IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutput() IntentFollowupIntentInfoArrayOutput
func (IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutputWithContext ¶
func (i IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutputWithContext(ctx context.Context) IntentFollowupIntentInfoArrayOutput
type IntentFollowupIntentInfoArrayInput ¶
type IntentFollowupIntentInfoArrayInput interface { pulumi.Input ToIntentFollowupIntentInfoArrayOutput() IntentFollowupIntentInfoArrayOutput ToIntentFollowupIntentInfoArrayOutputWithContext(context.Context) IntentFollowupIntentInfoArrayOutput }
IntentFollowupIntentInfoArrayInput is an input type that accepts IntentFollowupIntentInfoArray and IntentFollowupIntentInfoArrayOutput values. You can construct a concrete instance of `IntentFollowupIntentInfoArrayInput` via:
IntentFollowupIntentInfoArray{ IntentFollowupIntentInfoArgs{...} }
type IntentFollowupIntentInfoArrayOutput ¶
type IntentFollowupIntentInfoArrayOutput struct{ *pulumi.OutputState }
func (IntentFollowupIntentInfoArrayOutput) ElementType ¶
func (IntentFollowupIntentInfoArrayOutput) ElementType() reflect.Type
func (IntentFollowupIntentInfoArrayOutput) Index ¶
func (o IntentFollowupIntentInfoArrayOutput) Index(i pulumi.IntInput) IntentFollowupIntentInfoOutput
func (IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutput ¶
func (o IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutput() IntentFollowupIntentInfoArrayOutput
func (IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutputWithContext ¶
func (o IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutputWithContext(ctx context.Context) IntentFollowupIntentInfoArrayOutput
type IntentFollowupIntentInfoInput ¶
type IntentFollowupIntentInfoInput interface { pulumi.Input ToIntentFollowupIntentInfoOutput() IntentFollowupIntentInfoOutput ToIntentFollowupIntentInfoOutputWithContext(context.Context) IntentFollowupIntentInfoOutput }
IntentFollowupIntentInfoInput is an input type that accepts IntentFollowupIntentInfoArgs and IntentFollowupIntentInfoOutput values. You can construct a concrete instance of `IntentFollowupIntentInfoInput` via:
IntentFollowupIntentInfoArgs{...}
type IntentFollowupIntentInfoOutput ¶
type IntentFollowupIntentInfoOutput struct{ *pulumi.OutputState }
func (IntentFollowupIntentInfoOutput) ElementType ¶
func (IntentFollowupIntentInfoOutput) ElementType() reflect.Type
func (IntentFollowupIntentInfoOutput) FollowupIntentName ¶
func (o IntentFollowupIntentInfoOutput) FollowupIntentName() pulumi.StringPtrOutput
func (IntentFollowupIntentInfoOutput) ParentFollowupIntentName ¶
func (o IntentFollowupIntentInfoOutput) ParentFollowupIntentName() pulumi.StringPtrOutput
The unique identifier of the parent intent in the chain of followup intents. Format: projects/<Project ID>/agent/intents/<Intent ID>.
func (IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutput ¶
func (o IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutput() IntentFollowupIntentInfoOutput
func (IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutputWithContext ¶
func (o IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutputWithContext(ctx context.Context) IntentFollowupIntentInfoOutput
type IntentInput ¶
type IntentInput interface { pulumi.Input ToIntentOutput() IntentOutput ToIntentOutputWithContext(ctx context.Context) IntentOutput }
type IntentMap ¶
type IntentMap map[string]IntentInput
func (IntentMap) ElementType ¶
func (IntentMap) ToIntentMapOutput ¶
func (i IntentMap) ToIntentMapOutput() IntentMapOutput
func (IntentMap) ToIntentMapOutputWithContext ¶
func (i IntentMap) ToIntentMapOutputWithContext(ctx context.Context) IntentMapOutput
type IntentMapInput ¶
type IntentMapInput interface { pulumi.Input ToIntentMapOutput() IntentMapOutput ToIntentMapOutputWithContext(context.Context) IntentMapOutput }
IntentMapInput is an input type that accepts IntentMap and IntentMapOutput values. You can construct a concrete instance of `IntentMapInput` via:
IntentMap{ "key": IntentArgs{...} }
type IntentMapOutput ¶
type IntentMapOutput struct{ *pulumi.OutputState }
func (IntentMapOutput) ElementType ¶
func (IntentMapOutput) ElementType() reflect.Type
func (IntentMapOutput) MapIndex ¶
func (o IntentMapOutput) MapIndex(k pulumi.StringInput) IntentOutput
func (IntentMapOutput) ToIntentMapOutput ¶
func (o IntentMapOutput) ToIntentMapOutput() IntentMapOutput
func (IntentMapOutput) ToIntentMapOutputWithContext ¶
func (o IntentMapOutput) ToIntentMapOutputWithContext(ctx context.Context) IntentMapOutput
type IntentOutput ¶
type IntentOutput struct{ *pulumi.OutputState }
func (IntentOutput) ElementType ¶
func (IntentOutput) ElementType() reflect.Type
func (IntentOutput) ToIntentOutput ¶
func (o IntentOutput) ToIntentOutput() IntentOutput
func (IntentOutput) ToIntentOutputWithContext ¶
func (o IntentOutput) ToIntentOutputWithContext(ctx context.Context) IntentOutput
type IntentState ¶
type IntentState struct { // The name of the action associated with the intent. // Note: The action name must not contain whitespaces. Action pulumi.StringPtrInput // The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED // (i.e. default platform). // Each value may be one of `FACEBOOK`, `SLACK`, `TELEGRAM`, `KIK`, `SKYPE`, `LINE`, `VIBER`, `ACTIONS_ON_GOOGLE`, and `GOOGLE_HANGOUTS`. DefaultResponsePlatforms pulumi.StringArrayInput // The name of this intent to be displayed on the console. DisplayName pulumi.StringPtrInput // The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of // the contexts must be present in the active user session for an event to trigger this intent. See the // [events reference](https://cloud.google.com/dialogflow/docs/events-overview) for more details. Events pulumi.StringArrayInput // Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only // in the output. FollowupIntentInfos IntentFollowupIntentInfoArrayInput // The list of context names required for this intent to be triggered. // Format: projects/<Project ID>/agent/sessions/-/contexts/<Context ID>. InputContextNames pulumi.StringArrayInput // Indicates whether this is a fallback intent. IsFallback pulumi.BoolPtrInput // Indicates whether Machine Learning is disabled for the intent. // Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML // ONLY match mode. Also, auto-markup in the UI is turned off. MlDisabled pulumi.BoolPtrInput // The unique identifier of this intent. Format: projects/<Project ID>/agent/intents/<Intent ID>. Name pulumi.StringPtrInput // The unique identifier of the parent intent in the chain of followup intents. // Format: projects/<Project ID>/agent/intents/<Intent ID>. ParentFollowupIntentName pulumi.StringPtrInput // The priority of this intent. Higher numbers represent higher priorities. // - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds // to the Normal priority in the console. // - If the supplied value is negative, the intent is ignored in runtime detect intent requests. Priority pulumi.IntPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Indicates whether to delete all contexts in the current session when this intent is matched. ResetContexts pulumi.BoolPtrInput // The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents // chain for this intent. Format: projects/<Project ID>/agent/intents/<Intent ID>. RootFollowupIntentName pulumi.StringPtrInput // Indicates whether webhooks are enabled for the intent. // * WEBHOOK_STATE_ENABLED: Webhook is enabled in the agent and in the intent. // * WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING: Webhook is enabled in the agent and in the intent. Also, each slot // filling prompt is forwarded to the webhook. // Possible values are `WEBHOOK_STATE_ENABLED` and `WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING`. WebhookState pulumi.StringPtrInput }
func (IntentState) ElementType ¶
func (IntentState) ElementType() reflect.Type