public class Dataflow.Projects.Templates.Get extends DataflowRequest<GetTemplateResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Get(java.lang.String projectId)
Get the template associated with a template.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getGcsPath()
Required.
|
java.lang.String |
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request.
|
java.lang.String |
getProjectId()
Required.
|
java.lang.String |
getView()
The view to retrieve.
|
Dataflow.Projects.Templates.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Dataflow.Projects.Templates.Get |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Dataflow.Projects.Templates.Get |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Dataflow.Projects.Templates.Get |
setAlt(java.lang.String alt)
Data format for response.
|
Dataflow.Projects.Templates.Get |
setCallback(java.lang.String callback)
JSONP
|
Dataflow.Projects.Templates.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Templates.Get |
setGcsPath(java.lang.String gcsPath)
Required.
|
Dataflow.Projects.Templates.Get |
setKey(java.lang.String key)
API key.
|
Dataflow.Projects.Templates.Get |
setLocation(java.lang.String location)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-
endpoints) to which to direct the request.
|
Dataflow.Projects.Templates.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Templates.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Templates.Get |
setProjectId(java.lang.String projectId)
Required.
|
Dataflow.Projects.Templates.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Templates.Get |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Templates.Get |
setUploadType(java.lang.String uploadType)
Legacy upload protocol for media (e.g.
|
Dataflow.Projects.Templates.Get |
setView(java.lang.String view)
The view to retrieve.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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
protected Get(java.lang.String projectId)
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.public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GetTemplateResponse>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GetTemplateResponse>
java.io.IOException
public Dataflow.Projects.Templates.Get set$Xgafv(java.lang.String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setAccessToken(java.lang.String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setAlt(java.lang.String alt)
DataflowRequest
setAlt
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setCallback(java.lang.String callback)
DataflowRequest
setCallback
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setFields(java.lang.String fields)
DataflowRequest
setFields
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setKey(java.lang.String key)
DataflowRequest
setKey
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setOauthToken(java.lang.String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setPrettyPrint(java.lang.Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setQuotaUser(java.lang.String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setUploadType(java.lang.String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<GetTemplateResponse>
public Dataflow.Projects.Templates.Get setUploadProtocol(java.lang.String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<GetTemplateResponse>
public java.lang.String getProjectId()
public Dataflow.Projects.Templates.Get setProjectId(java.lang.String projectId)
public java.lang.String getView()
public Dataflow.Projects.Templates.Get setView(java.lang.String view)
public java.lang.String getGcsPath()
public Dataflow.Projects.Templates.Get setGcsPath(java.lang.String gcsPath)
public java.lang.String getLocation()
public Dataflow.Projects.Templates.Get setLocation(java.lang.String location)
public Dataflow.Projects.Templates.Get set(java.lang.String parameterName, java.lang.Object value)
set
in class DataflowRequest<GetTemplateResponse>