Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig

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) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig.



14740
14741
14742
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14740

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

Instance Attribute Details

#confidence_thresholdFloat

Corresponds to the JSON property confidenceThreshold

Returns:

  • (Float)


14703
14704
14705
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14703

def confidence_threshold
  @confidence_threshold
end

#context_filter_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings

Corresponds to the JSON property contextFilterSettings



14708
14709
14710
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14708

def context_filter_settings
  @context_filter_settings
end

#context_sizeFixnum

Corresponds to the JSON property contextSize

Returns:

  • (Fixnum)


14713
14714
14715
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14713

def context_size
  @context_size
end

#dialogflow_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource

Corresponds to the JSON property dialogflowQuerySource



14718
14719
14720
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14718

def dialogflow_query_source
  @dialogflow_query_source
end

#document_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource

Corresponds to the JSON property documentQuerySource



14723
14724
14725
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14723

def document_query_source
  @document_query_source
end

#knowledge_base_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource

Corresponds to the JSON property knowledgeBaseQuerySource



14728
14729
14730
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14728

def knowledge_base_query_source
  @knowledge_base_query_source
end

#max_resultsFixnum

Corresponds to the JSON property maxResults

Returns:

  • (Fixnum)


14733
14734
14735
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14733

def max_results
  @max_results
end

#sectionsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections

Corresponds to the JSON property sections



14738
14739
14740
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14738

def sections
  @sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14745

def update!(**args)
  @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
  @context_filter_settings = args[:context_filter_settings] if args.key?(:context_filter_settings)
  @context_size = args[:context_size] if args.key?(:context_size)
  @dialogflow_query_source = args[:dialogflow_query_source] if args.key?(:dialogflow_query_source)
  @document_query_source = args[:document_query_source] if args.key?(:document_query_source)
  @knowledge_base_query_source = args[:knowledge_base_query_source] if args.key?(:knowledge_base_query_source)
  @max_results = args[:max_results] if args.key?(:max_results)
  @sections = args[:sections] if args.key?(:sections)
end