Class: Google::Apis::PredictionV1_4::Input
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_4::Input
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/prediction_v1_4/classes.rb,
generated/google/apis/prediction_v1_4/representations.rb,
generated/google/apis/prediction_v1_4/representations.rb
Defined Under Namespace
Classes: Input
Instance Attribute Summary collapse
-
#input ⇒ Google::Apis::PredictionV1_4::Input::Input
Input to the model for a prediction Corresponds to the JSON property
input
.
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
34 35 36 |
# File 'generated/google/apis/prediction_v1_4/classes.rb', line 34 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input ⇒ Google::Apis::PredictionV1_4::Input::Input
Input to the model for a prediction
Corresponds to the JSON property input
32 33 34 |
# File 'generated/google/apis/prediction_v1_4/classes.rb', line 32 def input @input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39 40 41 |
# File 'generated/google/apis/prediction_v1_4/classes.rb', line 39 def update!(**args) @input = args[:input] if args.key?(:input) end |