1.0.0-beta87 (latest) 1.0.0-beta86

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

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

Request message for
\[VertexRagDataService.UploadRagFile\]\[google.cloud.aiplatform.v1beta1.VertexRagDataService.UploadRagFile\].

## Inheritance

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

## Implements

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

### UploadRagFileRequest()

    public UploadRagFileRequest()

### UploadRagFileRequest(UploadRagFileRequest)

    public UploadRagFileRequest(UploadRagFileRequest other)

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

## Properties

### Parent

    public string Parent { get; set; }

Required. The name of the RagCorpus resource into which to upload the file.
Format:
`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`

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

### ParentAsRagCorpusName

    public RagCorpusName ParentAsRagCorpusName { get; set; }

[RagCorpusName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagCorpusName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.UploadRagFileRequest#Google_Cloud_AIPlatform_V1Beta1_UploadRagFileRequest_Parent) resource name property.

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

### RagFile

    public RagFile RagFile { get; set; }

Required. The RagFile to upload.

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

### UploadRagFileConfig

    public UploadRagFileConfig UploadRagFileConfig { get; set; }

Required. The config for the RagFiles to be uploaded into the RagCorpus.
\[VertexRagDataService.UploadRagFile\]\[google.cloud.aiplatform.v1beta1.VertexRagDataService.UploadRagFile\].

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