Class: Google::Apis::MlV1::GoogleCloudMlV1Study
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1Study
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ml_v1/classes.rb,
lib/google/apis/ml_v1/representations.rb,
lib/google/apis/ml_v1/representations.rb
Overview
A message representing a Study.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#inactive_reason ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#study_config ⇒ Google::Apis::MlV1::GoogleCloudMlV1StudyConfig
Represents configuration of a study.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1Study
constructor
A new instance of GoogleCloudMlV1Study.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1Study
Returns a new instance of GoogleCloudMlV1Study.
2466 2467 2468 |
# File 'lib/google/apis/ml_v1/classes.rb', line 2466 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time at which the study was created.
Corresponds to the JSON property createTime
2443 2444 2445 |
# File 'lib/google/apis/ml_v1/classes.rb', line 2443 def create_time @create_time end |
#inactive_reason ⇒ String
Output only. A human readable reason why the Study is inactive. This should be
empty if a study is ACTIVE or COMPLETED.
Corresponds to the JSON property inactiveReason
2449 2450 2451 |
# File 'lib/google/apis/ml_v1/classes.rb', line 2449 def inactive_reason @inactive_reason end |
#name ⇒ String
Output only. The name of a study.
Corresponds to the JSON property name
2454 2455 2456 |
# File 'lib/google/apis/ml_v1/classes.rb', line 2454 def name @name end |
#state ⇒ String
Output only. The detailed state of a study.
Corresponds to the JSON property state
2459 2460 2461 |
# File 'lib/google/apis/ml_v1/classes.rb', line 2459 def state @state end |
#study_config ⇒ Google::Apis::MlV1::GoogleCloudMlV1StudyConfig
Represents configuration of a study.
Corresponds to the JSON property studyConfig
2464 2465 2466 |
# File 'lib/google/apis/ml_v1/classes.rb', line 2464 def study_config @study_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2471 2472 2473 2474 2475 2476 2477 |
# File 'lib/google/apis/ml_v1/classes.rb', line 2471 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @inactive_reason = args[:inactive_reason] if args.key?(:inactive_reason) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @study_config = args[:study_config] if args.key?(:study_config) end |