Google Integrator V2 - Online Help
Google Integrator V2
Questions / Feedback?

GSpreadsheets Component

Properties   Methods   Events   Configuration Settings   Errors  

The GSpreadsheets component provides a simple interface to manage spreadsheets.

Syntax

nsoftware.InGoogle.Gspreadsheets

Remarks

GSpreadsheets allows you to easily create, query, update, and delete spreadsheet information.

Before using the component you must have a valid Google account.

Once you have a valid Google account, set User and Password to your e-mail address and password before calling any of the methods.

The component allows you to create, modify, and delete worksheets and rows in the spreadsheet. You can also modify individual cell contents. This is achieved through the following methods:

To perform a query on the cells, rows, spreadsheets, or worksheets first use AddQueryParam to build the list of parameters to use when querying (if any). Then call one of the following methods:

For more information please see the description for each of the individual methods.

Note: The Google Spreadsheets API supports fetching a list of spreadsheets and editing their contents for the authenticated user. However the Google Spreadsheets API does not allow you to create or delete spreadsheets. For these operations, you must use the GDocuments component.

This service supports authentication via OAuth 2.0. First, perform OAuth authentication using the OAuth component or a separate process. Once complete you should have an authorization string which looks like:

Bearer ya29.AHES6ZSZEJzATdZYjeihDn5W-VrXSsxEZu5p0pclxGdKKQ
Assign this value to the Authorization property before attempting any operations. Consult the Google documentation for this particular service for more information about supported scope values and more details on OAuth authentication.

Alternatively, this service also supports Client Login authentication by setting the User and Password configuration settings.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

AuthorizationOAuth 2.0 Authorization Token.
CellCountThe number of cells contained within a Google Worksheet Cell feed.
CellDateUpdatedContains the date that a cell was updated.
CellDetailsThe cell details for the current cell in a worksheet.
CellETagThe ETag of the current cell in a Google Worksheet Cell feed.
CellIndexThe index of the current cell in a Google Worksheet Cell feed.
CellPropertiesA collection of properties for the current Google Worksheet Cell.
CookiesCollection of cookies.
FeedPropertiesThe feed elements of a Google Data feed.
FirewallA set of properties related to firewall access.
IdleThe current status of the component.
LocalHostThe name of the local host or user-assigned IP interface through which connections are initiated or accepted.
OtherHeadersOther headers as determined by the user (optional).
ParsedHeadersCollection of headers returned from the last request.
ProxyA set of properties related to proxy access.
QueryParamsAddtional query parameters to be included in the request.
RowCountThe number of rows contained within a Google Worksheet Row feed.
RowDateUpdatedContains the date that a row was updated.
RowDetailsThe row details for the current row in a worksheet.
RowETagThe ETag of the current row in a Google Worksheet Row feed.
RowIndexThe index of the current row in a Google Worksheet Row feed.
RowPropertiesA collection of properties for the current Google Worksheet Row.
SpreadsheetAuthorContains the name and e-mail address of the author that created the spreadsheet.
SpreadsheetCountThe number of spreadsheets contained within a Google Spreadsheet feed.
SpreadsheetDateUpdatedContains the date that a spreadsheet was updated.
SpreadsheetETagThe ETag of the current spreadsheet in a Google Spreadsheet feed.
SpreadsheetIndexThe index of the current spreadsheet in a Google Spreadsheet feed.
SpreadsheetPropertiesA collection of properties for the current Google Spreadsheet.
SpreadsheetTitleContains the title of the spreadsheet.
SSLAcceptServerCertInstructs the component to unconditionally accept the server certificate that matches the supplied certificate.
SSLCertThe certificate to be used during SSL negotiation.
SSLServerCertThe server certificate for the last established connection.
TimeoutA timeout for the component.
WorksheetColumnCountContains the number of columns within the current worksheet.
WorksheetCountThe number of worksheets contained within a Google Worksheet feed.
WorksheetDateUpdatedContains the date that a worksheet was updated.
WorksheetETagThe ETag of the current worksheet in a Google Worksheet feed.
WorksheetIndexThe index of the current worksheet in a Google Worksheet feed.
WorksheetPropertiesA collection of properties for the current Google Worksheet.
WorksheetRowCountContains the number of rows within the current worksheet.
WorksheetTitleContains the title of the worksheet.
XAttributesA collection of attributes of the current element.
XChildrenCollection of child elements of the current element.
XElementThe name of the current element.
XNamespaceThe namespace of the current element.
XParentThe parent of the current element.
XPathProvides a way to point to a specific element in the document.
XPrefixThe prefix of the current element.
XSubTreeA snapshot of the current element in the document.
XTextThe text of the current element.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

AddQueryParamAdds a query parameter to the QueryParams properties.
ConfigSets or retrieves a configuration setting .
CreateRowCreates a new row within the specified Google Worksheet.
CreateWorksheetCreates a new worksheet within the specified Google Spreadsheets feed.
DeleteRowDeletes a row within a Google Worksheet.
DeleteWorksheetDeletes a worksheet within a Google Worksheets feed.
QueryCellsQueries a Google Worksheet Cells feed using the specified parameters.
QueryRowsQueries a Google Worksheet Rows feed using the specified parameters.
QuerySpreadsheetsQueries a Google Spreadsheets feed using the specified parameters.
QueryWorksheetsQueries a Google Worksheets feed using the specified parameters.
UpdateCellUpdates a cell within a Google Worksheet.
UpdateRowUpdates a row within a Google Worksheet.
UpdateWorksheetUpdates a Google Worksheet.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

