Cloud AI Platform v1 API - Class StreamDirectPredictRequest (2.24.0)

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

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

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

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

Inheritance

object > StreamDirectPredictRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

StreamDirectPredictRequest()

public StreamDirectPredictRequest()

StreamDirectPredictRequest(StreamDirectPredictRequest)

public StreamDirectPredictRequest(StreamDirectPredictRequest other)
Parameter
NameDescription
otherStreamDirectPredictRequest

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

Inputs

public RepeatedField<Tensor> Inputs { get; }

Optional. The prediction input.

Property Value
TypeDescription
RepeatedFieldTensor

Parameters

public Tensor Parameters { get; set; }

Optional. The parameters that govern the prediction.

Property Value
TypeDescription
Tensor