ReadFeatureValuesResponse

Response message forFeaturestoreOnlineServingService.ReadFeatureValues.

Fields
headerobject (Header)

Response header.

entityViewobject (EntityView)

Entity view with feature values. This may be the entity in the Featurestore if values for all Features were requested, or a projection of the entity in the Featurestore if values for only some Features were requested.

JSON representation
{"header":{object (Header)},"entityView":{object (EntityView)}}

Header

Response header with metadata for the requestedReadFeatureValuesRequest.entity_type and Features.

Fields
entityTypestring

The resource name of the EntityType from theReadFeatureValuesRequest. value format:projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}.

featureDescriptors[]object (FeatureDescriptor)

List of feature metadata corresponding to each piece ofReadFeatureValuesResponse.EntityView.data.

JSON representation
{"entityType":string,"featureDescriptors":[{object (FeatureDescriptor)}]}

FeatureDescriptor

metadata for requested Features.

Fields
idstring

feature id.

JSON representation
{"id":string}

EntityView

Entity view with feature values.

Fields
entityIdstring

id of the requested entity.

data[]object (Data)

Each piece of data holds the k requested values for one requested feature. If no values for the requested feature exist, the corresponding cell will be empty. This has the same size and is in the same order as the features from the headerReadFeatureValuesResponse.header.

JSON representation
{"entityId":string,"data":[{object (Data)}]}

Data

Container to hold value(s), successive in time, for one feature from the request.

Fields
dataUnion type
data can be only one of the following:
valueobject (FeatureValue)

feature value if a single value is requested.

valuesobject (FeatureValueList)

feature values list if values, successive in time, are requested. If the requested number of values is greater than the number of existing feature values, nonexistent values are omitted instead of being returned as empty.

JSON representation
{// data"value":{object (FeatureValue)},"values":{object (FeatureValueList)}// Union type}

FeatureValueList

Container for list of values.

Fields
values[]object (FeatureValue)

A list of feature values. All of them should be the same data type.

JSON representation
{"values":[{object (FeatureValue)}]}

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-27 UTC.