Google Cloud Ai Platform V1 Client - Class EntityTypeSpec (1.5.0)

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

Selects Features of an EntityType to read values of and specifies read settings.

Generated from protobuf message google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.EntityTypeSpec

Namespace

Google \ Cloud \ AIPlatform \ V1 \ BatchReadFeatureValuesRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ entity_type_id string

Required. ID of the EntityType to select Features. The EntityType id is the entity_type_id specified during EntityType creation.

↳ feature_selector Google\Cloud\AIPlatform\V1\FeatureSelector

Required. Selectors choosing which Feature values to read from the EntityType.

↳ settings array<Google\Cloud\AIPlatform\V1\DestinationFeatureSetting>

Per-Feature settings for the batch read.

getEntityTypeId

Required. ID of the EntityType to select Features. The EntityType id is the entity_type_id specified during EntityType creation.

Returns
Type Description
string

setEntityTypeId

Required. ID of the EntityType to select Features. The EntityType id is the entity_type_id specified during EntityType creation.

Parameter
Name Description
var string
Returns
Type Description
$this

getFeatureSelector

Required. Selectors choosing which Feature values to read from the EntityType.

Returns
Type Description
Google\Cloud\AIPlatform\V1\FeatureSelector|null

hasFeatureSelector

clearFeatureSelector

setFeatureSelector

Required. Selectors choosing which Feature values to read from the EntityType.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\FeatureSelector
Returns
Type Description
$this

getSettings

Per-Feature settings for the batch read.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSettings

Per-Feature settings for the batch read.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\DestinationFeatureSetting>
Returns
Type Description
$this