mirror of
https://github.com/GoogleCloudPlatform/vertex-ai-samples.git
synced 2026-09-26 14:42:04 +00:00
set FeatureView IAM and Service Accounts as version v1 and remove preview note. (#3795)
This commit is contained in:
+12
-17
@@ -84,9 +84,6 @@
|
|||||||
"- A service account is created for each feature view. Such service account is used to sync data from BigQuery.\n",
|
"- 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",
|
"- 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",
|
"\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",
|
"### Costs\n",
|
||||||
"This tutorial uses billable components of Google Cloud:\n",
|
"This tutorial uses billable components of Google Cloud:\n",
|
||||||
"* Vertex AI\n",
|
"* Vertex AI\n",
|
||||||
@@ -240,26 +237,24 @@
|
|||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"from google.cloud.aiplatform_v1beta1 import (\n",
|
"from google.cloud.aiplatform_v1 import (FeatureOnlineStoreAdminServiceClient,\n",
|
||||||
" FeatureOnlineStoreAdminServiceClient, FeatureOnlineStoreServiceClient,\n",
|
" FeatureOnlineStoreServiceClient,\n",
|
||||||
" FeatureRegistryServiceClient)\n",
|
" FeatureRegistryServiceClient)\n",
|
||||||
"from google.cloud.aiplatform_v1beta1.types import feature as feature_pb2\n",
|
"from google.cloud.aiplatform_v1.types import feature as feature_pb2\n",
|
||||||
"from google.cloud.aiplatform_v1beta1.types import \\\n",
|
"from google.cloud.aiplatform_v1.types import feature_group as feature_group_pb2\n",
|
||||||
" feature_group as feature_group_pb2\n",
|
"from google.cloud.aiplatform_v1.types import \\\n",
|
||||||
"from google.cloud.aiplatform_v1beta1.types import \\\n",
|
|
||||||
" feature_online_store as feature_online_store_pb2\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 as \\\n",
|
||||||
" feature_online_store_admin_service_pb2\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",
|
" 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",
|
" feature_registry_service as feature_registry_service_pb2\n",
|
||||||
"from google.cloud.aiplatform_v1beta1.types import \\\n",
|
"from google.cloud.aiplatform_v1.types import feature_view as feature_view_pb2\n",
|
||||||
" feature_view as feature_view_pb2\n",
|
"from google.cloud.aiplatform_v1.types import \\\n",
|
||||||
"from google.cloud.aiplatform_v1beta1.types import \\\n",
|
|
||||||
" featurestore_service as featurestore_service_pb2\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"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -227,8 +227,8 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"Configure the necessary service clients:\n",
|
"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",
|
"- [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",
|
"- [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_v1beta1.services.feature_registry_service.FeatureRegistryServiceClient)"
|
"- [FeatureRegistryServiceClient](https://cloud.google.com/python/docs/reference/aiplatform/latest/google.cloud.aiplatform_v1.services.feature_registry_service.FeatureRegistryServiceClient)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -239,10 +239,11 @@
|
|||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"from google.cloud.aiplatform_v1beta1 import (\n",
|
"from google.cloud.aiplatform_v1 import (FeatureOnlineStoreAdminServiceClient,\n",
|
||||||
" FeatureOnlineStoreAdminServiceClient, FeatureOnlineStoreServiceClient,\n",
|
" FeatureOnlineStoreServiceClient,\n",
|
||||||
" FeatureRegistryServiceClient, FeaturestoreServiceClient)\n",
|
" FeatureRegistryServiceClient,\n",
|
||||||
"from google.cloud.aiplatform_v1beta1.types import \\\n",
|
" FeaturestoreServiceClient)\n",
|
||||||
|
"from google.cloud.aiplatform_v1.types import \\\n",
|
||||||
" feature_online_store_service as feature_online_store_service_pb2\n",
|
" feature_online_store_service as feature_online_store_service_pb2\n",
|
||||||
"from google.iam.v1 import iam_policy_pb2, policy_pb2\n",
|
"from google.iam.v1 import iam_policy_pb2, policy_pb2\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user