From 30d6112517853a8e4dd6fdd9be9e0621cbfb4382 Mon Sep 17 00:00:00 2001 From: ethan-gordon <160950978+ethan-gordon@users.noreply.github.com> Date: Mon, 10 Feb 2025 12:37:36 -0800 Subject: [PATCH] set FeatureView IAM and Service Accounts as version v1 and remove preview note. (#3795) --- ...re_store_feature_view_service_agents.ipynb | 29 ++++++++----------- .../vertex_ai_feature_store_iam_policy.ipynb | 13 +++++---- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/notebooks/official/feature_store/vertex_ai_feature_store_feature_view_service_agents.ipynb b/notebooks/official/feature_store/vertex_ai_feature_store_feature_view_service_agents.ipynb index bda514962..ca4a04a5c 100644 --- a/notebooks/official/feature_store/vertex_ai_feature_store_feature_view_service_agents.ipynb +++ b/notebooks/official/feature_store/vertex_ai_feature_store_feature_view_service_agents.ipynb @@ -84,9 +84,6 @@ "- A service account is created for each feature view. Such service account is used to sync data from BigQuery.\n", "- Get/List feature view API returns the auto-created service account. Users need to call `bq add-iam-policy-binding` command to grant `roles/bigquery.dataViewer` to the service account.\n", "\n", - "## Note\n", - "This is a Preview release. By using the feature, you acknowledge that you're aware of the open issues and that this preview is provided “as is” under the pre-GA terms of service.\n", - "\n", "### Costs\n", "This tutorial uses billable components of Google Cloud:\n", "* Vertex AI\n", @@ -240,26 +237,24 @@ }, "outputs": [], "source": [ - "from google.cloud.aiplatform_v1beta1 import (\n", - " FeatureOnlineStoreAdminServiceClient, FeatureOnlineStoreServiceClient,\n", - " FeatureRegistryServiceClient)\n", - "from google.cloud.aiplatform_v1beta1.types import feature as feature_pb2\n", - "from google.cloud.aiplatform_v1beta1.types import \\\n", - " feature_group as feature_group_pb2\n", - "from google.cloud.aiplatform_v1beta1.types import \\\n", + "from google.cloud.aiplatform_v1 import (FeatureOnlineStoreAdminServiceClient,\n", + " FeatureOnlineStoreServiceClient,\n", + " FeatureRegistryServiceClient)\n", + "from google.cloud.aiplatform_v1.types import feature as feature_pb2\n", + "from google.cloud.aiplatform_v1.types import feature_group as feature_group_pb2\n", + "from google.cloud.aiplatform_v1.types import \\\n", " feature_online_store as feature_online_store_pb2\n", - "from google.cloud.aiplatform_v1beta1.types import \\\n", + "from google.cloud.aiplatform_v1.types import \\\n", " feature_online_store_admin_service as \\\n", " feature_online_store_admin_service_pb2\n", - "from google.cloud.aiplatform_v1beta1.types import \\\n", + "from google.cloud.aiplatform_v1.types import \\\n", " feature_online_store_service as feature_online_store_service_pb2\n", - "from google.cloud.aiplatform_v1beta1.types import \\\n", + "from google.cloud.aiplatform_v1.types import \\\n", " feature_registry_service as feature_registry_service_pb2\n", - "from google.cloud.aiplatform_v1beta1.types import \\\n", - " feature_view as feature_view_pb2\n", - "from google.cloud.aiplatform_v1beta1.types import \\\n", + "from google.cloud.aiplatform_v1.types import feature_view as feature_view_pb2\n", + "from google.cloud.aiplatform_v1.types import \\\n", " featurestore_service as featurestore_service_pb2\n", - "from google.cloud.aiplatform_v1beta1.types import io as io_pb2" + "from google.cloud.aiplatform_v1.types import io as io_pb2" ] }, { diff --git a/notebooks/official/feature_store/vertex_ai_feature_store_iam_policy.ipynb b/notebooks/official/feature_store/vertex_ai_feature_store_iam_policy.ipynb index e6365001f..c7039c5b0 100644 --- a/notebooks/official/feature_store/vertex_ai_feature_store_iam_policy.ipynb +++ b/notebooks/official/feature_store/vertex_ai_feature_store_iam_policy.ipynb @@ -227,8 +227,8 @@ "source": [ "Configure the necessary service clients:\n", "- [FeaturestoreServiceClient](https://cloud.google.com/python/docs/reference/aiplatform/latest/google.cloud.aiplatform_v1.services.featurestore_service.FeaturestoreServiceClient)\n", - "- [FeatureOnlineStoreAdminServiceClient](https://cloud.google.com/python/docs/reference/aiplatform/latest/google.cloud.aiplatform_v1beta1.services.feature_online_store_admin_service.FeatureOnlineStoreAdminServiceClient)\n", - "- [FeatureRegistryServiceClient](https://cloud.google.com/python/docs/reference/aiplatform/latest/google.cloud.aiplatform_v1beta1.services.feature_registry_service.FeatureRegistryServiceClient)" + "- [FeatureOnlineStoreAdminServiceClient](https://cloud.google.com/python/docs/reference/aiplatform/latest/google.cloud.aiplatform_v1.services.feature_online_store_admin_service.FeatureOnlineStoreAdminServiceClient)\n", + "- [FeatureRegistryServiceClient](https://cloud.google.com/python/docs/reference/aiplatform/latest/google.cloud.aiplatform_v1.services.feature_registry_service.FeatureRegistryServiceClient)" ] }, { @@ -239,10 +239,11 @@ }, "outputs": [], "source": [ - "from google.cloud.aiplatform_v1beta1 import (\n", - " FeatureOnlineStoreAdminServiceClient, FeatureOnlineStoreServiceClient,\n", - " FeatureRegistryServiceClient, FeaturestoreServiceClient)\n", - "from google.cloud.aiplatform_v1beta1.types import \\\n", + "from google.cloud.aiplatform_v1 import (FeatureOnlineStoreAdminServiceClient,\n", + " FeatureOnlineStoreServiceClient,\n", + " FeatureRegistryServiceClient,\n", + " FeaturestoreServiceClient)\n", + "from google.cloud.aiplatform_v1.types import \\\n", " feature_online_store_service as feature_online_store_service_pb2\n", "from google.iam.v1 import iam_policy_pb2, policy_pb2\n", "\n",