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

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

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.

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Cloud\AIPlatform\V1\FeatureSelector
Returns
Type Description
$this

getSettings

Per-Feature settings for the batch read.

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

Returns
Type Description
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
Name Description
var array<Google\Cloud\AIPlatform\V1\DestinationFeatureSetting>
Returns
Type Description
$this