public class Bigquery.Jobs.Get extends BigqueryRequest<Job>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Bigquery.Jobs.Get(String projectId,
String jobId)
Retrieves the specified job by ID.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeMedia() |
void |
executeMediaAndDownloadTo(OutputStream outputStream)
Upgrade warning: in prior version 1.8 this method was called
download . |
InputStream |
executeMediaAsInputStream() |
HttpResponse |
executeUsingHead() |
String |
getJobId()
Job ID of the requested job
|
String |
getProjectId()
Project ID of the requested job
|
Bigquery.Jobs.Get |
setAlt(String alt)
Data format for the response.
|
Bigquery.Jobs.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Jobs.Get |
setJobId(String jobId)
Job ID of the requested job
|
Bigquery.Jobs.Get |
setKey(String key)
API key.
|
Bigquery.Jobs.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Jobs.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Jobs.Get |
setProjectId(String projectId)
Project ID of the requested job
|
Bigquery.Jobs.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Jobs.Get |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, execute, executeAndDownloadTo, executeAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Bigquery.Jobs.Get(String projectId, String jobId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Bigquery.initialize(AbstractGoogleClientRequest)
must be called to initialize this instance
immediately after invoking the constructor.
projectId
- Project ID of the requested jobjobId
- Job ID of the requested jobpublic void executeMediaAndDownloadTo(OutputStream outputStream) throws IOException
download
.executeMediaAndDownloadTo
in class AbstractGoogleClientRequest<Job>
IOException
public InputStream executeMediaAsInputStream() throws IOException
executeMediaAsInputStream
in class AbstractGoogleClientRequest<Job>
IOException
public HttpResponse executeMedia() throws IOException
executeMedia
in class AbstractGoogleClientRequest<Job>
IOException
public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Job>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Job>
IOException
public Bigquery.Jobs.Get setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<Job>
public Bigquery.Jobs.Get setFields(String fields)
BigqueryRequest
setFields
in class BigqueryRequest<Job>
public Bigquery.Jobs.Get setKey(String key)
BigqueryRequest
setKey
in class BigqueryRequest<Job>
public Bigquery.Jobs.Get setOauthToken(String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<Job>
public Bigquery.Jobs.Get setPrettyPrint(Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<Job>
public Bigquery.Jobs.Get setQuotaUser(String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<Job>
public Bigquery.Jobs.Get setUserIp(String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<Job>
public String getProjectId()
public Bigquery.Jobs.Get setProjectId(String projectId)
public String getJobId()
public Bigquery.Jobs.Get setJobId(String jobId)