Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCard
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCard
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton>
Corresponds to the JSON property
buttons. -
#formatted_text ⇒ String
Corresponds to the JSON property
formattedText. -
#image ⇒ Google::Apis::DialogflowV2beta1::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.
8416 8417 8418 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8416 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buttons ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton>
Corresponds to the JSON property buttons
8394 8395 8396 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8394 def @buttons end |
#formatted_text ⇒ String
Corresponds to the JSON property formattedText
8399 8400 8401 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8399 def formatted_text @formatted_text end |
#image ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property image
8404 8405 8406 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8404 def image @image end |
#subtitle ⇒ String
Corresponds to the JSON property subtitle
8409 8410 8411 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8409 def subtitle @subtitle end |
#title ⇒ String
Corresponds to the JSON property title
8414 8415 8416 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8414 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8421 8422 8423 8424 8425 8426 8427 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8421 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 |