1.0.0-beta87 (latest) 1.0.0-beta86

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

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

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PredictResponse

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PredictResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PredictResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PredictResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### PredictResponse()

    public PredictResponse()

### PredictResponse(PredictResponse)

    public PredictResponse(PredictResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictResponse` |

## Properties

### DeployedModelId

    public string DeployedModelId { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Value.html` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ModelAsModelName

    public ModelName ModelAsModelName { get; set; }

[ModelName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ModelName)-typed view over the [Model](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictResponse#Google_Cloud_AIPlatform_V1Beta1_PredictResponse_Model) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.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** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Value.html` |   |