Google Cloud Ai Platform V1 Client - Class FeatureNameValuePair (1.13.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
Name Description
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
Type Description
Google\Cloud\AIPlatform\V1\FeatureValue|null

hasValue

setValue

Feature value.

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

getData

Returns
Type Description
string