Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Time-based Constraint for Study
Instance Attribute Summary collapse
-
#end_time ⇒ String
Compares the wallclock time to this time.
-
#max_duration ⇒ String
Counts the wallclock time passed since the creation of this Study.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1StudyTimeConstraint
constructor
A new instance of GoogleCloudAiplatformV1StudyTimeConstraint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1StudyTimeConstraint
Returns a new instance of GoogleCloudAiplatformV1StudyTimeConstraint.
25438 25439 25440 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Compares the wallclock time to this time. Must use UTC timezone.
Corresponds to the JSON property endTime
25431 25432 25433 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25431 def end_time @end_time end |
#max_duration ⇒ String
Counts the wallclock time passed since the creation of this Study.
Corresponds to the JSON property maxDuration
25436 25437 25438 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25436 def max_duration @max_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
25443 25444 25445 25446 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25443 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @max_duration = args[:max_duration] if args.key?(:max_duration) end |