cr_pubsub: Send a message to pubsub

Description Usage Arguments

View source: R/plumber.R

Description

Useful for testing Cloud Run pubsub deployments

Usage

1
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


googleCloudRunner documentation built on Jan. 31, 2021, 1:05 a.m.