Google Cloud Ai Platform V1 Client - Class EntityTypeSpec (0.10.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

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Generated from protobuf field string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setEntityTypeId

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

Generated from protobuf field string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFeatureSelector

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

Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

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

hasFeatureSelector

clearFeatureSelector

setFeatureSelector

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

Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

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

getSettings

Per-Feature settings for the batch read.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.DestinationFeatureSetting settings = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSettings

Per-Feature settings for the batch read.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.DestinationFeatureSetting settings = 3;

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\DestinationFeatureSetting>
Returns
TypeDescription
$this