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.



14593
14594
14595
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14593

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

Instance Attribute Details

#confidence_thresholdFloat

Corresponds to the JSON property confidenceThreshold

Returns:

  • (Float)


14556
14557
14558
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14556

def confidence_threshold
  @confidence_threshold
end

#context_filter_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings

Corresponds to the JSON property contextFilterSettings



14561
14562
14563
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14561

def context_filter_settings
  @context_filter_settings
end

#context_sizeFixnum

Corresponds to the JSON property contextSize

Returns:

  • (Fixnum)


14566
14567
14568
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14566

def context_size
  @context_size
end

#dialogflow_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource

Corresponds to the JSON property dialogflowQuerySource



14571
14572
14573
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14571

def dialogflow_query_source
  @dialogflow_query_source
end

#document_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource

Corresponds to the JSON property documentQuerySource



14576
14577
14578
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14576

def document_query_source
  @document_query_source
end

#knowledge_base_query_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource

Corresponds to the JSON property knowledgeBaseQuerySource



14581
14582
14583
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14581

def knowledge_base_query_source
  @knowledge_base_query_source
end

#max_resultsFixnum

Corresponds to the JSON property maxResults

Returns:

  • (Fixnum)


14586
14587
14588
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14586

def max_results
  @max_results
end

#sectionsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections

Corresponds to the JSON property sections



14591
14592
14593
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14591

def sections
  @sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14598

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