All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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
    • Constructor Detail

      • Jobs

        public Jobs()
    • 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