Using the Google Cloud Storage Connection Manager

The Google Cloud Storage Connection Manager is an SSIS connection manager component that can be used to establish connections with Google Cloud Storage.

To add a Google Cloud Storage connection to your SSIS package, right-click the Connection Manager area in your Visual Studio project, and choose "New Connection..." from the context menu. You will be prompted the "Add SSIS Connection Manager" window. Select the "Google Cloud Storage (KingswaySoft)" item to add the new Google Cloud Storage Connection Manager.

new connection

add SSIS Google Cloud Storage connection manager

The Google Cloud Storage Connection Manager contains the following three pages which configures how you want to connect to Google Cloud Storage.

  • General
  • Advanced Settings
  • More Info 

General page

The General page on the Google Cloud Storage Connection Manager allows you to specify general settings for the connection.

SSIS Google Cloud Storage Connection Manager

Token Location 

Google Cloud Storage retrieves tokens from the Google app once you give authorization. The tokens are stored in Registry so that once they expire, our component will automatically request new tokens from Google and replace the existing tokens with the new ones in Registry to minimize user effort. You have two options to choose where in Registry you would like to store these tokens:

  • Local Machine: HKEY_LOCAL_MACHINE
  • Current User: HKEY_CURRENT_USER
Project Id

The Project Id is a unique identifier for your project.

Account Id

The Account Id is an integer number that uniquely represents your account. You would need to make sure you have Tokens created.

Account Name

The Account Name shows the name of your Google account.

Google Cloud Storage API Authorization Info

This option allows you to specify your application when working with Google Cloud Storage API.

  • Provided by KingswaySoft: use the Client Id and Secret that is provided by KingswaySoft for your convenience when setting up the connection, it should NEVER be used for production purpose.
  • My Own: specify your own application registration with Google
    • Client Id
    • Client Secret

Warning: By default you are using the Google Cloud Storage API authorization information (Client Id and Secret) provided by KingswaySoft, which is provided for your convenience when setting up the connection, and it should NEVER be used for production purpose. To obtain your own Google Cloud Storage API authorization credentials for product use, please follow the instructions at the link below to create your own application registration with Google: https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#OAuth2Authorizing

Test Connection

After all the connection information has been provided, you may click the Test Connection button to test if the connection settings entered are valid.

Advanced Settings

The Advanced Settings page of Google Cloud Storage Connection Manager allows you to specify some advanced settings of the connection.

SSIS Google Cloud Storage Connection Manager - Advanced settings

Proxy Mode

Proxy Mode option allows to specify how you want to configure the proxy server setting. There are three options available.

  • No Proxy
  • Auto-detect (Using system configured proxy)
  • Manual
Proxy Server

Using Proxy Server option, you can provide a proxy server to connect to Google Cloud Storage.

Port

The Port option allows you to specify the port number of the proxy server for the connection.

Username (Proxy Server Authentication)

Username option (under Proxy Server Authentication) allows you to specify the proxy user account.

Password (Proxy Server Authentication)

Password option (under Proxy Server Authentication) allows you to specify the proxy user's password.

Note: The Proxy Password is not included in the connection manager's ConnectionString property by default. This is by design for security reasons. However, you can include it in your ConnectionString if you want to parameterize your connection manager. The format would be ProxyPassword=myProxyPassword;  (make sure you have a semicolon as the last character). It can be anywhere in the ConnectionString.

Timeout (secs)

The Timeout (secs) option allows you to specify a timeout value in seconds for the connection. The default value is 120 seconds.

API Throttling Rate

The API Throttling Rate option will limit the number of requests that can be sent per second. This rate is set to a 10 requests per second limit, by default, to respect the Google Cloud Storage API limits.

Retry on Intermittent Errors

This is an option designed to help recover from possible intermittent outages or disruption of service. It prevents the integration process from stopping due to temporary issues. Enabling this option will allow service calls to be retried upon certain types of failure. A service call may be retried up to 3 times before an exception is fired. Retries occur after 0 seconds, 15 seconds, and 60 seconds.

Warning: We have designed our retry feature carefully such that the retry should only occur when it is deemed safe to do so; however, in some occasions such retry service calls could result in the creation of duplicate data.