public abstract class BigqueryRequest<T>
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
BigqueryRequest(Bigquery client,
java.lang.String method,
java.lang.String uriTemplate,
java.lang.Object content,
java.lang.Class<T> responseClass) |
Modifier and Type | Method and Description |
---|---|
Bigquery |
getAbstractGoogleClient() |
java.lang.String |
getAlt()
Data format for the response.
|
java.lang.String |
getFields()
Selector specifying which fields to include in a partial response.
|
java.lang.String |
getKey()
API key.
|
java.lang.String |
getOauthToken()
OAuth 2.0 token for the current user.
|
java.lang.Boolean |
getPrettyPrint()
Returns response with indentations and line breaks.
|
java.lang.String |
getQuotaUser()
Available to use for quota purposes for server-side applications.
|
java.lang.String |
getUserIp()
IP address of the site where the request originates.
|
BigqueryRequest<T> |
set(java.lang.String parameterName,
java.lang.Object value) |
BigqueryRequest<T> |
setAlt(java.lang.String alt)
Data format for the response.
|
BigqueryRequest<T> |
setDisableGZipContent(boolean disableGZipContent) |
BigqueryRequest<T> |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
BigqueryRequest<T> |
setKey(java.lang.String key)
API key.
|
BigqueryRequest<T> |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
BigqueryRequest<T> |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
BigqueryRequest<T> |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
BigqueryRequest<T> |
setRequestHeaders(com.google.api.client.http.HttpHeaders headers) |
BigqueryRequest<T> |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public BigqueryRequest(Bigquery client, java.lang.String method, java.lang.String uriTemplate, java.lang.Object content, java.lang.Class<T> responseClass)
client
- Google clientmethod
- HTTP MethoduriTemplate
- URI template for the path relative to the base URL. If it starts with a "/"
the base path from the base URL will be stripped out. The URI template can also be a
full URL. URI template expansion is done using
UriTemplate.expand(String, String, Object, boolean)
content
- A POJO that can be serialized into JSON or null
for noneresponseClass
- response class to parse intopublic java.lang.String getAlt()
public BigqueryRequest<T> setAlt(java.lang.String alt)
public java.lang.String getFields()
public BigqueryRequest<T> setFields(java.lang.String fields)
public java.lang.String getKey()
public BigqueryRequest<T> setKey(java.lang.String key)
public java.lang.String getOauthToken()
public BigqueryRequest<T> setOauthToken(java.lang.String oauthToken)
public java.lang.Boolean getPrettyPrint()
public BigqueryRequest<T> setPrettyPrint(java.lang.Boolean prettyPrint)
public java.lang.String getQuotaUser()
public BigqueryRequest<T> setQuotaUser(java.lang.String quotaUser)
public java.lang.String getUserIp()
public BigqueryRequest<T> setUserIp(java.lang.String userIp)
public final Bigquery getAbstractGoogleClient()
getAbstractGoogleClient
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
public BigqueryRequest<T> setDisableGZipContent(boolean disableGZipContent)
setDisableGZipContent
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
public BigqueryRequest<T> setRequestHeaders(com.google.api.client.http.HttpHeaders headers)
setRequestHeaders
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
public BigqueryRequest<T> set(java.lang.String parameterName, java.lang.Object value)
set
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>