Class: Google::Apis::PredictionV1_6::Input
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_6::Input
- 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
-
#input ⇒ Google::Apis::PredictionV1_6::Input::Input
Input to the model for a prediction.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Input
constructor
A new instance of Input.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#input ⇒ Google::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 |