Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enable Vertex AI Ingestion on DataPlex #11762

Merged
merged 4 commits into from
Sep 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/google-cloud-datacatalog/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ Running System Tests
$ nox -s system

# Run a single system test
$ nox -s system- -- -k <name of test>
$ nox -s system-3.11 -- -k <name of test>


.. note::

System tests are only configured to run under Python.
System tests are only configured to run under Python 3.8, 3.9, 3.10 and 3.11.
For expediency, we do not run them in older versions of Python 3.

This alone will not run the tests. You'll need to change some local
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
CreateTagTemplateFieldRequest,
CreateTagTemplateRequest,
DatabaseTableSpec,
DatasetSpec,
DataSourceConnectionSpec,
DeleteEntryGroupRequest,
DeleteEntryRequest,
Expand All @@ -81,6 +82,7 @@
ListTagsResponse,
LookerSystemSpec,
LookupEntryRequest,
ModelSpec,
ModifyEntryContactsRequest,
ModifyEntryOverviewRequest,
ReconcileTagsMetadata,
Expand All @@ -102,6 +104,9 @@
UpdateTagRequest,
UpdateTagTemplateFieldRequest,
UpdateTagTemplateRequest,
VertexDatasetSpec,
VertexModelSourceInfo,
VertexModelSpec,
)
from google.cloud.datacatalog_v1.types.dataplex_spec import (
DataplexExternalTable,
Expand Down Expand Up @@ -193,6 +198,7 @@
"CreateTagTemplateFieldRequest",
"CreateTagTemplateRequest",
"DatabaseTableSpec",
"DatasetSpec",
"DataSourceConnectionSpec",
"DeleteEntryGroupRequest",
"DeleteEntryRequest",
Expand All @@ -217,6 +223,7 @@
"ListTagsResponse",
"LookerSystemSpec",
"LookupEntryRequest",
"ModelSpec",
"ModifyEntryContactsRequest",
"ModifyEntryOverviewRequest",
"ReconcileTagsMetadata",
Expand All @@ -238,6 +245,9 @@
"UpdateTagRequest",
"UpdateTagTemplateFieldRequest",
"UpdateTagTemplateRequest",
"VertexDatasetSpec",
"VertexModelSourceInfo",
"VertexModelSpec",
"EntryType",
"DataplexExternalTable",
"DataplexFilesetSpec",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "3.15.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
CreateTagTemplateFieldRequest,
CreateTagTemplateRequest,
DatabaseTableSpec,
DatasetSpec,
DataSourceConnectionSpec,
DeleteEntryGroupRequest,
DeleteEntryRequest,
Expand All @@ -70,6 +71,7 @@
ListTagsResponse,
LookerSystemSpec,
LookupEntryRequest,
ModelSpec,
ModifyEntryContactsRequest,
ModifyEntryOverviewRequest,
ReconcileTagsMetadata,
Expand All @@ -91,6 +93,9 @@
UpdateTagRequest,
UpdateTagTemplateFieldRequest,
UpdateTagTemplateRequest,
VertexDatasetSpec,
VertexModelSourceInfo,
VertexModelSpec,
)
from .types.dataplex_spec import (
DataplexExternalTable,
Expand Down Expand Up @@ -172,6 +177,7 @@
"DataplexFilesetSpec",
"DataplexSpec",
"DataplexTableSpec",
"DatasetSpec",
"DeleteEntryGroupRequest",
"DeleteEntryRequest",
"DeletePolicyTagRequest",
Expand Down Expand Up @@ -215,6 +221,7 @@
"LookerSystemSpec",
"LookupEntryRequest",
"ManagingSystem",
"ModelSpec",
"ModifyEntryContactsRequest",
"ModifyEntryOverviewRequest",
"PersonalDetails",
Expand Down Expand Up @@ -261,5 +268,8 @@
"UpdateTaxonomyRequest",
"UsageSignal",
"UsageStats",
"VertexDatasetSpec",
"VertexModelSourceInfo",
"VertexModelSpec",
"ViewSpec",
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "3.15.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ async def sample_create_entry():
# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.integrated_system = "LOOKER"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']

request = datacatalog_v1.CreateEntryRequest(
Expand Down Expand Up @@ -1200,7 +1200,7 @@ async def sample_update_entry():
# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.integrated_system = "LOOKER"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']

request = datacatalog_v1.UpdateEntryRequest(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ def sample_create_entry():
# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.integrated_system = "LOOKER"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']

request = datacatalog_v1.CreateEntryRequest(
Expand Down Expand Up @@ -1537,7 +1537,7 @@ def sample_update_entry():
# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.integrated_system = "LOOKER"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']

request = datacatalog_v1.UpdateEntryRequest(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
CreateTagTemplateFieldRequest,
CreateTagTemplateRequest,
DatabaseTableSpec,
DatasetSpec,
DataSourceConnectionSpec,
DeleteEntryGroupRequest,
DeleteEntryRequest,
Expand All @@ -56,6 +57,7 @@
ListTagsResponse,
LookerSystemSpec,
LookupEntryRequest,
ModelSpec,
ModifyEntryContactsRequest,
ModifyEntryOverviewRequest,
ReconcileTagsMetadata,
Expand All @@ -77,6 +79,9 @@
UpdateTagRequest,
UpdateTagTemplateFieldRequest,
UpdateTagTemplateRequest,
VertexDatasetSpec,
VertexModelSourceInfo,
VertexModelSpec,
)
from .dataplex_spec import (
DataplexExternalTable,
Expand Down Expand Up @@ -146,6 +151,7 @@
"CreateTagTemplateFieldRequest",
"CreateTagTemplateRequest",
"DatabaseTableSpec",
"DatasetSpec",
"DataSourceConnectionSpec",
"DeleteEntryGroupRequest",
"DeleteEntryRequest",
Expand All @@ -170,6 +176,7 @@
"ListTagsResponse",
"LookerSystemSpec",
"LookupEntryRequest",
"ModelSpec",
"ModifyEntryContactsRequest",
"ModifyEntryOverviewRequest",
"ReconcileTagsMetadata",
Expand All @@ -191,6 +198,9 @@
"UpdateTagRequest",
"UpdateTagTemplateFieldRequest",
"UpdateTagTemplateRequest",
"VertexDatasetSpec",
"VertexModelSourceInfo",
"VertexModelSpec",
"EntryType",
"DataplexExternalTable",
"DataplexFilesetSpec",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ class IntegratedSystem(proto.Enum):
Cloud Sql
LOOKER (9):
Looker
VERTEX_AI (10):
Vertex AI
"""
INTEGRATED_SYSTEM_UNSPECIFIED = 0
BIGQUERY = 1
Expand All @@ -63,6 +65,7 @@ class IntegratedSystem(proto.Enum):
CLOUD_BIGTABLE = 7
CLOUD_SQL = 8
LOOKER = 9
VERTEX_AI = 10


class ManagingSystem(proto.Enum):
Expand Down
Loading