public class Bigquery.Models.Get extends BigqueryRequest<Model>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Get(String projectId,
String datasetId,
String modelId)
Gets the specified model resource by model ID.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getDatasetId()
Required.
|
String |
getModelId()
Required.
|
String |
getProjectId()
Required.
|
Bigquery.Models.Get |
set(String parameterName,
Object value) |
Bigquery.Models.Get |
setAlt(String alt)
Data format for the response.
|
Bigquery.Models.Get |
setDatasetId(String datasetId)
Required.
|
Bigquery.Models.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Models.Get |
setKey(String key)
API key.
|
Bigquery.Models.Get |
setModelId(String modelId)
Required.
|
Bigquery.Models.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Models.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Models.Get |
setProjectId(String projectId)
Required.
|
Bigquery.Models.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Bigquery.Models.Get |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String projectId, String datasetId, String modelId)
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 requested model.datasetId - Required. Dataset ID of the requested model.modelId - Required. Model ID of the requested model.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Model>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Model>IOExceptionpublic Bigquery.Models.Get setAlt(String alt)
BigqueryRequestsetAlt in class BigqueryRequest<Model>public Bigquery.Models.Get setFields(String fields)
BigqueryRequestsetFields in class BigqueryRequest<Model>public Bigquery.Models.Get setKey(String key)
BigqueryRequestsetKey in class BigqueryRequest<Model>public Bigquery.Models.Get setOauthToken(String oauthToken)
BigqueryRequestsetOauthToken in class BigqueryRequest<Model>public Bigquery.Models.Get setPrettyPrint(Boolean prettyPrint)
BigqueryRequestsetPrettyPrint in class BigqueryRequest<Model>public Bigquery.Models.Get setQuotaUser(String quotaUser)
BigqueryRequestsetQuotaUser in class BigqueryRequest<Model>public Bigquery.Models.Get setUserIp(String userIp)
BigqueryRequestsetUserIp in class BigqueryRequest<Model>public String getProjectId()
public Bigquery.Models.Get setProjectId(String projectId)
public String getDatasetId()
public Bigquery.Models.Get setDatasetId(String datasetId)
public String getModelId()
public Bigquery.Models.Get setModelId(String modelId)
public Bigquery.Models.Get set(String parameterName, Object value)
set in class BigqueryRequest<Model>Copyright © 2011–2020 Google. All rights reserved.