Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#confidence_threshold ⇒ Float
Corresponds to the JSON property
confidenceThreshold. -
#context_filter_settings ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
Corresponds to the JSON property
contextFilterSettings. -
#context_size ⇒ Fixnum
Corresponds to the JSON property
contextSize. -
#dialogflow_query_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource
Corresponds to the JSON property
dialogflowQuerySource. -
#document_query_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource
Corresponds to the JSON property
documentQuerySource. -
#knowledge_base_query_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource
Corresponds to the JSON property
knowledgeBaseQuerySource. -
#max_results ⇒ Fixnum
Corresponds to the JSON property
maxResults. -
#sections ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections
Corresponds to the JSON property
sections.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig
constructor
A new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig
Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig.
11081 11082 11083 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_threshold ⇒ Float
Corresponds to the JSON property confidenceThreshold
11044 11045 11046 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11044 def confidence_threshold @confidence_threshold end |
#context_filter_settings ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
Corresponds to the JSON property contextFilterSettings
11049 11050 11051 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11049 def context_filter_settings @context_filter_settings end |
#context_size ⇒ Fixnum
Corresponds to the JSON property contextSize
11054 11055 11056 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11054 def context_size @context_size end |
#dialogflow_query_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource
Corresponds to the JSON property dialogflowQuerySource
11059 11060 11061 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11059 def dialogflow_query_source @dialogflow_query_source end |
#document_query_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource
Corresponds to the JSON property documentQuerySource
11064 11065 11066 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11064 def document_query_source @document_query_source end |
#knowledge_base_query_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource
Corresponds to the JSON property knowledgeBaseQuerySource
11069 11070 11071 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11069 def knowledge_base_query_source @knowledge_base_query_source end |
#max_results ⇒ Fixnum
Corresponds to the JSON property maxResults
11074 11075 11076 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11074 def max_results @max_results end |
#sections ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections
Corresponds to the JSON property sections
11079 11080 11081 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11079 def sections @sections end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11086 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 |