Create plugin templates

In the Cloud Data Fusion Studio, you can create, edit, or delete plugin templates. The templates are versions of a plugin that you customize. They're reusable, contain preconfigured settings, and you can choose which properties to lock or leave open for editing. You can use the plugin template in your data pipeline as you would any other plugin.

Create a plugin template

To create a plugin template, follow these steps:

  1. Go to your instance:

    1. In the Google Cloud console, go to the Cloud Data Fusion page.

    2. To open the instance in the Cloud Data Fusion Studio, click Instances, and then click View instance.

      Go to Instances

  2. In the Cloud Data Fusion Studio interface, click Studio.

  3. In the plugins list, hold the pointer over a plugin, such as the Cloud SQL for MySQL batch source plugin, and click More > Create template. The Create Template dialog appears.

  4. If you have multiple versions of the plugin deployed, in the Choose version field, select a plugin version for the template.

  5. In the Template name field, enter a name for the template.

  6. Configure other plugin properties, as needed.

  7. Optional: Lock any property to prevent editing.

  8. To save the template, click Add. The template plugin appears in the plugin list with a T next to it, indicating that it's a template.

Edit a plugin template

You can change the plugin template's properties. The changes don't affect existing pipelines that were built with the template.

To edit a plugin template, follow these steps:

  1. In the Cloud Data Fusion Studio interface, click Studio.
  2. In the plugins list, hold the pointer over a plugin and click click More > Edit template.
  3. Edit the properties.
  4. Click Save.

The updated template appears in the plugin list and is ready to use in pipelines.

Delete a plugin template

When you delete a plugin template, it's removed from the plugin list on the Studio page and cannot be used when you create new pipelines. Deleting a template doesn't affect existing pipelines that were built with the template.

To delete a plugin template, follow these steps:

  1. Go to the Studio page in the Cloud Data Fusion web interface.
  2. In the plugins list, hold the pointer over a plugin and click More > Delete template.

The plugin template is removed from the plugin list and is no longer available to use in pipelines.

What's next