Created
February 16, 2018 14:31
-
-
Save qgadrian/e818e85d9a362bef408a915445dc9d88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias GoogleApi.PubSub.V1.Model | |
data = Base.encode64(“pub sub test message”) | |
message = %Model.PubsubMessage{data: data} | |
publish_request = %Model.PublishRequest{messages: [message]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment