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.



10889
10890
10891
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10889

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

Instance Attribute Details

#advanced_settingsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings

Corresponds to the JSON property advancedSettings



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

def advanced_settings
  @advanced_settings
end

#allow_answer_feedbackBoolean Also known as: allow_answer_feedback?

Corresponds to the JSON property allowAnswerFeedback

Returns:

  • (Boolean)


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

def allow_answer_feedback
  @allow_answer_feedback
end

#current_flowGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow

Corresponds to the JSON property currentFlow



10772
10773
10774
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10772

def current_flow
  @current_flow
end

#current_pageGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page

Corresponds to the JSON property currentPage



10777
10778
10779
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10777

def current_page
  @current_page
end

#data_store_connection_signalsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals

Corresponds to the JSON property dataStoreConnectionSignals



10782
10783
10784
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10782

def data_store_connection_signals
  @data_store_connection_signals
end

#diagnostic_infoHash<String,Object>

Corresponds to the JSON property diagnosticInfo

Returns:

  • (Hash<String,Object>)


10787
10788
10789
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10787

def diagnostic_info
  @diagnostic_info
end

#dtmfGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput

Corresponds to the JSON property dtmf



10792
10793
10794
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10792

def dtmf
  @dtmf
end

#generative_infoGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeInfo

Corresponds to the JSON property generativeInfo



10797
10798
10799
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10797

def generative_info
  @generative_info
end

#intentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent

Corresponds to the JSON property intent



10802
10803
10804
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10802

def intent
  @intent
end

#intent_detection_confidenceFloat

Corresponds to the JSON property intentDetectionConfidence

Returns:

  • (Float)


10807
10808
10809
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10807

def intent_detection_confidence
  @intent_detection_confidence
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


10812
10813
10814
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10812

def language_code
  @language_code
end

#matchGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match

Corresponds to the JSON property match



10817
10818
10819
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10817

def match
  @match
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


10822
10823
10824
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10822

def parameters
  @parameters
end

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

Corresponds to the JSON property responseMessages



10827
10828
10829
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10827

def response_messages
  @response_messages
end

#sentiment_analysis_resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult

Corresponds to the JSON property sentimentAnalysisResult



10832
10833
10834
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10832

def sentiment_analysis_result
  @sentiment_analysis_result
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


10837
10838
10839
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10837

def text
  @text
end

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

Corresponds to the JSON property traceBlocks



10842
10843
10844
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10842

def trace_blocks
  @trace_blocks
end

#transcriptString

Corresponds to the JSON property transcript

Returns:

  • (String)


10847
10848
10849
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10847

def transcript
  @transcript
end

#trigger_eventString

Corresponds to the JSON property triggerEvent

Returns:

  • (String)


10852
10853
10854
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10852

def trigger_event
  @trigger_event
end

#trigger_intentString

Corresponds to the JSON property triggerIntent

Returns:

  • (String)


10857
10858
10859
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10857

def trigger_intent
  @trigger_intent
end

#webhook_display_namesArray<String>

Corresponds to the JSON property webhookDisplayNames

Returns:

  • (Array<String>)


10862
10863
10864
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10862

def webhook_display_names
  @webhook_display_names
end

#webhook_idsArray<String>

Corresponds to the JSON property webhookIds

Returns:

  • (Array<String>)


10867
10868
10869
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10867

def webhook_ids
  @webhook_ids
end

#webhook_latenciesArray<String>

Corresponds to the JSON property webhookLatencies

Returns:

  • (Array<String>)


10872
10873
10874
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10872

def webhook_latencies
  @webhook_latencies
end

#webhook_payloadsArray<Hash<String,Object>>

Corresponds to the JSON property webhookPayloads

Returns:

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


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

def webhook_payloads
  @webhook_payloads
end

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

Corresponds to the JSON property webhookStatuses



10882
10883
10884
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10882

def webhook_statuses
  @webhook_statuses
end

#webhook_tagsArray<String>

Corresponds to the JSON property webhookTags

Returns:

  • (Array<String>)


10887
10888
10889
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10887

def webhook_tags
  @webhook_tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10894

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