Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec

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

Defines the Feature value(s) to import.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec

Returns a new instance of GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec.



11572
11573
11574
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11572

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

Instance Attribute Details

#idString

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail. Corresponds to the JSON property id

Returns:

  • (String)


11564
11565
11566
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11564

def id
  @id
end

#source_fieldString

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID. Corresponds to the JSON property sourceField

Returns:

  • (String)


11570
11571
11572
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11570

def source_field
  @source_field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11577
11578
11579
11580
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11577

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