Class: Google::Apis::MlV1::GoogleCloudMlV1Study

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1Study

Returns a new instance of GoogleCloudMlV1Study.



2458
2459
2460
# File 'lib/google/apis/ml_v1/classes.rb', line 2458

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. Time at which the study was created. Corresponds to the JSON property createTime

Returns:

  • (String)


2435
2436
2437
# File 'lib/google/apis/ml_v1/classes.rb', line 2435

def create_time
  @create_time
end

#inactive_reasonString

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

Returns:

  • (String)


2441
2442
2443
# File 'lib/google/apis/ml_v1/classes.rb', line 2441

def inactive_reason
  @inactive_reason
end

#nameString

Output only. The name of a study. Corresponds to the JSON property name

Returns:

  • (String)


2446
2447
2448
# File 'lib/google/apis/ml_v1/classes.rb', line 2446

def name
  @name
end

#stateString

Output only. The detailed state of a study. Corresponds to the JSON property state

Returns:

  • (String)


2451
2452
2453
# File 'lib/google/apis/ml_v1/classes.rb', line 2451

def state
  @state
end

#study_configGoogle::Apis::MlV1::GoogleCloudMlV1StudyConfig

Represents configuration of a study. Corresponds to the JSON property studyConfig



2456
2457
2458
# File 'lib/google/apis/ml_v1/classes.rb', line 2456

def study_config
  @study_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2463
2464
2465
2466
2467
2468
2469
# File 'lib/google/apis/ml_v1/classes.rb', line 2463

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