1

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.

tmin
  • 1,313
  • 13
  • 15
  • 1
    You need to specify the `pubsub_destination` on your [Job Template Config](https://github.com/GoogleCloudPlatform/golang-samples/blob/9974e71adebe65de4fed4ddcc9d0cdbfa00f556a/media/transcoder/create_job_template.go#L45). – Jose Gutierrez Paliza Mar 24 '22 at 17:28

1 Answers1

0

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.

Jose Gutierrez Paliza
  • 1,373
  • 1
  • 5
  • 12