Interface NotificationConfigOrBuilder (4.43.0)

public interface NotificationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessageFormat()

public abstract NotificationConfig.MessageFormat getMessageFormat()

Format of message.

.google.cloud.dialogflow.v2.NotificationConfig.MessageFormat message_format = 2;

Returns
TypeDescription
NotificationConfig.MessageFormat

The messageFormat.

getMessageFormatValue()

public abstract int getMessageFormatValue()

Format of message.

.google.cloud.dialogflow.v2.NotificationConfig.MessageFormat message_format = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for messageFormat.

getTopic()

public abstract String getTopic()

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-<Conversation Project Number>@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/<Project ID>/locations/<Location ID>/topics/<Topic ID>.

string topic = 1;

Returns
TypeDescription
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

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-<Conversation Project Number>@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/<Project ID>/locations/<Location ID>/topics/<Topic ID>.

string topic = 1;

Returns
TypeDescription
ByteString

The bytes for topic.