Sharing assets on AI Hub

You can use AI Hub to upload and share assets with your colleagues. Your colleagues can reuse these assets to learn about artificial intelligence and machine learning (ML), or they can reuse assets as components of a new ML service. This guide describes how to share assets with your colleagues on AI Hub.

Understanding asset sharing on AI Hub

You must sign in with a user account that is associated with a Cloud Identity or Google Workspace domain to upload and share assets on AI Hub. You are the owner of the assets that you upload to AI Hub. As the owner of an asset, you have access to manage the asset's sharing settings.

You can share assets with:

  • Individual colleagues, by sharing the asset with the email address associated with your colleague's Google account
  • Groups of colleagues, by sharing the asset with a Google group
  • Your entire organization

When you share an asset with a colleague or group, you must assign them a role. The role that you assign determines which actions your colleagues can perform with this asset.

  • Viewer: Colleagues with the Viewer role can view and reuse the asset
  • Editor: Colleagues with the Editor role can view and reuse the asset, edit the asset's metadata, and upload new versions of the asset

Do not assign excessive permissions to the assets that you share on AI Hub. Regularly audit the sharing settings of sensitive assets.

Before you begin

Before you can share an asset with your colleagues, you must upload it to AI Hub. Currently you can upload and share Kubeflow pipelines and components, Jupyter notebooks, and trained models on AI Hub.

Changing an asset's sharing settings

Follow this process to find an asset and change its sharing settings.

  1. Go to AI Hub. Click Sign in in the upper-right corner of the window and follow the prompts to sign in with an account that is associated with your organization.

  2. Find the asset on AI Hub and open its Sharing settings dialog. There are two ways to find the asset and open the Sharing settings dialog:

    • Open the Sharing settings dialog from the My assets page:

      1. Click My assets. The My assets page displays a list of the assets that you have uploaded.
      2. Browse through the assets until you find the one that you want to share. Click the icon to open the Sharing settings dialog.
    • Find the asset on AI Hub and open the Sharing settings dialog from the asset details page:

      1. Browse or search for the asset you want to share. After you find it, click the asset's name. AI Hub displays a description of the asset and information on how to use it. For more information on how to find assets, read the guide to finding assets on AI Hub.
      2. Click Share under Manage this asset to open the Sharing settings dialog.

      If you cannot find the asset on the My assets page and if the Share button is not available on the asset details page, you are not the asset's owner. The metadata on the asset details page will specify who owns the asset. Only the asset's owner can modify its sharing settings.

  3. Use the Sharing settings dialog to:

Share an asset with everyone in your domain

Use the following process to manage access to this asset for everyone in your Cloud Identity or Google Workspace domain.

  1. Find the asset on AI Hub and open its Sharing settings dialog.

  2. To grant everyone in your Cloud Identity or Google Workspace domain access to view or reuse this asset, select Give everyone in your domain the viewer role.

  3. Click Save to save your changes and close this dialog.

Share an asset with a colleague

Follow this process to grant a colleague or group of colleagues access to an asset.

  1. Find the asset on AI Hub and open its Sharing settings dialog.

  2. To share this asset with a colleague or group of colleagues, type the colleague or group's email address and select the appropriate role under Share with.

    • User or group emails: Enter the email addresses of the Google accounts and groups that you want to share this asset with. Press the comma key between email addresses. Before you share an asset with a group of colleagues, you must create a group.

    • Role: Select Viewer to grant access to view and reuse this asset. Select Editor to grant access to view and reuse this asset, modify this asset's metadata, and upload new versions of this asset.

  3. Click Add, then click Save to grant this colleague or group access to this asset and close this dialog.

  4. If you are sharing this asset with a colleague whose email address is in another domain, the Members from outside your organization dialog is displayed. Click Share to confirm that you want to share this asset with this colleague. Otherwise, click Back to sharing settings to change who can access this asset.

Change a colleague's access to an asset

Follow this process to change a colleague's access to an asset.

  1. Find the asset on AI Hub and open its Sharing settings dialog.

  2. Find the colleague whose access you need to change. Click on the colleague's role. A list of roles is displayed.

  3. Select Viewer to grant access to view and reuse this asset. Select Editor to grant access to view and reuse this asset, modify this asset's metadata, and upload new versions of this asset.

  4. Click Save to save your changes and close this dialog.

Revoke access to an asset

Follow this process to revoke a colleague's access to an asset.

  1. Find the asset on AI Hub and open its Sharing settings dialog.

  2. Find the colleague whose access you need to revoke and click .

  3. Click Save to save your changes and close this dialog.

What's next