Class: Google::Apis::LanguageV2::XpsTrainingObjectivePoint
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsTrainingObjectivePoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb
Instance Attribute Summary collapse
-
#create_time ⇒ String
The time at which this point was recorded.
-
#value ⇒ Float
The objective value when this point was recorded.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTrainingObjectivePoint
constructor
A new instance of XpsTrainingObjectivePoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTrainingObjectivePoint
Returns a new instance of XpsTrainingObjectivePoint.
4556 4557 4558 |
# File 'lib/google/apis/language_v2/classes.rb', line 4556 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The time at which this point was recorded.
Corresponds to the JSON property createTime
4549 4550 4551 |
# File 'lib/google/apis/language_v2/classes.rb', line 4549 def create_time @create_time end |
#value ⇒ Float
The objective value when this point was recorded.
Corresponds to the JSON property value
4554 4555 4556 |
# File 'lib/google/apis/language_v2/classes.rb', line 4554 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4561 4562 4563 4564 |
# File 'lib/google/apis/language_v2/classes.rb', line 4561 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @value = args[:value] if args.key?(:value) end |