public class Bigquery.Tables.Insert extends BigqueryRequest<Table>
com.google.api.client.util.GenericData.FlagsAbstractMap.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()
Dataset ID of the new table
|
String |
getProjectId()
Project ID of the new table
|
Bigquery.Tables.Insert |
set(String parameterName,
Object value) |
Bigquery.Tables.Insert |
setAlt(String alt)
Data format for the response.
|
Bigquery.Tables.Insert |
setDatasetId(String datasetId)
Dataset ID of the new table
|
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)
Project ID of the new table
|
Bigquery.Tables.Insert |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Bigquery.Tables.Insert |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected 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 - Project ID of the new tabledatasetId - Dataset ID of the new tablecontent - the Tablepublic Bigquery.Tables.Insert setAlt(String alt)
BigqueryRequestsetAlt in class BigqueryRequest<Table>public Bigquery.Tables.Insert setFields(String fields)
BigqueryRequestsetFields in class BigqueryRequest<Table>public Bigquery.Tables.Insert setKey(String key)
BigqueryRequestsetKey in class BigqueryRequest<Table>public Bigquery.Tables.Insert setOauthToken(String oauthToken)
BigqueryRequestsetOauthToken in class BigqueryRequest<Table>public Bigquery.Tables.Insert setPrettyPrint(Boolean prettyPrint)
BigqueryRequestsetPrettyPrint in class BigqueryRequest<Table>public Bigquery.Tables.Insert setQuotaUser(String quotaUser)
BigqueryRequestsetQuotaUser in class BigqueryRequest<Table>public Bigquery.Tables.Insert setUserIp(String userIp)
BigqueryRequestsetUserIp 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–2018 Google. All rights reserved.