Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource

Inherits:
Object
  • Object
show all
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

Overview

Knowledge base source settings. Supported features: ARTICLE_SUGGESTION, FAQ.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource.



11387
11388
11389
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11387

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

Instance Attribute Details

#knowledge_basesArray<String>

Required. Knowledge bases to query. Format: projects//locations// knowledgeBases/. Currently, at most 5 knowledge bases are supported. Corresponds to the JSON property knowledgeBases

Returns:

  • (Array<String>)


11385
11386
11387
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11385

def knowledge_bases
  @knowledge_bases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11392
11393
11394
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11392

def update!(**args)
  @knowledge_bases = args[:knowledge_bases] if args.key?(:knowledge_bases)
end