Cloud AI Platform v1 API - Class StreamDirectRawPredictRequest (2.22.0)

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

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

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

The first message must contain [endpoint][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.endpoint] and [method_name][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.method_name] fields and optionally [input][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.input]. The subsequent messages must contain [input][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.input]. [method_name][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.method_name] in the subsequent messages have no effect.

Inheritance

object > StreamDirectRawPredictRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

StreamDirectRawPredictRequest()

public StreamDirectRawPredictRequest()

StreamDirectRawPredictRequest(StreamDirectRawPredictRequest)

public StreamDirectRawPredictRequest(StreamDirectRawPredictRequest other)
Parameter
NameDescription
otherStreamDirectRawPredictRequest

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; }

Optional. The prediction input.

Property Value
TypeDescription
ByteString

MethodName

public string MethodName { get; set; }

Optional. 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