Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReadFeatureValuesRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ReadFeatureValuesRequest

Returns a new instance of GoogleCloudAiplatformV1ReadFeatureValuesRequest.



21134
21135
21136
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21134

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

Instance Attribute Details

#entity_idString

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

Returns:

  • (String)


21127
21128
21129
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21127

def entity_id
  @entity_id
end

#feature_selectorGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureSelector

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



21132
21133
21134
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21132

def feature_selector
  @feature_selector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21139
21140
21141
21142
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21139

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