1.0.0-beta87 (latest) 1.0.0-beta86

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

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

Pointwise metric instance. Usually one instance corresponds to one row in an
evaluation dataset.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PointwiseMetricInstance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PointwiseMetricInstance), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PointwiseMetricInstance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PointwiseMetricInstance), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PointwiseMetricInstance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PointwiseMetricInstance), [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

### PointwiseMetricInstance()

    public PointwiseMetricInstance()

### PointwiseMetricInstance(PointwiseMetricInstance)

    public PointwiseMetricInstance(PointwiseMetricInstance other)

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

## Properties

### ContentMapInstance

    public ContentMap ContentMapInstance { get; set; }

Key-value contents for the mutlimodality input, including text, image,
video, audio, and pdf, etc. The key is placeholder in metric prompt
template, and the value is the multimodal content.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ContentMap` |   |

### HasJsonInstance

    public bool HasJsonInstance { get; }

Gets whether the "json_instance" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### InstanceCase

    public PointwiseMetricInstance.InstanceOneofCase InstanceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PointwiseMetricInstancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PointwiseMetricInstance.InstanceOneofCase` |   |

### JsonInstance

    public string JsonInstance { get; set; }

Instance specified as a json string. String key-value pairs are expected
in the json_instance to render
PointwiseMetricSpec.instance_prompt_template.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |