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
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: |
↳ 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 |
↳ 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
.
Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
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
.
Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
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
- For example, for a machine learning model predicting user clicks on a
website, an entity ID could be
user_123
.
Generated from protobuf field repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setEntityIds
Required. IDs of entities to read Feature values of. The maximum number of IDs is
- For example, for a machine learning model predicting user clicks on a
website, an entity ID could be
user_123
.
Generated from protobuf field repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getFeatureSelector
Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated.
Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
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.
Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\FeatureSelector
|
Returns | |
---|---|
Type | Description |
$this |