public class Dataflow.Projects.Jobs.Get extends DataflowRequest<Job>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Get(String projectId,
String jobId)
Gets the state of the specified Cloud Dataflow job.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getJobId()
The job ID.
|
String |
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
contains this job.
|
String |
getProjectId()
The ID of the Cloud Platform project that the job belongs to.
|
String |
getView()
The level of information requested in response.
|
Dataflow.Projects.Jobs.Get |
set(String parameterName,
Object value) |
Dataflow.Projects.Jobs.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Dataflow.Projects.Jobs.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Dataflow.Projects.Jobs.Get |
setAlt(String alt)
Data format for response.
|
Dataflow.Projects.Jobs.Get |
setCallback(String callback)
JSONP
|
Dataflow.Projects.Jobs.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Jobs.Get |
setJobId(String jobId)
The job ID.
|
Dataflow.Projects.Jobs.Get |
setKey(String key)
API key.
|
Dataflow.Projects.Jobs.Get |
setLocation(String location)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-
endpoints) that contains this job.
|
Dataflow.Projects.Jobs.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Jobs.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Jobs.Get |
setProjectId(String projectId)
The ID of the Cloud Platform project that the job belongs to.
|
Dataflow.Projects.Jobs.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Jobs.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Jobs.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Dataflow.Projects.Jobs.Get |
setView(String view)
The level of information requested in response.
|
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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Get(String projectId, String jobId)
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
- The ID of the Cloud Platform project that the job belongs to.jobId
- The job ID.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Job>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Job>
IOException
public Dataflow.Projects.Jobs.Get set$Xgafv(String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setAccessToken(String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setAlt(String alt)
DataflowRequest
setAlt
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setCallback(String callback)
DataflowRequest
setCallback
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setFields(String fields)
DataflowRequest
setFields
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setKey(String key)
DataflowRequest
setKey
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setOauthToken(String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setPrettyPrint(Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setQuotaUser(String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setUploadType(String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<Job>
public Dataflow.Projects.Jobs.Get setUploadProtocol(String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<Job>
public String getProjectId()
public Dataflow.Projects.Jobs.Get setProjectId(String projectId)
public String getJobId()
public Dataflow.Projects.Jobs.Get setJobId(String jobId)
public String getLocation()
public Dataflow.Projects.Jobs.Get setLocation(String location)
public String getView()
public Dataflow.Projects.Jobs.Get setView(String view)
public Dataflow.Projects.Jobs.Get set(String parameterName, Object value)
set
in class DataflowRequest<Job>
Copyright © 2011–2020 Google. All rights reserved.