class Aws::Kendra::Types::GoogleDriveConfiguration

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

@note When making an API call, you may pass GoogleDriveConfiguration

data as a hash:

    {
      secret_arn: "SecretArn", # required
      inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
      exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
      field_mappings: [
        {
          data_source_field_name: "DataSourceFieldName", # required
          date_field_format: "DataSourceDateFieldFormat",
          index_field_name: "IndexFieldName", # required
        },
      ],
      exclude_mime_types: ["MimeType"],
      exclude_user_accounts: ["UserAccount"],
      exclude_shared_drives: ["SharedDriveId"],
    }

@!attribute [rw] secret_arn

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][1].

[1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html
@return [String]

@!attribute [rw] inclusion_patterns

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.
@return [Array<String>]

@!attribute [rw] exclusion_patterns

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.
@return [Array<String>]

@!attribute [rw] field_mappings

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.
@return [Array<Types::DataSourceToIndexFieldMapping>]

@!attribute [rw] exclude_mime_types

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][1].

[1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html
@return [Array<String>]

@!attribute [rw] exclude_user_accounts

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.
@return [Array<String>]

@!attribute [rw] exclude_shared_drives

A list of identifiers or shared drives to exclude from the index.
All files and folders stored on the shared drive are excluded.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/GoogleDriveConfiguration AWS API Documentation

Constants

SENSITIVE