Struct google_api_proto::google::cloud::dialogflow::v2::ConversationProfile
source · pub struct ConversationProfile {Show 15 fields
pub name: String,
pub display_name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub automated_agent_config: Option<AutomatedAgentConfig>,
pub human_agent_assistant_config: Option<HumanAgentAssistantConfig>,
pub human_agent_handoff_config: Option<HumanAgentHandoffConfig>,
pub notification_config: Option<NotificationConfig>,
pub logging_config: Option<LoggingConfig>,
pub new_message_event_notification_config: Option<NotificationConfig>,
pub stt_config: Option<SpeechToTextConfig>,
pub language_code: String,
pub time_zone: String,
pub security_settings: String,
pub tts_config: Option<SynthesizeSpeechConfig>,
}
Expand description
Defines the services to connect to incoming Dialogflow conversations.
Fields§
§name: String
The unique identifier of this conversation profile.
Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>
.
display_name: String
Required. Human readable name for this profile. Max length 1024 bytes.
create_time: Option<Timestamp>
Output only. Create time of the conversation profile.
update_time: Option<Timestamp>
Output only. Update time of the conversation profile.
automated_agent_config: Option<AutomatedAgentConfig>
Configuration for an automated agent to use with this profile.
human_agent_assistant_config: Option<HumanAgentAssistantConfig>
Configuration for agent assistance to use with this profile.
human_agent_handoff_config: Option<HumanAgentHandoffConfig>
Configuration for connecting to a live agent.
Currently, this feature is not general available, please contact Google to get access.
notification_config: Option<NotificationConfig>
Configuration for publishing conversation lifecycle events.
logging_config: Option<LoggingConfig>
Configuration for logging conversation lifecycle events.
new_message_event_notification_config: Option<NotificationConfig>
Configuration for publishing new message events. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
stt_config: Option<SpeechToTextConfig>
Settings for speech transcription.
language_code: String
Language code for the conversation profile. If not specified, the language is en-US. Language at ConversationProfile should be set for all non en-US languages. This should be a BCP-47 language tag. Example: “en-US”.
time_zone: String
The time zone of this conversational profile from the time zone database, e.g., America/New_York, Europe/Paris. Defaults to America/New_York.
security_settings: String
Name of the CX SecuritySettings reference for the agent.
Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>
.
tts_config: Option<SynthesizeSpeechConfig>
Configuration for Text-to-Speech synthesization.
Used by Phone Gateway to specify synthesization options. If agent defines synthesization options as well, agent settings overrides the option here.
Trait Implementations§
source§impl Clone for ConversationProfile
impl Clone for ConversationProfile
source§fn clone(&self) -> ConversationProfile
fn clone(&self) -> ConversationProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConversationProfile
impl Debug for ConversationProfile
source§impl Default for ConversationProfile
impl Default for ConversationProfile
source§impl Message for ConversationProfile
impl Message for ConversationProfile
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 ConversationProfile
impl PartialEq for ConversationProfile
source§fn eq(&self, other: &ConversationProfile) -> bool
fn eq(&self, other: &ConversationProfile) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConversationProfile
Auto Trait Implementations§
impl Freeze for ConversationProfile
impl RefUnwindSafe for ConversationProfile
impl Send for ConversationProfile
impl Sync for ConversationProfile
impl Unpin for ConversationProfile
impl UnwindSafe for ConversationProfile
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