public class Bigquery.Tables.Get extends BigqueryRequest<Table>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Get(String projectId,
String datasetId,
String tableId)
Gets the specified table resource by table ID.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getDatasetId()
Dataset ID of the requested table
|
String |
getProjectId()
Project ID of the requested table
|
String |
getSelectedFields()
List of fields to return (comma-separated).
|
String |
getTableId()
Table ID of the requested table
|
Bigquery.Tables.Get |
set(String parameterName,
Object value) |
Bigquery.Tables.Get |
setAlt(String alt)
Data format for the response.
|
Bigquery.Tables.Get |
setDatasetId(String datasetId)
Dataset ID of the requested table
|
Bigquery.Tables.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Tables.Get |
setKey(String key)
API key.
|
Bigquery.Tables.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Tables.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Tables.Get |
setProjectId(String projectId)
Project ID of the requested table
|
Bigquery.Tables.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Bigquery.Tables.Get |
setSelectedFields(String selectedFields)
List of fields to return (comma-separated).
|
Bigquery.Tables.Get |
setTableId(String tableId)
Table ID of the requested table
|
Bigquery.Tables.Get |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String projectId, String datasetId, String tableId)
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 requested tabledatasetId
- Dataset ID of the requested tabletableId
- Table ID of the requested tablepublic HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Table>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Table>
IOException
public Bigquery.Tables.Get setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<Table>
public Bigquery.Tables.Get setFields(String fields)
BigqueryRequest
setFields
in class BigqueryRequest<Table>
public Bigquery.Tables.Get setKey(String key)
BigqueryRequest
setKey
in class BigqueryRequest<Table>
public Bigquery.Tables.Get setOauthToken(String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<Table>
public Bigquery.Tables.Get setPrettyPrint(Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<Table>
public Bigquery.Tables.Get setQuotaUser(String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<Table>
public Bigquery.Tables.Get setUserIp(String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<Table>
public String getProjectId()
public Bigquery.Tables.Get setProjectId(String projectId)
public String getDatasetId()
public Bigquery.Tables.Get setDatasetId(String datasetId)
public String getTableId()
public Bigquery.Tables.Get setTableId(String tableId)
public String getSelectedFields()
public Bigquery.Tables.Get setSelectedFields(String selectedFields)
public Bigquery.Tables.Get set(String parameterName, Object value)
set
in class BigqueryRequest<Table>
Copyright © 2011–2020 Google. All rights reserved.