pub struct GoogleCloudDialogflowV2NotificationConfig {
pub message_format: Option<String>,
pub topic: Option<String>,
}
Expand description
Defines notification behavior.
This type is not used in any activity, and only used as part of another schema.
Fields§
§message_format: Option<String>
Format of message.
topic: Option<String>
Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant service-@gcp-sa-dialogflow.iam.gserviceaccount.com
the Dialogflow Service Agent
role in the topic project. For chat integration to receive notification, make sure API caller has been granted the Dialogflow Service Agent
role for the topic. Format: projects//locations//topics/
.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2NotificationConfig
impl Clone for GoogleCloudDialogflowV2NotificationConfig
source§fn clone(&self) -> GoogleCloudDialogflowV2NotificationConfig
fn clone(&self) -> GoogleCloudDialogflowV2NotificationConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDialogflowV2NotificationConfig
impl Default for GoogleCloudDialogflowV2NotificationConfig
source§fn default() -> GoogleCloudDialogflowV2NotificationConfig
fn default() -> GoogleCloudDialogflowV2NotificationConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2NotificationConfig
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2NotificationConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDialogflowV2NotificationConfig
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2NotificationConfig
impl Send for GoogleCloudDialogflowV2NotificationConfig
impl Sync for GoogleCloudDialogflowV2NotificationConfig
impl Unpin for GoogleCloudDialogflowV2NotificationConfig
impl UnwindSafe for GoogleCloudDialogflowV2NotificationConfig
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
Mutably borrows from an owned value. Read more