Google Cloud Ai Platform V1 Client - Class Feature (1.45.0)

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

Methods

__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 FeatureValue.metadata.generate_time field.

↳ 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

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.