Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::StreamingPredictRequest (v0.39.0)

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

Request message for PredictionService.StreamingPredict.

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