Cloud AI Platform v1 API - Class PredictResponse (2.17.0)

public sealed class PredictResponse : IMessage<PredictResponse>, IEquatable<PredictResponse>, IDeepCloneable<PredictResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class PredictResponse.

Response message for [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict].

Inheritance

object > PredictResponse

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

PredictResponse()

public PredictResponse()

PredictResponse(PredictResponse)

public PredictResponse(PredictResponse other)
Parameter
NameDescription
otherPredictResponse

Properties

DeployedModelId

public string DeployedModelId { get; set; }

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

Property Value
TypeDescription
string

Metadata

public Value Metadata { get; set; }

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

Property Value
TypeDescription
Value

Model

public string Model { get; set; }

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

Property Value
TypeDescription
string

ModelAsModelName

public ModelName ModelAsModelName { get; set; }

ModelName-typed view over the Model resource name property.

Property Value
TypeDescription
ModelName

ModelDisplayName

public string ModelDisplayName { get; set; }

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.

Property Value
TypeDescription
string

ModelVersionId

public string ModelVersionId { get; set; }

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

Property Value
TypeDescription
string

Predictions

public RepeatedField<Value> Predictions { get; }

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][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri].

Property Value
TypeDescription
RepeatedFieldValue