AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Provides the configuration information to connect to Google Drive as your data source.

Inheritance Hierarchy

System.Object
  Amazon.Kendra.Model.GoogleDriveConfiguration

Namespace: Amazon.Kendra.Model
Assembly: AWSSDK.Kendra.dll
Version: 3.x.y.z

Syntax

C#
public class GoogleDriveConfiguration

The GoogleDriveConfiguration type exposes the following members

Constructors

NameDescription
Public Method GoogleDriveConfiguration()

Properties

NameTypeDescription
Public Property ExcludeMimeTypes System.Collections.Generic.List<System.String>

Gets and sets the property ExcludeMimeTypes.

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.

Public Property ExcludeSharedDrives System.Collections.Generic.List<System.String>

Gets and sets the property ExcludeSharedDrives.

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

Public Property ExcludeUserAccounts System.Collections.Generic.List<System.String>

Gets and sets the property ExcludeUserAccounts.

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.

Public Property ExclusionPatterns System.Collections.Generic.List<System.String>

Gets and sets the property ExclusionPatterns.

A list of regular expression patterns to exclude certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

Public Property FieldMappings System.Collections.Generic.List<Amazon.Kendra.Model.DataSourceToIndexFieldMapping>

Gets and sets the property FieldMappings.

Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Google Drive fields. For more information, see Mapping data source fields. The Google Drive data source field names must exist in your Google Drive custom metadata.

Public Property InclusionPatterns System.Collections.Generic.List<System.String>

Gets and sets the property InclusionPatterns.

A list of regular expression patterns to include certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

Public Property SecretArn System.String

Gets and sets the property SecretArn.

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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5