Publish a message to the current Google Pubsub project
1 | publish_message(project, topic, data, attribute_list)
|
project |
Name of Google Cloud Project |
topic |
Name of the topic to publish to |
data |
The message payload. You do not need to encode the message. The function internally will encode your message |
attribute_list |
Optional attributes for this message. Only accepts a named list |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.