Class: Google::Apis::PredictionV1_6::Input

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

Defined Under Namespace

Classes: Input

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.


361
362
363
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 361

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

Instance Attribute Details

#inputGoogle::Apis::PredictionV1_6::Input::Input

Input to the model for a prediction. Corresponds to the JSON property input


359
360
361
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 359

def input
  @input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


366
367
368
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 366

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