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

target.apidocs.com.google.api.services.run.v1.CloudRun.Namespaces.Jobs.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241213-2.0.0
Show newest version






CloudRun.Namespaces.Jobs (Cloud Run Admin API v1-rev20240731-2.0.0)












com.google.api.services.run.v1

Class CloudRun.Namespaces.Jobs

  • Enclosing class:
    CloudRun.Namespaces


    public class CloudRun.Namespaces.Jobs
    extends Object
    The "jobs" collection of methods.
    • Constructor Detail

      • Jobs

        public Jobs()
    • Method Detail

      • create

        public CloudRun.Namespaces.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 run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The namespace in which the job should be created. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
        content - the Job
        Returns:
        the request
        Throws:
        IOException
      • delete

        public CloudRun.Namespaces.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 run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the job to delete. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
        Returns:
        the request
        Throws:
        IOException
      • get

        public CloudRun.Namespaces.Jobs.Get get(String name)
                                         throws IOException
        Get information about a job. Create a request for the method "jobs.get". This request holds the parameters needed by the run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the job to retrieve. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
        Returns:
        the request
        Throws:
        IOException
      • list

        public CloudRun.Namespaces.Jobs.List list(String parent)
                                           throws IOException
        List jobs. Results are sorted by creation time, descending. Create a request for the method "jobs.list". This request holds the parameters needed by the run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The namespace from which the jobs should be listed. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
        Returns:
        the request
        Throws:
        IOException
      • replaceJob

        public CloudRun.Namespaces.Jobs.ReplaceJob replaceJob(String name,
                                                              Job content)
                                                       throws IOException
        Replace a job. Only the spec and metadata labels and annotations are modifiable. After the Replace request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control. Create a request for the method "jobs.replaceJob". This request holds the parameters needed by the run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the job being replaced. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
        content - the Job
        Returns:
        the request
        Throws:
        IOException
      • run

        public CloudRun.Namespaces.Jobs.Run run(String name,
                                                RunJobRequest content)
                                         throws IOException
        Trigger creation of a new execution of this job. Create a request for the method "jobs.run". This request holds the parameters needed by the run server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the job to run. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
        content - the RunJobRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy