Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource.



14477
14478
14479
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14477

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

Instance Attribute Details

#knowledge_basesArray<String>

Required. Knowledge bases to query. Format: projects//locations// knowledgeBases/. Currently, only one knowledge base is supported. Corresponds to the JSON property knowledgeBases

Returns:

  • (Array<String>)


14475
14476
14477
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14475

def knowledge_bases
  @knowledge_bases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14482
14483
14484
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14482

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