GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse class
The simple response message containing speech or text.
Constructors
-
GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse({required Input<
String> displayText, required Input<String> ssml, required Input<String> textToSpeech}) -
Creates a new GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse.
displayTextOptional. The text to display.ssmlOne of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.textToSpeechOne of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.const -
GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
displayText
→ Input<
String> -
Optional. The text to display.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
ssml
→ Input<
String> -
One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
final
-
textToSpeech
→ Input<
String> -
One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited