@Generated(value="by gapic-generator-java")
See: Description
| Class | Description |
|---|---|
| BatchServiceClient |
Service Description: Google Batch Service.
|
| BatchServiceClient.ListJobsFixedSizeCollection | |
| BatchServiceClient.ListJobsPage | |
| BatchServiceClient.ListJobsPagedResponse | |
| BatchServiceClient.ListLocationsFixedSizeCollection | |
| BatchServiceClient.ListLocationsPage | |
| BatchServiceClient.ListLocationsPagedResponse | |
| BatchServiceClient.ListTasksFixedSizeCollection | |
| BatchServiceClient.ListTasksPage | |
| BatchServiceClient.ListTasksPagedResponse | |
| BatchServiceSettings |
Settings class to configure an instance of
BatchServiceClient. |
| BatchServiceSettings.Builder |
Builder for BatchServiceSettings.
|
The interfaces provided are listed below, along with usage samples.
======================= BatchServiceClient =======================
Service Description: Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.
Sample for BatchServiceClient:
// 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 (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Job job = Job.newBuilder().build();
String jobId = "jobId101296568";
Job response = batchServiceClient.createJob(parent, job, jobId);
}
Copyright © 2024 Google LLC. All rights reserved.