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.



15778
15779
15780
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15778

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

Instance Attribute Details

#basic_cardGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCard

Corresponds to the JSON property basicCard



15676
15677
15678
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15676

def basic_card
  @basic_card
end

Corresponds to the JSON property browseCarouselCard



15681
15682
15683
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15681

def browse_carousel_card
  @browse_carousel_card
end

#cardGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageCard

Corresponds to the JSON property card



15686
15687
15688
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15686

def card
  @card
end

Corresponds to the JSON property carouselSelect



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

def carousel_select
  @carousel_select
end

#imageGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageImage

Corresponds to the JSON property image



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

def image
  @image
end

Corresponds to the JSON property linkOutSuggestion



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

def link_out_suggestion
  @link_out_suggestion
end

#list_selectGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelect

Corresponds to the JSON property listSelect



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

def list_select
  @list_select
end

#media_contentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageMediaContent

Corresponds to the JSON property mediaContent



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

def media_content
  @media_content
end

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


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

def payload
  @payload
end

#platformString

Corresponds to the JSON property platform

Returns:

  • (String)


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

def platform
  @platform
end

#quick_repliesGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies

Corresponds to the JSON property quickReplies



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

def quick_replies
  @quick_replies
end

Corresponds to the JSON property rbmCarouselRichCard



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

def rbm_carousel_rich_card
  @rbm_carousel_rich_card
end

#rbm_standalone_rich_cardGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard

Corresponds to the JSON property rbmStandaloneRichCard



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

def rbm_standalone_rich_card
  @rbm_standalone_rich_card
end

#rbm_textGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmText

Corresponds to the JSON property rbmText



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

def rbm_text
  @rbm_text
end

#simple_responsesGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses

Corresponds to the JSON property simpleResponses



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

def simple_responses
  @simple_responses
end

#suggestionsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions

Corresponds to the JSON property suggestions



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

def suggestions
  @suggestions
end

#table_cardGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTableCard

Corresponds to the JSON property tableCard



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

def table_card
  @table_card
end

#telephony_play_audioGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio

Corresponds to the JSON property telephonyPlayAudio



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

def telephony_play_audio
  @telephony_play_audio
end

#telephony_synthesize_speechGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

Corresponds to the JSON property telephonySynthesizeSpeech



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

def telephony_synthesize_speech
  @telephony_synthesize_speech
end

#telephony_transfer_callGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall

Corresponds to the JSON property telephonyTransferCall



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

def telephony_transfer_call
  @telephony_transfer_call
end

#textGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageText

Corresponds to the JSON property text



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

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15783

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