- [JSON representation](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/KnowledgeConnectorSettings#SCHEMA_REPRESENTATION)

The Knowledge Connector settings for this page or flow. This includes information such as the attached Knowledge Bases, and the way to execute fulfillment.

| JSON representation |
|---|
| ``` { "enabled": boolean, "triggerFulfillment": { object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/Fulfillment`) }, "dataStoreConnections": [ { object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection`) } ], // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "targetPage": string, "targetFlow": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `enabled` | `boolean` Whether Knowledge Connector is enabled or not. |
| `triggerFulfillment` | ``object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/Fulfillment`)`` The fulfillment to be triggered. When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter `$request.knowledge.answers` (contains up to the 5 highest confidence answers) and `$request.knowledge.questions` (contains the corresponding questions) to construct the fulfillment. |
| `dataStoreConnections[]` | ``object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/DataStoreConnection`)`` Optional. List of related data store connections. |
| The target to transition to, either a page in the same host flow (the flow that owns this `https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/KnowledgeConnectorSettings`), or another flow in the same agent. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `targetPage` | `string` The target page to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. |
| `targetFlow` | `string` The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. |
| End of mutually exclusive fields. ||