Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1QueryResult

Returns a new instance of GoogleCloudDialogflowCxV3beta1QueryResult.



10877
10878
10879
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10877

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

Instance Attribute Details

#advanced_settingsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings

Corresponds to the JSON property advancedSettings



10749
10750
10751
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10749

def advanced_settings
  @advanced_settings
end

#allow_answer_feedbackBoolean Also known as: allow_answer_feedback?

Corresponds to the JSON property allowAnswerFeedback

Returns:

  • (Boolean)


10754
10755
10756
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10754

def allow_answer_feedback
  @allow_answer_feedback
end

#current_flowGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow

Corresponds to the JSON property currentFlow



10760
10761
10762
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10760

def current_flow
  @current_flow
end

#current_pageGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page

Corresponds to the JSON property currentPage



10765
10766
10767
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10765

def current_page
  @current_page
end

#data_store_connection_signalsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals

Corresponds to the JSON property dataStoreConnectionSignals



10770
10771
10772
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10770

def data_store_connection_signals
  @data_store_connection_signals
end

#diagnostic_infoHash<String,Object>

Corresponds to the JSON property diagnosticInfo

Returns:

  • (Hash<String,Object>)


10775
10776
10777
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10775

def diagnostic_info
  @diagnostic_info
end

#dtmfGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput

Corresponds to the JSON property dtmf



10780
10781
10782
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10780

def dtmf
  @dtmf
end

#generative_infoGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeInfo

Corresponds to the JSON property generativeInfo



10785
10786
10787
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10785

def generative_info
  @generative_info
end

#intentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent

Corresponds to the JSON property intent



10790
10791
10792
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10790

def intent
  @intent
end

#intent_detection_confidenceFloat

Corresponds to the JSON property intentDetectionConfidence

Returns:

  • (Float)


10795
10796
10797
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10795

def intent_detection_confidence
  @intent_detection_confidence
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


10800
10801
10802
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10800

def language_code
  @language_code
end

#matchGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match

Corresponds to the JSON property match



10805
10806
10807
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10805

def match
  @match
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


10810
10811
10812
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10810

def parameters
  @parameters
end

#response_messagesArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>

Corresponds to the JSON property responseMessages



10815
10816
10817
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10815

def response_messages
  @response_messages
end

#sentiment_analysis_resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult

Corresponds to the JSON property sentimentAnalysisResult



10820
10821
10822
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10820

def sentiment_analysis_result
  @sentiment_analysis_result
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


10825
10826
10827
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10825

def text
  @text
end

#trace_blocksArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TraceBlock>

Corresponds to the JSON property traceBlocks



10830
10831
10832
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10830

def trace_blocks
  @trace_blocks
end

#transcriptString

Corresponds to the JSON property transcript

Returns:

  • (String)


10835
10836
10837
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10835

def transcript
  @transcript
end

#trigger_eventString

Corresponds to the JSON property triggerEvent

Returns:

  • (String)


10840
10841
10842
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10840

def trigger_event
  @trigger_event
end

#trigger_intentString

Corresponds to the JSON property triggerIntent

Returns:

  • (String)


10845
10846
10847
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10845

def trigger_intent
  @trigger_intent
end

#webhook_display_namesArray<String>

Corresponds to the JSON property webhookDisplayNames

Returns:

  • (Array<String>)


10850
10851
10852
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10850

def webhook_display_names
  @webhook_display_names
end

#webhook_idsArray<String>

Corresponds to the JSON property webhookIds

Returns:

  • (Array<String>)


10855
10856
10857
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10855

def webhook_ids
  @webhook_ids
end

#webhook_latenciesArray<String>

Corresponds to the JSON property webhookLatencies

Returns:

  • (Array<String>)


10860
10861
10862
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10860

def webhook_latencies
  @webhook_latencies
end

#webhook_payloadsArray<Hash<String,Object>>

Corresponds to the JSON property webhookPayloads

Returns:

  • (Array<Hash<String,Object>>)


10865
10866
10867
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10865

def webhook_payloads
  @webhook_payloads
end

#webhook_statusesArray<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>

Corresponds to the JSON property webhookStatuses



10870
10871
10872
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10870

def webhook_statuses
  @webhook_statuses
end

#webhook_tagsArray<String>

Corresponds to the JSON property webhookTags

Returns:

  • (Array<String>)


10875
10876
10877
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10875

def webhook_tags
  @webhook_tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10882

def update!(**args)
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
  @allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback)
  @current_flow = args[:current_flow] if args.key?(:current_flow)
  @current_page = args[:current_page] if args.key?(:current_page)
  @data_store_connection_signals = args[:data_store_connection_signals] if args.key?(:data_store_connection_signals)
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
  @dtmf = args[:dtmf] if args.key?(:dtmf)
  @generative_info = args[:generative_info] if args.key?(:generative_info)
  @intent = args[:intent] if args.key?(:intent)
  @intent_detection_confidence = args[:intent_detection_confidence] if args.key?(:intent_detection_confidence)
  @language_code = args[:language_code] if args.key?(:language_code)
  @match = args[:match] if args.key?(:match)
  @parameters = args[:parameters] if args.key?(:parameters)
  @response_messages = args[:response_messages] if args.key?(:response_messages)
  @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
  @text = args[:text] if args.key?(:text)
  @trace_blocks = args[:trace_blocks] if args.key?(:trace_blocks)
  @transcript = args[:transcript] if args.key?(:transcript)
  @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
  @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
  @webhook_display_names = args[:webhook_display_names] if args.key?(:webhook_display_names)
  @webhook_ids = args[:webhook_ids] if args.key?(:webhook_ids)
  @webhook_latencies = args[:webhook_latencies] if args.key?(:webhook_latencies)
  @webhook_payloads = args[:webhook_payloads] if args.key?(:webhook_payloads)
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
  @webhook_tags = args[:webhook_tags] if args.key?(:webhook_tags)
end