DataSourceGoogleDriveConfigurationArgs

data class DataSourceGoogleDriveConfigurationArgs(val excludeMimeTypes: Output<List<String>>? = null, val excludeSharedDrives: Output<List<String>>? = null, val excludeUserAccounts: Output<List<String>>? = null, val exclusionPatterns: Output<List<String>>? = null, val fieldMappings: Output<List<DataSourceToIndexFieldMappingArgs>>? = null, val inclusionPatterns: Output<List<String>>? = null, val secretArn: Output<String>) : ConvertibleToJava<DataSourceGoogleDriveConfigurationArgs>

Constructors

Link copied to clipboard
constructor(excludeMimeTypes: Output<List<String>>? = null, excludeSharedDrives: Output<List<String>>? = null, excludeUserAccounts: Output<List<String>>? = null, exclusionPatterns: Output<List<String>>? = null, fieldMappings: Output<List<DataSourceToIndexFieldMappingArgs>>? = null, inclusionPatterns: Output<List<String>>? = null, secretArn: Output<String>)

Properties

Link copied to clipboard
val excludeMimeTypes: Output<List<String>>? = null

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 .

Link copied to clipboard
val excludeSharedDrives: Output<List<String>>? = null

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

Link copied to clipboard
val excludeUserAccounts: Output<List<String>>? = null

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.

Link copied to clipboard
val exclusionPatterns: Output<List<String>>? = null

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.

Link copied to clipboard

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.

Link copied to clipboard
val inclusionPatterns: Output<List<String>>? = null

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.

Link copied to clipboard
val secretArn: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): DataSourceGoogleDriveConfigurationArgs