CellListFired once for each cell entry retrieved.
ConnectedFired immediately after a connection completes (or fails).
DisconnectedFired when a connection is closed.
EndTransferFired when a document finishes transferring.
ErrorInformation about errors during data delivery.
HeaderFired every time a header line comes in.
RowListFired once for each row entry retrieved.
SetCookieFired for every cookie set by the server.
SpreadsheetListFired once for each spreadsheet entry retrieved.
SSLServerAuthenticationFired after the server presents its certificate to the client.
SSLStatusShows the progress of the secure connection.
StartTransferFired when a document starts transferring (after the headers).
StatusFired when the HTTP status line is received from the server.
TransferFired while a document transfers (delivers document).
UpdateACLResponseFired once for each entry returned after updating a document ACL.
WorksheetListFired once for each worksheet entry retrieved.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

CellValueThe value in the cell.
RowHeaderCountTotal number of cells in the header row.
RowHeader[i]Value of the row header cell.
SetRowHeadersAction to create and insert row header values.
AccountTypeThe type of account to request authorization for.
CaptchaTokenThe token received from Google during a CAPTCHA challenge.
CaptchaURLThe image URL received from Google during a CAPTCHA challenge.
CaptchaValueThe value given by the person responding to the CAPTCHA challenge.
DateFormatThe format string to be used for formatting the DateTime values received from the server.
NameAndEmailFormatDetermines how the data of the name and e-mail properties will be formatted.
SourceThe source parameter value for Google ClientLogin.
TransferredDataThe contents of the last response from the server.
TransferredHeadersThe full set of headers as received from the server.
ServiceNameThe name of the Google Data service.
UserThe user's email address used for Client Login authentication.
PasswordThe user's password used for Client Login authentication.
AcceptEncodingUsed to tell the server which types of content encodings the client supports.
AllowHTTPCompressionThis property enables HTTP compression for receiving data.
AllowIdenticalRedirectURLAllow redirects to the same URL.
AppendWhether to append data to LocalFile.
AuthorizationThe Authorization string to be sent to the server.
BytesTransferredContains the number of bytes transferred in the response data.
EncodeURLIf set to true the URL will be encoded by the component.
FollowRedirectsDetermines what happens when the server issues a redirect.
GetOn302RedirectIf set to true the component will perform a GET on the new location.
HTTPVersionThe version of HTTP used by the component.
IfModifiedSinceA date determining the maximum age of the desired document.
KeepAliveDetermines whether the HTTP connection is closed after completion of the request.
MaxRedirectAttemptsLimits the number of redirects that are followed in a request.
OtherHeadersOther headers as determined by the user (optional).
ProxyAuthorizationThe authorization string to be sent to the proxy server.
ProxyAuthSchemeThe authorization scheme to be used for the proxy.
ProxyPasswordA password if authentication is to be used for the proxy.
ProxyPortPort for the proxy server (default 80).
ProxyServerName or IP address of a proxy server (optional).
ProxyUserA user name if authentication is to be used for the proxy.
TransferredDataLimitThe maximum number of incoming bytes to be stored by the component.
TransferredHeadersThe full set of headers as received from the server.
UseChunkedEncodingEnables or Disables HTTP chunked encoding for transfers.
ChunkSizeSpecifies the chunk size in bytes when using chunked encoding.
UserAgentInformation about the user agent (browser).
KerberosSPNThe Service Principal Name for the Kerberos Domain Controller.
ConnectionTimeoutSets a separate timeout value for establishing a connection.
FirewallAutoDetectTells the component whether or not to automatically detect and use firewall system settings, if available.
FirewallHostName or IP address of firewall (optional).
FirewallPasswordPassword to be used if authentication is to be used when connecting through the firewall.
FirewallPortThe TCP port for the FirewallHost;.
FirewallTypeDetermines the type of firewall to connect through.
FirewallUserA user name if authentication is to be used connecting through a firewall.
KeepAliveTimeThe inactivity time in milliseconds before a TCP keep-alive packet is sent.
KeepAliveIntervalThe retry interval, in milliseconds, to be used when a TCP keep-alive packet is sent and no response is received.
LingerWhen set to True, connections are terminated gracefully.
LingerTimeTime in seconds to have the connection linger.
LocalHostThe name of the local host through which connections are initiated or accepted.
LocalPortThe TCP port in the local host where the component binds.
MaxLineLengthThe maximum amount of data to accumulate when no EOL is found.
MaxTransferRateThe transfer rate limit in bytes per second.
RecordLengthThe length of received data records.
TCPKeepAliveDetermines whether or not the keep alive socket option is enabled.
UseIPv6Whether to use IPv6.
TcpNoDelayWhether or not to delay when sending packets.
ReuseSSLSessionDetermines if the SSL session is reused.
SSLCipherStrengthThe minimum cipher strength used for bulk encryption.
SSLEnabledProtocolsUsed to enable/disable the supported security protocols.
SSLProviderThe name of the security provider to use.
SSLSecurityFlagsFlags that control certificate verification.
OpenSSLCADirThe path to a directory containing CA certificates.
OpenSSLCAFileName of the file containing the list of CA's trusted by your application.
OpenSSLCipherListA string that controls the ciphers to be used by SSL.
OpenSSLPrngSeedDataThe data to seed the pseudo random number generator (PRNG).
AbsoluteTimeoutDetermines whether timeouts are inactivity timeouts or absolute timeouts.
FirewallDataUsed to send extra data to the firewall.
InBufferSizeThe size in bytes of the incoming queue of the socket.
OutBufferSizeThe size in bytes of the outgoing queue of the socket.
CodePageThe system code page used for Unicode to Multibyte translations.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 2.0.6240.0