Method: projects.locations.featureOnlineStores.featureViews.fetchFeatureValues

Fetch feature values under a FeatureView.

Endpoint

post https://{endpoint}/v1beta1/{featureView}:fetchFeatureValues

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

featureView string

Required. FeatureView resource format projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}

Request body

The request body contains data with the following structure:

Fields
dataKey object (FeatureViewDataKey)

Optional. The request key to fetch feature values for.

dataFormat enum (FeatureViewDataFormat)

Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used.

format
(deprecated)
enum (Format)

Specify response data format. If not set, keyvalue format will be used. Deprecated. Use FetchFeatureValuesRequest.data_format.

entity_id Union type
Entity ID to fetch feature values for. Deprecated. Use FetchFeatureValuesRequest.data_key. entity_id can be only one of the following:
id
(deprecated)
string

Simple id. The whole string will be used as is to identify Entity to fetch feature values for.

Response body

If successful, the response body contains an instance of FetchFeatureValuesResponse.

Format

Format of the response data.

Enums
FORMAT_UNSPECIFIED Not set. Will be treated as the keyvalue format.
KEY_VALUE Return response data in key-value format.
PROTO_STRUCT Return response data in proto Struct format.