Writes feature values of one or more entities of an EntityType.
The feature values are merged into existing entities if any. The feature values to be written must have timestamp within the online storage retention.
HTTP request
POST https://{service-endpoint}/v1/{entityType}:writeFeatureValues
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
entityType |
Required. The resource name of the EntityType for the entities being written. value format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"payloads": [
{
object ( |
Fields | |
---|---|
payloads[] |
Required. The entities to be written. Up to 100,000 feature values can be written across all |
Response body
If successful, the response body is empty.
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.writeFeatureValues
For more information, see the IAM documentation.
WriteFeatureValuesPayload
Contains feature values to be written for a specific entity.
JSON representation |
---|
{
"entityId": string,
"featureValues": {
string: {
object ( |
Fields | |
---|---|
entityId |
Required. The id of the entity. |
featureValues |
Required. feature values to be written, mapping from feature id to value. Up to 100,000 |