public class CloudMachineLearningEngine.Projects.Predict extends CloudMachineLearningEngineRequest<GoogleApiHttpBody>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Predict(String name,
GoogleCloudMlV1PredictRequest content)
Performs online prediction on the data in the request.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, 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, 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 Predict(String name, GoogleCloudMlV1PredictRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
CloudMachineLearningEngine.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
name - Required. The resource name of a model or a version. Authorization: requires the `predict`
permission on the specified resource.content - the GoogleCloudMlV1PredictRequestpublic CloudMachineLearningEngine.Projects.Predict set$Xgafv(String $Xgafv)
CloudMachineLearningEngineRequestset$Xgafv in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setAccessToken(String accessToken)
CloudMachineLearningEngineRequestsetAccessToken in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setAlt(String alt)
CloudMachineLearningEngineRequestsetAlt in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setCallback(String callback)
CloudMachineLearningEngineRequestsetCallback in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setFields(String fields)
CloudMachineLearningEngineRequestsetFields in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setKey(String key)
CloudMachineLearningEngineRequestsetKey in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setOauthToken(String oauthToken)
CloudMachineLearningEngineRequestsetOauthToken in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setPrettyPrint(Boolean prettyPrint)
CloudMachineLearningEngineRequestsetPrettyPrint in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setQuotaUser(String quotaUser)
CloudMachineLearningEngineRequestsetQuotaUser in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setUploadType(String uploadType)
CloudMachineLearningEngineRequestsetUploadType in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public CloudMachineLearningEngine.Projects.Predict setUploadProtocol(String uploadProtocol)
CloudMachineLearningEngineRequestsetUploadProtocol in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>public String getName()
public CloudMachineLearningEngine.Projects.Predict setName(String name)
public CloudMachineLearningEngine.Projects.Predict set(String parameterName, Object value)
set in class CloudMachineLearningEngineRequest<GoogleApiHttpBody>Copyright © 2011–2021 Google. All rights reserved.