class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage
Corresponds to the `Response` field in the Dialogflow console.
Attributes
The basic card message. Useful for displaying information. Corresponds to the JSON property `basicCard` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCard]
Browse Carousel Card for Actions on Google
. developers.google.com/ actions/assistant/responses#browsing_carousel Corresponds to the JSON property `browseCarouselCard` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard]
The card response message. Corresponds to the JSON property `card` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageCard]
The card for presenting a carousel of options to select from. Corresponds to the JSON property `carouselSelect` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect]
The image response message. Corresponds to the JSON property `image` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageImage]
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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion]
The card for presenting a list of options to select from. Corresponds to the JSON property `listSelect` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelect]
The media content card for Actions on Google
. Corresponds to the JSON property `mediaContent` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageMediaContent]
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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies]
Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. Corresponds to the JSON property `rbmCarouselRichCard` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard]
Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. Corresponds to the JSON property `rbmStandaloneRichCard` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard]
Rich Business Messaging (RBM) text response with suggestions. Corresponds to the JSON property `rbmText` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmText]
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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses]
The collection of suggestions. Corresponds to the JSON property `suggestions` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions]
Table card for Actions on Google
. Corresponds to the JSON property `tableCard` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageTableCard]
Plays audio from a file in Telephony Gateway. Corresponds to the JSON property `telephonyPlayAudio` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio]
Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from ` DetectIntentResponse.output_audio_config` which can either be set at request- level or can come from the agent-level synthesizer config. Corresponds to the JSON property `telephonySynthesizeSpeech` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech]
Transfers the call in Telephony Gateway. Corresponds to the JSON property `telephonyTransferCall` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall]
The text response message. Corresponds to the JSON property `text` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageText]
Public Class Methods
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 11652 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 11657 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) @rbm_carousel_rich_card = args[:rbm_carousel_rich_card] if args.key?(:rbm_carousel_rich_card) @rbm_standalone_rich_card = args[:rbm_standalone_rich_card] if args.key?(:rbm_standalone_rich_card) @rbm_text = args[:rbm_text] if args.key?(:rbm_text) @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) @telephony_play_audio = args[:telephony_play_audio] if args.key?(:telephony_play_audio) @telephony_synthesize_speech = args[:telephony_synthesize_speech] if args.key?(:telephony_synthesize_speech) @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call) @text = args[:text] if args.key?(:text) end