Class FetchFeatureValuesRequest (1.48.0)

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

Request message for FeatureOnlineStoreService.FetchFeatureValues. All the features under the requested feature view will be returned.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
id str
Simple ID. The whole string will be used as is to identify Entity to fetch feature values for. This field is a member of oneof_ entity_id.
feature_view str
Required. FeatureView resource format projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}
data_key google.cloud.aiplatform_v1beta1.types.FeatureViewDataKey
Optional. The request key to fetch feature values for.
data_format google.cloud.aiplatform_v1beta1.types.FeatureViewDataFormat
Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used.
format_ google.cloud.aiplatform_v1beta1.types.FetchFeatureValuesRequest.Format
Specify response data format. If not set, KeyValue format will be used. Deprecated. Use FetchFeatureValuesRequest.data_format.

Classes

Format

Format(value)

Format of the response data.

Values: FORMAT_UNSPECIFIED (0): Not set. Will be treated as the KeyValue format. KEY_VALUE (1): Return response data in key-value format. PROTO_STRUCT (2): Return response data in proto Struct format.

Methods

FetchFeatureValuesRequest

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

Request message for FeatureOnlineStoreService.FetchFeatureValues. All the features under the requested feature view will be returned.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields