Google Cloud Ai Platform V1 Client - Class FeatureNameValuePair (0.27.0)

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

Feature name & value pair.

Generated from protobuf message google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList.FeatureNameValuePair

Namespace

Google \ Cloud \ AIPlatform \ V1 \ FetchFeatureValuesResponse \ FeatureNameValuePairList

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ value Google\Cloud\AIPlatform\V1\FeatureValue

Feature value.

↳ name string

Feature short name.

getValue

Feature value.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\FeatureValue|null

hasValue

setValue

Feature value.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\FeatureValue
Returns
TypeDescription
$this

getName

Feature short name.

Returns
TypeDescription
string

setName

Feature short name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getData

Returns
TypeDescription
string