Show / Hide Table of Contents

Class ProjectsResource.PredictRequest

Performs online prediction on the data in the request. {% dynamic include "/ai-platform/includes/___predict-request" %}

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleApiHttpBody>
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>
ProjectsResource.PredictRequest
Implements
IClientServiceRequest<GoogleApiHttpBody>
IClientServiceRequest
Inherited Members
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.Xgafv
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.AccessToken
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.Alt
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.Callback
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.Fields
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.Key
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.OauthToken
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.PrettyPrint
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.QuotaUser
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.UploadType
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.UploadProtocol
ClientServiceRequest<GoogleApiHttpBody>.Execute()
ClientServiceRequest<GoogleApiHttpBody>.ExecuteAsStream()
ClientServiceRequest<GoogleApiHttpBody>.ExecuteAsync()
ClientServiceRequest<GoogleApiHttpBody>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleApiHttpBody>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleApiHttpBody>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleApiHttpBody>.CreateRequest(bool?)
ClientServiceRequest<GoogleApiHttpBody>.GenerateRequestUri()
ClientServiceRequest<GoogleApiHttpBody>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleApiHttpBody>.ETagAction
ClientServiceRequest<GoogleApiHttpBody>.ModifyRequest
ClientServiceRequest<GoogleApiHttpBody>.ValidateParameters
ClientServiceRequest<GoogleApiHttpBody>.RequestParameters
ClientServiceRequest<GoogleApiHttpBody>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudMachineLearningEngine.v1
Assembly: Google.Apis.CloudMachineLearningEngine.v1.dll
Syntax
public class ProjectsResource.PredictRequest : CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>, IClientServiceRequest<GoogleApiHttpBody>, IClientServiceRequest

Constructors

PredictRequest(IClientService, GoogleCloudMlV1PredictRequest, string)

Constructs a new Predict request.

Declaration
public PredictRequest(IClientService service, GoogleCloudMlV1PredictRequest body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudMlV1PredictRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleApiHttpBody>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleApiHttpBody>.MethodName

Name

Required. The resource name of a model or a version. Authorization: requires the predict permission on the specified resource.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleApiHttpBody>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleApiHttpBody>.GetBody()

InitParameters()

Initializes Predict parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudMachineLearningEngineBaseServiceRequest<GoogleApiHttpBody>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX