class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig
Defines notification behavior.
Attributes
message_format[RW]
Format of message. Corresponds to the JSON property `messageFormat` @return [String]
topic[RW]
Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. Notification works for phone calls, if this topic either 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. Format: `projects// locations//topics/`. Corresponds to the JSON property `topic` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 12764 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 12769 def update!(**args) @message_format = args[:message_format] if args.key?(:message_format) @topic = args[:topic] if args.key?(:topic) end