1.0.0 (latest) 1.0.0-beta01

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

Reference documentation and code samples for the Vision AI v1 API class UpdateCorpusRequest.

Request message for UpdateCorpus.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.VisionAI.V1.dll

## Constructors

### UpdateCorpusRequest()

    public UpdateCorpusRequest()

### UpdateCorpusRequest(UpdateCorpusRequest)

    public UpdateCorpusRequest(UpdateCorpusRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.UpdateCorpusRequest` |

## Properties

### Corpus

    public Corpus Corpus { get; set; }

Required. The corpus which replaces the resource on the server.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.Corpus` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

The list of fields to be updated.

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