Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleDriveConfiguration

import type { GoogleDriveConfiguration } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";

Provides configuration information for data sources that connect to Google Drive.

interface GoogleDriveConfiguration {
ExcludeMimeTypes?: string[] | null;
ExcludeSharedDrives?: string[] | null;
ExcludeUserAccounts?: string[] | null;
ExclusionPatterns?: string[] | null;
FieldMappings?: DataSourceToIndexFieldMapping[] | null;
InclusionPatterns?: string[] | null;
SecretArn: string;
}

§Properties

§
ExcludeMimeTypes?: string[] | null
[src]

A list of MIME types to exclude from the index. All documents matching the specified MIME type are excluded.

For a list of MIME types, see Using a Google Workspace Drive data source.

§
ExcludeSharedDrives?: string[] | null
[src]

A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded.

§
ExcludeUserAccounts?: string[] | null
[src]

A list of email addresses of the users. Documents owned by these users are excluded from the index. Documents shared with excluded users are indexed unless they are excluded in another way.

§
ExclusionPatterns?: string[] | null
[src]

A list of regular expression patterns that apply to the path on Google Drive. Items that match the pattern are excluded from the index from both shared drives and users' My Drives. Items that don't match the pattern are included in the index. If an item matches both an exclusion pattern and an inclusion pattern, it is excluded from the index.

§
FieldMappings?: DataSourceToIndexFieldMapping[] | null
[src]

Defines mapping between a field in the Google Drive and a Amazon Kendra index field.

If you are using the console, you can define index fields when creating the mapping. If you are using the API, you must first create the field using the UpdateIndex operation.

§
InclusionPatterns?: string[] | null
[src]

A list of regular expression patterns that apply to path on Google Drive. Items that match the pattern are included in the index from both shared drives and users' My Drives. Items that don't match the pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion pattern, it is excluded from the index.

§
SecretArn: string
[src]

The Amazon Resource Name (ARN) of a Secrets Managersecret that contains the credentials required to connect to Google Drive. For more information, see Using a Google Workspace Drive data source.