Table of Contents

Class SharePointSource

Namespace
GenerativeAI.Types.RagEngine
Assembly
GenerativeAI.dll

An individual SharePointSource.

public class SharePointSource
Inheritance
SharePointSource
Inherited Members
Extension Methods

Properties

ClientId

The Application ID for the app registered in Microsoft Azure Portal. The application must also be configured with MS Graph permissions "Files.ReadAll", "Sites.ReadAll" and BrowserSiteLists.Read.All.

[JsonPropertyName("clientId")]
public string? ClientId { get; set; }

Property Value

string

ClientSecret

The application secret for the app registered in Azure.

[JsonPropertyName("clientSecret")]
public ApiAuthApiKeyConfig? ClientSecret { get; set; }

Property Value

ApiAuthApiKeyConfig

DriveId

The ID of the drive to download from.

[JsonPropertyName("driveId")]
public string? DriveId { get; set; }

Property Value

string

DriveName

The name of the drive to download from.

[JsonPropertyName("driveName")]
public string? DriveName { get; set; }

Property Value

string

FileId

Output only. The SharePoint file id. Output only.

[JsonPropertyName("fileId")]
public string? FileId { get; set; }

Property Value

string

SharepointFolderId

The ID of the SharePoint folder to download from.

[JsonPropertyName("sharepointFolderId")]
public string? SharepointFolderId { get; set; }

Property Value

string

SharepointFolderPath

The path of the SharePoint folder to download from.

[JsonPropertyName("sharepointFolderPath")]
public string? SharepointFolderPath { get; set; }

Property Value

string

SharepointSiteName

The name of the SharePoint site to download from. This can be the site name or the site id.

[JsonPropertyName("sharepointSiteName")]
public string? SharepointSiteName { get; set; }

Property Value

string

TenantId

Unique identifier of the Azure Active Directory Instance.

[JsonPropertyName("tenantId")]
public string? TenantId { get; set; }

Property Value

string