MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / listJobs

Function listJobs

media/transcoder/listJobs.js:33–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 const transcoderServiceClient = new TranscoderServiceClient();
32
33 async function listJobs() {
34 const iterable = await transcoderServiceClient.listJobsAsync({
35 parent: transcoderServiceClient.locationPath(projectId, location),
36 });
37 console.info('Jobs:');
38 for await (const response of iterable) {
39 console.log(response.name);
40 }
41 }
42
43 listJobs();
44 // [END transcoder_list_jobs]

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected