Class: Google::Cloud::AIPlatform::V1::StreamingPredictRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/prediction_service.rb

Overview

Request message for PredictionService.StreamingPredict.

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

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint::String

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



295
296
297
298
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 295

class StreamingPredictRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#inputs::Array<::Google::Cloud::AIPlatform::V1::Tensor>

Returns The prediction input.

Returns:



295
296
297
298
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 295

class StreamingPredictRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parameters::Google::Cloud::AIPlatform::V1::Tensor

Returns The parameters that govern the prediction.

Returns:



295
296
297
298
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 295

class StreamingPredictRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end