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

Function getJob

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

Source from the content-addressed store, hash-verified

32 const transcoderServiceClient = new TranscoderServiceClient();
33
34 async function getJob() {
35 // Construct request
36 const request = {
37 name: transcoderServiceClient.jobPath(projectId, location, jobId),
38 };
39 const [response] = await transcoderServiceClient.getJob(request);
40 console.log(`Job: ${response.name}`);
41 }
42
43 getJob();
44 // [END transcoder_get_job]

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected