public class Prediction.Trainedmodels.Analyze extends PredictionRequest<Analyze>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Prediction.Trainedmodels.Analyze(String project,
String id)
Get analysis of the model and the data the model was trained on.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getId()
The unique name for the predictive model.
|
String |
getProject()
The project associated with the model.
|
Prediction.Trainedmodels.Analyze |
set(String parameterName,
Object value) |
Prediction.Trainedmodels.Analyze |
setAlt(String alt)
Data format for the response.
|
Prediction.Trainedmodels.Analyze |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Prediction.Trainedmodels.Analyze |
setId(String id)
The unique name for the predictive model.
|
Prediction.Trainedmodels.Analyze |
setKey(String key)
API key.
|
Prediction.Trainedmodels.Analyze |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Prediction.Trainedmodels.Analyze |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Prediction.Trainedmodels.Analyze |
setProject(String project)
The project associated with the model.
|
Prediction.Trainedmodels.Analyze |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Prediction.Trainedmodels.Analyze |
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, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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.Analyze(String project, String id)
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.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Analyze>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Analyze>
IOException
public Prediction.Trainedmodels.Analyze setAlt(String alt)
PredictionRequest
setAlt
in class PredictionRequest<Analyze>
public Prediction.Trainedmodels.Analyze setFields(String fields)
PredictionRequest
setFields
in class PredictionRequest<Analyze>
public Prediction.Trainedmodels.Analyze setKey(String key)
PredictionRequest
setKey
in class PredictionRequest<Analyze>
public Prediction.Trainedmodels.Analyze setOauthToken(String oauthToken)
PredictionRequest
setOauthToken
in class PredictionRequest<Analyze>
public Prediction.Trainedmodels.Analyze setPrettyPrint(Boolean prettyPrint)
PredictionRequest
setPrettyPrint
in class PredictionRequest<Analyze>
public Prediction.Trainedmodels.Analyze setQuotaUser(String quotaUser)
PredictionRequest
setQuotaUser
in class PredictionRequest<Analyze>
public Prediction.Trainedmodels.Analyze setUserIp(String userIp)
PredictionRequest
setUserIp
in class PredictionRequest<Analyze>
public String getProject()
public Prediction.Trainedmodels.Analyze setProject(String project)
public String getId()
public Prediction.Trainedmodels.Analyze setId(String id)
public Prediction.Trainedmodels.Analyze set(String parameterName, Object value)
set
in class PredictionRequest<Analyze>