Fetch feature values under a FeatureView.
HTTP request
POST https://{service-endpoint}/v1/{featureView}:fetchFeatureValues
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
featureView |
Required. FeatureView resource format |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "dataKey": { object ( |
Fields | |
---|---|
dataKey |
Optional. The request key to fetch feature values for. |
dataFormat |
Optional. Response data format. If not set, |
Response body
If successful, the response body contains an instance of FetchFeatureValuesResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the featureView
resource:
aiplatform.featureViews.fetchFeatureValues
For more information, see the IAM documentation.
FeatureViewDataFormat
Format of the data in the feature View.
Enums | |
---|---|
FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED |
Not set. Will be treated as the keyvalue format. |
KEY_VALUE |
Return response data in key-value format. |
PROTO_STRUCT |
Return response data in proto Struct format. |