class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage
A rich response message. Corresponds to the intent `Response` field in the Dialogflow console. For more information, see [Rich response messages](https:// cloud.google.com/dialogflow/docs/intents-rich-messages).
Attributes
The basic card message. Useful for displaying information. Corresponds to the JSON property `basicCard` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBasicCard]
Browse Carousel Card for Actions on Google
. developers.google.com/ actions/assistant/responses#browsing_carousel Corresponds to the JSON property `browseCarouselCard` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard]
The card response message. Corresponds to the JSON property `card` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageCard]
The card for presenting a carousel of options to select from. Corresponds to the JSON property `carouselSelect` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageCarouselSelect]
The image response message. Corresponds to the JSON property `image` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageImage]
The suggestion chip message that allows the user to jump out to the app or website associated with this agent. Corresponds to the JSON property `linkOutSuggestion` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion]
The card for presenting a list of options to select from. Corresponds to the JSON property `listSelect` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageListSelect]
The media content card for Actions on Google
. Corresponds to the JSON property `mediaContent` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageMediaContent]
A custom platform-specific response. Corresponds to the JSON property `payload` @return [Hash<String,Object>]
Optional. The platform that this message is intended for. Corresponds to the JSON property `platform` @return [String]
The quick replies response message. Corresponds to the JSON property `quickReplies` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageQuickReplies]
The collection of simple response candidates. This message in `QueryResult. fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. Corresponds to the JSON property `simpleResponses` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageSimpleResponses]
The collection of suggestions. Corresponds to the JSON property `suggestions` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageSuggestions]
Table card for Actions on Google
. Corresponds to the JSON property `tableCard` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageTableCard]
The text response message. Corresponds to the JSON property `text` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageText]
Public Class Methods
# File lib/google/apis/dialogflow_v3/classes.rb, line 9863 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 9868 def update!(**args) @basic_card = args[:basic_card] if args.key?(:basic_card) @browse_carousel_card = args[:browse_carousel_card] if args.key?(:browse_carousel_card) @card = args[:card] if args.key?(:card) @carousel_select = args[:carousel_select] if args.key?(:carousel_select) @image = args[:image] if args.key?(:image) @link_out_suggestion = args[:link_out_suggestion] if args.key?(:link_out_suggestion) @list_select = args[:list_select] if args.key?(:list_select) @media_content = args[:media_content] if args.key?(:media_content) @payload = args[:payload] if args.key?(:payload) @platform = args[:platform] if args.key?(:platform) @quick_replies = args[:quick_replies] if args.key?(:quick_replies) @simple_responses = args[:simple_responses] if args.key?(:simple_responses) @suggestions = args[:suggestions] if args.key?(:suggestions) @table_card = args[:table_card] if args.key?(:table_card) @text = args[:text] if args.key?(:text) end