1.0.0-beta87 (latest) 1.0.0-beta86

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

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

Request message for
\[IndexService.UpsertDatapoints\]\[google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints\]

## Inheritance

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

## Implements

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

### UpsertDatapointsRequest()

    public UpsertDatapointsRequest()

### UpsertDatapointsRequest(UpsertDatapointsRequest)

    public UpsertDatapointsRequest(UpsertDatapointsRequest other)

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

## Properties

### Datapoints

    public RepeatedField<IndexDatapoint> Datapoints { get; }

A list of datapoints to be created/updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.IndexDatapoint` |   |

### Index

    public string Index { get; set; }

Required. The name of the Index resource to be updated.
Format:
`projects/{project}/locations/{location}/indexes/{index}`

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

### IndexAsIndexName

    public IndexName IndexAsIndexName { get; set; }

[IndexName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.IndexName)-typed view over the [Index](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.UpsertDatapointsRequest#Google_Cloud_AIPlatform_V1Beta1_UpsertDatapointsRequest_Index) resource name property.

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

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Optional. Update mask is used to specify the fields to be overwritten in
the datapoints by the update. The fields specified in the update_mask are
relative to each IndexDatapoint inside datapoints, not the full request.

Updatable fields:

- Use `all_restricts` to update both restricts and numeric_restricts.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |