GoogleCloudDialogflowCxV3beta1ResponseMessageArgs

data class GoogleCloudDialogflowCxV3beta1ResponseMessageArgs(val channel: Output<String>? = null, val conversationSuccess: Output<GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessArgs>? = null, val liveAgentHandoff: Output<GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffArgs>? = null, val outputAudioText: Output<GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextArgs>? = null, val payload: Output<Map<String, String>>? = null, val playAudio: Output<GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioArgs>? = null, val telephonyTransferCall: Output<GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallArgs>? = null, val text: Output<GoogleCloudDialogflowCxV3beta1ResponseMessageTextArgs>? = null) : ConvertibleToJava<GoogleCloudDialogflowCxV3beta1ResponseMessageArgs>

Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.

Constructors

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDialogflowCxV3beta1ResponseMessageArgs

Properties

Link copied to clipboard
val channel: Output<String>? = null

The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.

Link copied to clipboard

Indicates that the conversation succeeded.

Link copied to clipboard

Hands off conversation to a human agent.

Link copied to clipboard

A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.

Link copied to clipboard
val payload: Output<Map<String, String>>? = null

Returns a response containing a custom, platform-specific payload.

Link copied to clipboard

Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way.

Link copied to clipboard

A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.

Link copied to clipboard

Returns a text response.