public final void deleteJob(JobName name) {
    DeleteJobRequest request =
        DeleteJobRequest.newBuilder().setName(name == null ? null : name.toString()).build();
    deleteJob(request);
  }
Deletes a batch job.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (StorageBatchOperationsClient storageBatchOperationsClient =
    StorageBatchOperationsClient.create()) {
  JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
  storageBatchOperationsClient.deleteJob(name);
}
}</pre>

@param name Required. The `name` of the job to delete. Format:
    projects/{project_id}/locations/global/jobs/{job_id} .
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-storagebatchoperations/google-cloud-storagebatchoperations/src/main/java/com/google/cloud/storagebatchoperations/v1/StorageBatchOperationsClient.java