Class: Google::Cloud::AIPlatform::V1::StreamDirectPredictRequest

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.StreamDirectPredict.

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}



215
216
217
218
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 215

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

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

Returns Optional. The prediction input.

Returns:



215
216
217
218
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 215

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

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

Returns Optional. The parameters that govern the prediction.

Returns:



215
216
217
218
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 215

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