Cloud AI Platform v1beta1 API - Class StreamingRawPredictRequest (1.0.0-beta04)

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

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

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

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

Inheritance

object > StreamingRawPredictRequest

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.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