GoogleCloudDialogflowV2IntentMessageResponse class

A rich response message. Corresponds to the intent Response field in the Dialogflow console. For more information, see Rich response messages.

Constructors

GoogleCloudDialogflowV2IntentMessageResponse({required Input<GoogleCloudDialogflowV2IntentMessageBasicCardResponse> basicCard, required Input<GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardResponse> browseCarouselCard, required Input<GoogleCloudDialogflowV2IntentMessageCardResponse> card, required Input<GoogleCloudDialogflowV2IntentMessageCarouselSelectResponse> carouselSelect, required Input<GoogleCloudDialogflowV2IntentMessageImageResponse> image, required Input<GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionResponse> linkOutSuggestion, required Input<GoogleCloudDialogflowV2IntentMessageListSelectResponse> listSelect, required Input<GoogleCloudDialogflowV2IntentMessageMediaContentResponse> mediaContent, required Input<Map<String, String>> payload, required Input<String> platform, required Input<GoogleCloudDialogflowV2IntentMessageQuickRepliesResponse> quickReplies, required Input<GoogleCloudDialogflowV2IntentMessageSimpleResponsesResponse> simpleResponses, required Input<GoogleCloudDialogflowV2IntentMessageSuggestionsResponse> suggestions, required Input<GoogleCloudDialogflowV2IntentMessageTableCardResponse> tableCard, required Input<GoogleCloudDialogflowV2IntentMessageTextResponse> text})
Creates a new GoogleCloudDialogflowV2IntentMessageResponse. basicCard The basic card response for Actions on Google. browseCarouselCard Browse carousel card for Actions on Google. card The card response. carouselSelect The carousel card response for Actions on Google. image The image response. linkOutSuggestion The link out suggestion chip for Actions on Google. listSelect The list card response for Actions on Google. mediaContent The media content card for Actions on Google. payload A custom platform-specific response. platform Optional. The platform that this message is intended for. quickReplies The quick replies response. simpleResponses The voice and text-only responses for Actions on Google. suggestions The suggestion chips for Actions on Google. tableCard Table card for Actions on Google. text The text response.
const
GoogleCloudDialogflowV2IntentMessageResponse.fromMap(Map<String, dynamic> map)
factory

Properties

basicCard → Input<GoogleCloudDialogflowV2IntentMessageBasicCardResponse>
The basic card response for Actions on Google.
final
browseCarouselCard → Input<GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardResponse>
Browse carousel card for Actions on Google.
final
card → Input<GoogleCloudDialogflowV2IntentMessageCardResponse>
The card response.
final
carouselSelect → Input<GoogleCloudDialogflowV2IntentMessageCarouselSelectResponse>
The carousel card response for Actions on Google.
final
hashCode → int
The hash code for this object.
no setterinherited
image → Input<GoogleCloudDialogflowV2IntentMessageImageResponse>
The image response.
final
linkOutSuggestion → Input<GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionResponse>
The link out suggestion chip for Actions on Google.
final
listSelect → Input<GoogleCloudDialogflowV2IntentMessageListSelectResponse>
The list card response for Actions on Google.
final
mediaContent → Input<GoogleCloudDialogflowV2IntentMessageMediaContentResponse>
The media content card for Actions on Google.
final
payload → Input<Map<String, String>>
A custom platform-specific response.
final
platform → Input<String>
Optional. The platform that this message is intended for.
final
quickReplies → Input<GoogleCloudDialogflowV2IntentMessageQuickRepliesResponse>
The quick replies response.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
simpleResponses → Input<GoogleCloudDialogflowV2IntentMessageSimpleResponsesResponse>
The voice and text-only responses for Actions on Google.
final
suggestions → Input<GoogleCloudDialogflowV2IntentMessageSuggestionsResponse>
The suggestion chips for Actions on Google.
final
tableCard → Input<GoogleCloudDialogflowV2IntentMessageTableCardResponse>
Table card for Actions on Google.
final
text → Input<GoogleCloudDialogflowV2IntentMessageTextResponse>
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