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

Function getJob

batch/test/advanced_creation.test.js:163–168  ·  view source on GitHub ↗
(projectId, region, jobName)

Source from the content-addressed store, hash-verified

161}
162
163async function getJob(projectId, region, jobName) {
164 const request = {
165 name: `projects/${projectId}/locations/${region}/jobs/${jobName}`,
166 };
167 return await batchClient.getJob(request);
168}
169
170function sleep(ms) {
171 return new Promise(resolve => {

Callers 1

waitForJobToSucceedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected