Class: Google::Apis::PredictionV1_2::Input::Input

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/prediction_v1_2/classes.rb,
generated/google/apis/prediction_v1_2/representations.rb,
generated/google/apis/prediction_v1_2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Input

Returns a new instance of Input



52
53
54
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 52

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

Instance Attribute Details

#csv_instanceArray<Object>

Corresponds to the JSON property csvInstance

Returns:

  • (Array<Object>)


50
51
52
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 50

def csv_instance
  @csv_instance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



57
58
59
# File 'generated/google/apis/prediction_v1_2/classes.rb', line 57

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