TDV Adapter for Google Sheets

Build 22.0.8462

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Basic Tab.

Authentication


PropertyDescription
AuthSchemeThe type of authentication to use when connecting to Google Sheets.
APIKeyIf your client application does not use OAuth 2.0, then it must include an API key when it calls an API that's enabled within a Google Cloud Platform project.

Connection


PropertyDescription
SpreadsheetA comma-separated list of the names or Ids of the spreadsheets to be viewed.
FolderNameA comma separated list of the folders' names from which to retrieve spreadsheets in the format FolderName='name1,name2'.
FolderIdA comma separated list of the folders' ids from which to retrieve spreadsheets in the format FolderId='id1,id2,id3'.
ShowTrashedFilesIndicates whether or not the trashed files will be listed.
TeamDriveSupportDetermines whether or not to retrieve Team Drive items.
UseIdAsTableNameIndicates whether or not to use Ids as Spreadsheet and Sheet name.
TeamDriveA drive's names or ids from which to retrieve spreadsheets in the format TeamDrive='Shared drive 2, Shared drive 3', or TeamDrive='0BKwyFj1j9FOsUk9EVO, 0ANMIP9RIe1LQUk9PVA'.
DomainSharedFilesOnlyBoolean determining if the exposed sheets are limited to only the sheets shared to the user's domain or not.
RecurseFoldersUsed in case FolderId/FolderName properties are defined. If set to True this makes the driver return all the Spreadsheets inside nested folders, else the driver will return only the files directly to that foder. By default this is set to false.
IgnoreErrorValuesWhen reading the data, we throw an exception or ignore the formula error based on IgnoreErrorValues=True/False.

OAuth


PropertyDescription
InitiateOAuthSet this property to initiate the process to obtain or refresh the OAuth access token when you connect.
OAuthClientIdThe client Id assigned when you register your application with an OAuth authorization server.
OAuthClientSecretThe client secret assigned when you register your application with an OAuth authorization server.
OAuthAccessTokenThe access token for connecting using OAuth.
OAuthSettingsLocationThe location of the settings file where OAuth values are saved when InitiateOAuth is set to GETANDREFRESH or REFRESH. Alternatively, this can be held in memory by specifying a value starting with memory://.
CallbackURLThe OAuth callback URL to return to when authenticating. This value must match the callback URL you specify in your app settings.
OAuthVerifierThe verifier code returned from the OAuth authorization URL.
OAuthRefreshTokenThe OAuth refresh token for the corresponding OAuth access token.
OAuthExpiresInThe lifetime in seconds of the OAuth AccessToken.
OAuthTokenTimestampThe Unix epoch timestamp in milliseconds when the current Access Token was created.

JWT OAuth


PropertyDescription
OAuthJWTCertThe JWT Certificate store.
OAuthJWTCertTypeThe type of key store containing the JWT Certificate.
OAuthJWTCertPasswordThe password for the OAuth JWT certificate.
OAuthJWTCertSubjectThe subject of the OAuth JWT certificate.
OAuthJWTIssuerThe issuer of the Java Web Token.
OAuthJWTSubjectThe user subject for which the application is requesting delegated access.

SSL


PropertyDescription
SSLServerCertThe certificate to be accepted from the server when connecting using TLS/SSL.

Firewall


PropertyDescription
FirewallTypeThe protocol used by a proxy-based firewall.
FirewallServerThe name or IP address of a proxy-based firewall.
FirewallPortThe TCP port for a proxy-based firewall.
FirewallUserThe user name to use to authenticate with a proxy-based firewall.
FirewallPasswordA password used to authenticate to a proxy-based firewall.

Proxy


PropertyDescription
ProxyAutoDetectThis indicates whether to use the system proxy settings or not. This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings.
ProxyServerThe hostname or IP address of a proxy to route HTTP traffic through.
ProxyPortThe TCP port the ProxyServer proxy is running on.
ProxyAuthSchemeThe authentication type to use to authenticate to the ProxyServer proxy.
ProxyUserA user name to be used to authenticate to the ProxyServer proxy.
ProxyPasswordA password to be used to authenticate to the ProxyServer proxy.
ProxySSLTypeThe SSL type to use when connecting to the ProxyServer proxy.
ProxyExceptionsA semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .

Logging


PropertyDescription
LogModulesCore modules to be included in the log file.

Schema


PropertyDescription
LocationA path to the directory that contains the schema files defining tables, views, and stored procedures.
TypeDetectionSchemeDetermines how to determine the data types of columns.
HeaderIndicates whether or not the first row should be used as a column header.
PrimaryKeyIdentifierSet this property to control the name of the primary key.
DefineTablesDefine the tables within the Google Spreadsheet.
OrientationIndicates whether the data in the sheet is laid out horizontally or vertically.

Miscellaneous


PropertyDescription
AutoAdjustRangeIf set to true, the driver will automatically expand the dimensions in case the updated/insert/deleted value is outside the range of the sheet.
DateTimeRenderOptionDetermines how dates, times, and durations should be represented in the output. This is ignored if the ValueRenderOption is FormattedValue. The default datetime render option is SerialNumber.
InsertDataOptionDetermines how existing data is changed when new data is input.
MaxRowsLimits the number of rows returned rows when no aggregation or group by is used in the query. This helps avoid performance issues at design time.
NullValueModeIndicates whether to read empty cells as null or as empty.
OtherThese hidden properties are used only in specific use cases.
PagesizeThe maximum number of results to return per page from Google Sheets.
PercentageToDecimalBoolean determining if percentage columns should be considered as decimal.
ReadonlyYou can use this property to enforce read-only access to Google Sheets from the provider.
RowScanDepthThe maximum number of rows to scan to look for the columns available in a table.
ShowEmptyRowsIndicates whether or not the empty rows should be pushed.
TimeoutThe value in seconds until the timeout error is thrown, canceling the operation.
UserDefinedViewsA filepath pointing to the JSON configuration file containing your custom views.
UseSimpleNamesBoolean determining if simple names should be used for tables and columns.
ValueInputOptionDetermines how inserted values should be treated.
ValueRenderOptionDetermines how values should be rendered in the output.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462