Struct google_api_proto::google::cloud::dialogflow::cx::v3::KnowledgeConnectorSettings
source · pub struct KnowledgeConnectorSettings {
pub enabled: bool,
pub trigger_fulfillment: Option<Fulfillment>,
pub data_store_connections: Vec<DataStoreConnection>,
pub target: Option<Target>,
}
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.
Fields§
§enabled: bool
Whether Knowledge Connector is enabled or not.
trigger_fulfillment: Option<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.
data_store_connections: Vec<DataStoreConnection>
Optional. List of related data store connections.
target: Option<Target>
The target to transition to, either a page in the same host flow (the flow that owns this [KnowledgeConnectorSettings][google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings]), or another flow in the same agent.
Trait Implementations§
source§impl Clone for KnowledgeConnectorSettings
impl Clone for KnowledgeConnectorSettings
source§fn clone(&self) -> KnowledgeConnectorSettings
fn clone(&self) -> KnowledgeConnectorSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KnowledgeConnectorSettings
impl Debug for KnowledgeConnectorSettings
source§impl Default for KnowledgeConnectorSettings
impl Default for KnowledgeConnectorSettings
source§impl Message for KnowledgeConnectorSettings
impl Message for KnowledgeConnectorSettings
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for KnowledgeConnectorSettings
impl PartialEq for KnowledgeConnectorSettings
source§fn eq(&self, other: &KnowledgeConnectorSettings) -> bool
fn eq(&self, other: &KnowledgeConnectorSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KnowledgeConnectorSettings
Auto Trait Implementations§
impl Freeze for KnowledgeConnectorSettings
impl RefUnwindSafe for KnowledgeConnectorSettings
impl Send for KnowledgeConnectorSettings
impl Sync for KnowledgeConnectorSettings
impl Unpin for KnowledgeConnectorSettings
impl UnwindSafe for KnowledgeConnectorSettings
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request