Cloud AI Platform v1 API - Class DirectRawPredictRequest (2.21.0)

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

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

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

Inheritance

object > DirectRawPredictRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

DirectRawPredictRequest()

public DirectRawPredictRequest()

DirectRawPredictRequest(DirectRawPredictRequest)

public DirectRawPredictRequest(DirectRawPredictRequest other)
Parameter
NameDescription
otherDirectRawPredictRequest

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

Input

public ByteString Input { get; set; }

The prediction input.

Property Value
TypeDescription
ByteString

MethodName

public string MethodName { get; set; }

Fully qualified name of the API method being invoked to perform predictions.

Format: /namespace.Service/Method/ Example: /tensorflow.serving.PredictionService/Predict

Property Value
TypeDescription
string