Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class KnowledgeBaseQuerySource.
Knowledge base source settings.
Supported features: ARTICLE_SUGGESTION, FAQ.
Generated from protobuf message google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ knowledge_bases |
array
Required. Knowledge bases to query. Format: |
getKnowledgeBases
Required. Knowledge bases to query. Format:
projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>
. Currently, at most 5 knowledge
bases are supported.
Generated from protobuf field repeated string knowledge_bases = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setKnowledgeBases
Required. Knowledge bases to query. Format:
projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>
. Currently, at most 5 knowledge
bases are supported.
Generated from protobuf field repeated string knowledge_bases = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |