Create data products

This document is intended for data product owners who want to create and configure data products in Dataplex Universal Catalog.

For more information about the architecture and key concepts of data products, see About data products .

Before you begin

  1. Enable the Dataplex, BigQuery APIs.

    Roles required to enable APIs

    To enable APIs, you need the Service Usage Admin IAM role ( roles/serviceusage.serviceUsageAdmin ), which contains the serviceusage.services.enable permission. Learn how to grant roles .

    Enable the APIs

  2. Ensure that your data assets (for example, BigQuery datasets, tables, and views) are created and populated.

    For more information about creating data assets, see the following documents:

  3. Identify or create the Google groups that you want to configure in your data product. Each data product must have a unique Google group.

Required roles

This section outlines the minimum IAM roles required for two primary user groups: data product owners (those who create and manage data products) and data product consumers (those who search for and use data products).

Roles for a data product owner

To get the permissions that you need to create and manage data products, ask your administrator to grant you the following IAM roles on the project:

For more information about granting roles, see Manage access to projects, folders, and organizations .

These predefined roles contain the permissions required to create and manage data products. To see the exact permissions that are required, expand the Required permissionssection:

Required permissions

The following permissions are required to create and manage data products:

  • Edit the overview system aspect type: dataplex.entryGroups.useOverviewAspect
  • Edit the refresh cadence system aspect type: dataplex.entryGroups.useRefreshCadenceAspect

You might also be able to get these permissions with custom roles or other predefined roles .

Roles for a data product consumer

For the data product consumers to search for, view, and request access to data products, as a data product owner, you must ensure the data product is discoverable. To do this, grant the data product consumers the following IAM roles on the data product:

  • Search for data products and access them in Dataplex Universal Catalog Search: Dataplex Data Product Consumer ( dataplex.dataProductsConsumer )
  • Read-only access to view data product definitions and metadata: Dataplex Data Product Viewer ( dataplex.dataProductsViewer )
  • Request access to data products: Dataplex Data Product Consumer ( dataplex.dataProductsConsumer )

Create and configure a data product

Creating a data product involves the following high-level tasks:

  1. Create a data product

    This mandatory initial step requires defining core details such as a unique data product name, description, region where the data product is created, and owner details.

  2. Optional: Add assets

    In this phase, you select assets to include in the data product. A key constraint is that assets must reside in the same region as the data product itself. You can add a maximum of 10 assets to a data product.

    For the list of supported assets, see Assets supported .

  3. Optional: Configure access groups and asset permissions

    In this optional phase, you simplify access control by creating access groups. These access groups act as user-friendly aliases (for example, Analyst or Reader ) for underlying Google groups. You then assign permissions by selecting a specific IAM role and mapping it to an access group for a specific asset.

  4. Optional: Add additional details such as contracts, aspects, and documentation

    This optional phase enhances governance and metadata. You can add a contract, which is a first-party aspect type, to formally communicate the agreed-upon data refresh cadence, specifying parameters like refresh frequency, refresh time, and threshold. You also include Aspects to provide additional metadata for your data product. Additionally, you add rich text documentation, such as user guides and sample queries.

To create and configure a data product, complete the steps in the following sections:

Create a data product

Console

  1. In the Google Cloud console, go to the Dataplex Universal Catalog Data productspage.

    Go to Data products

  2. Click Create.

  3. In the Create data productspane, enter the following details:

    • Data product name: Enter a unique name for your data product.
    • Data product ID: This is an auto-generated unique identifier. You can edit this field.
    • Project ID: This is a unique identifier of the project where the data product is created. Browse and select the project.
    • Region: Select the region or multi-region where the data product is created.
    • Icon: Browse and select an icon to visually identify the data product. This is optional.
    • Description: Enter a brief description of the data product.
    • Contacts: Enter the email ID of the data product owner.
    • Labels: Add key-value labels to organize your resources. This is optional.
  4. Click Create data product.

REST

To create a data product, use the dataProducts.create method.

For example, send the following POST request:

 curl -X POST \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
