public final class CreateJobFromTemplateRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
CreateJobFromTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateJobFromTemplateRequest |
clone() |
RuntimeEnvironment |
getEnvironment()
The runtime environment for the job.
|
java.lang.String |
getGcsPath()
Required.
|
java.lang.String |
getJobName()
Required.
|
java.lang.String |
getLocation()
The location to which to direct the request.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
The runtime parameters to pass to the job.
|
CreateJobFromTemplateRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
CreateJobFromTemplateRequest |
setEnvironment(RuntimeEnvironment environment)
The runtime environment for the job.
|
CreateJobFromTemplateRequest |
setGcsPath(java.lang.String gcsPath)
Required.
|
CreateJobFromTemplateRequest |
setJobName(java.lang.String jobName)
Required.
|
CreateJobFromTemplateRequest |
setLocation(java.lang.String location)
The location to which to direct the request.
|
CreateJobFromTemplateRequest |
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
The runtime parameters to pass to the job.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public RuntimeEnvironment getEnvironment()
null
for nonepublic CreateJobFromTemplateRequest setEnvironment(RuntimeEnvironment environment)
environment
- environment or null
for nonepublic java.lang.String getGcsPath()
null
for nonepublic CreateJobFromTemplateRequest setGcsPath(java.lang.String gcsPath)
gcsPath
- gcsPath or null
for nonepublic java.lang.String getJobName()
null
for nonepublic CreateJobFromTemplateRequest setJobName(java.lang.String jobName)
jobName
- jobName or null
for nonepublic java.lang.String getLocation()
null
for nonepublic CreateJobFromTemplateRequest setLocation(java.lang.String location)
location
- location or null
for nonepublic java.util.Map<java.lang.String,java.lang.String> getParameters()
null
for nonepublic CreateJobFromTemplateRequest setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters
- parameters or null
for nonepublic CreateJobFromTemplateRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CreateJobFromTemplateRequest clone()
clone
in class com.google.api.client.json.GenericJson