GoogleDriveConfiguration class

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

Constructors

GoogleDriveConfiguration({required String secretArn, List<String>? excludeMimeTypes, List<String>? excludeSharedDrives, List<String>? excludeUserAccounts, List<String>? exclusionPatterns, List<DataSourceToIndexFieldMapping>? fieldMappings, List<String>? inclusionPatterns})
GoogleDriveConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

excludeMimeTypes List<String>?
A list of MIME types to exclude from the index. All documents matching the specified MIME type are excluded.
final
excludeSharedDrives List<String>?
A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded.
final
excludeUserAccounts List<String>?
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.
final
exclusionPatterns List<String>?
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.
final
fieldMappings List<DataSourceToIndexFieldMapping>?
Defines mapping between a field in the Google Drive and a Amazon Kendra index field.
final
hashCode int
The hash code for this object.
no setterinherited
inclusionPatterns List<String>?
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretArn 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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited