public class Bigquery.Models.Patch extends BigqueryRequest<Model>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Patch(String projectId,
String datasetId,
String modelId,
Model content)
Patch specific fields in the specified model.
|
Modifier and Type | Method and Description |
---|---|
String |
getDatasetId()
Required.
|
String |
getModelId()
Required.
|
String |
getProjectId()
Required.
|
Bigquery.Models.Patch |
set(String parameterName,
Object value) |
Bigquery.Models.Patch |
setAlt(String alt)
Data format for the response.
|
Bigquery.Models.Patch |
setDatasetId(String datasetId)
Required.
|
Bigquery.Models.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Models.Patch |
setKey(String key)
API key.
|
Bigquery.Models.Patch |
setModelId(String modelId)
Required.
|
Bigquery.Models.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Models.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Models.Patch |
setProjectId(String projectId)
Required.
|
Bigquery.Models.Patch |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Bigquery.Models.Patch |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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 Patch(String projectId, String datasetId, String modelId, Model 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 model to patch.datasetId
- Required. Dataset ID of the model to patch.modelId
- Required. Model ID of the model to patch.content
- the Model
public Bigquery.Models.Patch setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<Model>
public Bigquery.Models.Patch setFields(String fields)
BigqueryRequest
setFields
in class BigqueryRequest<Model>
public Bigquery.Models.Patch setKey(String key)
BigqueryRequest
setKey
in class BigqueryRequest<Model>
public Bigquery.Models.Patch setOauthToken(String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<Model>
public Bigquery.Models.Patch setPrettyPrint(Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<Model>
public Bigquery.Models.Patch setQuotaUser(String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<Model>
public Bigquery.Models.Patch setUserIp(String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<Model>
public String getProjectId()
public Bigquery.Models.Patch setProjectId(String projectId)
public String getDatasetId()
public Bigquery.Models.Patch setDatasetId(String datasetId)
public String getModelId()
public Bigquery.Models.Patch setModelId(String modelId)
public Bigquery.Models.Patch set(String parameterName, Object value)
set
in class BigqueryRequest<Model>
Copyright © 2011–2022 Google. All rights reserved.