Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
- 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
-
#confidence_threshold ⇒ Float
Corresponds to the JSON property
confidenceThreshold. -
#context_filter_settings ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
Corresponds to the JSON property
contextFilterSettings. -
#context_size ⇒ Fixnum
Corresponds to the JSON property
contextSize. -
#dialogflow_query_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource
Corresponds to the JSON property
dialogflowQuerySource. -
#document_query_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource
Corresponds to the JSON property
documentQuerySource. -
#knowledge_base_query_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource
Corresponds to the JSON property
knowledgeBaseQuerySource. -
#max_results ⇒ Fixnum
Corresponds to the JSON property
maxResults. -
#sections ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections
Corresponds to the JSON property
sections.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig.
14777 14778 14779 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14777 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_threshold ⇒ Float
Corresponds to the JSON property confidenceThreshold
14740 14741 14742 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14740 def confidence_threshold @confidence_threshold end |
#context_filter_settings ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
Corresponds to the JSON property contextFilterSettings
14745 14746 14747 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14745 def context_filter_settings @context_filter_settings end |
#context_size ⇒ Fixnum
Corresponds to the JSON property contextSize
14750 14751 14752 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14750 def context_size @context_size end |
#dialogflow_query_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource
Corresponds to the JSON property dialogflowQuerySource
14755 14756 14757 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14755 def dialogflow_query_source @dialogflow_query_source end |
#document_query_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource
Corresponds to the JSON property documentQuerySource
14760 14761 14762 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14760 def document_query_source @document_query_source end |
#knowledge_base_query_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource
Corresponds to the JSON property knowledgeBaseQuerySource
14765 14766 14767 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14765 def knowledge_base_query_source @knowledge_base_query_source end |
#max_results ⇒ Fixnum
Corresponds to the JSON property maxResults
14770 14771 14772 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14770 def max_results @max_results end |
#sections ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections
Corresponds to the JSON property sections
14775 14776 14777 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14775 def sections @sections end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14782 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 |