![]() |
VOOZH | about |
Embarcadero RAD Studio provides a development environment for Delphi and C++Builder applications. With the CData ODBC Driver for Google Cloud Storage, you gain access to live Google Cloud Storage data within RAD Studio, abstracting the data into tables, views, and stored procedures that can be used to both retrieve Google Cloud Storage data. This article will walk through connecting to Google Cloud Storage using the Data Explorer.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
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.
You can create a simple application for displaying Google Cloud Storage data by utilizing the CData FireDAC Components for Google Cloud Storage and a new VCL Forms Application:
Create a new VCL Forms application and drag a view (for example: Buckets) onto the form.
๐ Placing the View on the Form. (Salesforce is shown.)Right-click on the object, bind visually, and link everything (*) to a new control (TStringGrid).
๐ Visually Binding the View. (Salesforce is shown.)Arrange the TStringGrid on the form and run the application to see the Buckets data.
๐ The View data on a Form. (Salesforce is shown.)Below you can find other articles for using the CData ODBC Driver with RAD Studio, Delphi, and C++ Builder.
Download a free trial of the Google Cloud Storage ODBC Driver to get started:
Download NowLearn more:
๐ Google Cloud Storage IconThe Google Cloud Storage ODBC Driver is a powerful tool that allows you to connect with live data from Google Cloud Storage, directly from any applications that support ODBC connectivity.
Access Google Cloud Storage data like you would a database.