Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DataKeyAndFeatureValues.
A data key and associated feature values to write to the feature view.
Generated from protobuf message google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues
Namespace
Google \ Cloud \ AIPlatform \ V1 \ FeatureViewDirectWriteRequestMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_key |
Google\Cloud\AIPlatform\V1\FeatureViewDataKey
The data key. |
↳ features |
array<DataKeyAndFeatureValues\Feature>
List of features to write. |
getDataKey
The data key.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\AIPlatform\V1\FeatureViewDataKey|null |
|
hasDataKey
clearDataKey
setDataKey
The data key.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\AIPlatform\V1\FeatureViewDataKey
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFeatures
List of features to write.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<DataKeyAndFeatureValues\Feature> |
|
setFeatures
List of features to write.
| Parameter | |
|---|---|
| Name | Description |
var |
array<DataKeyAndFeatureValues\Feature>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|