public class Dataflow.Projects.Jobs extends Object
Modifier and Type | Class and Description |
---|---|
class |
Dataflow.Projects.Jobs.Create |
class |
Dataflow.Projects.Jobs.Debug
The "debug" collection of methods.
|
class |
Dataflow.Projects.Jobs.Get |
class |
Dataflow.Projects.Jobs.GetMetrics |
class |
Dataflow.Projects.Jobs.List |
class |
Dataflow.Projects.Jobs.Messages
The "messages" collection of methods.
|
class |
Dataflow.Projects.Jobs.Update |
class |
Dataflow.Projects.Jobs.WorkItems
The "workItems" collection of methods.
|
Constructor and Description |
---|
Dataflow.Projects.Jobs() |
Modifier and Type | Method and Description |
---|---|
Dataflow.Projects.Jobs.Create |
create(String projectId,
Job content)
Creates a Cloud Dataflow job.
|
Dataflow.Projects.Jobs.Debug |
debug()
An accessor for creating requests from the Debug collection.
|
Dataflow.Projects.Jobs.Get |
get(String projectId,
String jobId)
Gets the state of the specified Cloud Dataflow job.
|
Dataflow.Projects.Jobs.GetMetrics |
getMetrics(String projectId,
String jobId)
Request the job status.
|
Dataflow.Projects.Jobs.List |
list(String projectId)
List the jobs of a project.
|
Dataflow.Projects.Jobs.Messages |
messages()
An accessor for creating requests from the Messages collection.
|
Dataflow.Projects.Jobs.Update |
update(String projectId,
String jobId,
Job content)
Updates the state of an existing Cloud Dataflow job.
|
Dataflow.Projects.Jobs.WorkItems |
workItems()
An accessor for creating requests from the WorkItems collection.
|
public Dataflow.Projects.Jobs.Create create(String projectId, Job content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- The ID of the Cloud Platform project that the job belongs to.content
- the Job
IOException
public Dataflow.Projects.Jobs.Get get(String projectId, String jobId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- The ID of the Cloud Platform project that the job belongs to.jobId
- The job ID.IOException
public Dataflow.Projects.Jobs.GetMetrics getMetrics(String projectId, String jobId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- A project id.jobId
- The job to get messages for.IOException
public Dataflow.Projects.Jobs.List list(String projectId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- The project which owns the jobs.IOException
public Dataflow.Projects.Jobs.Update update(String projectId, String jobId, Job content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- The ID of the Cloud Platform project that the job belongs to.jobId
- The job ID.content
- the Job
IOException
public Dataflow.Projects.Jobs.Debug debug()
The typical use is:
Dataflow dataflow = new Dataflow(...);
Dataflow.Debug.List request = dataflow.debug().list(parameters ...)
public Dataflow.Projects.Jobs.Messages messages()
The typical use is:
Dataflow dataflow = new Dataflow(...);
Dataflow.Messages.List request = dataflow.messages().list(parameters ...)
public Dataflow.Projects.Jobs.WorkItems workItems()
The typical use is:
Dataflow dataflow = new Dataflow(...);
Dataflow.WorkItems.List request = dataflow.workItems().list(parameters ...)