Learn R Programming

googleCloudRunner (version 0.5.0)

cr_pubsub: Send a message to pubsub

Description

Useful for testing Cloud Run pubsub deployments

Usage

cr_pubsub(endpoint, payload = jsonlite::toJSON("hello"))

Arguments

endpoint

The url endpoint of the PubSub service

payload

Will be base64 encoded and placed in message$data