Interface NotificationConfigOrBuilder (4.57.0)

public interface NotificationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessageFormat()

public abstract NotificationConfig.MessageFormat getMessageFormat()

Format of message.

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

Returns
Type Description
NotificationConfig.MessageFormat

The messageFormat.

getMessageFormatValue()

public abstract int getMessageFormatValue()

Format of message.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for topic.