Cloud AI Platform v1beta1 API - Class StreamDirectRawPredictRequest (1.0.0-beta06)

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

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

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

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

Inheritance

object > StreamDirectRawPredictRequest

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

StreamDirectRawPredictRequest()

public StreamDirectRawPredictRequest()

StreamDirectRawPredictRequest(StreamDirectRawPredictRequest)

public StreamDirectRawPredictRequest(StreamDirectRawPredictRequest other)
Parameter
Name Description
other StreamDirectRawPredictRequest

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

Optional. The prediction input.

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