tmin
tmin

Reputation: 1323

How to configure pubsub_destination in Transcoder API of GCP

Using Google Transcoder API with Golang, we would like to get a pub/sub event when a job finishes. The doc mentions to configure pubsub_destination but I couldn't find a way to configure it when using preset/web-hd template id.

Do we need to specify our own JobConfig to specify pubsub? Was hoping that we would be able to just add pubsub_destination to the preset/web-hd template's config.

Upvotes: 1

Views: 237

Answers (1)

Jose Gutierrez Paliza
Jose Gutierrez Paliza

Reputation: 1428

Yes, I can confirm that you need to specify the pubsub_destination on your Job Template Config in order to call the Job Template ID.

Upvotes: 0

Related Questions