public class Bigquery.Tables.Insert extends BigqueryRequest<Table>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Insert(String projectId,
String datasetId,
Table content)
Creates a new, empty table in the dataset.
|
Modifier and Type | Method and Description |
---|---|
String |
getDatasetId()
Required.
|
String |
getProjectId()
Required.
|
Bigquery.Tables.Insert |
set(String parameterName,
Object value) |
Bigquery.Tables.Insert |
set$Xgafv(String $Xgafv)
V1 error format.
|
Bigquery.Tables.Insert |
setAccessToken(String accessToken)
OAuth access token.
|
Bigquery.Tables.Insert |
setAlt(String alt)
Data format for response.
|
Bigquery.Tables.Insert |
setCallback(String callback)
JSONP
|
Bigquery.Tables.Insert |
setDatasetId(String datasetId)
Required.
|
Bigquery.Tables.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Tables.Insert |
setKey(String key)
API key.
|
Bigquery.Tables.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Tables.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Tables.Insert |
setProjectId(String projectId)
Required.
|
Bigquery.Tables.Insert |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Tables.Insert |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Bigquery.Tables.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, String datasetId, Table 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
- Required. Project ID of the new tabledatasetId
- Required. Dataset ID of the new tablecontent
- the Table
public Bigquery.Tables.Insert set$Xgafv(String $Xgafv)
BigqueryRequest
set$Xgafv
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setAccessToken(String accessToken)
BigqueryRequest
setAccessToken
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setCallback(String callback)
BigqueryRequest
setCallback
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setFields(String fields)
BigqueryRequest
setFields
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setKey(String key)
BigqueryRequest
setKey
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setOauthToken(String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setPrettyPrint(Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setQuotaUser(String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setUploadType(String uploadType)
BigqueryRequest
setUploadType
in class BigqueryRequest<Table>
public Bigquery.Tables.Insert setUploadProtocol(String uploadProtocol)
BigqueryRequest
setUploadProtocol
in class BigqueryRequest<Table>
public String getProjectId()
public Bigquery.Tables.Insert setProjectId(String projectId)
public String getDatasetId()
public Bigquery.Tables.Insert setDatasetId(String datasetId)
public Bigquery.Tables.Insert set(String parameterName, Object value)
set
in class BigqueryRequest<Table>
Copyright © 2011–2024 Google. All rights reserved.