FeatureValue

Stay organized with collections Save and categorize content based on your preferences.

Value for a feature.

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
  // End of list of possible types for union field value.
}
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.

BoolArray

A list of boolean values.

JSON representation
{
  "values": [
    boolean
  ]
}
Fields
values[]

boolean

A list of bool values.

DoubleArray

A list of double values.

JSON representation
{
  "values": [
    number
  ]
}
Fields
values[]

number

A list of double values.

Int64Array

A list of int64 values.

JSON representation
{
  "values": [
    string
  ]
}
Fields
values[]

string (int64 format)

A list of int64 values.

StringArray

A list of string values.

JSON representation
{
  "values": [
    string
  ]
}
Fields
values[]

string

A list of string values.

Metadata

Metadata of feature value.

JSON representation
{
  "generateTime": string
}
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".