Apps-Script-PubSubApp-Library icon indicating copy to clipboard operation
Apps-Script-PubSubApp-Library copied to clipboard

topicName format is inconsistent

Open gbowman85 opened this issue 5 years ago • 0 comments

Hi Spencer.

I'm new to Pub/Sub so your library has been really helpful.

In the documentation it's not clear what is required for topicName when using SubscriptionApp.newSubscription(subscriptionName,topicName,webhookUrl).

I assumed it was the same requirements as with newTopic but it is the full topic name of projects/{project}/topics/{topic}

It feels a bit inconsistent that the library handles the simple topic name when creating a topic but not when creating a subscription.

gbowman85 avatar May 08 '20 23:05 gbowman85