public class CloudRun.Namespaces.Jobs extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudRun.Namespaces.Jobs.Create |
class |
CloudRun.Namespaces.Jobs.Delete |
class |
CloudRun.Namespaces.Jobs.Get |
class |
CloudRun.Namespaces.Jobs.List |
class |
CloudRun.Namespaces.Jobs.ReplaceJob |
class |
CloudRun.Namespaces.Jobs.Run |
| Constructor and Description |
|---|
Jobs() |
| Modifier and Type | Method and Description |
|---|---|
CloudRun.Namespaces.Jobs.Create |
create(String parent,
Job content)
Create a job.
|
CloudRun.Namespaces.Jobs.Delete |
delete(String name)
Delete a job.
|
CloudRun.Namespaces.Jobs.Get |
get(String name)
Get information about a job.
|
CloudRun.Namespaces.Jobs.List |
list(String parent)
List jobs.
|
CloudRun.Namespaces.Jobs.ReplaceJob |
replaceJob(String name,
Job content)
Replace a job.
|
CloudRun.Namespaces.Jobs.Run |
run(String name,
RunJobRequest content)
Trigger creation of a new execution of this job.
|
public CloudRun.Namespaces.Jobs.Create create(String parent, Job content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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_IDcontent - the JobIOExceptionpublic CloudRun.Namespaces.Jobs.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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_IDIOExceptionpublic CloudRun.Namespaces.Jobs.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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_IDIOExceptionpublic CloudRun.Namespaces.Jobs.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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_IDIOExceptionpublic CloudRun.Namespaces.Jobs.ReplaceJob replaceJob(String name, Job content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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_IDcontent - the JobIOExceptionpublic CloudRun.Namespaces.Jobs.Run run(String name, RunJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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_IDcontent - the RunJobRequestIOExceptionCopyright © 2011–2024 Google. All rights reserved.