Class: Google::Cloud::AIPlatform::V1::PredictRequest
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::PredictRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/prediction_service.rb
Overview
Request message for PredictionService.Predict.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#endpoint ⇒ ::String
Required.
-
#instances ⇒ ::Array<::Google::Protobuf::Value>
Required.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#parameters ⇒ ::Google::Protobuf::Value
The parameters that govern the prediction.
Instance Attribute Details
#endpoint ⇒ ::String
Returns Required. The name of the Endpoint requested to serve the prediction.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}.
53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 53 class PredictRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#instances ⇒ ::Array<::Google::Protobuf::Value>
Returns Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] instance_schema_uri.
53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 53 class PredictRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. The user labels for Imagen billing usage only. Only Imagen supports labels. For other use cases, it will be ignored.
53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 53 class PredictRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#parameters ⇒ ::Google::Protobuf::Value
Returns The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] parameters_schema_uri.
53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 53 class PredictRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |