Skip to content

Commit

Permalink
feat: [datacatalog] A new field feature_online_store_spec is added …
Browse files Browse the repository at this point in the history
…to message `.google.cloud.datacatalog.v1.Entry` (#5802)

* chore: remove cc_enable_arenas

PiperOrigin-RevId: 695773127

Source-Link: googleapis/googleapis@74ad19d

Source-Link: googleapis/googleapis-gen@b7ffc9a
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFjYXRhbG9nLy5Pd2xCb3QueWFtbCIsImgiOiJiN2ZmYzlhYmFiN2ExNWI2OGUxYmVmMmNhNmU4ZDA2NTAzOWFmYjg4In0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: A new field `feature_online_store_spec` is added to message `.google.cloud.datacatalog.v1.Entry`
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

PiperOrigin-RevId: 696237619

Source-Link: googleapis/googleapis@c760a77

Source-Link: googleapis/googleapis-gen@f790d3c
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFjYXRhbG9nLy5Pd2xCb3QueWFtbCIsImgiOiJmNzkwZDNjMmM4MWY3OGU5NTg3ZjgwNTIyMzJjNjU1ZmE3NDJjMWQ0In0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

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 8764de1 commit 1467ed6
Show file tree
Hide file tree
Showing 13 changed files with 656 additions and 32 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-datacatalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
1. [Select or create a Cloud Platform project][projects].
1. [Enable billing for your project][billing].
1. [Enable the Data Catalog API][enable_api].
1. [Set up authentication with a service account][auth] so you can access the
1. [Set up authentication][auth] so you can access the
API from your local workstation.

### Installing the client library
Expand Down Expand Up @@ -380,4 +380,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
[projects]: https://console.cloud.google.com/project
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=datacatalog.googleapis.com
[auth]: https://cloud.google.com/docs/authentication/getting-started
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
Original file line number Diff line number Diff line change
Expand Up @@ -1035,12 +1035,13 @@ message Entry {
pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}"
};

// 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.
string name = 1 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.field_behavior) = IDENTIFIER,
(google.api.resource_reference) = {
type: "datacatalog.googleapis.com/EntryGroup"
}
Expand Down Expand Up @@ -1184,6 +1185,9 @@ message Entry {

// Model specification.
ModelSpec model_spec = 43;

// FeatureonlineStore spec for Vertex AI Feature Store.
FeatureOnlineStoreSpec feature_online_store_spec = 45;
}

// Display name of an entry.
Expand Down Expand Up @@ -1502,6 +1506,15 @@ message VertexModelSourceInfo {

// The Model is saved or tuned from Model Garden.
MODEL_GARDEN = 4;

// The Model is saved or tuned from Genie.
GENIE = 5;

// The Model is uploaded by text embedding finetuning pipeline.
CUSTOM_TEXT_EMBEDDING = 6;

// The Model is saved or tuned from Marketplace.
MARKETPLACE = 7;
}

// Type of the model source.
Expand Down Expand Up @@ -1599,6 +1612,25 @@ message ModelSpec {
}
}

// Detail description of the source information of a Vertex Feature Online
// Store.
message FeatureOnlineStoreSpec {
// Type of underlaying storage type.
enum StorageType {
// Should not be used.
STORAGE_TYPE_UNSPECIFIED = 0;

// Underlsying storgae is Bigtable.
BIGTABLE = 1;

// Underlaying is optimized online server (Lightning).
OPTIMIZED = 2;
}

// Output only. Type of underelaying storage for the FeatureOnlineStore.
StorageType storage_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Business Context of the entry.
message BusinessContext {
// Entry overview fields for rich text descriptions of entries.
Expand Down Expand Up @@ -1646,11 +1678,11 @@ message EntryGroup {
pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}"
};

// 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.
string name = 1;
string name = 1 [(google.api.field_behavior) = IDENTIFIER];

// A short name to identify the entry group, for example,
// "analytics data - jan 2011". Default value is an empty string.
Expand Down Expand Up @@ -2245,4 +2277,13 @@ enum EntryType {
// For more information, see [Looker Look API]
// (https://developers.looker.com/api/explorer/4.0/methods/Look).
LOOK = 18;

// Feature Online Store resource in Vertex AI Feature Store.
FEATURE_ONLINE_STORE = 19;

// Feature View resource in Vertex AI Feature Store.
FEATURE_VIEW = 20;

// Feature Group resource in Vertex AI Feature Store.
FEATURE_GROUP = 21;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package google.cloud.datacatalog.v1;

import "google/api/field_behavior.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.DataCatalog.V1";
option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb";
option java_multiple_files = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package google.cloud.datacatalog.v1;
import "google/api/field_behavior.proto";
import "google/api/resource.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.DataCatalog.V1";
option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb";
option java_multiple_files = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ message Tag {
pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}/tags/{tag}"
};

// The resource name of the tag in URL format where tag ID is a
// 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.
string name = 1;
string name = 1 [(google.api.field_behavior) = IDENTIFIER];

// Required. The resource name of the tag template this tag uses. Example:
//
Expand Down Expand Up @@ -147,11 +147,24 @@ message TagTemplate {
pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}"
};

// The resource name of the tag template in URL format.
// This enum describes TagTemplate transfer status to Dataplex service.
enum DataplexTransferStatus {
// Default value. TagTemplate and its tags are only visible and editable in
// DataCatalog.
DATAPLEX_TRANSFER_STATUS_UNSPECIFIED = 0;

// 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.
MIGRATED = 1 [deprecated = true];
}

// 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.
string name = 1;
string name = 1 [(google.api.field_behavior) = IDENTIFIER];

// Display name for this template. Defaults to an empty string.
//
Expand Down Expand Up @@ -181,6 +194,10 @@ message TagTemplate {
// * Must start with a letter or underscore.
map<string, TagTemplateField> fields = 3
[(google.api.field_behavior) = REQUIRED];

// Optional. Transfer status of the TagTemplate
DataplexTransferStatus dataplex_transfer_status = 7
[(google.api.field_behavior) = OPTIONAL];
}

// The template for an individual field within a tag template.
Expand All @@ -190,7 +207,7 @@ message TagTemplateField {
pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field}"
};

// Output only. The resource name of the tag template field in URL format.
// Identifier. The resource name of the tag template field in URL format.
// Example:
//
// `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
Expand All @@ -201,7 +218,7 @@ message TagTemplateField {
// The name must contain only letters (a-z, A-Z), numbers (0-9),
// or underscores (_), and must start with a letter or underscore.
// The maximum length is 64 characters.
string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
string name = 6 [(google.api.field_behavior) = IDENTIFIER];

// The display name for this field. Defaults to an empty string.
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package google.cloud.datacatalog.v1;
import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.DataCatalog.V1";
option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb";
option java_multiple_files = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.datacatalog.v1beta1;

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb";
option java_multiple_files = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package google.cloud.datacatalog.v1beta1;
import "google/api/field_behavior.proto";
import "google/cloud/datacatalog/v1beta1/timestamps.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb";
option java_multiple_files = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import "google/iam/v1/policy.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb";
option java_multiple_files = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package google.cloud.datacatalog.v1beta1;
import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb";
option java_multiple_files = true;
Expand Down
Loading

0 comments on commit 1467ed6

Please sign in to comment.