Google Cloud Ai Platform V1 Client - Class ReadFeatureValuesRequest (0.31.0)

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

Request message for FeaturestoreOnlineServingService.ReadFeatureValues.

Generated from protobuf message google.cloud.aiplatform.v1.ReadFeatureValuesRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entity_type string

Required. The resource name of the EntityType for the entity being read. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

↳ entity_id string

Required. ID for a specific entity. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

↳ feature_selector Google\Cloud\AIPlatform\V1\FeatureSelector

Required. Selector choosing Features of the target EntityType.

getEntityType

Required. The resource name of the EntityType for the entity being read.

Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

Returns
TypeDescription
string

setEntityType

Required. The resource name of the EntityType for the entity being read.

Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntityId

Required. ID for a specific entity. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

Returns
TypeDescription
string

setEntityId

Required. ID for a specific entity. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFeatureSelector

Required. Selector choosing Features of the target EntityType.

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

hasFeatureSelector

clearFeatureSelector

setFeatureSelector

Required. Selector choosing Features of the target EntityType.

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

static::build

Parameter
NameDescription
entityType string

Required. The resource name of the EntityType for the entity being read. Value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user. Please see Google\Cloud\AIPlatform\V1\FeaturestoreOnlineServingServiceClient::entityTypeName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ReadFeatureValuesRequest