Google Cloud Ai Platform V1 Client - Class WriteFeatureValuesPayload (0.18.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class WriteFeatureValuesPayload.

Contains Feature values to be written for a specific entity.

Generated from protobuf message google.cloud.aiplatform.v1.WriteFeatureValuesPayload

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entity_id string

Required. The ID of the entity.

↳ feature_values array|Google\Protobuf\Internal\MapField

Required. Feature values to be written, mapping from Feature ID to value. Up to 100,000 feature_values entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.

getEntityId

Required. The ID of the entity.

Returns
TypeDescription
string

setEntityId

Required. The ID of the entity.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFeatureValues

Required. Feature values to be written, mapping from Feature ID to value.

Up to 100,000 feature_values entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setFeatureValues

Required. Feature values to be written, mapping from Feature ID to value.

Up to 100,000 feature_values entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this