-d '{"display_name": " DISPLAY_NAME 
", "owner_emails": [" EMAIL_IDs 
"]}' \
https://dataplex.googleapis.com/v1/projects/ PROJECT_ID 
/locations/ LOCATION 
/dataProducts?data_product_id= DATA_PRODUCT_ID 
 

Replace the following:

  • DISPLAY_NAME : a user-friendly name for your data product
  • EMAIL_IDs : comma-separated email IDs of the data product owners
  • PROJECT_ID : the ID of your Google Cloud project
  • LOCATION : the region in which you want to create the data product
  • DATA_PRODUCT_ID : a unique ID for your data product

Terraform

To create a data product, use the google_dataplex_data_product resource.

 resource "google_dataplex_data_product" "example_product" {
project         = " PROJECT_ID 
"
location        = " LOCATION 
"
data_product_id = " DATA_PRODUCT_ID 
"
display_name    = " DISPLAY_NAME 
"
description     = " DESCRIPTION 
"
owner_emails    = [" EMAIL_IDs 
"]

provider = google-beta
} 

Replace the following:

  • PROJECT_ID : the ID of your Google Cloud project
  • LOCATION : the region in which you want to create the data product
  • DATA_PRODUCT_ID : a unique ID for your data product
  • DISPLAY_NAME : a user-friendly name for your data product
  • DESCRIPTION : a brief description of the data product
  • EMAIL_IDs : comma-separated email IDs of the data product owners, for example— ["user1@example.com", "user2@example.com"]

Optional: Add assets

Console

  1. In the Add assetspane, click +Add.

  2. Search for and select the assets that you want to add to your data product. The assets you select must reside in the same region as the data product.

    If you have necessary permissions, you can view the metadata of assets by clicking the asset.

  3. To refine the search results, use Filters.

  4. After you select the assets, click Add.

  5. Click Continue.

REST

To add a data asset to your data product, use the dataAssets.create method.

For example, send the following POST request:

 curl -X POST \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
-d '{"resource": " RESOURCE_NAME 
"}' \
https://dataplex.googleapis.com/v1/projects/ PROJECT_ID 
/locations/ LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
/dataAssets?data_asset_id= DATA_ASSET_ID 
 

Replace the following:

  • RESOURCE_NAME : the full resource name of the data asset (for example, //bigquery.googleapis.com/projects/ PROJECT_ID /datasets/ DATASET_ID /tables/ TABLE_ID )
  • PROJECT_ID : the ID of your Google Cloud project
  • LOCATION : the region where the data product exists
  • DATA_PRODUCT_ID : the ID of the data product
  • DATA_ASSET_ID : a unique ID for this data asset within the data product

Terraform

To add a data asset to your data product, use the google_dataplex_data_product_data_asset resource.

 resource "google_dataplex_data_product_data_asset" "example_asset" {
project         = " PROJECT_ID 
"
location        = " LOCATION 
"
data_product_id = " DATA_PRODUCT_ID 
"
data_asset_id   = " DATA_ASSET_ID 
"
resource        = " RESOURCE_NAME 
"

provider = google-beta
} 

Replace the following:

  • PROJECT_ID : the ID of your Google Cloud project
  • LOCATION : the region where the data product exists
  • DATA_PRODUCT_ID : the ID of the data product
  • DATA_ASSET_ID : a unique ID for this data asset within the data product
  • RESOURCE_NAME : the full resource name of the data asset (for example, //bigquery.googleapis.com/projects/ PROJECT_ID /datasets/ DATASET_ID /tables/ TABLE_ID )

Optional: Configure access groups and asset permissions

In the Configure access groups and asset permissionspane, you can create access groups and assign permissions to assets.

Configure access groups

Console

  1. Click Add access group.

  2. In the Access group namefield, enter a name for the access group. For example, Analyst .

  3. In the Access group descriptionfield, enter a description for the access group.

  4. In the Access group identifierfield, enter the email address of a Google group that you want to assign to this access group. Data product consumers who request access to this access group can be added as members to the mapped Google group.

    If you don't have a Google group, you can create one. For more information, see Create and manage Google groups in the Google Cloud console .

  5. Click Add.

REST

To configure an access group for the data product, use the dataProducts.patch method.

For example, send the following PATCH request:

 curl -X PATCH \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
-d '{"access_groups": ACCESS_GROUPS_MAP 
}' \
https://dataplex.googleapis.com/v1/projects/ PROJECT_ID 
/locations/ LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
?update_mask="access_groups" 

Replace the following:

  • ACCESS_GROUPS_MAP : a JSON object representing a map where each key is an access group ID and the value is an AccessGroup object. For example:

      { 
     "analyst" 
     : 
      
     { 
      
     "id" 
     : 
      
     "analyst" 
     , 
     "display_name" 
     : 
      
     "Analyst access group" 
     , 
     "description" 
     : 
      
     "Access group for analysts" 
     , 
     "principal" 
     : 
     { 
     "google_group" 
     : 
      
     "analyst-team@example.com" 
     } 
      
     } 
     } 
     
    
  • PROJECT_ID : the ID of your Google Cloud project

  • LOCATION : the region where the data product exists

  • DATA_PRODUCT_ID : the ID of your data product

Terraform

To define access groups for your data product, use the access_groups nested block within the google_dataplex_data_product resource.

For example, use the following configuration:

 resource "google_dataplex_data_product" "example_data_product" {
project         = " PROJECT_ID 
"
location        = " LOCATION 
"
data_product_id = " DATA_PRODUCT_ID 
"
display_name    = " DISPLAY_NAME 
"
owner_emails    = [" EMAIL_IDs 
"]

access_groups {
  id           = "analyst" # Internal identifier for configuration
  group_id     = "analyst" # Unique identifier of the access group, should be same as the 'id'
  display_name = "Business Analyst"
  description  = "Access group for regional analysts"
  principal {
    google_group = "analyst-team@example.com"
  }

provider = google-beta
} 

Replace the following:

  • PROJECT_ID : the ID of your Google Cloud project
  • LOCATION : the region where the data product exists
  • DATA_PRODUCT_ID : a unique ID for the data product
  • DISPLAY_NAME : a user-friendly name for your data product
  • EMAIL_IDs : comma-separated email IDs of the data product owners, for example— ["user1@example.com", "user2@example.com"]

Configure asset permissions

After you configure access groups, you can configure permissions for the assets in the data product.

Console

  1. In the Asset permissionssection, select the asset for which you want to configure permissions.

  2. Click Configure permissions.

  3. In the Select access groupfield, select an access group.

  4. In the Assign IAM rolefield, select an IAM role that you want to assign to the access group.

    For example, if your asset is a BigQuery table named Sales , and if you selected Analyst access group, and assigned BigQuery Metadata Viewer role to this access group, the data product consumers who are part of the Analyst access group have BigQuery Metadata Viewer permission on the Sales table.

    You can add multiple roles to an asset.

  5. Click Configure. The asset now shows its assigned permissions.

  6. To configure permissions for other assets, repeat the steps.

  7. Click Continue.

REST

To configure permissions for the assets in the data product, use the dataAssets.patch method.

For example, send the following PATCH request:

 curl -X PATCH \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
-d '{"access_group_configs": ACCESS_GROUP_CONFIGS_MAP 
}' \
https://dataplex.googleapis.com/v1/projects/ PROJECT_ID 
/locations/ LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
/dataAssets/ DATA_ASSET_ID 
?update_mask="access_group_configs" 

Replace the following:

  • ACCESS_GROUP_CONFIGS_MAP : a JSON object representing a map where each key is an access group ID and the value is an AccessGroupConfig object. For example:

      { 
     "analyst" 
     : 
      
     { 
      
     iam_roles 
     : 
      
     [ 
     "roles/bigquery.dataViewer" 
     ] 
      
     } 
     } 
     
    
  • PROJECT_ID : the ID of your Google Cloud project

  • LOCATION : the region where the data product exists

  • DATA_PRODUCT_ID : the ID of your data product

  • DATA_ASSET_ID : the ID of the asset for which you want to configure permissions

Terraform

Assign IAM roles to your access groups for specific assets using the access_group_configs block in the google_dataplex_data_product_data_asset resource.

For example, use the following configuration:

 resource "google_dataplex_data_product_data_asset" "example_data_asset" {
project         = " PROJECT_ID 
"
location        = " LOCATION 
"
data_product_id = " DATA_PRODUCT_ID 
"
data_asset_id   = " DATA_ASSET_ID 
"
resource        = " RESOURCE_NAME 
"

access_group_configs {
  access_group = "analyst" # Must match the 'id' defined in google_dataplex_data_product
  iam_roles    = ["roles/bigquery.dataViewer"]
}

provider = google-beta
} 

Replace the following:

  • PROJECT_ID : the ID of your Google Cloud project
  • LOCATION : the region where the data product exists
  • DATA_PRODUCT_ID : the ID of the data product
  • DATA_ASSET_ID : a unique ID for this data asset within the data product
  • RESOURCE_NAME : the full resource name of the data asset (for example, //bigquery.googleapis.com/projects/ PROJECT_ID /datasets/ DATASET_ID /tables/ TABLE_ID )

Optional: Add additional details

You can also add contracts, aspects, and additional documentation for the data product.

Add a contract

To establish a foundation of trust between data producers and consumers, you can attach a contract to your data product. By specifying parameters like refresh time and thresholds, you provide consumers with the necessary context to understand when the data is updated and whether it meets their specific business requirements.

Console

  1. In the Add additional detailspane, click Add contract.

  2. In the Select contractfield, select Refresh cadence .

  3. In the Frequencyfield, select an agreed-upon schedule for how often data is updated or delivered, ensuring a predictable flow from data producer to data consumer. For example, Weekly .

  4. In the Refresh timefield, enter a maximum acceptable time when data is updated at its source and when it becomes available to the consumer. For example, 23:00 PST .

  5. In the Threshold (in minutes)field, enter a measurable limit in minutes for the acceptable delay in data delivery. For example, enter 30 to set threshold as 30 minutes.

  6. Optional: In the Cron schedulefield, enter a cron expression that defines the schedule for data generation and delivery in the format: MINUTE HOUR DAY_OF_MONTH MONTH DAY_OF_WEEK

    The following are the accepted values:

    • MINUTE : 0 - 59
    • HOUR : 0 - 23
    • DAY_OF_MONTH : 1 - 31
    • MONTH : 1-31 or JAN-DEC
    • DAY_OF_WEEK : 0-6 or SUN-SAT

    For example, 0 8 * * 1-5 runs at 8:00 AM on weekdays (Monday-Friday).

  7. Click Save.

REST

Contracts are modeled as aspects on the data product. To add a Refresh Cadence contract for a data product, use the entries.patch method.

For example, send the following PATCH request:

 curl -X PATCH \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
-d \
'{
  "aspects": {
    "dataplex-types.global.refresh-cadence": {
      "aspectType": "projects/dataplex-types/locations/global/aspectTypes/refresh-cadence",
      "data": {
        "frequency": " REFRESH_FREQUENCY 
"
      }
    }
  }
}' \
"https://dataplex.googleapis.com/v1/projects/ PROJECT_ID 
/locations/ LOCATION 
/entryGroups/@dataplex/entries/projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ DATA_PRODUCT_LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
?updateMask=aspects" 

Replace the following:

  • REFRESH_FREQUENCY : the agreed-upon schedule for how often data is updated or delivered, ensuring a predictable flow from data producer to data consumer. For example: Weekly
  • PROJECT_ID : the ID of your Google Cloud project where the API call is being made
  • LOCATION : the region of the Dataplex Universal Catalog service endpoint you are calling (for example, us-central1 )
  • DATA_PRODUCT_PROJECT_NUMBER : the project number where the data product resource is located
  • DATA_PRODUCT_LOCATION : the location of the data product resource
  • DATA_PRODUCT_ID : the ID of your data product

Terraform

Contracts are modeled as aspects on the data product. To manage a contract, you must manage the underlying Dataplex Universal Catalog entry. Because Terraform doesn't automatically discover existing aspects, you must first import the google_dataplex_entry .

To import the entry, use the following command:

 terraform import google_dataplex_entry.data_product_metadata "projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ LOCATION 
/entryGroups/@dataplex/entries/projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
" 

Terraform configuration:

 resource "google_dataplex_entry" "data_product_metadata" {
project        = " DATA_PRODUCT_PROJECT_NUMBER 
"
location       = " LOCATION 
"
entry_group_id = "@dataplex"
entry_id       = "projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
"
entry_type     = "projects/655216118709/locations/global/entryTypes/data-product"

aspects {
  aspect_key = "655216118709.global.refresh-cadence"
  aspect {
    data = jsonencode({
      frequency = " REFRESH_FREQUENCY 
"
    })
  }
}

provider = google-beta
} 

Replace the following:

  • DATA_PRODUCT_PROJECT_NUMBER : the project number where the data product resource is located
  • LOCATION : the region of the Dataplex Universal Catalog service endpoint you are calling (for example, us-central1 )
  • DATA_PRODUCT_ID : the ID of your data product
  • REFRESH_FREQUENCY : the agreed-upon schedule for how often data is updated or delivered, ensuring a predictable flow from data producer to data consumer. For example: Weekly

For general information on the import process, refer to the Terraform import documentation .

Add aspects

Use aspects to enrich your data product with structured, reusable metadata. These templates provide a standardized way for data producers to communicate the quality and fitness of a data product, improving governance and helping consumers determine if the product meets their business needs.

To add aspects for the data product, follow these steps:

Console

  1. In the Add additional detailspane, click + Add aspect.

  2. In the Select aspect typefield, search for and select an aspect type from the list. For example, Geo context .

  3. In the Countryfield, select the country to which the asset belongs.

  4. In the Regionfield, select the business region to which the asset belongs.

  5. Click Save.

REST

To add aspects for a data product, use the entries.patch method.

For example, send the following PATCH request:

 curl -X PATCH \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
-d \
'{
  "aspects": {
    " ASPECT_PROJECT_ID 
. ASPECT_LOCATION 
. ASPECT_NAME 
": {
      "aspectType": "projects/ ASPECT_PROJECT_ID 
/locations/ ASPECT_LOCATION 
/aspectTypes/ ASPECT_NAME 
",
      "data": {}
    }
  }
}' \
"https://dataplex.googleapis.com/v1/projects/ PROJECT_ID 
/locations/ LOCATION 
/entryGroups/@dataplex/entries/projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ DATA_PRODUCT_LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
?updateMask=aspects" 

Replace the following:

  • ASPECT_PROJECT_ID : the ID of your Google Cloud project where the aspect is created
  • ASPECT_LOCATION : the region of the Dataplex Universal Catalog service endpoint where the aspect is created (for example, us-central1 )
  • ASPECT_NAME : the name of the aspect you want to attach to the data product
  • PROJECT_ID : the ID of your Google Cloud project where the API call is being made
  • LOCATION : the region of the Dataplex Universal Catalog service endpoint you are calling (for example, us-central1 )
  • DATA_PRODUCT_PROJECT_NUMBER : the project number where the data product resource is located
  • DATA_PRODUCT_LOCATION : the location of the data product resource
  • DATA_PRODUCT_ID : the ID of your data product

Terraform

To manage aspects, you must manage the underlying Dataplex Universal Catalog entry. Because Terraform doesn't automatically discover existing aspects, you must first import the google_dataplex_entry .

To import the entry, use the following command:

 terraform import google_dataplex_entry.data_product_metadata "projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ LOCATION 
/entryGroups/@dataplex/entries/projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
" 

Terraform configuration:

 resource "google_dataplex_entry" "data_product_metadata" {
project        = " DATA_PRODUCT_PROJECT_NUMBER 
"
location       = " LOCATION 
"
entry_group_id = "@dataplex"
entry_id       = "projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
"
entry_type     = "projects/655216118709/locations/global/entryTypes/data-product"

aspects {
  aspect_key = " ASPECT_PROJECT_NUMBER 
. ASPECT_LOCATION 
. ASPECT_NAME 
"
  aspect {
    data = {}
  }
}

provider = google-beta
} 

Replace the following:

  • DATA_PRODUCT_PROJECT_NUMBER : the project number where the data product resource is located
  • LOCATION : the region of the Dataplex Universal Catalog service endpoint you are calling (for example, us-central1 )
  • DATA_PRODUCT_ID : the ID of your data product
  • ASPECT_PROJECT_NUMBER : the Google Cloud project number where the aspect is created
  • ASPECT_LOCATION : the region of the Dataplex Universal Catalog service endpoint where the aspect is created (for example, us-central1 )
  • ASPECT_NAME : the name of the aspect you want to attach to the data product

For general information on the import process, refer to the Terraform import documentation .

Add documentation

Documentation provides the essential context for consumers to understand and use a data product effectively. You can include rich-text details such as user guides, sample SQL queries, and business logic descriptions to help users generate insights from the underlying assets. In Dataplex Universal Catalog, documentation is managed through the overview system aspect.

To add documentation for the data product, follow these steps:

Console

  1. In the Add additional detailspane, click Editnext to Documentation.

  2. Type in the content in the rich-text editor.

  3. Click Save.

    The newly created data product appears on the Dataplex Universal Catalog Data productspage.

REST

Documentation is modeled as aspects on the data product. To add documentation, use the entries.patch method.

For example, send the following PATCH request:

 curl -X PATCH \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
-d \
'{
  "aspects": {
    "dataplex-types.global.overview": {
      "aspectType": "projects/dataplex-types/locations/global/aspectTypes/overview",
      "data": {
        "content": " DOCUMENTATION 
"
      }
    }
  }
}' \
"https://dataplex.googleapis.com/v1/projects/ PROJECT_ID 
/locations/ LOCATION 
/entryGroups/@dataplex/entries/projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ DATA_PRODUCT_LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
?updateMask=aspects" 

