Cloud AI Platform v1 API - Class StreamingPredictRequest (3.2.0)

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

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

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

The first message must contain [endpoint][google.cloud.aiplatform.v1.StreamingPredictRequest.endpoint] field and optionally [input][]. The subsequent messages must contain [input][].

Inheritance

object > StreamingPredictRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

StreamingPredictRequest()

public StreamingPredictRequest()

StreamingPredictRequest(StreamingPredictRequest)

public StreamingPredictRequest(StreamingPredictRequest other)
Parameter
Name Description
other StreamingPredictRequest

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

Inputs

public RepeatedField<Tensor> Inputs { get; }

The prediction input.

Property Value
Type Description
RepeatedFieldTensor

Parameters

public Tensor Parameters { get; set; }

The parameters that govern the prediction.

Property Value
Type Description
Tensor