Package com.pulumi.gcp.diagflow.inputs
Class CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.diagflow.inputs.CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder
-
- Enclosing class:
- CxPageTransitionRouteTriggerFulfillmentMessageArgs
public static final class CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CxPageTransitionRouteTriggerFulfillmentMessageArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CxPageTransitionRouteTriggerFulfillmentMessageArgs defaults)
-
-
Method Detail
-
channel
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder channel(@Nullable com.pulumi.core.Output<java.lang.String> channel)
- Parameters:
channel
- The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.- Returns:
- builder
-
channel
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder channel(java.lang.String channel)
- Parameters:
channel
- The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.- Returns:
- builder
-
conversationSuccess
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder conversationSuccess(@Nullable com.pulumi.core.Output<CxPageTransitionRouteTriggerFulfillmentMessageConversationSuccessArgs> conversationSuccess)
- Parameters:
conversationSuccess
- Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue. Structure is documented below.- Returns:
- builder
-
conversationSuccess
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder conversationSuccess(CxPageTransitionRouteTriggerFulfillmentMessageConversationSuccessArgs conversationSuccess)
- Parameters:
conversationSuccess
- Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue. Structure is documented below.- Returns:
- builder
-
liveAgentHandoff
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder liveAgentHandoff(@Nullable com.pulumi.core.Output<CxPageTransitionRouteTriggerFulfillmentMessageLiveAgentHandoffArgs> liveAgentHandoff)
- Parameters:
liveAgentHandoff
- Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. Structure is documented below.- Returns:
- builder
-
liveAgentHandoff
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder liveAgentHandoff(CxPageTransitionRouteTriggerFulfillmentMessageLiveAgentHandoffArgs liveAgentHandoff)
- Parameters:
liveAgentHandoff
- Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. Structure is documented below.- Returns:
- builder
-
outputAudioText
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder outputAudioText(@Nullable com.pulumi.core.Output<CxPageTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs> outputAudioText)
- Parameters:
outputAudioText
- A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. Structure is documented below.- Returns:
- builder
-
outputAudioText
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder outputAudioText(CxPageTransitionRouteTriggerFulfillmentMessageOutputAudioTextArgs outputAudioText)
- Parameters:
outputAudioText
- A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. Structure is documented below.- Returns:
- builder
-
payload
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder payload(@Nullable com.pulumi.core.Output<java.lang.String> payload)
- Parameters:
payload
- A custom, platform-specific payload.- Returns:
- builder
-
payload
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder payload(java.lang.String payload)
- Parameters:
payload
- A custom, platform-specific payload.- Returns:
- builder
-
playAudio
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder playAudio(@Nullable com.pulumi.core.Output<CxPageTransitionRouteTriggerFulfillmentMessagePlayAudioArgs> playAudio)
- Parameters:
playAudio
- Specifies an audio clip to be played by the client as part of the response. Structure is documented below.- Returns:
- builder
-
playAudio
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder playAudio(CxPageTransitionRouteTriggerFulfillmentMessagePlayAudioArgs playAudio)
- Parameters:
playAudio
- Specifies an audio clip to be played by the client as part of the response. Structure is documented below.- Returns:
- builder
-
telephonyTransferCall
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder telephonyTransferCall(@Nullable com.pulumi.core.Output<CxPageTransitionRouteTriggerFulfillmentMessageTelephonyTransferCallArgs> telephonyTransferCall)
- Parameters:
telephonyTransferCall
- Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. Structure is documented below.- Returns:
- builder
-
telephonyTransferCall
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder telephonyTransferCall(CxPageTransitionRouteTriggerFulfillmentMessageTelephonyTransferCallArgs telephonyTransferCall)
- Parameters:
telephonyTransferCall
- Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. Structure is documented below.- Returns:
- builder
-
text
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder text(@Nullable com.pulumi.core.Output<CxPageTransitionRouteTriggerFulfillmentMessageTextArgs> text)
- Parameters:
text
- The text response message. Structure is documented below.- Returns:
- builder
-
text
public CxPageTransitionRouteTriggerFulfillmentMessageArgs.Builder text(CxPageTransitionRouteTriggerFulfillmentMessageTextArgs text)
- Parameters:
text
- The text response message. Structure is documented below.- Returns:
- builder
-
build
public CxPageTransitionRouteTriggerFulfillmentMessageArgs build()
-
-