Cloud AI Platform v1beta1 API - Class PredictResponse (1.0.0-beta09)

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

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

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

Inheritance

object > PredictResponse

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

PredictResponse()

public PredictResponse()

PredictResponse(PredictResponse)

public PredictResponse(PredictResponse other)
Parameter
Name Description
other PredictResponse

Properties

DeployedModelId

public string DeployedModelId { get; set; }

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

Property Value
Type Description
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
Type Description
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
Type Description
string

ModelAsModelName

public ModelName ModelAsModelName { get; set; }

ModelName-typed view over the Model resource name property.

Property Value
Type Description
ModelName

ModelDisplayName

public string ModelDisplayName { get; set; }

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

Property Value
Type Description
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
Type Description
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.v1beta1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata] [prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri].

Property Value
Type Description
RepeatedFieldValue