![]() |
VOOZH | about |
The CData Excel Add-In for Google Cloud Storage provides formulas that can query Google Cloud Storage data. The following three steps show how you can automate the following task: Search Google Cloud Storage data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as GoogleCloudStorageConnection1, or a connection string. The connection string consists of the required properties for connecting to Google Cloud Storage data, separated by semicolons.
You can connect without setting any connection properties for your user credentials. After setting InitiateOAuth to GETANDREFRESH, you are ready to connect.
When you connect, the Google Cloud Storage OAuth endpoint opens in your default browser. Log in and grant permissions, then the OAuth process completes
Service accounts have silent authentication, without user authentication in the browser. You can also use a service account to delegate enterprise-wide access scopes.
You need to create an OAuth application in this flow. See the Help documentation for more information. After setting the following connection properties, you are ready to connect:
The OAuth flow for a service account then completes.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Buckets WHERE Name = '"&B3&"'","ProjectId="&B1&";InitiateOAuth="&B2&";Provider=GoogleCloudStorage",B4)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Google Cloud Storage to get started:
Download NowLearn more:
👁 Google Cloud Storage IconThe Google Cloud Storage Excel Add-In is a powerful tool that allows you to connect with live Google Cloud Storage data, directly from Microsoft Excel.
Use Excel to access Google Cloud Storage Buckets, Objects, etc. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!