1.0.0-beta87 (latest) 1.0.0-beta86

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

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

Config for importing RagFiles.

## Inheritance

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

## Implements

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

### ImportRagFilesConfig()

    public ImportRagFilesConfig()

### ImportRagFilesConfig(ImportRagFilesConfig)

    public ImportRagFilesConfig(ImportRagFilesConfig other)

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

## Properties

### GcsSource

    public GcsSource GcsSource { get; set; }

Google Cloud Storage location. Supports importing individual files as
well as entire Google Cloud Storage directories. Sample formats:

- `gs://bucket_name/my_directory/object_name/my_file.txt`
- `gs://bucket_name/my_directory`

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

### GlobalMaxEmbeddingRequestsPerMin

    public int GlobalMaxEmbeddingRequestsPerMin { get; set; }

Optional. The max number of queries per minute that the indexing pipeline
job is allowed to make to the embedding model specified in the project.
Please follow the quota usage guideline of the embedding model you use to
set the value properly.If this value is not specified,
max_embedding_requests_per_min will be used by indexing pipeline job as the
global limit.

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

### GoogleDriveSource

    public GoogleDriveSource GoogleDriveSource { get; set; }

Google Drive location. Supports importing individual files as
well as Google Drive folders.

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

### ImportResultBigquerySink

    public BigQueryDestination ImportResultBigquerySink { get; set; }

The BigQuery destination to write import result to. It should be a
bigquery table resource name (e.g.
"bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
table does not exist, it will be created with the expected schema. If the
table exists, the schema will be validated and data will be added to this
existing table.

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

### ImportResultGcsSink

    public GcsDestination ImportResultGcsSink { get; set; }

The Cloud Storage path to write import result to.

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

### ImportResultSinkCase

    public ImportRagFilesConfig.ImportResultSinkOneofCase ImportResultSinkCase { get; }

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

### ImportSourceCase

    public ImportRagFilesConfig.ImportSourceOneofCase ImportSourceCase { get; }

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

### JiraSource

    public JiraSource JiraSource { get; set; }

Jira queries with their corresponding authentication.

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

### MaxEmbeddingRequestsPerMin

    public int MaxEmbeddingRequestsPerMin { get; set; }

Optional. The max number of queries per minute that this job is allowed to
make to the embedding model specified on the corpus. This value is specific
to this job and not shared across other import jobs. Consult the Quotas
page on the project to set an appropriate value here.
If unspecified, a default value of 1,000 QPM would be used.

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

### PartialFailureBigquerySink

    [Obsolete]
    public BigQueryDestination PartialFailureBigquerySink { get; set; }

The BigQuery destination to write partial failures to. It should be a
bigquery table resource name (e.g.
"bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
table does not exist, it will be created with the expected schema. If the
table exists, the schema will be validated and data will be added to this
existing table.
Deprecated. Prefer to use `import_result_bq_sink`.

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

### PartialFailureGcsSink

    [Obsolete]
    public GcsDestination PartialFailureGcsSink { get; set; }

The Cloud Storage path to write partial failures to.
Deprecated. Prefer to use `import_result_gcs_sink`.

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

### PartialFailureSinkCase

    public ImportRagFilesConfig.PartialFailureSinkOneofCase PartialFailureSinkCase { get; }

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

### RagFileChunkingConfig

    [Obsolete]
    public RagFileChunkingConfig RagFileChunkingConfig { get; set; }

Specifies the size and overlap of chunks after importing RagFiles.

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

### RagFileMetadataConfig

    [Obsolete]
    public RagFileMetadataConfig RagFileMetadataConfig { get; set; }

Specifies the metadata config for RagFiles.
Including paths for metadata schema and metadata.
Deprecated: Not in use.

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

### RagFileParsingConfig

    public RagFileParsingConfig RagFileParsingConfig { get; set; }

Optional. Specifies the parsing config for RagFiles.
RAG will use the default parser if this field is not set.

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

### RagFileTransformationConfig

    public RagFileTransformationConfig RagFileTransformationConfig { get; set; }

Specifies the transformation config for RagFiles.

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

### RebuildAnnIndex

    public bool RebuildAnnIndex { get; set; }

Rebuilds the ANN index to optimize for recall on the imported data.
Only applicable for RagCorpora running on RagManagedDb with
`retrieval_strategy` set to `ANN`. The rebuild will be performed using the
existing ANN config set on the RagCorpus. To change the ANN config, please
use the UpdateRagCorpus API.

Default is false, i.e., index is not rebuilt.

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

### SharePointSources

    public SharePointSources SharePointSources { get; set; }

SharePoint sources.

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

### SlackSource

    public SlackSource SlackSource { get; set; }

Slack channels with their corresponding access tokens.

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