Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessage

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessage.



18528
18529
18530
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18528

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

Instance Attribute Details

#basic_cardGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageBasicCard

Corresponds to the JSON property basicCard



18426
18427
18428
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18426

def basic_card
  @basic_card
end

Corresponds to the JSON property browseCarouselCard



18431
18432
18433
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18431

def browse_carousel_card
  @browse_carousel_card
end

#cardGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageCard

Corresponds to the JSON property card



18436
18437
18438
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18436

def card
  @card
end

Corresponds to the JSON property carouselSelect



18441
18442
18443
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18441

def carousel_select
  @carousel_select
end

#imageGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageImage

Corresponds to the JSON property image



18446
18447
18448
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18446

def image
  @image
end

Corresponds to the JSON property linkOutSuggestion



18451
18452
18453
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18451

def link_out_suggestion
  @link_out_suggestion
end

#list_selectGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageListSelect

Corresponds to the JSON property listSelect



18456
18457
18458
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18456

def list_select
  @list_select
end

#media_contentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageMediaContent

Corresponds to the JSON property mediaContent



18461
18462
18463
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18461

def media_content
  @media_content
end

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


18466
18467
18468
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18466

def payload
  @payload
end

#platformString

Corresponds to the JSON property platform

Returns:

  • (String)


18471
18472
18473
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18471

def platform
  @platform
end

#quick_repliesGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies

Corresponds to the JSON property quickReplies



18476
18477
18478
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18476

def quick_replies
  @quick_replies
end

Corresponds to the JSON property rbmCarouselRichCard



18481
18482
18483
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18481

def rbm_carousel_rich_card
  @rbm_carousel_rich_card
end

#rbm_standalone_rich_cardGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard

Corresponds to the JSON property rbmStandaloneRichCard



18486
18487
18488
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18486

def rbm_standalone_rich_card
  @rbm_standalone_rich_card
end

#rbm_textGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageRbmText

Corresponds to the JSON property rbmText



18491
18492
18493
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18491

def rbm_text
  @rbm_text
end

#simple_responsesGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses

Corresponds to the JSON property simpleResponses



18496
18497
18498
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18496

def simple_responses
  @simple_responses
end

#suggestionsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageSuggestions

Corresponds to the JSON property suggestions



18501
18502
18503
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18501

def suggestions
  @suggestions
end

#table_cardGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageTableCard

Corresponds to the JSON property tableCard



18506
18507
18508
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18506

def table_card
  @table_card
end

#telephony_play_audioGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio

Corresponds to the JSON property telephonyPlayAudio



18511
18512
18513
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18511

def telephony_play_audio
  @telephony_play_audio
end

#telephony_synthesize_speechGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

Corresponds to the JSON property telephonySynthesizeSpeech



18516
18517
18518
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18516

def telephony_synthesize_speech
  @telephony_synthesize_speech
end

#telephony_transfer_callGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall

Corresponds to the JSON property telephonyTransferCall



18521
18522
18523
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18521

def telephony_transfer_call
  @telephony_transfer_call
end

#textGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageText

Corresponds to the JSON property text



18526
18527
18528
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18526

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18533

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