Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessage

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessage.



15792
15793
15794
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15792

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#basic_cardGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCard

Corresponds to the JSON property basicCard



15690
15691
15692
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15690

def basic_card
  @basic_card
end

Corresponds to the JSON property browseCarouselCard



15695
15696
15697
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15695

def browse_carousel_card
  @browse_carousel_card
end

#cardGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCard

Corresponds to the JSON property card



15700
15701
15702
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15700

def card
  @card
end

Corresponds to the JSON property carouselSelect



15705
15706
15707
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15705

def carousel_select
  @carousel_select
end

#imageGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage

Corresponds to the JSON property image



15710
15711
15712
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15710

def image
  @image
end

Corresponds to the JSON property linkOutSuggestion



15715
15716
15717
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15715

def link_out_suggestion
  @link_out_suggestion
end

#list_selectGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelect

Corresponds to the JSON property listSelect



15720
15721
15722
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15720

def list_select
  @list_select
end

#media_contentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageMediaContent

Corresponds to the JSON property mediaContent



15725
15726
15727
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15725

def media_content
  @media_content
end

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


15730
15731
15732
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15730

def payload
  @payload
end

#platformString

Corresponds to the JSON property platform

Returns:

  • (String)


15735
15736
15737
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15735

def platform
  @platform
end

#quick_repliesGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies

Corresponds to the JSON property quickReplies



15740
15741
15742
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15740

def quick_replies
  @quick_replies
end

Corresponds to the JSON property rbmCarouselRichCard



15745
15746
15747
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15745

def rbm_carousel_rich_card
  @rbm_carousel_rich_card
end

#rbm_standalone_rich_cardGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard

Corresponds to the JSON property rbmStandaloneRichCard



15750
15751
15752
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15750

def rbm_standalone_rich_card
  @rbm_standalone_rich_card
end

#rbm_textGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmText

Corresponds to the JSON property rbmText



15755
15756
15757
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15755

def rbm_text
  @rbm_text
end

#simple_responsesGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses

Corresponds to the JSON property simpleResponses



15760
15761
15762
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15760

def simple_responses
  @simple_responses
end

#suggestionsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions

Corresponds to the JSON property suggestions



15765
15766
15767
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15765

def suggestions
  @suggestions
end

#table_cardGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTableCard

Corresponds to the JSON property tableCard



15770
15771
15772
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15770

def table_card
  @table_card
end

#telephony_play_audioGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio

Corresponds to the JSON property telephonyPlayAudio



15775
15776
15777
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15775

def telephony_play_audio
  @telephony_play_audio
end

#telephony_synthesize_speechGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

Corresponds to the JSON property telephonySynthesizeSpeech



15780
15781
15782
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15780

def telephony_synthesize_speech
  @telephony_synthesize_speech
end

#telephony_transfer_callGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall

Corresponds to the JSON property telephonyTransferCall



15785
15786
15787
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15785

def telephony_transfer_call
  @telephony_transfer_call
end

#textGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageText

Corresponds to the JSON property text



15790
15791
15792
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15790

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15797

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)
  @rbm_carousel_rich_card = args[:rbm_carousel_rich_card] if args.key?(:rbm_carousel_rich_card)
  @rbm_standalone_rich_card = args[:rbm_standalone_rich_card] if args.key?(:rbm_standalone_rich_card)
  @rbm_text = args[:rbm_text] if args.key?(:rbm_text)
  @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)
  @telephony_play_audio = args[:telephony_play_audio] if args.key?(:telephony_play_audio)
  @telephony_synthesize_speech = args[:telephony_synthesize_speech] if args.key?(:telephony_synthesize_speech)
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
  @text = args[:text] if args.key?(:text)
end