public class Dataflow.Projects.Snapshots.Get extends DataflowRequest<Snapshot>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Get(String projectId,
String snapshotId)
Gets information about a snapshot.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getLocation()
The location that contains this snapshot.
|
String |
getProjectId()
The ID of the Cloud Platform project that the snapshot belongs to.
|
String |
getSnapshotId()
The ID of the snapshot.
|
Dataflow.Projects.Snapshots.Get |
set(String parameterName,
Object value) |
Dataflow.Projects.Snapshots.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Dataflow.Projects.Snapshots.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Dataflow.Projects.Snapshots.Get |
setAlt(String alt)
Data format for response.
|
Dataflow.Projects.Snapshots.Get |
setCallback(String callback)
JSONP
|
Dataflow.Projects.Snapshots.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Snapshots.Get |
setKey(String key)
API key.
|
Dataflow.Projects.Snapshots.Get |
setLocation(String location)
The location that contains this snapshot.
|
Dataflow.Projects.Snapshots.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Snapshots.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Snapshots.Get |
setProjectId(String projectId)
The ID of the Cloud Platform project that the snapshot belongs to.
|
Dataflow.Projects.Snapshots.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Snapshots.Get |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
Dataflow.Projects.Snapshots.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Snapshots.Get |
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, 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 snapshotId)
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 snapshot belongs to.snapshotId
- The ID of the snapshot.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Snapshot>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Snapshot>
IOException
public Dataflow.Projects.Snapshots.Get set$Xgafv(String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setAccessToken(String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setAlt(String alt)
DataflowRequest
setAlt
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setCallback(String callback)
DataflowRequest
setCallback
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setFields(String fields)
DataflowRequest
setFields
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setKey(String key)
DataflowRequest
setKey
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setOauthToken(String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setPrettyPrint(Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setQuotaUser(String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setUploadType(String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<Snapshot>
public Dataflow.Projects.Snapshots.Get setUploadProtocol(String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<Snapshot>
public String getProjectId()
public Dataflow.Projects.Snapshots.Get setProjectId(String projectId)
public String getSnapshotId()
public Dataflow.Projects.Snapshots.Get setSnapshotId(String snapshotId)
public String getLocation()
public Dataflow.Projects.Snapshots.Get setLocation(String location)
public Dataflow.Projects.Snapshots.Get set(String parameterName, Object value)
set
in class DataflowRequest<Snapshot>
Copyright © 2011–2022 Google. All rights reserved.