Cloud AI Platform v1 API - Class StreamingRawPredictRequest (3.13.0)

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

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

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

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

Inheritance

object > StreamingRawPredictRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

StreamingRawPredictRequest()

public StreamingRawPredictRequest()

StreamingRawPredictRequest(StreamingRawPredictRequest)

public StreamingRawPredictRequest(StreamingRawPredictRequest other)
Parameter
Name Description
other StreamingRawPredictRequest

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
Type Description
string

EndpointAsEndpointName

public EndpointName EndpointAsEndpointName { get; set; }

EndpointName-typed view over the Endpoint resource name property.

Property Value
Type Description
EndpointName

Input

public ByteString Input { get; set; }

The prediction input.

Property Value
Type Description
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
Type Description
string