Cloud AI Platform v1 API - Class PredictResponse (2.10.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

GoogleCloudGoogle.Cloud.AIPlatformV1

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

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