public class Dataflow.Projects.Locations.Templates.Launch extends DataflowRequest<LaunchTemplateResponse>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Launch(String projectId,
String location,
LaunchTemplateParameters content)
Launch a template.
|
Modifier and Type | Method and Description |
---|---|
String |
getDynamicTemplateGcsPath()
Path to dynamic template spec file on GCS.
|
String |
getDynamicTemplateStagingLocation()
Cloud Storage path for staging dependencies.
|
String |
getGcsPath()
A Cloud Storage path to the template from which to create the job.
|
String |
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request.
|
String |
getProjectId()
Required.
|
Boolean |
getValidateOnly()
If true, the request is validated but not actually executed.
|
Dataflow.Projects.Locations.Templates.Launch |
set(String parameterName,
Object value) |
Dataflow.Projects.Locations.Templates.Launch |
set$Xgafv(String $Xgafv)
V1 error format.
|
Dataflow.Projects.Locations.Templates.Launch |
setAccessToken(String accessToken)
OAuth access token.
|
Dataflow.Projects.Locations.Templates.Launch |
setAlt(String alt)
Data format for response.
|
Dataflow.Projects.Locations.Templates.Launch |
setCallback(String callback)
JSONP
|
Dataflow.Projects.Locations.Templates.Launch |
setDynamicTemplateGcsPath(String dynamicTemplateGcsPath)
Path to dynamic template spec file on GCS.
|
Dataflow.Projects.Locations.Templates.Launch |
setDynamicTemplateStagingLocation(String dynamicTemplateStagingLocation)
Cloud Storage path for staging dependencies.
|
Dataflow.Projects.Locations.Templates.Launch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Locations.Templates.Launch |
setGcsPath(String gcsPath)
A Cloud Storage path to the template from which to create the job.
|
Dataflow.Projects.Locations.Templates.Launch |
setKey(String key)
API key.
|
Dataflow.Projects.Locations.Templates.Launch |
setLocation(String location)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-
endpoints) to which to direct the request.
|
Dataflow.Projects.Locations.Templates.Launch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Locations.Templates.Launch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Locations.Templates.Launch |
setProjectId(String projectId)
Required.
|
Dataflow.Projects.Locations.Templates.Launch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Locations.Templates.Launch |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Locations.Templates.Launch |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Dataflow.Projects.Locations.Templates.Launch |
setValidateOnly(Boolean validateOnly)
If true, the request is validated but not actually executed.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Launch(String projectId, String location, LaunchTemplateParameters content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Dataflow.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
projectId
- Required. The ID of the Cloud Platform project that the job belongs to.location
- The [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request.content
- the LaunchTemplateParameters
public Dataflow.Projects.Locations.Templates.Launch set$Xgafv(String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setAccessToken(String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setAlt(String alt)
DataflowRequest
setAlt
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setCallback(String callback)
DataflowRequest
setCallback
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setFields(String fields)
DataflowRequest
setFields
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setKey(String key)
DataflowRequest
setKey
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setOauthToken(String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setPrettyPrint(Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setQuotaUser(String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setUploadType(String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<LaunchTemplateResponse>
public Dataflow.Projects.Locations.Templates.Launch setUploadProtocol(String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<LaunchTemplateResponse>
public String getProjectId()
public Dataflow.Projects.Locations.Templates.Launch setProjectId(String projectId)
public String getLocation()
public Dataflow.Projects.Locations.Templates.Launch setLocation(String location)
public Boolean getValidateOnly()
public Dataflow.Projects.Locations.Templates.Launch setValidateOnly(Boolean validateOnly)
public String getGcsPath()
public Dataflow.Projects.Locations.Templates.Launch setGcsPath(String gcsPath)
public String getDynamicTemplateGcsPath()
public Dataflow.Projects.Locations.Templates.Launch setDynamicTemplateGcsPath(String dynamicTemplateGcsPath)
public String getDynamicTemplateStagingLocation()
public Dataflow.Projects.Locations.Templates.Launch setDynamicTemplateStagingLocation(String dynamicTemplateStagingLocation)
public Dataflow.Projects.Locations.Templates.Launch set(String parameterName, Object value)
set
in class DataflowRequest<LaunchTemplateResponse>