Class: Google::Cloud::AIPlatform::V1::StreamDirectPredictRequest
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::StreamDirectPredictRequest
- 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
-
#endpoint ⇒ ::String
Required.
-
#inputs ⇒ ::Array<::Google::Cloud::AIPlatform::V1::Tensor>
Optional.
-
#parameters ⇒ ::Google::Cloud::AIPlatform::V1::Tensor
Optional.
Instance Attribute Details
#endpoint ⇒ ::String
Returns 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.
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.
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 |