Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1NotificationConfig[][src]

pub struct GoogleCloudDialogflowV2beta1NotificationConfig {
    pub topic: Option<String>,
}

Defines notification behavior for conversation lifecycle events.

This type is not used in any activity, and only used as part of another schema.

Fields

Optional. Name of the Cloud Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos.

If enable_notifications is true and no topic is supplied, a new topic is created and listed here.

Notification works for phone calls, if this topic either is in the same project as the conversation or you grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project.

Format: projects/<Project ID>/topics/<Topic ID>.

Trait Implementations

impl Default for GoogleCloudDialogflowV2beta1NotificationConfig
[src]

Returns the "default value" for a type. Read more

impl Clone for GoogleCloudDialogflowV2beta1NotificationConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2beta1NotificationConfig
[src]

Formats the value using the given formatter. Read more

impl Part for GoogleCloudDialogflowV2beta1NotificationConfig
[src]

Auto Trait Implementations