Skip to content

Commit f878578

Browse files
Google APIscopybara-github
authored andcommitted
feat:Enable Vertex AI Ingestion on DataPlex
PiperOrigin-RevId: 568623212
1 parent 50f0c7d commit f878578

2 files changed

Lines changed: 134 additions & 0 deletions

File tree

google/cloud/datacatalog/v1/common.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ enum IntegratedSystem {
6363

6464
// Looker
6565
LOOKER = 9;
66+
67+
// Vertex AI
68+
VERTEX_AI = 10;
6669
}
6770

6871
// This enum describes all the systems that manage

google/cloud/datacatalog/v1/datacatalog.proto

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,12 +1172,18 @@ message Entry {
11721172
// only for entries with the `ROUTINE` type.
11731173
RoutineSpec routine_spec = 28;
11741174

1175+
// Specification that applies to a dataset.
1176+
DatasetSpec dataset_spec = 32;
1177+
11751178
// Specification that applies to a fileset resource. Valid only
11761179
// for entries with the `FILESET` type.
11771180
FilesetSpec fileset_spec = 33;
11781181

11791182
// Specification that applies to a Service resource.
11801183
ServiceSpec service_spec = 42;
1184+
1185+
// Model specification.
1186+
ModelSpec model_spec = 43;
11811187
}
11821188

11831189
// Display name of an entry.
@@ -1372,6 +1378,16 @@ message RoutineSpec {
13721378
}
13731379
}
13741380

1381+
// Specification that applies to a dataset. Valid only for
1382+
// entries with the `DATASET` type.
1383+
message DatasetSpec {
1384+
// Fields specific to the source system.
1385+
oneof system_spec {
1386+
// Vertex AI Dataset specific fields
1387+
VertexDatasetSpec vertex_dataset_spec = 2;
1388+
}
1389+
}
1390+
13751391
// Specification that applies to
13761392
// entries that are part `SQL_DATABASE` system
13771393
// (user_specified_type)
@@ -1468,6 +1484,121 @@ message ServiceSpec {
14681484
}
14691485
}
14701486

1487+
// Detail description of the source information of a Vertex model.
1488+
message VertexModelSourceInfo {
1489+
// Source of the model.
1490+
enum ModelSourceType {
1491+
// Should not be used.
1492+
MODEL_SOURCE_TYPE_UNSPECIFIED = 0;
1493+
1494+
// The Model is uploaded by automl training pipeline.
1495+
AUTOML = 1;
1496+
1497+
// The Model is uploaded by user or custom training pipeline.
1498+
CUSTOM = 2;
1499+
1500+
// The Model is registered and sync'ed from BigQuery ML.
1501+
BQML = 3;
1502+
1503+
// The Model is saved or tuned from Model Garden.
1504+
MODEL_GARDEN = 4;
1505+
}
1506+
1507+
// Type of the model source.
1508+
ModelSourceType source_type = 1;
1509+
1510+
// If this Model is copy of another Model. If true then
1511+
// [source_type][google.cloud.datacatalog.v1.VertexModelSourceInfo.source_type]
1512+
// pertains to the original.
1513+
bool copy = 2;
1514+
}
1515+
1516+
// Specification for vertex model resources.
1517+
message VertexModelSpec {
1518+
// The version ID of the model.
1519+
string version_id = 1;
1520+
1521+
// User provided version aliases so that a model version can be referenced via
1522+
// alias
1523+
repeated string version_aliases = 2;
1524+
1525+
// The description of this version.
1526+
string version_description = 3;
1527+
1528+
// Source of a Vertex model.
1529+
VertexModelSourceInfo vertex_model_source_info = 4;
1530+
1531+
// URI of the Docker image to be used as the custom container for serving
1532+
// predictions.
1533+
string container_image_uri = 5;
1534+
}
1535+
1536+
// Specification for vertex dataset resources.
1537+
message VertexDatasetSpec {
1538+
// Type of data stored in the dataset.
1539+
enum DataType {
1540+
// Should not be used.
1541+
DATA_TYPE_UNSPECIFIED = 0;
1542+
1543+
// Structured data dataset.
1544+
TABLE = 1;
1545+
1546+
// Image dataset which supports ImageClassification, ImageObjectDetection
1547+
// and ImageSegmentation problems.
1548+
IMAGE = 2;
1549+
1550+
// Document dataset which supports TextClassification, TextExtraction and
1551+
// TextSentiment problems.
1552+
TEXT = 3;
1553+
1554+
// Video dataset which supports VideoClassification, VideoObjectTracking and
1555+
// VideoActionRecognition problems.
1556+
VIDEO = 4;
1557+
1558+
// Conversation dataset which supports conversation problems.
1559+
CONVERSATION = 5;
1560+
1561+
// TimeSeries dataset.
1562+
TIME_SERIES = 6;
1563+
1564+
// Document dataset which supports DocumentAnnotation problems.
1565+
DOCUMENT = 7;
1566+
1567+
// TextToSpeech dataset which supports TextToSpeech problems.
1568+
TEXT_TO_SPEECH = 8;
1569+
1570+
// Translation dataset which supports Translation problems.
1571+
TRANSLATION = 9;
1572+
1573+
// Store Vision dataset which is used for HITL integration.
1574+
STORE_VISION = 10;
1575+
1576+
// Enterprise Knowledge Graph dataset which is used for HITL labeling
1577+
// integration.
1578+
ENTERPRISE_KNOWLEDGE_GRAPH = 11;
1579+
1580+
// Text prompt dataset which supports Large Language Models.
1581+
TEXT_PROMPT = 12;
1582+
}
1583+
1584+
// The number of DataItems in this Dataset. Only apply for non-structured
1585+
// Dataset.
1586+
int64 data_item_count = 1;
1587+
1588+
// Type of the dataset.
1589+
DataType data_type = 2;
1590+
}
1591+
1592+
// Specification that applies to a model. Valid only for
1593+
// entries with the `MODEL` type.
1594+
message ModelSpec {
1595+
// System spec
1596+
oneof system_spec {
1597+
// Specification for vertex model resources.
1598+
VertexModelSpec vertex_model_spec = 1;
1599+
}
1600+
}
1601+
14711602
// Business Context of the entry.
14721603
message BusinessContext {
14731604
// Entry overview fields for rich text descriptions of entries.

0 commit comments

Comments
 (0)