FeatureValue

value for a feature.

Fields
metadata object (Metadata)

metadata of feature value.

Union field value. Value for the feature. value can be only one of the following:
boolValue boolean

Bool type feature value.

doubleValue number

Double type feature value.

int64Value string (int64 format)

Int64 feature value.

stringValue string

String feature value.

boolArrayValue object (BoolArray)

A list of bool type feature value.

doubleArrayValue object (DoubleArray)

A list of double type feature value.

int64ArrayValue object (Int64Array)

A list of int64 type feature value.

stringArrayValue object (StringArray)

A list of string type feature value.

bytesValue string (bytes format)

Bytes feature value.

A base64-encoded string.

structValue object (StructValue)

A struct type feature value.

JSON representation
{
  "metadata": {
    object (Metadata)
  },

  // Union field value can be only one of the following:
  "boolValue": boolean,
  "doubleValue": number,
  "int64Value": string,
  "stringValue": string,
  "boolArrayValue": {
    object (BoolArray)
  },
  "doubleArrayValue": {
    object (DoubleArray)
  },
  "int64ArrayValue": {
    object (Int64Array)
  },
  "stringArrayValue": {
    object (StringArray)
  },
  "bytesValue": string,
  "structValue": {
    object (StructValue)
  }
  // End of list of possible types for union field value.
}

BoolArray

A list of boolean values.

Fields
values[] boolean

A list of bool values.

JSON representation
{
  "values": [
    boolean
  ]
}

DoubleArray

A list of double values.

Fields
values[] number

A list of double values.

JSON representation
{
  "values": [
    number
  ]
}

Int64Array

A list of int64 values.

Fields
values[] string (int64 format)

A list of int64 values.

JSON representation
{
  "values": [
    string
  ]
}

StringArray

A list of string values.

Fields
values[] string

A list of string values.

JSON representation
{
  "values": [
    string
  ]
}

StructValue

Struct (or object) type feature value.

Fields
values[] object (StructFieldValue)

A list of field values.

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

StructFieldValue

One field of a Struct (or object) type feature value.

Fields
name string

name of the field in the struct feature.

value object (FeatureValue)

The value for this field.

JSON representation
{
  "name": string,
  "value": {
    object (FeatureValue)
  }
}

Metadata

metadata of feature value.

Fields
generateTime string (Timestamp format)

feature generation timestamp. Typically, it is provided by user at feature ingestion time. If not, feature store will use the system timestamp when the data is ingested into feature store. For streaming ingestion, the time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

JSON representation
{
  "generateTime": string
}