Class: Google::Cloud::AIPlatform::V1::PredictResponse

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

Response message for PredictionService.Predict.

Instance Attribute Summary collapse

Instance Attribute Details

#deployed_model_id::String

Returns ID of the Endpoint's DeployedModel that served this prediction.

Returns:

  • (::String)

    ID of the Endpoint's DeployedModel that served this prediction.



83
84
85
86
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 83

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

#metadata::Google::Protobuf::Value (readonly)

Returns Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.

Returns:

  • (::Google::Protobuf::Value)

    Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.



83
84
85
86
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 83

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

#model::String (readonly)

Returns Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.

Returns:

  • (::String)

    Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.



83
84
85
86
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 83

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

#model_display_name::String (readonly)

Returns Output only. The [display name][google.cloud.aiplatform.v1.Model.display_name] of the Model which is deployed as the DeployedModel that this prediction hits.

Returns:

  • (::String)

    Output only. The [display name][google.cloud.aiplatform.v1.Model.display_name] of the Model which is deployed as the DeployedModel that this prediction hits.



83
84
85
86
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 83

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

#model_version_id::String (readonly)

Returns Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.

Returns:

  • (::String)

    Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.



83
84
85
86
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 83

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

#predictions::Array<::Google::Protobuf::Value>

Returns The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] prediction_schema_uri.

Returns:

  • (::Array<::Google::Protobuf::Value>)

    The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' [Model's ][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] prediction_schema_uri.



83
84
85
86
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 83

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