Cloud AI Platform v1 API - Class DirectPredictRequest (2.26.0)

public sealed class DirectPredictRequest : IMessage<DirectPredictRequest>, IEquatable<DirectPredictRequest>, IDeepCloneable<DirectPredictRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class DirectPredictRequest.

Request message for [PredictionService.DirectPredict][google.cloud.aiplatform.v1.PredictionService.DirectPredict].

Inheritance

object > DirectPredictRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

DirectPredictRequest()

public DirectPredictRequest()

DirectPredictRequest(DirectPredictRequest)

public DirectPredictRequest(DirectPredictRequest other)
Parameter
NameDescription
otherDirectPredictRequest

Properties

Endpoint

public string Endpoint { get; set; }

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

Property Value
TypeDescription
string

EndpointAsEndpointName

public EndpointName EndpointAsEndpointName { get; set; }

EndpointName-typed view over the Endpoint resource name property.

Property Value
TypeDescription
EndpointName

Inputs

public RepeatedField<Tensor> Inputs { get; }

The prediction input.

Property Value
TypeDescription
RepeatedFieldTensor

Parameters

public Tensor Parameters { get; set; }

The parameters that govern the prediction.

Property Value
TypeDescription
Tensor