Struct google_api_proto::google::cloud::discoveryengine::v1alpha::engine::ChatEngineConfig
source · pub struct ChatEngineConfig {
pub agent_creation_config: Option<AgentCreationConfig>,
pub dialogflow_agent_to_link: String,
}
Expand description
Configurations for a Chat Engine.
Fields§
§agent_creation_config: Option<AgentCreationConfig>
The configurationt generate the Dialogflow agent that is associated to this Engine.
Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using [EngineService.GetEngine][google.cloud.discoveryengine.v1alpha.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1alpha.EngineService.ListEngines] API after engine creation.
dialogflow_agent_to_link: String
The resource name of an exist Dialogflow agent to link to this Chat
Engine. Customers can either provide agent_creation_config
to create
agent or provide an agent name that links the agent with the Chat engine.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
Note that the dialogflow_agent_to_link
are one-time consumed by and
passed to Dialogflow service. It means they cannot be retrieved using
[EngineService.GetEngine][google.cloud.discoveryengine.v1alpha.EngineService.GetEngine]
or
[EngineService.ListEngines][google.cloud.discoveryengine.v1alpha.EngineService.ListEngines]
API after engine creation. Use
[ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1alpha.Engine.ChatEngineMetadata.dialogflow_agent]
for actual agent association after Engine is created.
Trait Implementations§
source§impl Clone for ChatEngineConfig
impl Clone for ChatEngineConfig
source§fn clone(&self) -> ChatEngineConfig
fn clone(&self) -> ChatEngineConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChatEngineConfig
impl Debug for ChatEngineConfig
source§impl Default for ChatEngineConfig
impl Default for ChatEngineConfig
source§impl Message for ChatEngineConfig
impl Message for ChatEngineConfig
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 ChatEngineConfig
impl PartialEq for ChatEngineConfig
source§fn eq(&self, other: &ChatEngineConfig) -> bool
fn eq(&self, other: &ChatEngineConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChatEngineConfig
Auto Trait Implementations§
impl Freeze for ChatEngineConfig
impl RefUnwindSafe for ChatEngineConfig
impl Send for ChatEngineConfig
impl Sync for ChatEngineConfig
impl Unpin for ChatEngineConfig
impl UnwindSafe for ChatEngineConfig
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