Reads feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses.
HTTP request
POST https://{service-endpoint}/v1/{entityType}:streamingReadFeatureValues
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
entityType |
Required. The resource name of the entities' type. value format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"entityIds": [
string
],
"featureSelector": {
object ( |
Fields | |
---|---|
entityIds[] |
Required. IDs of entities to read feature values of. The maximum number of IDs is 100. For example, for a machine learning model predicting user clicks on a website, an entity id could be |
featureSelector |
Required. Selector choosing Features of the target EntityType. feature IDs will be deduplicated. |
Response body
If successful, the response body contains a stream of ReadFeatureValuesResponse
instances.
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 entityType
resource:
aiplatform.entityTypes.streamingReadFeatureValues
For more information, see the IAM documentation.