public class Dataflow.Projects.Templates
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Dataflow.Projects.Templates.Create |
class |
Dataflow.Projects.Templates.Get |
class |
Dataflow.Projects.Templates.Validate |
Constructor and Description |
---|
Dataflow.Projects.Templates() |
Modifier and Type | Method and Description |
---|---|
Dataflow.Projects.Templates.Create |
create(java.lang.String projectId,
CreateJobFromTemplateRequest content)
Creates a Cloud Dataflow job from a template.
|
Dataflow.Projects.Templates.Get |
get(java.lang.String projectId,
java.lang.String gcsPath)
Get the template metadata associated with a template.
|
Dataflow.Projects.Templates.Validate |
validate(java.lang.String projectId,
CreateJobFromTemplateRequest content)
Validates the parameters set in create job request.
|
public Dataflow.Projects.Templates.Create create(java.lang.String projectId, CreateJobFromTemplateRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Required. The ID of the Cloud Platform project that the job belongs to.content
- the CreateJobFromTemplateRequest
java.io.IOException
public Dataflow.Projects.Templates.Get get(java.lang.String projectId, java.lang.String gcsPath) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Required. The ID of the Cloud Platform project that the job belongs to.gcsPath
- Required. A Cloud Storage path to the template from which to
create the job.
Must be a valid Cloud
Storage URL, beginning with `gs://`.java.io.IOException
public Dataflow.Projects.Templates.Validate validate(java.lang.String projectId, CreateJobFromTemplateRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Required. The ID of the Cloud Platform project that the job belongs to.content
- the CreateJobFromTemplateRequest
java.io.IOException