You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> [!IMPORTANT]
> **Stacked Changeset:** This PR depends on changes in previous PRs
(googleapis#3337, googleapis#3499, googleapis#3500, googleapis#3503).
> - **Please merge previous PRs first** before reviewing/merging this
one.
> - The file diff below will appear large as it includes its ancestors'
commits. It will resolve itself once the preceding PRs are merged and
this branch is synced.
This PR implements the dataplex-create-data-product tool for the
Dataplex
(Knowledge Catalog) source. Since creation is a Long-Running Operation
(LRO),
the tool immediately returns the operation ID to allow asynchronous
polling.
Changes overview:
- Dataplex Source: Implemented CreateDataProduct which starts the
creation
process and returns the immediate LRO details.
- New Tool: Created the dataplex-create-data-product tool exposing
locationId , dataProductId , displayName , description , ownerEmails ,
and accessGroups parameters.
- Tests:
- Added unit tests for tool configuration parsing.
- Added integration tests verifying LRO triggers and access
restrictions.
- Documentation: Created the reference page for the tool, updated the
Dataplex source guide to cover LRO polling, and added it to the
capabilities list.
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
*`data-products`: Data Products and Data Assets curation and management toolset (`search_entries`, `lookup_entry`, `search_aspect_types`, `lookup_context`, `list_data_products`, `get_data_product`, `list_data_assets`, `get_data_asset`).
41
+
*`data-products`: Data Products and Data Assets curation and management toolset (`search_entries`, `lookup_entry`, `search_aspect_types`, `lookup_context`, `list_data_products`, `get_data_product`, `list_data_assets`, `get_data_asset`, `create_data_product`).
A "dataplex-create-data-product" tool allows to create a new Data Product.
7
+
---
8
+
9
+
## About
10
+
11
+
A `dataplex-create-data-product` tool creates a new Data Product in Knowledge Catalog (formerly known as Dataplex). This is a long-running operation, and the tool returns immediately with the operation's location ID and operation ID.
12
+
13
+
View the [Data Products guide][guide] for more information.
| locationId | string | true | The location ID (e.g. `us`, `us-central1`) where the Data Product should be created. |
50
+
| dataProductId | string | false | The unique ID of the Data Product to create. If not specified, the backend will auto-generate a unique ID. |
51
+
| displayName | string | true | The display name of the Data Product. |
52
+
| description | string | false | The description of the Data Product. |
53
+
| ownerEmails | array of strings | true | The list of owner emails for the Data Product. |
54
+
| accessGroups | array of objects | false | List of access groups to associate with the Data Product. Each group object can contain: `id` (required), `displayName` (required), `description`, and at least one of `googleGroup` and `serviceAccount`. |
55
+
56
+
## Example
57
+
58
+
```yaml
59
+
kind: tool
60
+
name: create_data_product
61
+
type: dataplex-create-data-product
62
+
source: my-dataplex-source
63
+
description: Use this tool to create a Data Product.
0 commit comments