Rag.NET.DataProviders.GoogleDrive
1.3.7
dotnet add package Rag.NET.DataProviders.GoogleDrive --version 1.3.7
NuGet\Install-Package Rag.NET.DataProviders.GoogleDrive -Version 1.3.7
<PackageReference Include="Rag.NET.DataProviders.GoogleDrive" Version="1.3.7" />
<PackageVersion Include="Rag.NET.DataProviders.GoogleDrive" Version="1.3.7" />
<PackageReference Include="Rag.NET.DataProviders.GoogleDrive" />
paket add Rag.NET.DataProviders.GoogleDrive --version 1.3.7
#r "nuget: Rag.NET.DataProviders.GoogleDrive, 1.3.7"
#:package Rag.NET.DataProviders.GoogleDrive@1.3.7
#addin nuget:?package=Rag.NET.DataProviders.GoogleDrive&version=1.3.7
#tool nuget:?package=Rag.NET.DataProviders.GoogleDrive&version=1.3.7
Rag.NET.DataProviders.GoogleDrive
Part of Rag.NET — a modular RAG pipeline for .NET built on Microsoft.Extensions.AI. Ships as 74 packages; install only what you call. Documentation · Choosing packages
Google Drive connector for Rag.NET ingestion: enumerates a whole drive or one folder recursively with a service account, resuming incrementally from a Changes.List page token.
Install
dotnet add package Rag.NET.DataProviders.GoogleDrive
Setup
using Microsoft.Extensions.DependencyInjection;
using Rag.NET.DataProviders.GoogleDrive;
services.AddGoogleDriveDataProvider(
serviceAccountKeyPath: "/secrets/service-account.json",
configure: opts =>
{
opts.FolderId = "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms"; // null = entire drive
opts.Extensions = [".pdf", ".docx"];
opts.DeltaToken = savedPageToken; // null on first run = full traversal
});
An overload accepts a pre-built DriveService when your application already manages
Google credentials. Share the target folder with the service account's email address.
Example
using Microsoft.Extensions.DependencyInjection;
using Rag.NET.Abstractions;
using Rag.NET.DataProviders;
using Rag.NET.Models;
var provider = sp.GetRequiredService<IFileContentProvider>();
var result = await pipeline.IngestFromProviderAsync(provider, new ProviderId("gdrive"), hashStore);
Console.WriteLine($"Ingested {result.Ingested}, skipped {result.Skipped}");
Full guide
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Google.Apis.Auth (>= 1.77.0)
- Google.Apis.Drive.v3 (>= 1.77.0.4301)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Rag.NET.DataProviders (>= 1.3.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.7 | 87 | 11/2/2026 |
| 1.3.6 | 91 | 11/2/2026 |
| 1.3.5 | 88 | 11/1/2026 |
| 1.3.4 | 95 | 10/30/2026 |
| 1.3.2 | 103 | 10/26/2026 |
| 1.3.1 | 94 | 10/25/2026 |
| 1.3.0 | 93 | 10/22/2026 |
| 1.2.0 | 92 | 10/22/2026 |
| 1.1.3 | 91 | 10/20/2026 |
| 1.1.2 | 105 | 10/19/2026 |
| 1.1.1 | 94 | 10/18/2026 |
| 1.1.0 | 108 | 10/16/2026 |
| 1.0.0 | 123 | 9/15/2026 |
| 0.1.0 | 135 | 8/11/2026 |