Response message for FeaturestoreOnlineServingService.ReadFeatureValues
.
JSON representation |
---|
{ "header": { object ( |
Fields | |
---|---|
header |
Response header. |
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. |
Header
Response header with metadata for the requested ReadFeatureValuesRequest.entity_type
and Features.
JSON representation |
---|
{
"entityType": string,
"featureDescriptors": [
{
object ( |
Fields | |
---|---|
entityType |
The resource name of the EntityType from the |
featureDescriptors[] |
List of feature metadata corresponding to each piece of |
FeatureDescriptor
metadata for requested Features.
JSON representation |
---|
{ "id": string } |
Fields | |
---|---|
id |
feature id. |
EntityView
Entity view with feature values.
JSON representation |
---|
{
"entityId": string,
"data": [
{
object ( |
Fields | |
---|---|
entityId |
id of the requested entity. |
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 header |
Data
Container to hold value(s), successive in time, for one feature from the request.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
value |
feature value if a single value is requested. |
values |
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. |
FeatureValueList
Container for list of values.
JSON representation |
---|
{
"values": [
{
object ( |
Fields | |
---|---|
values[] |
A list of feature values. All of them should be the same data type. |