Skip to main content

feature_online_stores

Creates, updates, deletes, gets or lists a feature_online_stores resource.

Overview

Namefeature_online_stores
TypeResource
Idgoogle.aiplatform.feature_online_stores

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. Name of the FeatureOnlineStore. Format: projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}
bigtableobjectContains settings for the Cloud Bigtable instance that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore. (id: GoogleCloudAiplatformV1FeatureOnlineStoreBigtable)
createTimestring (google-datetime)Output only. Timestamp when this FeatureOnlineStore was created.
dedicatedServingEndpointobjectOptional. The dedicated serving endpoint for this FeatureOnlineStore, which is different from common Vertex service endpoint. (id: GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint)
encryptionSpecobjectOptional. Customer-managed encryption key spec for data storage. If set, online store will be secured by this key. (id: GoogleCloudAiplatformV1EncryptionSpec)
etagstringOptional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
labelsobjectOptional. The labels with user-defined metadata to organize your FeatureOnlineStore. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureOnlineStore(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
optimizedobjectContains settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore. When choose Optimized storage type, need to set PrivateServiceConnectConfig.enable_private_service_connect to use private endpoint. Otherwise will use public endpoint by default. (id: GoogleCloudAiplatformV1FeatureOnlineStoreOptimized)
satisfiesPzibooleanOutput only. Reserved for future use.
satisfiesPzsbooleanOutput only. Reserved for future use.
statestringOutput only. State of the featureOnlineStore.
updateTimestring (google-datetime)Output only. Timestamp when this FeatureOnlineStore was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, featureOnlineStoresIdGets details of a single FeatureOnlineStore.
listselectprojectsId, locationsIdfilter, pageSize, pageToken, orderByLists FeatureOnlineStores in a given project and location.
createinsertprojectsId, locationsIdfeatureOnlineStoreIdCreates a new FeatureOnlineStore in a given project and location.
patchupdateprojectsId, locationsId, featureOnlineStoresIdupdateMaskUpdates the parameters of a single FeatureOnlineStore.
deletedeleteprojectsId, locationsId, featureOnlineStoresIdforceDeletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
featureOnlineStoresIdstring
locationsIdstring
projectsIdstring
featureOnlineStoreIdstring
filterstring
forceboolean
orderBystring
pageSizeinteger (int32)
pageTokenstring
updateMaskstring (google-fieldmask)

SELECT examples

Gets details of a single FeatureOnlineStore.

SELECT
name,
bigtable,
createTime,
dedicatedServingEndpoint,
encryptionSpec,
etag,
labels,
optimized,
satisfiesPzi,
satisfiesPzs,
state,
updateTime
FROM google.aiplatform.feature_online_stores
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND featureOnlineStoresId = '{{ featureOnlineStoresId }}' -- required;

INSERT examples

Creates a new FeatureOnlineStore in a given project and location.

INSERT INTO google.aiplatform.feature_online_stores (
data__bigtable,
data__optimized,
data__name,
data__etag,
data__labels,
data__dedicatedServingEndpoint,
data__encryptionSpec,
projectsId,
locationsId,
featureOnlineStoreId
)
SELECT
'{{ bigtable }}',
'{{ optimized }}',
'{{ name }}',
'{{ etag }}',
'{{ labels }}',
'{{ dedicatedServingEndpoint }}',
'{{ encryptionSpec }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ featureOnlineStoreId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates the parameters of a single FeatureOnlineStore.

UPDATE google.aiplatform.feature_online_stores
SET
data__bigtable = '{{ bigtable }}',
data__optimized = '{{ optimized }}',
data__name = '{{ name }}',
data__etag = '{{ etag }}',
data__labels = '{{ labels }}',
data__dedicatedServingEndpoint = '{{ dedicatedServingEndpoint }}',
data__encryptionSpec = '{{ encryptionSpec }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND featureOnlineStoresId = '{{ featureOnlineStoresId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

DELETE FROM google.aiplatform.feature_online_stores
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND featureOnlineStoresId = '{{ featureOnlineStoresId }}' --required
AND force = '{{ force }}';