Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1WriteFeatureValuesPayload

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

Contains Feature values to be written for a specific entity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1WriteFeatureValuesPayload

Returns a new instance of GoogleCloudAiplatformV1WriteFeatureValuesPayload.



28232
28233
28234
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28232

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

Instance Attribute Details

#entity_idString

Required. The ID of the entity. Corresponds to the JSON property entityId

Returns:

  • (String)


28222
28223
28224
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28222

def entity_id
  @entity_id
end

#feature_valuesHash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureValue>

Required. Feature values to be written, mapping from Feature ID to value. Up to 100,000 feature_values entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years ( 1825 days) and no later than one year (366 days) in the future. Corresponds to the JSON property featureValues



28230
28231
28232
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28230

def feature_values
  @feature_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28237
28238
28239
28240
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28237

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