Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Request message for FeaturestoreOnlineServingService. StreamingFeatureValuesRead.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest

Returns a new instance of GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest.



30129
30130
30131
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30129

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entity_idsArray<String>

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. Corresponds to the JSON property entityIds

Returns:

  • (Array<String>)


30122
30123
30124
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30122

def entity_ids
  @entity_ids
end

#feature_selectorGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureSelector

Selector for Features of an EntityType. Corresponds to the JSON property featureSelector



30127
30128
30129
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30127

def feature_selector
  @feature_selector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30134
30135
30136
30137
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30134

def update!(**args)
  @entity_ids = args[:entity_ids] if args.key?(:entity_ids)
  @feature_selector = args[:feature_selector] if args.key?(:feature_selector)
end