Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::StreamDirectPredictRequest (v0.50.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::StreamDirectPredictRequest.

Request message for PredictionService.StreamDirectPredict.

The first message must contain endpoint field and optionally [input][]. The subsequent messages must contain [input][].

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#endpoint

def endpoint() -> ::String
Returns
  • (::String) — Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

#endpoint=

def endpoint=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
Returns
  • (::String) — Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

#inputs

def inputs() -> ::Array<::Google::Cloud::AIPlatform::V1::Tensor>
Returns

#inputs=

def inputs=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Tensor>
Parameter
Returns

#parameters

def parameters() -> ::Google::Cloud::AIPlatform::V1::Tensor
Returns

#parameters=

def parameters=(value) -> ::Google::Cloud::AIPlatform::V1::Tensor
Parameter
Returns