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.



14927
14928
14929
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14927

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

Instance Attribute Details

#confidence_thresholdFloat

Corresponds to the JSON property confidenceThreshold

Returns:

  • (Float)


14890
14891
14892
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14890

def confidence_threshold
  @confidence_threshold
end

#context_filter_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings

Corresponds to the JSON property contextFilterSettings



14895
14896
14897
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14895

def context_filter_settings
  @context_filter_settings
end

#context_sizeFixnum

Corresponds to the JSON property contextSize

Returns:

  • (Fixnum)


14900
14901
14902
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14900

def context_size
  @context_size
end

#dialogflow_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource

Corresponds to the JSON property dialogflowQuerySource



14905
14906
14907
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14905

def dialogflow_query_source
  @dialogflow_query_source
end

#document_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource

Corresponds to the JSON property documentQuerySource



14910
14911
14912
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14910

def document_query_source
  @document_query_source
end

#knowledge_base_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource

Corresponds to the JSON property knowledgeBaseQuerySource



14915
14916
14917
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14915

def knowledge_base_query_source
  @knowledge_base_query_source
end

#max_resultsFixnum

Corresponds to the JSON property maxResults

Returns:

  • (Fixnum)


14920
14921
14922
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14920

def max_results
  @max_results
end

#sectionsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections

Corresponds to the JSON property sections



14925
14926
14927
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14925

def sections
  @sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14932

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