Skip to content

Commit

Permalink
feat: [google-cloud-datacatalog] A new field `feature_online_store_sp…
Browse files Browse the repository at this point in the history
…ec` 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Nov 14, 2024
1 parent 03e1057 commit e0ea31c
Show file tree
Hide file tree
Showing 17 changed files with 155 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
EntryGroup,
EntryOverview,
EntryType,
FeatureOnlineStoreSpec,
FilesetSpec,
GetEntryGroupRequest,
GetEntryRequest,
Expand Down Expand Up @@ -208,6 +209,7 @@
"Entry",
"EntryGroup",
"EntryOverview",
"FeatureOnlineStoreSpec",
"FilesetSpec",
"GetEntryGroupRequest",
"GetEntryRequest",
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.21.1" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
EntryGroup,
EntryOverview,
EntryType,
FeatureOnlineStoreSpec,
FilesetSpec,
GetEntryGroupRequest,
GetEntryRequest,
Expand Down Expand Up @@ -192,6 +193,7 @@
"EntryType",
"ExportTaxonomiesRequest",
"ExportTaxonomiesResponse",
"FeatureOnlineStoreSpec",
"FieldType",
"FilesetSpec",
"GcsFileSpec",
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.21.1" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ async def sample_create_entry():
# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.type_ = "FEATURE_GROUP"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
Expand Down Expand Up @@ -1271,7 +1271,7 @@ async def sample_update_entry():
# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.type_ = "FEATURE_GROUP"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ def sample_create_entry():
# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.type_ = "FEATURE_GROUP"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
Expand Down Expand Up @@ -1744,7 +1744,7 @@ def sample_update_entry():
# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.type_ = "FEATURE_GROUP"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
EntryGroup,
EntryOverview,
EntryType,
FeatureOnlineStoreSpec,
FilesetSpec,
GetEntryGroupRequest,
GetEntryRequest,
Expand Down Expand Up @@ -161,6 +162,7 @@
"Entry",
"EntryGroup",
"EntryOverview",
"FeatureOnlineStoreSpec",
"FilesetSpec",
"GetEntryGroupRequest",
"GetEntryRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"VertexModelSpec",
"VertexDatasetSpec",
"ModelSpec",
"FeatureOnlineStoreSpec",
"BusinessContext",
"EntryOverview",
"Contacts",
Expand Down Expand Up @@ -161,6 +162,15 @@ class EntryType(proto.Enum):
For more information, see [Looker Look API]
(https://developers.looker.com/api/explorer/4.0/methods/Look).
FEATURE_ONLINE_STORE (19):
Feature Online Store resource in Vertex AI
Feature Store.
FEATURE_VIEW (20):
Feature View resource in Vertex AI Feature
Store.
FEATURE_GROUP (21):
Feature Group resource in Vertex AI Feature
Store.
"""
ENTRY_TYPE_UNSPECIFIED = 0
TABLE = 2
Expand All @@ -178,6 +188,9 @@ class EntryType(proto.Enum):
DASHBOARD = 16
EXPLORE = 17
LOOK = 18
FEATURE_ONLINE_STORE = 19
FEATURE_VIEW = 20
FEATURE_GROUP = 21


class SearchCatalogRequest(proto.Message):
Expand Down Expand Up @@ -807,8 +820,8 @@ class Entry(proto.Message):
Attributes:
name (str):
Output only. The resource name of an entry in
URL format.
Output only. Identifier. The resource name of
an entry in URL format.
Note: The entry itself and its child resources
might not be stored in the location specified in
its name.
Expand Down Expand Up @@ -953,6 +966,11 @@ class Entry(proto.Message):
model_spec (google.cloud.datacatalog_v1.types.ModelSpec):
Model specification.
This field is a member of `oneof`_ ``spec``.
feature_online_store_spec (google.cloud.datacatalog_v1.types.FeatureOnlineStoreSpec):
FeatureonlineStore spec for Vertex AI Feature
Store.
This field is a member of `oneof`_ ``spec``.
display_name (str):
Display name of an entry.
Expand Down Expand Up @@ -1112,6 +1130,12 @@ class Entry(proto.Message):
oneof="spec",
message="ModelSpec",
)
feature_online_store_spec: "FeatureOnlineStoreSpec" = proto.Field(
proto.MESSAGE,
number=45,
oneof="spec",
message="FeatureOnlineStoreSpec",
)
display_name: str = proto.Field(
proto.STRING,
number=3,
Expand Down Expand Up @@ -1644,12 +1668,22 @@ class ModelSourceType(proto.Enum):
MODEL_GARDEN (4):
The Model is saved or tuned from Model
Garden.
GENIE (5):
The Model is saved or tuned from Genie.
CUSTOM_TEXT_EMBEDDING (6):
The Model is uploaded by text embedding
finetuning pipeline.
MARKETPLACE (7):
The Model is saved or tuned from Marketplace.
"""
MODEL_SOURCE_TYPE_UNSPECIFIED = 0
AUTOML = 1
CUSTOM = 2
BQML = 3
MODEL_GARDEN = 4
GENIE = 5
CUSTOM_TEXT_EMBEDDING = 6
MARKETPLACE = 7

source_type: ModelSourceType = proto.Field(
proto.ENUM,
Expand Down Expand Up @@ -1805,6 +1839,39 @@ class ModelSpec(proto.Message):
)


class FeatureOnlineStoreSpec(proto.Message):
r"""Detail description of the source information of a Vertex
Feature Online Store.
Attributes:
storage_type (google.cloud.datacatalog_v1.types.FeatureOnlineStoreSpec.StorageType):
Output only. Type of underelaying storage for
the FeatureOnlineStore.
"""

class StorageType(proto.Enum):
r"""Type of underlaying storage type.
Values:
STORAGE_TYPE_UNSPECIFIED (0):
Should not be used.
BIGTABLE (1):
Underlsying storgae is Bigtable.
OPTIMIZED (2):
Underlaying is optimized online server
(Lightning).
"""
STORAGE_TYPE_UNSPECIFIED = 0
BIGTABLE = 1
OPTIMIZED = 2

storage_type: StorageType = proto.Field(
proto.ENUM,
number=1,
enum=StorageType,
)


class BusinessContext(proto.Message):
r"""Business Context of the entry.
Expand Down Expand Up @@ -1894,8 +1961,8 @@ class EntryGroup(proto.Message):
Attributes:
name (str):
The resource name of the entry group in URL
format.
Identifier. The resource name of the entry
group in URL format.
Note: The entry group itself and its child
resources might not be stored in the location
specified in its name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ class Tag(proto.Message):
Attributes:
name (str):
The resource name of the tag in URL format
where tag ID is a system-generated identifier.
Identifier. The resource name of the tag in
URL format where tag ID is a system-generated
identifier.
Note: The tag itself might not be stored in the
location specified in its name.
Expand Down Expand Up @@ -234,8 +235,8 @@ class TagTemplate(proto.Message):
Attributes:
name (str):
The resource name of the tag template in URL
format.
Identifier. The resource name of the tag
template in URL format.
Note: The tag template itself and its child
resources might not be stored in the location
specified in its name.
Expand Down Expand Up @@ -268,8 +269,29 @@ class TagTemplate(proto.Message):
- Must be at least 1 character and at most 64 characters
long.
- Must start with a letter or underscore.
dataplex_transfer_status (google.cloud.datacatalog_v1.types.TagTemplate.DataplexTransferStatus):
Optional. Transfer status of the TagTemplate
"""

class DataplexTransferStatus(proto.Enum):
r"""This enum describes TagTemplate transfer status to Dataplex
service.
Values:
DATAPLEX_TRANSFER_STATUS_UNSPECIFIED (0):
Default value. TagTemplate and its tags are
only visible and editable in DataCatalog.
MIGRATED (1):
TagTemplate and its tags are auto-copied to
Dataplex service. Visible in both services.
Editable in DataCatalog, read-only in Dataplex.
Deprecated: Individual TagTemplate migration is
deprecated in favor of organization or project
wide TagTemplate migration opt-in.
"""
DATAPLEX_TRANSFER_STATUS_UNSPECIFIED = 0
MIGRATED = 1

name: str = proto.Field(
proto.STRING,
number=1,
Expand All @@ -288,14 +310,19 @@ class TagTemplate(proto.Message):
number=3,
message="TagTemplateField",
)
dataplex_transfer_status: DataplexTransferStatus = proto.Field(
proto.ENUM,
number=7,
enum=DataplexTransferStatus,
)


class TagTemplateField(proto.Message):
r"""The template for an individual field within a tag template.
Attributes:
name (str):
Output only. The resource name of the tag template field in
Identifier. The resource name of the tag template field in
URL format. Example:
``projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}``
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.21.1" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def sample_create_entry():

# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.type_ = "FEATURE_GROUP"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def sample_create_entry():

# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.type_ = "FEATURE_GROUP"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def sample_update_entry():

# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.type_ = "FEATURE_GROUP"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def sample_update_entry():

# Initialize request argument(s)
entry = datacatalog_v1.Entry()
entry.type_ = "LOOK"
entry.type_ = "FEATURE_GROUP"
entry.integrated_system = "VERTEX_AI"
entry.gcs_fileset_spec.file_patterns = ['file_patterns_value1', 'file_patterns_value2']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-datacatalog",
"version": "3.21.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-datacatalog",
"version": "3.21.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Loading

0 comments on commit e0ea31c

Please sign in to comment.