Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageBasicCard
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageBasicCard
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton>
Corresponds to the JSON property
buttons. -
#formatted_text ⇒ String
Corresponds to the JSON property
formattedText. -
#image ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property
image. -
#subtitle ⇒ String
Corresponds to the JSON property
subtitle. -
#title ⇒ String
Corresponds to the JSON property
title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageBasicCard
constructor
A new instance of GoogleCloudDialogflowV2IntentMessageBasicCard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageBasicCard
Returns a new instance of GoogleCloudDialogflowV2IntentMessageBasicCard.
16170 16171 16172 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16170 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buttons ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton>
Corresponds to the JSON property buttons
16148 16149 16150 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16148 def @buttons end |
#formatted_text ⇒ String
Corresponds to the JSON property formattedText
16153 16154 16155 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16153 def formatted_text @formatted_text end |
#image ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property image
16158 16159 16160 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16158 def image @image end |
#subtitle ⇒ String
Corresponds to the JSON property subtitle
16163 16164 16165 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16163 def subtitle @subtitle end |
#title ⇒ String
Corresponds to the JSON property title
16168 16169 16170 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16168 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16175 16176 16177 16178 16179 16180 16181 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16175 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 |