Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Feature.
Feature name & value pair.
Generated from protobuf message google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues.Feature
Namespace
Google \ Cloud \ AIPlatform \ V1 \ FeatureViewDirectWriteRequest \ DataKeyAndFeatureValuesMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ value |
Google\Cloud\AIPlatform\V1\FeatureValue
Feature value. A user provided timestamp may be set in the |
↳ name |
string
Feature short name. |
getValue
Feature value. A user provided timestamp may be set in the
FeatureValue.metadata.generate_time field.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\AIPlatform\V1\FeatureValue|null |
|
hasValue
setValue
Feature value. A user provided timestamp may be set in the
FeatureValue.metadata.generate_time field.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\AIPlatform\V1\FeatureValue
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Feature short name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Feature short name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDataOneof
| Returns | |
|---|---|
| Type | Description |
string |
|