
target.apidocs.com.google.api.services.batch.v1.Batch.Projects.Locations.Jobs.html Maven / Gradle / Ivy
Batch.Projects.Locations.Jobs (Batch API v1-rev20241204-2.0.0)
com.google.api.services.batch.v1
Class Batch.Projects.Locations.Jobs
- java.lang.Object
-
- com.google.api.services.batch.v1.Batch.Projects.Locations.Jobs
-
- Enclosing class:
- Batch.Projects.Locations
public class Batch.Projects.Locations.Jobs
extends Object
The "jobs" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Batch.Projects.Locations.Jobs.Create
class
Batch.Projects.Locations.Jobs.Delete
class
Batch.Projects.Locations.Jobs.Get
class
Batch.Projects.Locations.Jobs.List
class
Batch.Projects.Locations.Jobs.TaskGroups
The "taskGroups" collection of methods.
-
Constructor Summary
Constructors
Constructor and Description
Jobs()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Batch.Projects.Locations.Jobs.Create
create(String parent,
Job content)
Create a Job.
Batch.Projects.Locations.Jobs.Delete
delete(String name)
Delete a Job.
Batch.Projects.Locations.Jobs.Get
get(String name)
Get a Job specified by its resource name.
Batch.Projects.Locations.Jobs.List
list(String parent)
List all Jobs for a project within a region.
Batch.Projects.Locations.Jobs.TaskGroups
taskGroups()
An accessor for creating requests from the TaskGroups collection.
-
-
Method Detail
-
create
public Batch.Projects.Locations.Jobs.Create create(String parent,
Job content)
throws IOException
Create a Job.
Create a request for the method "jobs.create".
This request holds the parameters needed by the batch server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The parent resource name where the Job will be created. Pattern:
"projects/{project}/locations/{location}"
content
- the Job
- Returns:
- the request
- Throws:
IOException
-
delete
public Batch.Projects.Locations.Jobs.Delete delete(String name)
throws IOException
Delete a Job.
Create a request for the method "jobs.delete".
This request holds the parameters needed by the batch server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Job name.
- Returns:
- the request
- Throws:
IOException
-
get
public Batch.Projects.Locations.Jobs.Get get(String name)
throws IOException
Get a Job specified by its resource name.
Create a request for the method "jobs.get".
This request holds the parameters needed by the batch server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Job name.
- Returns:
- the request
- Throws:
IOException
-
list
public Batch.Projects.Locations.Jobs.List list(String parent)
throws IOException
List all Jobs for a project within a region.
Create a request for the method "jobs.list".
This request holds the parameters needed by the batch server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Parent path.
- Returns:
- the request
- Throws:
IOException
-
taskGroups
public Batch.Projects.Locations.Jobs.TaskGroups taskGroups()
An accessor for creating requests from the TaskGroups collection.
The typical use is:
Batch batch = new Batch(...);
Batch.TaskGroups.List request = batch.taskGroups().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy