public class Bigquery.Jobs.Insert extends BigqueryRequest<Job>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Insert(String projectId,
Job content)
Starts a new asynchronous job.
|
protected |
Insert(String projectId,
Job content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Starts a new asynchronous job.
|
Modifier and Type | Method and Description |
---|---|
String |
getProjectId()
Project ID of project that will be billed for the job.
|
Bigquery.Jobs.Insert |
set(String parameterName,
Object value) |
Bigquery.Jobs.Insert |
set$Xgafv(String $Xgafv)
V1 error format.
|
Bigquery.Jobs.Insert |
setAccessToken(String accessToken)
OAuth access token.
|
Bigquery.Jobs.Insert |
setAlt(String alt)
Data format for response.
|
Bigquery.Jobs.Insert |
setCallback(String callback)
JSONP
|
Bigquery.Jobs.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Jobs.Insert |
setKey(String key)
API key.
|
Bigquery.Jobs.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Jobs.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Jobs.Insert |
setProjectId(String projectId)
Project ID of project that will be billed for the job.
|
Bigquery.Jobs.Insert |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Jobs.Insert |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Bigquery.Jobs.Insert |
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 Insert(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 project that will be billed for the job.content
- the Job
protected Insert(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 project that will be billed for the job.content
- the Job
media metadata or null
if nonemediaContent
- The media HTTP content.public Bigquery.Jobs.Insert set$Xgafv(String $Xgafv)
BigqueryRequest
set$Xgafv
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setAccessToken(String accessToken)
BigqueryRequest
setAccessToken
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setCallback(String callback)
BigqueryRequest
setCallback
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setFields(String fields)
BigqueryRequest
setFields
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setKey(String key)
BigqueryRequest
setKey
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setOauthToken(String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setPrettyPrint(Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setQuotaUser(String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setUploadType(String uploadType)
BigqueryRequest
setUploadType
in class BigqueryRequest<Job>
public Bigquery.Jobs.Insert setUploadProtocol(String uploadProtocol)
BigqueryRequest
setUploadProtocol
in class BigqueryRequest<Job>
public String getProjectId()
public Bigquery.Jobs.Insert setProjectId(String projectId)
public Bigquery.Jobs.Insert set(String parameterName, Object value)
set
in class BigqueryRequest<Job>
Copyright © 2011–2024 Google. All rights reserved.