class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCard
The basic card message. Useful for displaying information.
Attributes
formatted_text[RW]
Required, unless image is present. The body text of the card. Corresponds to the JSON property `formattedText` @return [String]
image[RW]
The image response message. Corresponds to the JSON property `image` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage]
subtitle[RW]
Optional. The subtitle of the card. Corresponds to the JSON property `subtitle` @return [String]
title[RW]
Optional. The title of the card. Corresponds to the JSON property `title` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 10781 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 10786 def update!(**args) @buttons = args[:buttons] if args.key?(:buttons) @formatted_text = args[:formatted_text] if args.key?(:formatted_text) @image = args[:image] if args.key?(:image) @subtitle = args[:subtitle] if args.key?(:subtitle) @title = args[:title] if args.key?(:title) end