Skip to content

Commit e0ea31c

Browse files
feat: [google-cloud-datacatalog] A new field feature_online_store_spec is added to message .google.cloud.datacatalog.v1.Entry (#13277)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: A new value `GENIE` is added to enum `ModelSourceType` feat: A new value `CUSTOM_TEXT_EMBEDDING` is added to enum `ModelSourceType` feat: A new value `MARKETPLACE` is added to enum `ModelSourceType` feat: A new message `FeatureOnlineStoreSpec` is added feat: A new value `FEATURE_ONLINE_STORE` is added to enum `EntryType` feat: A new value `FEATURE_VIEW` is added to enum `EntryType` feat: A new value `FEATURE_GROUP` is added to enum `EntryType` feat: A new enum `DataplexTransferStatus` is added feat: A new field `dataplex_transfer_status` is added to message `.google.cloud.datacatalog.v1.TagTemplate` docs: A comment for field `name` in message `.google.cloud.datacatalog.v1.Entry` is changed docs: A comment for field `name` in message `.google.cloud.datacatalog.v1.EntryGroup` is changed docs: A comment for field `name` in message `.google.cloud.datacatalog.v1.Tag` is changed docs: A comment for field `name` in message `.google.cloud.datacatalog.v1.TagTemplate` is changed docs: A comment for field `name` in message `.google.cloud.datacatalog.v1.TagTemplateField` is changed feat: A new field `feature_online_store_spec` is added to message `.google.cloud.datacatalog.v1.Entry` END_COMMIT_OVERRIDE PiperOrigin-RevId: 696237619 Source-Link: googleapis/googleapis@c760a77 Source-Link: googleapis/googleapis-gen@f790d3c Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFjYXRhbG9nLy5Pd2xCb3QueWFtbCIsImgiOiJmNzkwZDNjMmM4MWY3OGU5NTg3ZjgwNTIyMzJjNjU1ZmE3NDJjMWQ0In0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 03e1057 commit e0ea31c

17 files changed

+155
-22
lines changed

packages/google-cloud-datacatalog/google/cloud/datacatalog/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
EntryGroup,
6868
EntryOverview,
6969
EntryType,
70+
FeatureOnlineStoreSpec,
7071
FilesetSpec,
7172
GetEntryGroupRequest,
7273
GetEntryRequest,
@@ -208,6 +209,7 @@
208209
"Entry",
209210
"EntryGroup",
210211
"EntryOverview",
212+
"FeatureOnlineStoreSpec",
211213
"FilesetSpec",
212214
"GetEntryGroupRequest",
213215
"GetEntryRequest",

packages/google-cloud-datacatalog/google/cloud/datacatalog/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.21.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
EntryGroup,
5757
EntryOverview,
5858
EntryType,
59+
FeatureOnlineStoreSpec,
5960
FilesetSpec,
6061
GetEntryGroupRequest,
6162
GetEntryRequest,
@@ -192,6 +193,7 @@
192193
"EntryType",
193194
"ExportTaxonomiesRequest",
194195
"ExportTaxonomiesResponse",
196+
"FeatureOnlineStoreSpec",
195197
"FieldType",
196198
"FilesetSpec",
197199
"GcsFileSpec",

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.21.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1/services/data_catalog/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ async def sample_create_entry():
11211121
11221122
# Initialize request argument(s)
11231123
entry = datacatalog_v1.Entry()
1124-
entry.type_ = "LOOK"
1124+
entry.type_ = "FEATURE_GROUP"
11251125
entry.integrated_system = "VERTEX_AI"
11261126
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
11271127
@@ -1271,7 +1271,7 @@ async def sample_update_entry():
12711271
12721272
# Initialize request argument(s)
12731273
entry = datacatalog_v1.Entry()
1274-
entry.type_ = "LOOK"
1274+
entry.type_ = "FEATURE_GROUP"
12751275
entry.integrated_system = "VERTEX_AI"
12761276
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
12771277

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1/services/data_catalog/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ def sample_create_entry():
15971597
15981598
# Initialize request argument(s)
15991599
entry = datacatalog_v1.Entry()
1600-
entry.type_ = "LOOK"
1600+
entry.type_ = "FEATURE_GROUP"
16011601
entry.integrated_system = "VERTEX_AI"
16021602
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
16031603
@@ -1744,7 +1744,7 @@ def sample_update_entry():
17441744
17451745
# Initialize request argument(s)
17461746
entry = datacatalog_v1.Entry()
1747-
entry.type_ = "LOOK"
1747+
entry.type_ = "FEATURE_GROUP"
17481748
entry.integrated_system = "VERTEX_AI"
17491749
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
17501750

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
EntryGroup,
4343
EntryOverview,
4444
EntryType,
45+
FeatureOnlineStoreSpec,
4546
FilesetSpec,
4647
GetEntryGroupRequest,
4748
GetEntryRequest,
@@ -161,6 +162,7 @@
161162
"Entry",
162163
"EntryGroup",
163164
"EntryOverview",
165+
"FeatureOnlineStoreSpec",
164166
"FilesetSpec",
165167
"GetEntryGroupRequest",
166168
"GetEntryRequest",

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1/types/datacatalog.py

Lines changed: 71 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"VertexModelSpec",
6363
"VertexDatasetSpec",
6464
"ModelSpec",
65+
"FeatureOnlineStoreSpec",
6566
"BusinessContext",
6667
"EntryOverview",
6768
"Contacts",
@@ -161,6 +162,15 @@ class EntryType(proto.Enum):
161162
162163
For more information, see [Looker Look API]
163164
(https://developers.looker.com/api/explorer/4.0/methods/Look).
165+
FEATURE_ONLINE_STORE (19):
166+
Feature Online Store resource in Vertex AI
167+
Feature Store.
168+
FEATURE_VIEW (20):
169+
Feature View resource in Vertex AI Feature
170+
Store.
171+
FEATURE_GROUP (21):
172+
Feature Group resource in Vertex AI Feature
173+
Store.
164174
"""
165175
ENTRY_TYPE_UNSPECIFIED = 0
166176
TABLE = 2
@@ -178,6 +188,9 @@ class EntryType(proto.Enum):
178188
DASHBOARD = 16
179189
EXPLORE = 17
180190
LOOK = 18
191+
FEATURE_ONLINE_STORE = 19
192+
FEATURE_VIEW = 20
193+
FEATURE_GROUP = 21
181194

182195

183196
class SearchCatalogRequest(proto.Message):
@@ -807,8 +820,8 @@ class Entry(proto.Message):
807820
808821
Attributes:
809822
name (str):
810-
Output only. The resource name of an entry in
811-
URL format.
823+
Output only. Identifier. The resource name of
824+
an entry in URL format.
812825
Note: The entry itself and its child resources
813826
might not be stored in the location specified in
814827
its name.
@@ -953,6 +966,11 @@ class Entry(proto.Message):
953966
model_spec (google.cloud.datacatalog_v1.types.ModelSpec):
954967
Model specification.
955968
969+
This field is a member of `oneof`_ ``spec``.
970+
feature_online_store_spec (google.cloud.datacatalog_v1.types.FeatureOnlineStoreSpec):
971+
FeatureonlineStore spec for Vertex AI Feature
972+
Store.
973+
956974
This field is a member of `oneof`_ ``spec``.
957975
display_name (str):
958976
Display name of an entry.
@@ -1112,6 +1130,12 @@ class Entry(proto.Message):
11121130
oneof="spec",
11131131
message="ModelSpec",
11141132
)
1133+
feature_online_store_spec: "FeatureOnlineStoreSpec" = proto.Field(
1134+
proto.MESSAGE,
1135+
number=45,
1136+
oneof="spec",
1137+
message="FeatureOnlineStoreSpec",
1138+
)
11151139
display_name: str = proto.Field(
11161140
proto.STRING,
11171141
number=3,
@@ -1644,12 +1668,22 @@ class ModelSourceType(proto.Enum):
16441668
MODEL_GARDEN (4):
16451669
The Model is saved or tuned from Model
16461670
Garden.
1671+
GENIE (5):
1672+
The Model is saved or tuned from Genie.
1673+
CUSTOM_TEXT_EMBEDDING (6):
1674+
The Model is uploaded by text embedding
1675+
finetuning pipeline.
1676+
MARKETPLACE (7):
1677+
The Model is saved or tuned from Marketplace.
16471678
"""
16481679
MODEL_SOURCE_TYPE_UNSPECIFIED = 0
16491680
AUTOML = 1
16501681
CUSTOM = 2
16511682
BQML = 3
16521683
MODEL_GARDEN = 4
1684+
GENIE = 5
1685+
CUSTOM_TEXT_EMBEDDING = 6
1686+
MARKETPLACE = 7
16531687

16541688
source_type: ModelSourceType = proto.Field(
16551689
proto.ENUM,
@@ -1805,6 +1839,39 @@ class ModelSpec(proto.Message):
18051839
)
18061840

18071841

1842+
class FeatureOnlineStoreSpec(proto.Message):
1843+
r"""Detail description of the source information of a Vertex
1844+
Feature Online Store.
1845+
1846+
Attributes:
1847+
storage_type (google.cloud.datacatalog_v1.types.FeatureOnlineStoreSpec.StorageType):
1848+
Output only. Type of underelaying storage for
1849+
the FeatureOnlineStore.
1850+
"""
1851+
1852+
class StorageType(proto.Enum):
1853+
r"""Type of underlaying storage type.
1854+
1855+
Values:
1856+
STORAGE_TYPE_UNSPECIFIED (0):
1857+
Should not be used.
1858+
BIGTABLE (1):
1859+
Underlsying storgae is Bigtable.
1860+
OPTIMIZED (2):
1861+
Underlaying is optimized online server
1862+
(Lightning).
1863+
"""
1864+
STORAGE_TYPE_UNSPECIFIED = 0
1865+
BIGTABLE = 1
1866+
OPTIMIZED = 2
1867+
1868+
storage_type: StorageType = proto.Field(
1869+
proto.ENUM,
1870+
number=1,
1871+
enum=StorageType,
1872+
)
1873+
1874+
18081875
class BusinessContext(proto.Message):
18091876
r"""Business Context of the entry.
18101877
@@ -1894,8 +1961,8 @@ class EntryGroup(proto.Message):
18941961
18951962
Attributes:
18961963
name (str):
1897-
The resource name of the entry group in URL
1898-
format.
1964+
Identifier. The resource name of the entry
1965+
group in URL format.
18991966
Note: The entry group itself and its child
19001967
resources might not be stored in the location
19011968
specified in its name.

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1/types/tags.py

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ class Tag(proto.Message):
4646
4747
Attributes:
4848
name (str):
49-
The resource name of the tag in URL format
50-
where tag ID is a system-generated identifier.
49+
Identifier. The resource name of the tag in
50+
URL format where tag ID is a system-generated
51+
identifier.
5152
5253
Note: The tag itself might not be stored in the
5354
location specified in its name.
@@ -234,8 +235,8 @@ class TagTemplate(proto.Message):
234235
235236
Attributes:
236237
name (str):
237-
The resource name of the tag template in URL
238-
format.
238+
Identifier. The resource name of the tag
239+
template in URL format.
239240
Note: The tag template itself and its child
240241
resources might not be stored in the location
241242
specified in its name.
@@ -268,8 +269,29 @@ class TagTemplate(proto.Message):
268269
- Must be at least 1 character and at most 64 characters
269270
long.
270271
- Must start with a letter or underscore.
272+
dataplex_transfer_status (google.cloud.datacatalog_v1.types.TagTemplate.DataplexTransferStatus):
273+
Optional. Transfer status of the TagTemplate
271274
"""
272275

276+
class DataplexTransferStatus(proto.Enum):
277+
r"""This enum describes TagTemplate transfer status to Dataplex
278+
service.
279+
280+
Values:
281+
DATAPLEX_TRANSFER_STATUS_UNSPECIFIED (0):
282+
Default value. TagTemplate and its tags are
283+
only visible and editable in DataCatalog.
284+
MIGRATED (1):
285+
TagTemplate and its tags are auto-copied to
286+
Dataplex service. Visible in both services.
287+
Editable in DataCatalog, read-only in Dataplex.
288+
Deprecated: Individual TagTemplate migration is
289+
deprecated in favor of organization or project
290+
wide TagTemplate migration opt-in.
291+
"""
292+
DATAPLEX_TRANSFER_STATUS_UNSPECIFIED = 0
293+
MIGRATED = 1
294+
273295
name: str = proto.Field(
274296
proto.STRING,
275297
number=1,
@@ -288,14 +310,19 @@ class TagTemplate(proto.Message):
288310
number=3,
289311
message="TagTemplateField",
290312
)
313+
dataplex_transfer_status: DataplexTransferStatus = proto.Field(
314+
proto.ENUM,
315+
number=7,
316+
enum=DataplexTransferStatus,
317+
)
291318

292319

293320
class TagTemplateField(proto.Message):
294321
r"""The template for an individual field within a tag template.
295322
296323
Attributes:
297324
name (str):
298-
Output only. The resource name of the tag template field in
325+
Identifier. The resource name of the tag template field in
299326
URL format. Example:
300327
301328
``projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}``

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1beta1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.21.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-datacatalog/samples/generated_samples/datacatalog_v1_generated_data_catalog_create_entry_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async def sample_create_entry():
4040

4141
# Initialize request argument(s)
4242
entry = datacatalog_v1.Entry()
43-
entry.type_ = "LOOK"
43+
entry.type_ = "FEATURE_GROUP"
4444
entry.integrated_system = "VERTEX_AI"
4545
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
4646

packages/google-cloud-datacatalog/samples/generated_samples/datacatalog_v1_generated_data_catalog_create_entry_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def sample_create_entry():
4040

4141
# Initialize request argument(s)
4242
entry = datacatalog_v1.Entry()
43-
entry.type_ = "LOOK"
43+
entry.type_ = "FEATURE_GROUP"
4444
entry.integrated_system = "VERTEX_AI"
4545
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
4646

packages/google-cloud-datacatalog/samples/generated_samples/datacatalog_v1_generated_data_catalog_update_entry_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async def sample_update_entry():
4040

4141
# Initialize request argument(s)
4242
entry = datacatalog_v1.Entry()
43-
entry.type_ = "LOOK"
43+
entry.type_ = "FEATURE_GROUP"
4444
entry.integrated_system = "VERTEX_AI"
4545
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
4646

packages/google-cloud-datacatalog/samples/generated_samples/datacatalog_v1_generated_data_catalog_update_entry_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def sample_update_entry():
4040

4141
# Initialize request argument(s)
4242
entry = datacatalog_v1.Entry()
43-
entry.type_ = "LOOK"
43+
entry.type_ = "FEATURE_GROUP"
4444
entry.integrated_system = "VERTEX_AI"
4545
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
4646

packages/google-cloud-datacatalog/samples/generated_samples/snippet_metadata_google.cloud.datacatalog.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-datacatalog",
11-
"version": "3.21.1"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-datacatalog/samples/generated_samples/snippet_metadata_google.cloud.datacatalog.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-datacatalog",
11-
"version": "3.21.1"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)