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.



14884
14885
14886
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14884

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

Instance Attribute Details

#confidence_thresholdFloat

Corresponds to the JSON property confidenceThreshold

Returns:

  • (Float)


14847
14848
14849
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14847

def confidence_threshold
  @confidence_threshold
end

#context_filter_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings

Corresponds to the JSON property contextFilterSettings



14852
14853
14854
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14852

def context_filter_settings
  @context_filter_settings
end

#context_sizeFixnum

Corresponds to the JSON property contextSize

Returns:

  • (Fixnum)


14857
14858
14859
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14857

def context_size
  @context_size
end

#dialogflow_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource

Corresponds to the JSON property dialogflowQuerySource



14862
14863
14864
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14862

def dialogflow_query_source
  @dialogflow_query_source
end

#document_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource

Corresponds to the JSON property documentQuerySource



14867
14868
14869
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14867

def document_query_source
  @document_query_source
end

#knowledge_base_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource

Corresponds to the JSON property knowledgeBaseQuerySource



14872
14873
14874
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14872

def knowledge_base_query_source
  @knowledge_base_query_source
end

#max_resultsFixnum

Corresponds to the JSON property maxResults

Returns:

  • (Fixnum)


14877
14878
14879
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14877

def max_results
  @max_results
end

#sectionsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections

Corresponds to the JSON property sections



14882
14883
14884
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14882

def sections
  @sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14889

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