Google Cloud Ai Platform V1 Client - Class EntityView (0.18.0)

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

Entity view with Feature values.

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

Namespace

Google \ Cloud \ AIPlatform \ V1 \ ReadFeatureValuesResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entity_id string

ID of the requested entity.

↳ data array<Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\EntityView\Data>

Each piece of data holds the k requested values for one requested Feature. If no values for the requested Feature exist, the corresponding cell will be empty. This has the same size and is in the same order as the features from the header ReadFeatureValuesResponse.header.

getEntityId

ID of the requested entity.

Returns
TypeDescription
string

setEntityId

ID of the requested entity.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getData

Each piece of data holds the k requested values for one requested Feature. If no values for the requested Feature exist, the corresponding cell will be empty.

This has the same size and is in the same order as the features from the header ReadFeatureValuesResponse.header.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setData

Each piece of data holds the k requested values for one requested Feature. If no values for the requested Feature exist, the corresponding cell will be empty.

This has the same size and is in the same order as the features from the header ReadFeatureValuesResponse.header.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\ReadFeatureValuesResponse\EntityView\Data>
Returns
TypeDescription
$this