1.0.0 (latest) 1.0.0-beta01

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

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

Request message of CreateCorpus API.

## Inheritance

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

## Implements

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

### CreateCorpusRequest()

    public CreateCorpusRequest()

### CreateCorpusRequest(CreateCorpusRequest)

    public CreateCorpusRequest(CreateCorpusRequest other)

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

## Properties

### Corpus

    public Corpus Corpus { get; set; }

Required. The corpus to be created.

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

### Parent

    public string Parent { get; set; }

Required. Form: `projects/{project_number}/locations/{location_id}`

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