Replace the following:

  • PROJECT_ID : the ID of your Google Cloud project where the API call is being made
  • LOCATION : the region of the Dataplex Universal Catalog service endpoint you are calling (for example, us-central1 )
  • DATA_PRODUCT_PROJECT_NUMBER : the project number where the data product resource is located
  • DATA_PRODUCT_LOCATION : the location of the data product resource
  • DATA_PRODUCT_ID : the ID of your data product
  • DOCUMENTATION : the content that you want to attach to the data product

Terraform

Documentation is modeled as aspects on the data product. To manage documentation, you must manage the underlying Dataplex Universal Catalog entry. Because Terraform doesn't automatically discover existing aspects, you must first import the google_dataplex_entry .

To import the entry, use the following command:

 terraform import google_dataplex_entry.data_product_metadata "projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ LOCATION 
/entryGroups/@dataplex/entries/projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
" 

Terraform configuration:

 resource "google_dataplex_entry" "data_product_metadata" {
project        = " DATA_PRODUCT_PROJECT_NUMBER 
"
location       = " LOCATION 
"
entry_group_id = "@dataplex"
entry_id       = "projects/ DATA_PRODUCT_PROJECT_NUMBER 
/locations/ LOCATION 
/dataProducts/ DATA_PRODUCT_ID 
"
entry_type     = "projects/655216118709/locations/global/entryTypes/data-product"

aspects {
  aspect_key = "655216118709.global.overview"
  aspect {
    data = jsonencode({
      content = " DOCUMENTATION 
"
    })
  }
}

provider = google-beta
} 

Replace the following:

  • DATA_PRODUCT_PROJECT_NUMBER : the project number where the data product resource is located
  • LOCATION : the region of the Dataplex Universal Catalog service endpoint you are calling (for example, us-central1 )
  • DATA_PRODUCT_ID : the ID of your data product
  • DOCUMENTATION : the content that you want to attach to the data product

For general information on the import process, refer to the Terraform import documentation .

What's next

Design a Mobile Site
View Site in Mobile | Classic
Share by: