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

Function callGetJob

batch/get/get_job.js:48–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 const batchClient = new batchLib.v1.BatchServiceClient();
47
48 async function callGetJob() {
49 // Construct request
50 const request = {
51 name: `projects/${projectId}/locations/${region}/jobs/${jobName}`,
52 };
53
54 // Run request
55 const response = await batchClient.getJob(request);
56 console.log(response);
57 }
58
59 await callGetJob();
60 // [END batch_get_job]

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected