Google Cloud Ai Platform V1 Client - Class StreamingReadFeatureValuesRequest (0.27.0)

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

Request message for FeaturestoreOnlineServingService.StreamingFeatureValuesRead.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ entity_type string

Required. The resource name of the entities' type. 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_ids array

Required. IDs of entities to read Feature values of. The maximum number of IDs is 100. 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. Feature IDs will be deduplicated.

getEntityType

Required. The resource name of the entities' type.

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
Type Description
string

setEntityType

Required. The resource name of the entities' type.

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
Name Description
var string
Returns
Type Description
$this

getEntityIds

Required. IDs of entities to read Feature values of. The maximum number of IDs is 100. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEntityIds

Required. IDs of entities to read Feature values of. The maximum number of IDs is 100. For example, for a machine learning model predicting user clicks on a website, an entity ID could be user_123.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getFeatureSelector

Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated.

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

hasFeatureSelector

clearFeatureSelector

setFeatureSelector

Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated.

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

static::build

Parameter
Name Description
entityType string

Required. The resource name of the entities' type. 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
Type Description
Google\Cloud\AIPlatform\V1\StreamingReadFeatureValuesRequest

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.