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

Function deleteJob

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

Source from the content-addressed store, hash-verified

32 const transcoderServiceClient = new TranscoderServiceClient();
33
34 async function deleteJob() {
35 // Construct request
36 const request = {
37 name: transcoderServiceClient.jobPath(projectId, location, jobId),
38 };
39 await transcoderServiceClient.deleteJob(request);
40 console.log('Deleted job');
41 }
42
43 deleteJob();
44 // [END transcoder_delete_job]

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected