Google Cloud Ai Platform V1 Client - Class Data (0.16.0)

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

Container to hold value(s), successive in time, for one Feature from the request.

Generated from protobuf message google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.Data

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ value Google\Cloud\AIPlatform\V1\FeatureValue

Feature value if a single value is requested.

↳ values Google\Cloud\AIPlatform\V1\FeatureValueList

Feature values list if values, successive in time, are requested. If the requested number of values is greater than the number of existing Feature values, nonexistent values are omitted instead of being returned as empty.

getValue

Feature value if a single value is requested.

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

hasValue

setValue

Feature value if a single value is requested.

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

getValues

Feature values list if values, successive in time, are requested.

If the requested number of values is greater than the number of existing Feature values, nonexistent values are omitted instead of being returned as empty.

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

hasValues

setValues

Feature values list if values, successive in time, are requested.

If the requested number of values is greater than the number of existing Feature values, nonexistent values are omitted instead of being returned as empty.

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

getData

Returns
TypeDescription
string