pub struct GoogleCloudDialogflowCxV3KnowledgeConnectorSettings {
pub data_store_connections: Option<Vec<GoogleCloudDialogflowCxV3DataStoreConnection>>,
pub enabled: Option<bool>,
pub target_flow: Option<String>,
pub target_page: Option<String>,
pub trigger_fulfillment: Option<GoogleCloudDialogflowCxV3Fulfillment>,
}Expand description
The Knowledge Connector settings for this page or flow. This includes information such as the attached Knowledge Bases, and the way to execute fulfillment.
This type is not used in any activity, and only used as part of another schema.
Fields§
§data_store_connections: Option<Vec<GoogleCloudDialogflowCxV3DataStoreConnection>>Optional. List of related data store connections.
enabled: Option<bool>Whether Knowledge Connector is enabled or not.
target_flow: Option<String>The target flow to transition to. Format: projects//locations//agents//flows/.
target_page: Option<String>The target page to transition to. Format: projects//locations//agents//flows//pages/.
trigger_fulfillment: Option<GoogleCloudDialogflowCxV3Fulfillment>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.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
impl Clone for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
Source§fn clone(&self) -> GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
fn clone(&self) -> GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
impl Default for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
Source§fn default() -> GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
fn default() -> GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
impl RefUnwindSafe for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
impl Send for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
impl Sync for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
impl Unpin for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
impl UnwindSafe for GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more