GoogleCloudPlatform / java-docs-samples

Java and Kotlin Code samples used on cloud.google.com
https://cloud.google.com/java
Apache License 2.0
1.74k stars 2.82k forks source link

docs(samples): add a simple sample for feature online store with Bigtable #9341

Closed axyojp closed 1 month ago

axyojp commented 2 months ago

Description

Adding Java sample code for Vertex AI Feature Store

Checklist

About GCP Project

The GCP project you provide should be enabled Vertex AI APIs.

snippet-bot[bot] commented 2 months ago

Here is the summary of changes.

You are about to add 4 region tags. - [aiplatform/src/main/java/aiplatform/CreateFeatureOnlineStoreFixedNodesSample.java:24](https://github.com/axyojp/java-docs-samples/blob/6deac00a9c5e455f77438614a709f370c92ceeb0/aiplatform/src/main/java/aiplatform/CreateFeatureOnlineStoreFixedNodesSample.java#L24), tag `aiplatform_create_featureOnlineStore_bigtable_sample` - [aiplatform/src/main/java/aiplatform/CreateFeatureOnlineStoreFixedNodesSample.java:61](https://github.com/axyojp/java-docs-samples/blob/6deac00a9c5e455f77438614a709f370c92ceeb0/aiplatform/src/main/java/aiplatform/CreateFeatureOnlineStoreFixedNodesSample.java#L61), tag `aiplatform_create_featureOnlineStore_bigtable_sample_create` - [aiplatform/src/main/java/aiplatform/DeleteFeatureOnlineStoreSample.java:24](https://github.com/axyojp/java-docs-samples/blob/6deac00a9c5e455f77438614a709f370c92ceeb0/aiplatform/src/main/java/aiplatform/DeleteFeatureOnlineStoreSample.java#L24), tag `aiplatform_delete_feature_online_store_sample` - [aiplatform/src/main/java/aiplatform/DeleteFeatureOnlineStoreSample.java:52](https://github.com/axyojp/java-docs-samples/blob/6deac00a9c5e455f77438614a709f370c92ceeb0/aiplatform/src/main/java/aiplatform/DeleteFeatureOnlineStoreSample.java#L52), tag `aiplatform_delete_feature_online_store_sample_delete`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

axyojp commented 1 month ago

The GCP project you provide should be enabled Vertex AI APIs.

minherz commented 1 month ago

The GCP project you provide should be enabled Vertex AI APIs.

I am unsure which GCP project you are referencing. Is it the one set in UCAIP_PROJECT_ID? I do not see where it is set up. I can confirm that Vertex AI API and Vertex AI API (autopush) are enabled in the basic e2e testing project. Also, please, confirm the list of API names that should be enabled.

axyojp commented 1 month ago

The GCP project you provide should be enabled Vertex AI APIs.

I am unsure which GCP project you are referencing. Is it the one set in UCAIP_PROJECT_ID? I do not see where it is set up. I can confirm that Vertex AI API and Vertex AI API (autopush) are enabled in the basic e2e testing project. Also, please, confirm the list of API names that should be enabled.

Yes, I mentioned about UCAIP_PROJECT_ID. I intended to reply to the comment below: https://github.com/GoogleCloudPlatform/java-docs-samples/pull/9341#discussion_r1617807818

I think you need nothing to do in basic e2e testing project because you confirm Vertex AI API and Vertex AI API (autopush) are enabled. This sample code doesn't use new additional APIs.