public interface NotificationConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
NotificationConfig.MessageFormat |
getMessageFormat()
Format of message.
|
int |
getMessageFormatValue()
Format of message.
|
String |
getTopic()
Name of the Pub/Sub topic to publish conversation
events like
[CONVERSATION_STARTED][google.cloud.dialogflow.v2.ConversationEvent.Type.CONVERSATION_STARTED] as
serialized [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] protos.
|
ByteString |
getTopicBytes()
Name of the Pub/Sub topic to publish conversation
events like
[CONVERSATION_STARTED][google.cloud.dialogflow.v2.ConversationEvent.Type.CONVERSATION_STARTED] as
serialized [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] protos.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getTopic()
Name of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2.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;
ByteString getTopicBytes()
Name of the Pub/Sub topic to publish conversation events like [CONVERSATION_STARTED][google.cloud.dialogflow.v2.ConversationEvent.Type.CONVERSATION_STARTED] as serialized [ConversationEvent][google.cloud.dialogflow.v2.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;
int getMessageFormatValue()
Format of message.
.google.cloud.dialogflow.v2.NotificationConfig.MessageFormat message_format = 2;
NotificationConfig.MessageFormat getMessageFormat()
Format of message.
.google.cloud.dialogflow.v2.NotificationConfig.MessageFormat message_format = 2;
Copyright © 2022 Google LLC. All rights reserved.