GoogleCloudDialogflowV2IntentMessage class
A rich response message. Corresponds to the intent Response field in the Dialogflow console. For more information, see Rich response messages.
Constructors
-
GoogleCloudDialogflowV2IntentMessage({Input<
GoogleCloudDialogflowV2IntentMessageBasicCard> ? basicCard, Input<GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard> ? browseCarouselCard, Input<GoogleCloudDialogflowV2IntentMessageCard> ? card, Input<GoogleCloudDialogflowV2IntentMessageCarouselSelect> ? carouselSelect, Input<GoogleCloudDialogflowV2IntentMessageImage> ? image, Input<GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion> ? linkOutSuggestion, Input<GoogleCloudDialogflowV2IntentMessageListSelect> ? listSelect, Input<GoogleCloudDialogflowV2IntentMessageMediaContent> ? mediaContent, Input<Map< ? payload, Input<String, String> >GoogleCloudDialogflowV2IntentMessagePlatform> ? platform, Input<GoogleCloudDialogflowV2IntentMessageQuickReplies> ? quickReplies, Input<GoogleCloudDialogflowV2IntentMessageSimpleResponses> ? simpleResponses, Input<GoogleCloudDialogflowV2IntentMessageSuggestions> ? suggestions, Input<GoogleCloudDialogflowV2IntentMessageTableCard> ? tableCard, Input<GoogleCloudDialogflowV2IntentMessageText> ? text}) -
Creates a new GoogleCloudDialogflowV2IntentMessage.
basicCardThe basic card response for Actions on Google.browseCarouselCardBrowse carousel card for Actions on Google.cardThe card response.carouselSelectThe carousel card response for Actions on Google.imageThe image response.linkOutSuggestionThe link out suggestion chip for Actions on Google.listSelectThe list card response for Actions on Google.mediaContentThe media content card for Actions on Google.payloadA custom platform-specific response.platformOptional. The platform that this message is intended for.quickRepliesThe quick replies response.simpleResponsesThe voice and text-only responses for Actions on Google.suggestionsThe suggestion chips for Actions on Google.tableCardTable card for Actions on Google.textThe text response.const -
GoogleCloudDialogflowV2IntentMessage.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
basicCard
→ Input<
GoogleCloudDialogflowV2IntentMessageBasicCard> ? -
The basic card response for Actions on Google.
final
-
browseCarouselCard
→ Input<
GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard> ? -
Browse carousel card for Actions on Google.
final
-
card
→ Input<
GoogleCloudDialogflowV2IntentMessageCard> ? -
The card response.
final
-
carouselSelect
→ Input<
GoogleCloudDialogflowV2IntentMessageCarouselSelect> ? -
The carousel card response for Actions on Google.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
image
→ Input<
GoogleCloudDialogflowV2IntentMessageImage> ? -
The image response.
final
-
linkOutSuggestion
→ Input<
GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion> ? -
The link out suggestion chip for Actions on Google.
final
-
listSelect
→ Input<
GoogleCloudDialogflowV2IntentMessageListSelect> ? -
The list card response for Actions on Google.
final
-
mediaContent
→ Input<
GoogleCloudDialogflowV2IntentMessageMediaContent> ? -
The media content card for Actions on Google.
final
-
payload
→ Input<
Map< ?String, String> > -
A custom platform-specific response.
final
-
platform
→ Input<
GoogleCloudDialogflowV2IntentMessagePlatform> ? -
Optional. The platform that this message is intended for.
final
-
quickReplies
→ Input<
GoogleCloudDialogflowV2IntentMessageQuickReplies> ? -
The quick replies response.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
simpleResponses
→ Input<
GoogleCloudDialogflowV2IntentMessageSimpleResponses> ? -
The voice and text-only responses for Actions on Google.
final
-
suggestions
→ Input<
GoogleCloudDialogflowV2IntentMessageSuggestions> ? -
The suggestion chips for Actions on Google.
final
-
tableCard
→ Input<
GoogleCloudDialogflowV2IntentMessageTableCard> ? -
Table card for Actions on Google.
final
-
text
→ Input<
GoogleCloudDialogflowV2IntentMessageText> ? -
The text response.
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