Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.EndpointsResource.DirectPredictRequest

Perform an unary online prediction request to a gRPC model server for Vertex first-party products and frameworks.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>
ProjectsResource.LocationsResource.EndpointsResource.DirectPredictRequest
Implements
IClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>
IClientServiceRequest
Inherited Members
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.Xgafv
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.AccessToken
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.Alt
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.Callback
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.Fields
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.Key
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.OauthToken
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.PrettyPrint
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.QuotaUser
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.UploadType
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.Execute()
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.ETagAction
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.ApiVersion
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.RequestParameters
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.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.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.EndpointsResource.DirectPredictRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>, IClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>, IClientServiceRequest

Constructors

DirectPredictRequest(IClientService, GoogleCloudAiplatformV1DirectPredictRequest, string)

Constructs a new DirectPredict request.

Declaration
public DirectPredictRequest(IClientService service, GoogleCloudAiplatformV1DirectPredictRequest body, string endpoint)
Parameters
Type Name Description
IClientService service
GoogleCloudAiplatformV1DirectPredictRequest body
string endpoint

Properties

Endpoint

Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

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

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.GetBody()

InitParameters()

Initializes DirectPredict parameter list.

Declaration
protected override void InitParameters()
Overrides
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1DirectPredictResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX