Google Cloud Ai Platform V1 Client - Class EntityView (1.12.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
Name Description
data array

Optional. Data for populating the Message object.

↳ entity_id string

ID of the requested entity.

↳ data array<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
Type Description
string

setEntityId

ID of the requested entity.

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var array<EntityView\Data>
Returns
Type Description
$this