Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EntityIdSelector

Inherits:
Object
  • Object
show all
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

Selector for entityId. Getting ids from the given source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EntityIdSelector

Returns a new instance of GoogleCloudAiplatformV1beta1EntityIdSelector.



6244
6245
6246
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6244

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

Instance Attribute Details

#csv_sourceGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CsvSource

The storage details for CSV input content. Corresponds to the JSON property csvSource



6236
6237
6238
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6236

def csv_source
  @csv_source
end

#entity_id_fieldString

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id. Corresponds to the JSON property entityIdField

Returns:

  • (String)


6242
6243
6244
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6242

def entity_id_field
  @entity_id_field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6249
6250
6251
6252
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6249

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