public class Bigquery.Jobs.Insert extends BigqueryRequest<Job>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Bigquery.Jobs.Insert(java.lang.String projectId,
Job content)
Starts a new asynchronous job.
|
protected |
Bigquery.Jobs.Insert(java.lang.String projectId,
Job content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Starts a new asynchronous job.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProjectId()
Project ID of the project that will be billed for the job
|
Bigquery.Jobs.Insert |
set(java.lang.String parameterName,
java.lang.Object value) |
Bigquery.Jobs.Insert |
setAlt(java.lang.String alt)
Data format for the response.
|
Bigquery.Jobs.Insert |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Jobs.Insert |
setKey(java.lang.String key)
API key.
|
Bigquery.Jobs.Insert |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Jobs.Insert |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Jobs.Insert |
setProjectId(java.lang.String projectId)
Project ID of the project that will be billed for the job
|
Bigquery.Jobs.Insert |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Jobs.Insert |
setUserIp(java.lang.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, 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
protected Bigquery.Jobs.Insert(java.lang.String projectId, Job content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Bigquery.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
projectId
- Project ID of the project that will be billed for the jobcontent
- the Job
protected Bigquery.Jobs.Insert(java.lang.String projectId, Job content, com.google.api.client.http.AbstractInputStreamContent mediaContent)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Bigquery.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
This constructor should be used for uploading media content.
projectId
- Project ID of the project that will be billed for the jobcontent
- the Job
media metadata or null
if nonemediaContent
- The media HTTP content or null
if none.public Bigquery.Jobs.Insert setAlt(java.lang.String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setFields(java.lang.String fields)
BigqueryRequest
setFields
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setKey(java.lang.String key)
BigqueryRequest
setKey
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setOauthToken(java.lang.String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setPrettyPrint(java.lang.Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setQuotaUser(java.lang.String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setUserIp(java.lang.String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<Job>
public java.lang.String getProjectId()
public Bigquery.Jobs.Insert setProjectId(java.lang.String projectId)
public Bigquery.Jobs.Insert set(java.lang.String parameterName, java.lang.Object value)
set
in class BigqueryRequest<Job>