public class Dataflow.Projects.Jobs.Snapshot extends DataflowRequest<Snapshot>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Snapshot(String projectId,
String jobId,
SnapshotJobRequest content)
Snapshot the state of a streaming job.
|
Modifier and Type | Method and Description |
---|---|
String |
getJobId()
The job to be snapshotted.
|
String |
getProjectId()
The project which owns the job to be snapshotted.
|
Dataflow.Projects.Jobs.Snapshot |
set(String parameterName,
Object value) |
Dataflow.Projects.Jobs.Snapshot |
set$Xgafv(String $Xgafv)
V1 error format.
|
Dataflow.Projects.Jobs.Snapshot |
setAccessToken(String accessToken)
OAuth access token.
|
Dataflow.Projects.Jobs.Snapshot |
setAlt(String alt)
Data format for response.
|
Dataflow.Projects.Jobs.Snapshot |
setCallback(String callback)
JSONP
|
Dataflow.Projects.Jobs.Snapshot |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Jobs.Snapshot |
setJobId(String jobId)
The job to be snapshotted.
|
Dataflow.Projects.Jobs.Snapshot |
setKey(String key)
API key.
|
Dataflow.Projects.Jobs.Snapshot |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Jobs.Snapshot |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Jobs.Snapshot |
setProjectId(String projectId)
The project which owns the job to be snapshotted.
|
Dataflow.Projects.Jobs.Snapshot |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Jobs.Snapshot |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Jobs.Snapshot |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
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, 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 Snapshot(String projectId, String jobId, SnapshotJobRequest 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
- The project which owns the job to be snapshotted.jobId
- The job to be snapshotted.content
- the SnapshotJobRequest
public Dataflow.Projects.Jobs.Snapshot set$Xgafv(String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setAccessToken(String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setAlt(String alt)
DataflowRequest
setAlt
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setCallback(String callback)
DataflowRequest
setCallback
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setFields(String fields)
DataflowRequest
setFields
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setKey(String key)
DataflowRequest
setKey
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setOauthToken(String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setPrettyPrint(Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setQuotaUser(String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setUploadType(String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Jobs.Snapshot setUploadProtocol(String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<Snapshot>
public String getProjectId()
public Dataflow.Projects.Jobs.Snapshot setProjectId(String projectId)
public String getJobId()
public Dataflow.Projects.Jobs.Snapshot setJobId(String jobId)
public Dataflow.Projects.Jobs.Snapshot set(String parameterName, Object value)
set
in class DataflowRequest<Snapshot>
Copyright © 2011–2020 Google. All rights reserved.