Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#basic_card ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBasicCard
Corresponds to the JSON property
basicCard. -
#browse_carousel_card ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
Corresponds to the JSON property
browseCarouselCard. -
#card ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageCard
Corresponds to the JSON property
card. -
#carousel_select ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageCarouselSelect
Corresponds to the JSON property
carouselSelect. -
#image ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property
image. -
#link_out_suggestion ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
Corresponds to the JSON property
linkOutSuggestion. -
#list_select ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageListSelect
Corresponds to the JSON property
listSelect. -
#media_content ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageMediaContent
Corresponds to the JSON property
mediaContent. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#platform ⇒ String
Corresponds to the JSON property
platform. -
#quick_replies ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageQuickReplies
Corresponds to the JSON property
quickReplies. -
#simple_responses ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageSimpleResponses
Corresponds to the JSON property
simpleResponses. -
#suggestions ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageSuggestions
Corresponds to the JSON property
suggestions. -
#table_card ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageTableCard
Corresponds to the JSON property
tableCard. -
#text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageText
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessage
constructor
A new instance of GoogleCloudDialogflowV2IntentMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessage
Returns a new instance of GoogleCloudDialogflowV2IntentMessage.
14694 14695 14696 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14694 def initialize(**args) update!(**args) end |
Instance Attribute Details
#basic_card ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBasicCard
Corresponds to the JSON property basicCard
14622 14623 14624 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14622 def basic_card @basic_card end |
#browse_carousel_card ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
Corresponds to the JSON property browseCarouselCard
14627 14628 14629 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14627 def browse_carousel_card @browse_carousel_card end |
#card ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageCard
Corresponds to the JSON property card
14632 14633 14634 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14632 def card @card end |
#carousel_select ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageCarouselSelect
Corresponds to the JSON property carouselSelect
14637 14638 14639 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14637 def carousel_select @carousel_select end |
#image ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property image
14642 14643 14644 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14642 def image @image end |
#link_out_suggestion ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
Corresponds to the JSON property linkOutSuggestion
14647 14648 14649 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14647 def link_out_suggestion @link_out_suggestion end |
#list_select ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageListSelect
Corresponds to the JSON property listSelect
14652 14653 14654 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14652 def list_select @list_select end |
#media_content ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageMediaContent
Corresponds to the JSON property mediaContent
14657 14658 14659 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14657 def media_content @media_content end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
14662 14663 14664 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14662 def payload @payload end |
#platform ⇒ String
Corresponds to the JSON property platform
14667 14668 14669 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14667 def platform @platform end |
#quick_replies ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageQuickReplies
Corresponds to the JSON property quickReplies
14672 14673 14674 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14672 def quick_replies @quick_replies end |
#simple_responses ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageSimpleResponses
Corresponds to the JSON property simpleResponses
14677 14678 14679 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14677 def simple_responses @simple_responses end |
#suggestions ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageSuggestions
Corresponds to the JSON property suggestions
14682 14683 14684 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14682 def suggestions @suggestions end |
#table_card ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageTableCard
Corresponds to the JSON property tableCard
14687 14688 14689 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14687 def table_card @table_card end |
#text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageText
Corresponds to the JSON property text
14692 14693 14694 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14692 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14699 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) @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) @text = args[:text] if args.key?(:text) end |