Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1WriteFeatureValuesPayload
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1WriteFeatureValuesPayload
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Contains Feature values to be written for a specific entity.
Instance Attribute Summary collapse
-
#entity_id ⇒ String
Required.
-
#feature_values ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureValue>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1WriteFeatureValuesPayload
constructor
A new instance of GoogleCloudAiplatformV1beta1WriteFeatureValuesPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1WriteFeatureValuesPayload
Returns a new instance of GoogleCloudAiplatformV1beta1WriteFeatureValuesPayload.
36438 36439 36440 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_id ⇒ String
Required. The ID of the entity.
Corresponds to the JSON property entityId
36428 36429 36430 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36428 def entity_id @entity_id end |
#feature_values ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureValue>
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
36436 36437 36438 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36436 def feature_values @feature_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
36443 36444 36445 36446 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36443 def update!(**args) @entity_id = args[:entity_id] if args.key?(:entity_id) @feature_values = args[:feature_values] if args.key?(:feature_values) end |