View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PredictResponse (google_api_ai_platform v0.13.0)

Response message for PredictionService.Predict.

Attributes

  • deployedModelId (type: String.t, default: nil) - ID of the Endpoint's DeployedModel that served this prediction.
  • metadata (type: any(), default: nil) - Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.
  • model (type: String.t, default: nil) - Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.
  • modelDisplayName (type: String.t, default: nil) - Output only. The display name of the Model which is deployed as the DeployedModel that this prediction hits.
  • modelVersionId (type: String.t, default: nil) - Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.
  • predictions (type: list(any()), default: nil) - 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 PredictSchemata's prediction_schema_uri.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PredictResponse{
  deployedModelId: String.t() | nil,
  metadata: any() | nil,
  model: String.t() | nil,
  modelDisplayName: String.t() | nil,
  modelVersionId: String.t() | nil,
  predictions: [any()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.