Table of Contents

Search

  1. Preface
  2. Introduction to Google Cloud Storage V2 Connector
  3. Google Cloud Storage V2 connections
  4. Mappings for Google Cloud Storage
  5. Migrating a mapping
  6. Upgrading to Google Cloud Storage V2 Connector
  7. Appendix A: Data type reference

Google Cloud Storage V2 Connector

Google Cloud Storage V2 Connector

Connection switching example

Connection switching example

You want to upgrade your existing Google Cloud Storage V1 mapping that uses the Google Cloud Storage connection to the Google Cloud Storage V2 connection.
  1. Open the existing Google Cloud Storage V1 mapping that you want to upgrade to Google Cloud Storage V2.
    The following image shows an existing mapping that uses the Google Cloud Storage connection and contains the configured advanced properties in the Target transformation:
    The connection type used is Google Cloud Storage V1 connection.
    The configured target object path in this example is:
    gs://bucket1/___________.csv
  2. To retain the mapped fields from the field mapping when you switch the connection, on the
    Field Mapping
    tab, choose from the following
    Field Map Options
    menu in the Google Cloud Storage V1 mapping:
    • To retain the fields automatically mapped after the switch, select
      Automatic
      .
      On the Field Mapping tab, the field mapping option is selected as Automatic.
    • To manually map the retained fields after the switch, select
      Manual
      .
      When you select manual, after switching the connection, you have the option to automap the retained fields using the previous mapping.
  3. To switch the connection, in the
    Connection
    field, change the connection from Google Cloud Storage V1 to Google Cloud Storage V2.
  4. In the
    Change Connection
    dialog box, select the following properties, and click
    Yes
    :
    • Connection switch
      . Switches to the connection that you select.
    • Retain field mapping
      . Retains the configured field mappings from Google Cloud Storage V1.
    The following image shows the options that you must select:
    The dialog box shows the options to retain the advanced properties and the field mapping.
  5. Use the same object path in the mapping as Google Cloud Storage V1.
    The following image shows the switched connection with the same object path:
    gs://bucket1/___________.csv
    The connection is switched to Google Cloud Storage V2 type.
    The configured target advanced properties from the Google Cloud Storage V1 mapping reflect in the Target transformation.
  6. If you had selected
    Manual
    on the
    Field Mapping
    tab in the Google Cloud Storage V1 mapping and you want to reflect the field mappings in Google Cloud Storage V2, on the
    Field Mapping
    tab, select
    Automap
    , and then select
    Previous Mapping
    .
    The automap option is selected to retain the mappings from the old connector.
    If you had selected
    Automatic
    in Google Cloud Storage V1, you do not have to perform this task.
    In the following image, the configured mapped fields from the Google Cloud Storage V1 mapping reflects in the Google Cloud Storage V2 mapping:
    The Field Mapping tab shows the mapped fields reflecting in the Google Cloud Storage V2 mapping.
  7. Click
    Save
    .

0 COMMENTS

We’d like to hear from you!