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.



11432
11433
11434
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11432

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>)


11430
11431
11432
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11430

def knowledge_bases
  @knowledge_bases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11437
11438
11439
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11437

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