Class ImportFeatureValuesRequest (0.9.0)

ImportFeatureValuesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for FeaturestoreService.ImportFeatureValues.


Name Description
feature_time_field str
Source column that holds the Feature timestamp for all Feature values in each entity.
feature_time google.protobuf.timestamp_pb2.Timestamp
Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.
entity_type str
Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: ``projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}``
entity_id_field str
Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named ``entity_id``.
feature_specs Sequence[]
Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.
disable_online_serving bool
If set, data will not be imported for online serving. This is typically used for backfilling, where Feature generation timestamps are not in the timestamp range needed for online serving.
worker_count int
Specifies the number of workers that are used to write data to the Featurestore. Consider the online serving capacity that you require to achieve the desired import throughput without interfering with online serving. The value must be positive, and less than or equal to 100. If not set, defaults to using 1 worker. The low count ensures minimal impact on online serving performance.


builtins.object > proto.message.Message > ImportFeatureValuesRequest



FeatureSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Defines the Feature value(s) to import. .. attribute:: id

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

:type: str