Google Cloud Ai Platform V1 Client - Class DataKeyAndFeatureValues (1.44.0)

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 \ FeatureViewDirectWriteRequest

Methods

__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\Internal\RepeatedField

setFeatures

List of features to write.

Parameter
Name Description
var array<DataKeyAndFeatureValues\Feature>
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月13日 UTC.