public class Prediction.Trainedmodels.Update extends PredictionRequest<Insert2>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Prediction.Trainedmodels.Update(String project,
String id,
Update content)
Add new data to a trained model.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
The unique name for the predictive model.
|
String |
getProject()
The project associated with the model.
|
Prediction.Trainedmodels.Update |
set(String parameterName,
Object value) |
Prediction.Trainedmodels.Update |
setAlt(String alt)
Data format for the response.
|
Prediction.Trainedmodels.Update |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Prediction.Trainedmodels.Update |
setId(String id)
The unique name for the predictive model.
|
Prediction.Trainedmodels.Update |
setKey(String key)
API key.
|
Prediction.Trainedmodels.Update |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Prediction.Trainedmodels.Update |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Prediction.Trainedmodels.Update |
setProject(String project)
The project associated with the model.
|
Prediction.Trainedmodels.Update |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Prediction.Trainedmodels.Update |
setUserIp(String userIp)
IP address of the site where the request originates.
|
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Prediction.Trainedmodels.Update(String project, String id, Update content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Prediction.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
project
- The project associated with the model.id
- The unique name for the predictive model.content
- the Update
public Prediction.Trainedmodels.Update setAlt(String alt)
PredictionRequest
setAlt
in class PredictionRequest<Insert2>
public Prediction.Trainedmodels.Update setFields(String fields)
PredictionRequest
setFields
in class PredictionRequest<Insert2>
public Prediction.Trainedmodels.Update setKey(String key)
PredictionRequest
setKey
in class PredictionRequest<Insert2>
public Prediction.Trainedmodels.Update setOauthToken(String oauthToken)
PredictionRequest
setOauthToken
in class PredictionRequest<Insert2>
public Prediction.Trainedmodels.Update setPrettyPrint(Boolean prettyPrint)
PredictionRequest
setPrettyPrint
in class PredictionRequest<Insert2>
public Prediction.Trainedmodels.Update setQuotaUser(String quotaUser)
PredictionRequest
setQuotaUser
in class PredictionRequest<Insert2>
public Prediction.Trainedmodels.Update setUserIp(String userIp)
PredictionRequest
setUserIp
in class PredictionRequest<Insert2>
public String getProject()
public Prediction.Trainedmodels.Update setProject(String project)
public String getId()
public Prediction.Trainedmodels.Update setId(String id)
public Prediction.Trainedmodels.Update set(String parameterName, Object value)
set
in class PredictionRequest<Insert2>