async function cancelCustomJob() {
    // Configure the name resource
    const name = jobServiceClient.customJobPath(project, location, customJobId);
    const request = {
      name,
    };

    // Cancel custom job request
    const [response] = await jobServiceClient.cancelCustomJob(request);

    console.log('Cancel custom job response:\n', response);
  }
TODO(developer): Uncomment these variables before running the sample.\