Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCard
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCard
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCardButton>
Corresponds to the JSON property
buttons. -
#image_uri ⇒ String
Corresponds to the JSON property
imageUri. -
#subtitle ⇒ String
Corresponds to the JSON property
subtitle. -
#title ⇒ String
Corresponds to the JSON property
title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageCard
constructor
A new instance of GoogleCloudDialogflowV2IntentMessageCard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageCard
Returns a new instance of GoogleCloudDialogflowV2IntentMessageCard.
12363 12364 12365 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buttons ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCardButton>
Corresponds to the JSON property buttons
12346 12347 12348 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12346 def @buttons end |
#image_uri ⇒ String
Corresponds to the JSON property imageUri
12351 12352 12353 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12351 def image_uri @image_uri end |
#subtitle ⇒ String
Corresponds to the JSON property subtitle
12356 12357 12358 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12356 def subtitle @subtitle end |
#title ⇒ String
Corresponds to the JSON property title
12361 12362 12363 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12361 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12368 12369 12370 12371 12372 12373 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12368 def update!(**args) @buttons = args[:buttons] if args.key?(:buttons) @image_uri = args[:image_uri] if args.key?(:image_uri) @subtitle = args[:subtitle] if args.key?(:subtitle) @title = args[:title] if args.key?(:title) end |